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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.27 Device-independence space allocation<br />

//ALLOC EXEC PGM=IDCAMS<br />

//SYSPRINT DD SYSOUT=*<br />

//SYSIN DD *<br />

ALLOCATE<br />

DSNAME('FILE.PDSE') -<br />

NEW -<br />

DSNTYPE(LIBRARY)<br />

SUB<br />

Figure 5-27 Device independence<br />

SMS<br />

FILE.PDSE<br />

VOLSMS<br />

Ensuring device independence<br />

The base configuration contains a default unit that corresponds to a DASD esoteric (such as<br />

SYSDA). Default geometry for this unit is specified in bytes/track and tracks/cylinder for the<br />

predominant device type in the esoteric. If users specify the esoteric, or do not supply the<br />

UNIT parameter for new allocations, the default geometry converts space allocation requests<br />

into device-independent units, such as KBs and MBs. This quantity is then converted back<br />

into device-dependent tracks based on the default geometry.<br />

<strong>System</strong>-determined block size<br />

During allocation, DFSMSdfp assists you to assign a block size that is optimal for the device.<br />

When you allow DFSMSdfp to calculate the block size for the data set, you are using a<br />

system-determined block size. <strong>System</strong>-determined block sizes can be calculated for<br />

system-managed and non-system-managed primary storage, VIO, and tape data sets.<br />

The use <strong>of</strong> system-determined block size provides:<br />

► Device independence, because you do not need to know the track capacity to allocate<br />

efficiently<br />

► Space usage optimization<br />

► I/O performance improvement<br />

► Simplifies JCL, because you do not need to code BLKSIZE<br />

You take full advantage <strong>of</strong> system-managed storage when you allow the system to place data<br />

on the most appropriate device in the most efficient way, when you use system-managed data<br />

Chapter 5. <strong>System</strong>-managed storage 287

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

Saved successfully!

Ooh no, something went wrong!