Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
$MODLOAD – Load module load z/OS JES2 Macros SA32-0996-00 |
|
Use $MODLOAD to call the $MODLOAD routine that loads JES2 modules (supplied by IBM® and installation) and MVS™ style modules. The caller must perform any needed $MODCHKs on the module that was loaded, including resolving any dynamic tables or exit routines. Note: If $MODLOAD is used for a module that has already been loaded
and not deleted with $MODELET, the processing proceeds based on the
REPLACE= value. If REPLACE=NO (the default), the module is not reloaded
and the existing module returns. The subpool value is ignored. If
REPLACE=YES is specified and the module is loaded, a new copy of the
module is loaded and a new LMT is built. You must delete the old module
and LMT using $MODELET.
Format description>>-+--------+--$MODLOAD--+-------------------------+------------> '-symbol-' '-NAME--=--+-'mod-name'-+-' +-label------+ '-(--R--n--)-' >--+--------------------+--+----------------------+-------------> | .-JES2-. | '-,SUBPOOL--=--+-nnn-+-' '-,TYPE--=--+-OS---+-' '-LPA-' >--+---------------------------+--------------------------------> | .-NO-------. | '-,MESSAGE--=--+-IFEXISTS-+-' +-YES------+ '-SUPPRESS-' >--+---------------------------+--+----------------------+----->< '-,ERRET--=--+-label------+-' | .-NO--. | '-(--R--n--)-' '-,REPLACE--=--+-YES-+-'
Return codesThe following return codes (in decimal) are returned in register
15.
Reason codes for return code 8When $MODLOAD returns control, register 1 points to a storage area that contains the message text and a reason code. The structure of this storage is as follows: (byte 1 refers to the byte that register 1 points to; byte n refers to the last byte of the storage area)
Environment
Attention:
An exit 0 routine must not use $MODLOAD to load common storage JES2 modules. |
Copyright IBM Corporation 1990, 2014
|