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.24 Partitioned data set extended (PDSE)<br />

CREATION<br />

CONVERSION<br />

USE<br />

Figure 4-34 PDSE structure<br />

SMS<br />

VOLUME<br />

Partitioned data set extended (PDSE)<br />

Partitioned data set extended (PDSE) is a type <strong>of</strong> data set organization that improves the<br />

partition data set (PDS) organization. It has an improved indexed directory structure and a<br />

different member format. You can use PDSE for source (programs and text) libraries, macros,<br />

and program object (the name <strong>of</strong> executable code when loaded in PDSE) libraries.<br />

Logically, a PDSE directory is similar to a PDS directory. It consists <strong>of</strong> a series <strong>of</strong> directory<br />

records in a block. Physically, it is a set <strong>of</strong> “pages” at the front <strong>of</strong> the data set, plus additional<br />

pages interleaved with member pages. Five directory pages are initially created at the same<br />

time as the data set.<br />

New directory pages are added, interleaved with the member pages, as new directory entries<br />

are required. A PDSE always occupies at least five pages <strong>of</strong> storage.<br />

The directory is like a KSDS index structure (KSDS is covered in 4.34, “VSAM key sequenced<br />

cluster (KSDS)” on page 166), making a search much faster. It cannot be overwritten by being<br />

opened for sequential output.<br />

If you try to add a member with DCB characteristics that differs from the rest <strong>of</strong> the members,<br />

you will get an error.<br />

There is no longer a need for a PDSE data set to be SMS-managed.<br />

146 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3<br />

+<br />

DATA CLASS CONSTRUCT<br />

DSNTYPE=LIBRARY<br />

// DD DSNTYPE=LIBRARY<br />

DFDSS CONVERT (PDS I PDSE)<br />

BSAM, QSAM, BPAM

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

Saved successfully!

Ooh no, something went wrong!