Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example z/OS DFSMSdfp Advanced Services SC23-6861-01 |
|||||||||
In Figure 1, the macro instruction at EX1 creates a parameter list for two data control blocks: INVEN and MASTER. In creating the list, both data control blocks are assumed to be opened for input; option2 for both blocks is assumed to be DISP. The macro instruction at EX2 moves the system-created JFCBs for INVEN and MASTER into the area you specified, thus making the JFCBs available to your problem program for modification. The macro instruction at EX3 modifies the parameter list entry for the data control block named INVEN and indicates, through the TYPE=J operand, that the problem program is supplying the JFCBs for system use. Figure 1. Example Code
Using RDJFCB Macro
Multiple data control block addresses and associated options can be specified in the RDJFCB macro instruction. This facility makes it possible to read several job file control blocks in parallel. An exit list address must be provided in each DCB specified by an RDJFCB macro instruction. Each exit list must contain an active entry of either or both types supported by RDJFCB. RDJFCB processes the first of each of the two types of its entries in the exit list. For example, in a three-entry list containing types 07, 07 and 13, RDJFCB will process the first and third entries and ignore the second entry. An ignored entry has no effect on the RDJFCB return code. Each of the entries is briefly explained in the following text. A full discussion of the exit list and its use is contained in z/OS DFSMS Using Data Sets. After RDJFCB is performed, register 15 contains one of the following codes:
|
Copyright IBM Corporation 1990, 2014
|