User`s guide

MACRO Compiler Qualifiers
MACRO/MIGRATION
The associated input file to the /LIBRARY qualifier must be a macro library.
The default file type is MLB. The /NOLIBRARY qualifier has the same effect as
not specifying the /LIBRARY qualifier, or negates the effects of any /LIBRARY
qualifiers specified earlier in the command line.
The compiler can search up to 16 libraries, one of which is always
STARLET.MLB. This number applies to a particular compilation, not necessarily
to a particular MACRO command. If you enter the MACRO command so that
more than one source file is compiled, but the source files are compiled separately,
you can specify up to 16 macro libraries for each separate compilation. More than
one macro library in a compilation causes the libraries to be searched in reverse
order of their specification.
A macro call in a source program causes the compiler to begin the following
sequence of searches if the macro is undefined:
1. The libraries specified with the .LIBRARY directive are searched first, in
reverse order of the order in which they were declared.
2. If the macro definition is not found in any of the libraries specified with
the .LIBRARY directive, a search of the libraries specified in the MACRO
command line (in the reverse order in which they were specified).
3. If the macro definition is not found in any of the libraries specified in the
command line, a search of STARLET.MLB.
/LIST[=filespec]
/NOLIST
Creates or omits an output listing, and optionally provides an output file
specification for it. The default file type for the listing file is LIS. No wildcard
characters are allowed in the file specification.
An interactive MACRO command does not produce a listing file by default. The
/NOLIST qualifier, present either explicitly or by default, causes errors to be
reported on the current output device.
The /LIST qualifier is the default for a MACRO command in a batch job. The
/LIST qualifier allows you to control the defaults applied to the output file
specification by the placement of the qualifier in the command line.
/MACHINE
/NOMACHINE (default)
Enables machine code listing, if it and the /LIST qualifier are both specified in
the command line.
/OBJECT[=filespec]
/NOOBJECT
Creates or omits an object module. It also defines the file specification. By
default, the compiler creates an object module with the same file name as the
first input file. The default file type for object files is OBJ. No wildcard characters
are allowed in the file specification.
The /OBJECT qualifier controls the defaults applied to the output file specification
by the placement of the qualifier in the command line.
/OPTIMIZE[=(option[,...])]
/NOOPTIMIZE
Enables or disables optimization options. All options are enabled by default
except VAXREGS. (See Section 4.3.1.)
MACRO Compiler Qualifiers A–7