Use the list form of the LLACOPY 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 store the parameters.
The list form of the LLACOPY macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede LLACOPY. |
LLACOPY | |
␢ | One or more blanks must follow LLACOPY. |
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 LLACOPY macro with the following exception:
list addr is the address of the storage area for the parameter list.
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.