Use the list form of the HSPSERV 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 HSPSERV macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede HSPSERV. |
HSPSERV | |
␢ | One or more blanks must follow HSPSERV. |
PLISTVER=vernum | vernum: Parameter list version 0 or 1 |
Default: Version that allows all specified parameters. | |
,MF=(L,list-addr) | list-addr: Symbol. |
,MF=(L,list addr,attr) | attr: 1- to 60-character input string. Default: 0D. |
Parameters for the list form of HSPSERV are as follows:
If you use the HSPALET parameter, specify 1.
If you do not specify PLISTVER, the default is to allow all of the parameters you specify on the invocation to be processed.
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.