SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)
COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—523627-004
16-29
nmcobol Utility: Using One Command for All
Compilation Steps
nmcobol Utility: Using One Command for All 
Compilation Steps
In the OSS environment, the nmcobol utility provides the interface to COBOL 
compilation components, including the SQL/MX COBOL preprocessor, the native 
COBOL compiler, and the native object file linker (nld). nmcobol enables you to 
perform TNS/R native compilation and build an embedded SQL/MX program in a 
single command. You can also use the compiler utility options individually: for example, 
to run the SQL/MX compiler after preprocessing. 
In the Windows environment, nmcobol is bundled with ETK. For details on syntax and 
use, see the help file Using Command-Line Cross Compilers on Windows, which is 
included with ETK. In addition, the Open System Services Shell and Utilities Reference 
Manual contains a listing of all nmcobol utility options.










