Use the list form of the MCSOPER 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 MCSOPER macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
blank; | One or more blanks must precede MCSOPER. |
MCSOPER | |
␢ | One or more blanks must follow MCSOPER. |
,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 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 0D, which forces the parameter list to a doubleword boundary.