Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

nmcobol(1) OSS Shell and Utilities Reference Manual
MXSQLCO Determines the pathname of the NonStop SQL/MX preprocessor, mxsqlco.
/usr/tandem/sqlmx/bin/mxsqlco is the default.
NLD Determines the pathname of the nld utility invoked by nmcobol. /usr/bin/nld is
the default location for the OSS environment.
SQLCOMP Determines the pathname of the NonStop SQL/MP compiler invoked by nmcobol.
By default, the program sqlcomp in the directory /G/system/system is used.
SQLCIO Determines the pathname of the object file for the NonStop SQL/MX application
program interface to the NMCOBOL compiler. /usr/tandem/lib/sqlci.o is the
default.
SQLMX_PREPROCESSOR_VERSION
Indicates the preprocessor rules and features to be used. Specifying the value 800
causes rules and features associated with release 1.8 to be used; the mxcmp com-
piler is used and only MDF files and annotated source files are produced, while
rules and features associated with release 2.0 and later are ignored. Specifying a
value of 1200 or larger or not specifying a value causes rules and features associ-
ated with release 2.0 and later to be used; the mxCompileUserModule compiler
is used and annotated source files that contain embedded module definitions are
produced instead of MDF files, while restrictions associated with release 1.8 or
earlier are ignored.
TMPDIR Determines the pathname that overrides the default directory for temporary files
created by nmcobol and components it invokes. By default, temporary files are
stored in the /tmp directory. If TMPDIR is set to a directory that does not exist
or is not writable, nmcobol uses the default directory as described on the temp-
nam(3) reference page.
UGEN Determines the pathname of the ugen assembler component of the nmcobol com-
piler. /usr/lib/ugen is the default.
Processes
With the exception of the COBOLFE process, which is invoked as a Guardian process, all com-
ponents are invoked as OSS processes.
Standard Libraries
The following libraries are available for COBOL85 programs in the OSS environment.
-l cob Contains COBOL library and utility routines described in the COBOL Manual for
TNS and TNS/R Programs.
-l cre Contains C run-time library routines.
-l cli Contains SQL/MX support routines.
In the absence of flags that inhibit invocation of a linker utility, such as -c or -Wnolink, nmcobol
passes -l cob and -l cre operands to the linker utility, causing the COBOL and CRE libraries to be
searched. If the -Wsqlmx or -Wmxcmp flags are present, nmcobol also passes a -l cli operand to
the linker utility, causing the SQL/MX support library to be searched.
If you want the libraries to be searched in a specific order or you want linking options to be pro-
cessed in a specific order, you should invoke the linker using the ld
or nld command
from the OSS
668 Hewlett-Packard Company 527188-021