SQL/MX 3.2 Programming Manual for C and COBOL (H06.25+, J06.14+)
Program and Module Management
HP NonStop SQL/MX Release 3.2 Programming Manual for C and COBOL—663854-002
17-25
Grouping
nmcobol is used to compile the pure COBOL files (reports.cbl and utils.cbl),
and nld links the compiled object files. The last step is to build the application using
mxcmp to compile the module definition files, reports.m and utils.m.
After the application is built, these two module files exist:
/usr/tandem/sqlmx/USERMODULES/CAT.SCH.INVENTORY^REPORTS^^
/usr/tandem/sqlmx/USERMODULES/CAT.SCH.INVENTORY^UTILS^^
Now, all the application’s module files can be referred to by using one OSS file name
wild-card pattern:
ls /usr/tandem/sqlmx/USERMODULES/*.*.INVENTORY^*
rm /usr/tandem/sqlmx/USERMODULES/*.*.INVENTORY^*










