Options

Options

There are five common options for the Assembler compiler and one free-form text field where any other compiler option may be specified as described in the High Level Assembler for z/OS manual. The common compiler options are:

Assembler
Option: Value: Description:
ADATA ADATA Specifies that the assembler collect associated data and write it to the associated data file. You define the associated data file with the SYSADATA DD name. For more information on the format of the associated data file see the High Level Assembler manual mentioned above under section "Associated data file output".
NOADATA Specifies that the assembler is not to collect associated data. If you specify NOADATA, then the assembler ignores the EXIT(ADEXIT) option.
RENT RENT Specifies that the assembler checks for possible coding violations of program reenterability. Non-reenterable code is identified by an error message, but is not exhaustively checked because the assembler cannot check the logic of the code. Therefore, the assembler might not detect all violations of program reenterability.
NORENT Specifies that the assembler not check for possible coding violations of program reenterability.
TERM TERM Is equivalent to TERM(WIDE). See the description of TERM(WIDE).
TERM(WIDE) Instructs the assembler to write error messages to the terminal data set. You define the terminal data set with the SYSTERM DD name.
TERM(NARROW) The NARROW suboption instructs the assembler to compress multiple consecutive spaces into a single space. Instructs the assembler to write error messages to the terminal data set. You define the terminal data set with the SYSTERM DD name.
NOTERM Instructs the assembler not to write error messages to SYSTERM.
USING USING Same as sub-option USING(MAP,WARN(15)). This sub-option instructs the assembler to produce the USING Map section of the assembler listing with all settings.
USING(MAP,WARN(0)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with no USING warning messages are issued.
USING(MAP,WARN(1)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with nullified USINGs.
USING(MAP,WARN(2)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with R0 based USINGs.
USING(MAP,WARN(4)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with multiple resolutions.
USING(MAP,WARN(8)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with exceeds limit.
USING(MAP,WARN(12)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with 4 and 8.
USING(MAP,WARN(15)) This sub-option instructs the assembler to produce the USING Map section of the assembler listing with all settings.
USING(NOMAP,WARN(0)) This sub-option specifies that no USING map is produced with no USING warning messages issued.
USING(NOMAP,WARN(1)) This sub-option specifies that no USING map is produced with nullified USINGs.
USING(NOMAP,WARN(2)) This sub-option specifies that no USING map is produced with R0 based USINGs.
USING(NOMAP,WARN(4)) This sub-option specifies that no USING map is produced with multiple resolutions.
USING(NOMAP,WARN(8)) This sub-option specifies that no USING map is produced with exceeds limit.
USING(NOMAP,WARN(12)) This sub-option specifies that no USING map is produced with 4 and 8.
USING(NOMAP,WARN(15)) This sub-option specifies that no USING map is produced with all settings.
NOUSING NOUSING specifies that all USING sub-options are off. It is equivalent to specifying USING(NOLIMIT,NOMAP,NOWARN), or specifying in the ASMADOPT default options: LIMIT=NO,MAP=NO,WARN=NO.
XREF XREF(FULL) Instructs the assembler to produce the Ordinary Symbol and Literal Cross Reference section of the assembler listing. This includes symbols that are defined, but never referred to.
XREF(SHORT) Instructs the assembler to produce the Ordinary Symbol and Literal Cross Reference section of the assembler listing. Symbols that are defined, but not referred to, are not included in the cross-reference listing. SHORT can be specified with the UNREFS sub-option to produce a list of unreferenced symbols. The SHORT sub-option cannot be specified with the FULL sub-option.
XREF(SHORT,UNREFS) Instructs the assembler to produce the Ordinary Symbol and Literal Cross Reference section of the assembler listing. Symbols that are defined, but not referred to, are not included in the cross-reference listing. SHORT can be specified with the UNREFS sub-option to produce a list of unreferenced symbols. The SHORT sub-option cannot be specified with the FULL sub-option.

Instructs the assembler to produce the Unreferenced Symbols Defined in CSECTs section of the assembler listing. The symbols are listed in symbol name order. UNREFS can be specified with the SHORT sub-option to produce a cross-reference list of referenced symbols. The UNREFS sub-option cannot be specified with the FULL sub-option.
XREF(UNREFS) Instructs the assembler to produce the Unreferenced Symbols Defined in CSECTs section of the assembler listing. The symbols are listed in symbol name order. UNREFS can be specified with the SHORT sub-option to produce a cross-reference list of referenced symbols. The UNREFS sub-option cannot be specified with the FULL sub-option.
NOXREF Specifies that symbol cross-reference information is not generated as part of the assembly listing.

Other options

All other compiler options can be coded in the free-form text field labeled: Other options. Specify each compiler option as described in the High Level Assembler manual mentioned above separated by a comma.