COBOL Manual for TNS and TNS/R Programs

Native COBOL Cross Compiler on PC
HP COBOL Manual for TNS and TNS/R Programs522555-006
34-4
Tandem COBOL (TDS)
Tandem COBOL (TDS)
The optional native COBOL cross compiler for use with the TDS is called Tandem
NMCOBOL. TDS allows you to select Tandem NMCOBOL options from the TDS add-
on to the Borland integrated development environment (IDE) GUI. You can develop,
edit, and build COBOL applications from within the IDE.
You can embed SQL/MP or SQL/MX statements in Tandem NMCOBOL source code.
Valid Tandem NMCOBOL source files, with or without embedded SQL/MP or SQL/MX
statements, have the extension *.cob or *.cbl. Your PC must be connected to the
NonStop host to perform certain SQL/MP or SQL/MX compile-time operations and to
run your applications.
For PC and NonStop server hardware and software requirements, see the TDS online
help. For instructions for accessing the online help, see Documentation.
nmcobol (PC Command Line)
Beginning with RVU G06.14, you can invoke the native COBOL cross compiler,
nmcobol, at the command line (DOS prompt) on your PC.
nmcobol
must be typed as shown, in lowercase letters.
-c
-g
-o outfile
are as described in the Open System Services Shell and Utilities Reference
Manual.
nmcobol
-c -g -o outfile
cobol-opt
comp-opt link-opt sqlmp-opt
sqlmx-opt nmcobol-opt
file
VST820.vsd