Use the list form of the IOSCAPU macro together with the execute form of the macro for applications that require reentrant code. The list form of the macro defines an area of storage, which the execute form of the macro uses to contain the parameters.
The list form of the IOSCAPU macro with the CAPTUCB option is written as follows:
Syntax | Description |
---|---|
name | name: symbol. Begin name in column 1. |
␢ | One or more blanks must precede IOSCAPU. |
IOSCAPU | |
␢ | One or more blanks must follow IOSCAPU. |
MF=(L,list addr) | list addr: symbol. |
MF=(L,list addr,attr) | attr: 1- to 60-character input string. |
MF=(L,list addr,0D) | Default: 0D |
The parameters are explained under the standard form of the IOSCAPU macro with the following exception:
list addr is the name of a storage area to contain the parameters.
attr is an optional 1- to 60-character input string, which can contain any value that is valid on an assembler DS pseudo-op. You can use this parameter to force boundary alignment of the parameter list. If you do not code attr, the system provides a value of X'0D', which forces the parameter list to a doubleword boundary.