z/OS JES2 Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


$#ALCHK – Obtain a spool record for output checkpointing

z/OS JES2 Macros
SA32-0996-00

Use $#ALCHK to obtain a spool record for output checkpointing.

Format description

Read syntax diagramSkip visual syntax diagram
>>-+--------+--$#ALCHK--+--------------------+------------------>
   '-symbol-'           |       .-(--R1--)-. |   
                        '-JOA=--+-addrx----+-'   

>--+---------------------+--+------------------+---------------->
   '-,IOT=--+-addrx----+-'  |          .-YES-. |   
            '-(--R0--)-'    '-,WRIOT=--+-NO--+-'   

>--+----------------------+--+------------------+--------------->
   '-,JCT=--+-addrx-----+-'  |          .-YES-. |   
            '-(--R15--)-'    '-,WRJCT=--+-NO--+-'   

>--,OKRET=--addrx--,ERRET=--addrx--+-----------------+---------><
                                   |         .-YES-. |   
                                   '-,LOCK=--+-NO--+-'   

JOA=
Specifies the address of an update mode JOA. The JOA represents the work JOE that requires a spool record for output checkpointing. If register notation is used, the designated register must contain the address of the JOA before the execution of the macro. If JOA= is omitted, JES2 assumes that register 1 contains the address.
Note: The JOA must be an update mode JOA.
IOT=
Specifies the address of the IOT that is to be used for allocating the spool. If register notation is used, the designated register must contain the address of the IOT before the execution of the macro. If this operand is omitted, the IOT is read from the spool. An indication is set in the generated inline parameter list whether the IOT was passed.
WRIOT=
Specifies whether the IOT should be written back to the spool after $TRACK obtains the spool record. The IOT is marked as an allocation IOT (IOT1ALOC).
JCT=
Specifies the address of the JCT. If this operand is omitted, the JCT is read from the spool. If register notation is used, the designated register must contain the address of the JCT before the execution of the macro. An indication whether the JCT was passed is set in the generated inline parameter list.
WRJCT=
Specifies whether the JCT is to be written back to the spool. If WRJCT=YES is specified and the JQE indicates that the job is still in execution, the JCT is not written back to the spool. Otherwise, it is.
OKRET=
Specifies the address of a routine that is to receive control if the return code is zero.
ERRET=
Specifies the address of an error routine that is to receive control if the return code is not zero.
LOCK=
Specifies whether the job lock is to be obtained. LOCK=NO indicates that a wait will occur for IOT/JCT serialization.

Environment

  • Main task.
  • $WAIT can occur.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014