Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (d - f) ecobol(1)
Source les with the extensions .cbl or .cob are not given to the mxsqlco program; these
les are assumed to contain no embedded SQL statements.
Files created by the NonStop SQL/MX preprocessor overwrite any existing les with the same
name in the current working directory.
Output Files
Output les are object les, executable les, log les, NonStop SQL/MX module denition les
created by the NonStop SQL/MX preprocessor, or all four. Log
les have names of the form
le.eL. Module denition les have names of the form le.m.
Standard Output
The standard output le is a text le that contains the compiler listing, if generated.
Standard Error
The standard error le is used for diagnostic and informational messages. If more than one
le
operand is specied, then for each such le, "%s: \n",le might be written. These messages
precede the processing of each input le.
Environment Variables
The following environment variables affect the execution of ecobol. The ecobol utility and its
program components do not support locale variables.
COMP_ROOT
Changes the default pathnames for the ecobol compilation system components. In
the OSS environment, the string specied in COMP_ROOT is added to the
beginning of the default pathnames. If a components environment variable is set
explicitly, the COMP_ROOT environment variable does not modify the
components environment variable.
ECOBFE Determines the pathname of the ecobol compiler. /G/system/system/ecobfe is the
default.
ELD Determines the pathname of the eld utility invoked by ecobol. /usr/bin/eld is the
default location for the OSS environment.
MXCMP Determines the pathname of the NonStop SQL/MX release 1 compiler.
/G/system/system/mxcmp is the default.
MXCMPUM Determines the pathname of the NonStop SQL/MX release 2 compiler.
/usr/tandem/sqlmx/bin/mxCompileUserModule
is the default.
MXSQLCO Determines the pathname of the NonStop SQL/MX preprocessor, mxsqlco.
/usr/tandem/sqlmx/bin/mxsqlco is the default.
SQLCOMP Determines the pathname of the NonStop SQL/MP compiler invoked by ecobol.
/G/system/system/sqlcomp is the default.
SQLCIO Determines the pathname of the object le for the NonStop SQL/MX application
program interface to the ECOBOL 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
527188-007 Hewlett-Packard Company 337