GETDSAB - List form

Use the list form of the GETDSAB 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.

Syntax

The list form of the GETDSAB macro follows.

Syntax Description
   
   name name: Symbol. Begin name in column 1.
   
One or more blanks must precede GETDSAB.
   
GETDSAB  
   
One or more blanks must follow GETDSAB.
   
MF=(L,stor addr) stor addr: symbol.
MF=(L,stor addr,attr) attr: 1- to 60-character input string. Default: 0D
   

Parameters

The following parameters are the only ones you can specify using the list format:

MF=L
Specifies the list form of the GETDSAB macro.

The stor addr parameter specifies the name of a required storage area for the parameter list. This storage area will be generated as part of the macro expansion and should not be separately defined by the user. Note also, that the "stor addr" in the List and Execute forms of the macro must refer to the same storage area.

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.