z/OS DFSMStvs Administration Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


List-form keyword

z/OS DFSMStvs Administration Guide
GC52-1388-00

The format of the MF keyword for the list form is:

MF={L|(L,address[,label])}

where:
L
Specifies that this is the list form of the macro.
address
Specifies the address of a remote area in which the parameter list is to be built. The area must begin on a fullword boundary. You can specify the address in register notation or as an expression valid for a relocatable A-type address constant or a direct or indirect S-type address constant.
label
Specifies a unique name used in an EQU instruction in the expansion of the macro. Label is equated to the length of the parameter list. You do not have to know the length of the parameter list if you code label; the expansion of the macro determines the amount of storage required.

Because the MF=L expansion does not include executable code, register notation and expressions that generate S-type address constants cannot be used.

If you code MF=L, the parameter list is built in line, which means that the program is not reentrant if the parameter list is modified at execution.

If you code MF=(L,address), the parameter list is built in the remote area specified, and the area must be large enough for the parameter list.

The size, in fullwords, of a parameter list is:
  • For GENCB, 4, plus 3 times the number of ACB, EXLST, or RPL keywords specified (plus 1 for DDNAME, EODAD, JRNAD, LERAD, or SYNAD)
  • For MODCB, 3, plus 3 times the number of ACB, EXLST, or RPL keywords specified (plus 1 for DDNAME, EODAD, JRNAD, LERAD, or SYNAD)
  • For SHOWCB, 5, plus 2 times the number of fields specified in the FIELDS keyword
  • For TESTCB, 8 (plus 1 for either DDNAME, STMST, EODAD, JRNAD, LERAD, or SYNAD).

If you code MF=(L,address,label), the parameter list is built in the remote area specified. The expansion of the macro equates label with the length of the parameter list.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014