Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
OPEN—List form z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
||||
The list form of the OPEN macro constructs a data management parameter list. You can specify any number of parameters (DCB addresses and associated options). There are two forms of the list, the short form and the long form.
The short form list consists of a one-word entry for each DCB or ACB
in the parameter list. The high-order byte is used for the options
and the 3 low-order bytes are used for the DCB address. The long form
list consists of an eight byte entry for each DCB or ACB in the parameter
list. The high order byte is used for the options and the low order
four bytes are used for the DCB or ACB address. For either form of
list, the end of the list is indicated by a 1 in the high-order bit
of the last entry's option byte. The length of a list generated by
a list form instruction must be equal to the maximum length list required
by any execute form instruction that refers to the same list. A maximum
length list can be constructed by one of two methods:
Entries at the end of the list not referred to by the execute-form instruction are assumed to have been filled in when the list was constructed or by a previous execute-form instruction. Before using the execute-form instruction, you can shorten the list by placing a 1 in the high-order bit of the last DCB entry to be processed. A zeroed work area on a fullword boundary is equivalent to OPEN (,(INPUT,DISP),...),MF=L and can be used in place of a list-form instruction. Allocate four bytes per entry if you wish the effect of MODE=24. Allocate eight bytes per entry if you wish the effect of MODE=31. The high-order bit of the last DCB entry must contain a 1 before this list can be used with the execute-form instruction. A parameter list constructed by an OPEN, list-form, macro can be referred to by either an OPEN or CLOSE execute form instruction. The description of the standard form of the OPEN macro explains the function of each parameter. The list form of the OPEN macro is:
dcb address—A-Type Address
|
Copyright IBM Corporation 1990, 2014
|