Use the execute form of the GETDSAB macro together with the list form of the macro for applications that require reentrant code. The execute form of the macro stores the parameters into the storage area defined by the list form.
The execute form of the GETDSAB macro follows.
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede GETDSAB. |
GETDSAB | |
␢ | One or more blanks must follow GETDSAB. |
FIRST | |
NEXT | |
DCBPTR=dcb addr | dcb addr: RX-type address, or register (2) - (12). |
DDNAME=dd addr | dd addr: RX-type address, or register (2) - (12). |
,DSABPTR=dsab addr | dsab addr: RX-type address, or register (2) - (12). |
,TCBPTR=tcb addr | tcb addr: RX-type address, or register (2) - (12). Default: TCBPTR=0 |
,RETCODE=retcode addr | retcode addr: RX-type address, or register (2) - (12) of fullword output variable |
,RSNCODE=rsncode addr | rsncode addr: RX-type address, or register (2) - (12). |
,LOC=BELOW | Default = BELOW |
,LOC=ANY | |
MF=(E,stor addr) | stor addr: RX-type address, or any register (1) - (12). If register 1 is specified, its value may be changed by the macro invocation. |
MF=(E,stor addr,COMPLETE) | Default: COMPLETE |
The parameters are explained under the standard form of the GETDSAB macro, with the following exception:
The stor addr parameter specifies the name of a required storage area for the parameter list.
The COMPLETE parameter specifies the degree of macro parameter syntax checking. COMPLETE checks for required macro keywords and supplies defaults for optional parameters that are not specified.