Use the list form of the REFPAT macro together with the execute form of the macro for programs that require reentrant code. The list form of the macro defines an area of storage, which the execute form of the macro uses to store the parameters.
The list form of the REFPAT macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede REFPAT. |
REFPAT | |
␢ | One or more blanks must follow REFPAT. |
MF=(L,list addr) | list addr: Symbol. |
MF=(L,list addr,attr) | attr: 1- to 60-character input string. |
Default: 0D | |
The parameters are explained under the standard form of the REFPAT macro with the following exception:
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 0D, which forces the parameter list to a doubleword boundary.