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


$SETRP – Set recovery processing options

z/OS JES2 Macros
SA32-0996-00

Use $SETRP in a recovery routine to indicate how control will be received when the $RETRY routine is complete. Specifies if and how recovery is to take place.

Format description

Read syntax diagramSkip visual syntax diagram
>>-+--------+--$SETRP------------------------------------------->
   '-symbol-'           

>--+-+---+--RECOVER--,--RESUME--=--resume-relexp--+---+-+------><
   | '-(-'                                        '-)-' |   
   +-TERMINATE------------------------------------------+   
   '-PERCOLATE------------------------------------------'   

RECOVER
Specifies that recovery is to take place. All functions are to resume as normal at the address specified by the RESUME= parameter.
RESUME=
Specifies where normal processing is to resume when error recovery is successful. This parameter is required when RECOVER is specified.
TERMINATE
Specifies that an abend is to take place and no recovery is to be attempted.
PERCOLATE
Specifies that this particular recovery attempt was unsuccessful but that termination is not to take place. Each of the higher level recovery routines is to be entered until either there are no more routines (an abend occurs) or recovery is successful (all functions resume as normal).
Note: $SETRP assumes addressability to the error recovery area (ERA) that is associated with the error that caused the recovery routine to be entered. Therefore, be certain to add the $ERA DSECT to the $MODULE macro for a routine for which you provide error recovery.

Environment

  • Main task.
  • $WAIT cannot occur.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014