HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EXIT

HLASM Programmer's Guide
SC26-4941-06

Read syntax diagramSkip visual syntax diagram
   .-NOEXIT--------------------------------------------.   
>>-+---------------------------------------------------+-------><
   |       .-,-------------------------------------.   |   
   |       V   .-NOINEXIT-----------------.    (1) |   |   
   '-EXIT(---+-+--------------------------+--+-----+-)-'   
             | '-INEXIT(mod1-+--------+-)-'  |             
             |               '-(str1)-'      |             
             | .-NOLIBEXIT-----------------. |             
             +-+---------------------------+-+             
             | '-LIBEXIT(mod2-+--------+-)-' |             
             |                '-(str2)-'     |             
             | .-NOPRTEXIT-----------------. |             
             +-+---------------------------+-+             
             | '-PRTEXIT(mod3-+--------+-)-' |             
             |                '-(str3)-'     |             
             | .-NOOBJEXIT-----------------. |             
             +-+---------------------------+-+             
             | '-OBJEXIT(mod4-+--------+-)-' |             
             |                '-(str4)-'     |             
             | .-NOADEXIT-----------------.  |             
             +-+--------------------------+--+             
             | '-ADEXIT(mod5-+--------+-)-'  |             
             |               '-(str5)-'      |             
             | .-NOTRMEXIT-----------------. |             
             '-+---------------------------+-'             
               '-TRMEXIT(mod6-+--------+-)-'               
                              '-(str6)-'                   

Notes:
  1. Choose at least one option.
Default
NOEXIT
Abbreviations
EX(INX, NOINX, LBX, NOLBX, PRX, NOPRX, OBX, NOOBX, ADX, NOADX, TRX, NOTRX) / NOEX
Restrictions
You cannot specify this option on *PROCESS statements.
INEXIT
Specifies that the assembler use an input (SOURCE) exit for the assembly. mod1 is the name of the load module for the exit. The assembler passes control to the load module for SOURCE type exit processing, and provides a pointer to str1 in a parameter list when the exit is first called. For a full description, see Providing user exits.

You can use a SOURCE exit, for example, to read variable-length source input records. See also Sample SOURCE user exit (z/OS and CMS).

NOINEXIT
Specifies that there is no SOURCE exit.
LIBEXIT
Specifies that the assembler use a LIBRARY exit for the assembly. mod2 is the name of the load module for the exit. The assembler passes control to the load module for LIBRARY type exit processing, and provides a pointer to str2 in a parameter list when the exit is first called. For a full description, see Providing user exits.

On CMS, you can use this exit, for example, to handle non-standard libraries, or macros and copy books that are in separate CMS files instead of CMS MACLIBs.

On z/VSE, you can use this exit to handle edited macros from the library sublibraries.

Refer to z/VSE: Guide to System Functions for a description of a LIBRARY exit to read edited macros.

NOLIBEXIT
Specifies that there is no LIBRARY exit.
PRTEXIT
Specifies that the assembler use a LISTING exit for the assembly. mod3 is the name of the load module for the exit. The assembler passes control to the load module for LISTING type exit processing, and provides a pointer to str3 in a parameter list when the exit is first called. For a full description, see Providing user exits.

You can use the LISTING exit, for example, to suppress parts of the assembly listing, or provide additional listing lines. See also Sample LISTING user exit (z/OS and CMS).

NOPRTEXIT
Specifies that there is no LISTING exit.
OBJEXIT
On z/OS and CMS, specifies that the assembler use an OBJECT exit or PUNCH exit, or both, for the assembly. mod4 is the name of the load module for the exit. The assembler passes control to the load module for OBJECT type exit processing when you specify either the OBJECT or GOFF option, and provides a pointer to str4 in a parameter list when the exit is first called. For a full description, see Providing user exits. The assembler passes control to the load module for PUNCH type exit processing when you specify the DECK option. The OBJEXIT suboption is ignored if you specify the assembler options NODECK and NOOBJECT.

On z/VSE, specifies that the assembler use a PUNCH exit for the assembly. The name of the load module for the exit is mod4. The assembler passes control to the load module for PUNCH type exit processing when you specify the DECK option. You can use the PUNCH exit, for example, to catalog object modules directly into a library sublibrary.

NOOBJEXIT
Specifies that there is no OBJECT exit or PUNCH exit.
ADEXIT
Specifies that the assembler use an ADATA exit for the assembly. mod5 is the name of the load module for the exit. The assembler passes control to the load module for ADATA type exit processing, and provides a pointer to str5 in a parameter list when the exit is first called. For a full description, see Providing user exits. See also Sample ADATA user exits (z/OS and CMS).
NOADEXIT
Specifies that there is no ADATA exit.
TRMEXIT
Specifies that the assembler use a TERM exit for the assembly. mod6 is the name of the load module for the exit. The assembler passes control to the load module for TERM type exit processing, and provides a pointer to str6 in a parameter list when the exit is first called. For a full description, see Providing user exits.
NOTRMEXIT
Specifies that there is no TERM exit.
NOEXIT
Specifies that there are no exits for the assembly.

The module names mod1, mod2, mod3, mod4, mod5, and mod6 can refer to the same load module.

The suboptions str1, str2, str3, str4, str5, and str6 are optional. They are character strings, up to 64 characters in length, that are passed to the exit module during OPEN processing. You can include any character in a string, but you must pair parentheses. JCL restrictions require that you specify two apostrophes to represent a single apostrophe, and two ampersands to represent a single ampersand.

For more information about the EXIT option, see Providing user exits.

You specify these options in the installation default options using the ADEXIT, INEXIT, LIBEXIT, OBJEXIT, PRTEXIT, and TRMEXIT operands.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014