11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.7 IEBGENER: Adding members to a PDS<br />

Utility control<br />

statements<br />

define record<br />

groups<br />

name members<br />

Sequential Input<br />

Member B<br />

LASTREC<br />

Member D<br />

LASTREC<br />

Member F<br />

Existing<br />

Data Set<br />

Directory<br />

A C E G<br />

Available<br />

Figure 4-10 Adding members to a PDS using IEBGENER<br />

Expanded<br />

Data Set<br />

Directory<br />

ACEGBDF<br />

Member A<br />

Adding members to a PDS<br />

You can use IEBGENER to add members to a partitioned data set or PDSE. IEBGENER<br />

creates the members from sequential input and adds them to the data set. The merge<br />

operation, which is the ordering <strong>of</strong> the partitioned directory, is automatically performed by the<br />

program.<br />

Figure 4-10 shows how sequential input is converted into members that are merged into an<br />

existing partitioned data set or PDSE. The left side <strong>of</strong> the figure shows the sequential input<br />

that is to be merged with the partitioned data set or PDSE shown in the middle <strong>of</strong> the figure.<br />

Utility control statements are used to divide the sequential data set into record groups and to<br />

provide a member name for each record group. The right side <strong>of</strong> the figure shows the<br />

expanded partitioned data set or PDSE.<br />

Note that members B, D, and F from the sequential data set were placed in available space<br />

and that they are sequentially ordered in the partitioned directory.<br />

A<br />

C<br />

E<br />

G<br />

Chapter 4. Storage management s<strong>of</strong>tware 119<br />

C<br />

E<br />

G<br />

B<br />

D<br />

F

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!