Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

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 le 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 les and annotated source les 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 les that contain embedded module denitions are
produced instead of MDF les, while restrictions associated with release 1.8 or
earlier are ignored.
TMPDIR Determines the pathname that overrides the default directory for temporary les
created by nmcobol and components it invokes. By default, temporary les 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 that call OSS functions.
-l c Contains all library functions specied in the POSIX.1 specication, except for
those functions listed as residing in the math.h header le. You can omit this
operand because the nmcobol compiler automatically passes it.
-l C Contains the C++ version 1 run-time library. This library is included before the
standard C run-time library.
-l l Contains all functions required by the C language output of the lex utility that are
not made available through the -l c operand.
-l m Contains all functions referenced in the math.h header le.
-l y Contains all functions required by the C language output of the yacc utility that
are not made available through the -l c operand.
In the absence of ags that inhibit invocation of a linker utility, such as -c or -Wnolink, nmcobol
passes an -l c operand to the linker utility as the last -l operand, causing the standard C library to
be searched after all other object les and libraries are loaded.
666 Hewlett-Packard Company 527188-004