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


$WSSETUP – Set values required for work selection

z/OS JES2 Macros
SA32-0996-00

Use the $WSSETUP macro instruction to set those values that are required to support work selection.

Format description

Read syntax diagramSkip visual syntax diagram
>>-+--------+--$WSSETUP--DEVADDR--=--+-label----+--------------->
   '-symbol-'                        '-(--R1--)-'   

>--+--------------------------------------------------------------------------+-><
   '-,--TYPE--=--cb-name--,--VOL--=--dev-vol-field--,--VOLNUM--=--dev-vol-num-'   

DEVADDR=
Specifies the address of a device control table (DCT), a partitioned information table (PIT), or a work selection parameter (WSP). Specify this address either by a label or a register; the address is loaded in register 1.
TYPE=
Specifies the device control block name used to calculate the offset for the fields specified by the VOL= and VOLNUM= keywords. If this keyword is specified, both VOL= and VOLNUM= must also be specified.
VOL=
Specifies the device's volume field. The offset for this field is calculated using the name specified by the TYPE= keyword. If this keyword is specified, both TYPE= and VOLNUM= must also be specified.
VOLNUM=
Specifies the volume number field. The offset for this field is calculated using the name specified by the TYPE= keyword. If this keyword is specified, both TYPE= and VOL= must also be specified.

Environment

  • JES2 main task.
  • $WAIT cannot occur.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014