Use the list form of the MIHQUERY 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 MIHQUERY macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede MIHQUERY. |
MIHQUERY | |
␢ | One or more blanks must follow MIHQUERY. |
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 parameter is explained as follows:
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.