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


$POSTQ – Quick post facility

z/OS JES2 Macros
SA32-0996-00

Use the $POSTQ macro to quick post an ECB (event control block). This macro produces the necessary inline code to either quick post (that is, bypass the POST routine) an ECB and/or issue an MVS™ POST if the specified ECB is currently waiting on an event.

Format description

Read syntax diagramSkip visual syntax diagram
>>-+--------+--$POSTQ--ECB--=--+-label----+--------------------->
   '-symbol-'                  '-(--R0--)-'   

>--+------------------------+--+-----------------------+-------><
   |             .-0------. |  |            .-YES----. |   
   '-,--CODE--=--+-absexp-+-'  '-,--SVC--=--+-NO-----+-'   
                                            '-SYSTEM-'     

ECB=
Specifies the address of the ECB to be quick posted. If the ECB is currently waiting and you also specify SVC=YES on this macro, JES2 then requests that an MVS POST of the ECB be issued. If this keyword is not specified, an assembly error will occur.
CODE=
Specifies a 30-bit post code to be quick posted into the ECB. The default is 0.
SVC=
Specifies whether (YES) or not (NO) an MVS POST should be issued if the ECB is currently waiting (that is, the ECB wait bit is on). If SVC=NO is specified, no MVS POST is issued and a condition code is returned to the caller to signify whether the quick post was successful (CC=0) or unsuccessful (CC=1). The default is YES.

SVC= supports the new SYSTEM value. SVC=SYSTEM generates an MVS POST with LINKAGE=SYSTEM. SVC=YES generates an MVS POST with no other operands.

Environment

  • JES2 main task, subtask, user address space, and HASPFSSM address space.
  • $WAIT cannot occur.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014