Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
OPEN - Initialize Data Control Block for Processing the JFCB z/OS DFSMSdfp Advanced Services SC23-6861-01 |
|
The OPEN macro instruction initializes one or more data control blocks (DCBs) so that their associated data sets can be processed. A full explanation of the operands of the OPEN macro instruction is contained in the publication z/OS DFSMS Macro Instructions for Data Sets. The TYPE=J option, because it is used in conjunction with modifying a JFCB, should be used only by the system programmer or under the system programmer's supervision. The format of the OPEN TYPE=J macro is: >>-+-------+--OPEN----------------------------------------------> '-label-' >--+-(dcb_addr)-----------------------------+------------------>< | .-,------------------------------. | | V | | +-(---dcb_addr-+-,-----------------+-+-)-+ | +-,-| option1 |-----+ | | +-,(-| option1 |-)--+ | | '-,(,-| option2 |-)-' | '-,TYPE=J--------------------------------' option1 .-INPUT--. |--+-EXTEND-+---------------------------------------------------| +-OUTPUT-+ +-INOUT--+ +-OUTIN--+ +-OUTINX-+ +-RDBACK-+ '-UPDAT--' option2 .-DISP---. |--+-LEAVE--+---------------------------------------------------| +-REREAD-+ '-REWIND-' Tip: If you wish to have multiple DCBs
with or without options, code each DCB (and options) as shown in the
diagram and precede each additional DCB with a comma.
Figure 1. Examples
of Standard Form of the OPEN TYPE=J Macro
The MODE operand is not shown here because it is not allowed with the TYPE=J operand of the OPEN macro instruction. Since OPEN with TYPE=J does not accept a JFCBX from the caller, you cannot change volume serials after the first five volumes. OPEN TYPE=J will not change the volume attributes (PRIVATE, PUBLIC, or STORAGE) which are assigned to the volume during allocation. For example, if a volume status of PRIVATE is needed but allocation is going to assign a status of PUBLIC, then VOL=PRIVATE should be specified on the DD statement. |
Copyright IBM Corporation 1990, 2014
|