COBOL Manual for TNS and TNS/R Programs
Commands
HP COBOL Manual for TNS and TNS/R Programs—522555-006
35-10
Before Running the Compiler (Optional)
Before Running the Compiler (Optional)
To change one or more of the defaults in Table 35-1 before executing the cobol or
nmcobol command, use the OSS export command.
To execute a cobol or nmcobol command with a specified set of environment
variables, use the OSS env function with the environment variables in Table 35-1.
Table 35-1. Environment Variables
Variable Effect Default
COBOL Determines the pathname of the
COBOL85 compiler that the cobol
utility calls
/G/system/system/cobol85
NMCOBOL Determines the pathname of the
NMCOBOL compiler that the
nmcobol utility calls
/G/system/system/cobolfe
BIND
1
Determines the pathname of the
Binder that the cobol utility calls
/G/system/system/bind
AXCEL
1
Determines the pathname of the
Accelerator that the cobol utility calls
/G/system/system/axcel
SWAPVOL
1
Determines the disk volume on which
the COBOL85 compiler, Binder,
Accelerator, and SQL/MP compiler
create temporary files
Same as in the Guardian
environment—see PARAM
SWAPVOL
SQLCOMP Determines the pathname of the
SQL/MP compiler that the cobol or
nmcobol utility calls
/G/system/system/sqlcomp
MXSQLCO
2
Determines the pathname of the
alternate COBOL SQL/MX
preprocessor that the nmcobol utility
calls
/usr/tandem/sqlmx/bin/
MXCMP
2
Determines the pathname of the
alternate SQL/MX compiler that the
nmcobol utility calls
/G/system/system/
SQLCLIO
2
Determines the pathname of the
object file that describes the SQL/MX
API to the nmcobol utility
/usr/tandem/sqlmx/lib/sqlc
li.o
1. For the COBOL85 compiler only.
2. For the NMCOBOL compiler only.