SQL Supplement for H-Series RVUs
SQL/MP Programming Manual for COBOL
HP NonStop SQL Supplement for H-Series RVUs—529446-005
1-24
Running the HP COBOL Compilers
If you do not specify the RUNNABLE directive when compiling the source program,
you must invoke the linker directly to link the object files. For more information, see
The eld Utility on page 1-35.
Lastly, you must run the SQL compiler to generate SQL object code in the program file.
For more information, see Running the SQL Compiler in the Guardian Environment on
page 1-39.
Running HP COBOL Compilers in the OSS Environment
To run an HP COBOL compiler in the OSS environment, see:
•
Changing Default Path Names and Disk Volume in the OSS Environment on
page 1-24
•
Running the cobol Utility in the OSS Environment on page 1-26
•
Running the nmcobol Utility in the OSS Environment on page 1-28
•
Running the ecobol Utility in the OSS Environment on page 1-30
Changing Default Path Names and Disk Volume in the OSS Environment
Table 1-4 lists the default path names of the programs that the cobol, nmcobol, and
ecobol commands invoke and the default disk volume on which these programs
create temporary files.
Note. Run the linker before SQL compiling the program.
Table 1-4. Environment Variables in the OSS Environment (page 1 of 2)
Variable Effect Default
COBOL85 Determines the path name of the
COBOL85 compiler that the cobol
utility invokes
/G/system/system/cobol85
NMCOBOL Determines the path name of the
NMCOBOL compiler that the
nmcobol utility invokes
/G/system/system/cobolfe
ECOBOL Determines the path name of the
ECOBOL compiler that the ecobol
utility invokes
/G/system/system/ecobfe
BIND Determines the path name of the
Binder that the cobol utility invokes
/G/system/system/bind
NLD Determines the path name of the nld
utility that the nmcobol utility invokes
/usr/bin/nld
LD Determines the path name of the ld
utility that the nmcobol utility invokes
/usr/bin/ld
ELD Determines the path name of the eld
utility that the ecobol utility invokes
/usr/bin/eld










