Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (d - f) ecobol(1)
• Source files with the extensions .cbl or .cob are not given to the mxsqlco program; these
files are assumed to contain no embedded SQL statements.
Files created by the NonStop SQL/MX preprocessor overwrite any existing files with the same
name in the current working directory.
Output Files
Output files are object files, executable files, log files, NonStop SQL/MX module definition files
created by the NonStop SQL/MX preprocessor, or all four. Log
files have names of the form
file.eL. Module definition files have names of the form file.m.
Standard Output
The standard output file is a text file that contains the compiler listing, if generated.
Standard Error
The standard error file is used for diagnostic and informational messages. If more than one
file
operand is specified, then for each such file, "%s: \n",file might be written. These messages
precede the processing of each input file.
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 specified in COMP_ROOT is added to the
beginning of the default pathnames. If a component’s environment variable is set
explicitly, the COMP_ROOT environment variable does not modify the
component’s 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 file 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 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
527188-003 Hewlett-Packard Company 3−37