Use the execute form of the DEVCOUNT option of the UCBINFO 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 DEVCOUNT option of the UCBINFO macro is written as follows:
Syntax | Description |
---|---|
name | name: symbol. Begin name in column 1. |
␢ | One or more blanks must precede UCBINFO. |
UCBINFO | |
␢ | One or more blanks must follow UCBINFO. |
DEVCOUNT | |
,COUNT=count addr | count addr: RS-type address or register (2) - (12). |
,GROUP=DEVICELASS | |
,DEVCLASS=ALL | Default: ALL |
,DEVCLASS=CHAR | |
,DEVCLASS=COMM | |
,DEVCLASS=CTC | |
,DEVCLASS=DASD | |
,DEVCLASS=DISP | |
,DEVCLASS=TAPE | |
,DEVCLASS=UREC | |
,GROUP=OTHER | |
,DEVGROUP=PAVBASE | Default: PAVBASE |
,SUBCHANNELSET=ID | |
,SCHSET=schset | schset RS-type address or register (2) - (12). |
,SCHSET=0 | Default: 0 |
,SUBCHANNELSET=ALL | |
,IOCTOKEN=ioctoken addr | ioctoken addr: RX-type address or register (2) - (12). |
,PLISTVER=IMPLIED_VERSION | |
,PLISTVER=MAX | Default: IMPLIED_VERSION |
,PLISTVER=plistver | plistver: 2 |
,RETCODE=retcode addr | retcode addr: RX-type address or register (2) - (12). |
,RSNCODE=rsncode addr | rsncode addr: RX-type address or register (2) - (12). |
,MF=(E,list addr) | list addr: RX-type address or address in register (2) - (12). |
,MF=(E,list addr,COMPLETE) | Default: COMPLETE |
The parameters are explained under the standard form of UCBINFO DEVCOUNT with the following exceptions:
list addr specifies the area that the system uses to contain the parameters.
COMPLETE, which is the default, specifies that the macro is to check for required parameters and supply defaults for omitted optional parameters.