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.

5.34 Simplifying JCL use<br />

Figure 5-34 Using SMS capabilities to simplify JCL<br />

Use simplified JCL<br />

After you define and start using data classes, several JCL keywords can help you simplify the<br />

task <strong>of</strong> creating data sets and also make the allocation process more consistent. It is also<br />

possible to allocate VSAM data sets through JCL without IDCAMS assistance.<br />

For example, with the use <strong>of</strong> data classes, you have less use for the JCL keywords UNIT,<br />

DCB, and AMP. When you start using system-managed data sets, you do not need to use the<br />

JCL VOL keyword.<br />

JCL keywords used in the DFSMS environment<br />

You can use JCL keywords to create VSAM and non-VSAM data sets. For a detailed<br />

description <strong>of</strong> the keywords and their use, see z/<strong>OS</strong> MVS JCL User’s Guide, SA22-7598.<br />

In the following sections, we present sample jobs exemplifying the use <strong>of</strong> JCL keywords<br />

when:<br />

► Creating a sequential data set<br />

► Creating a VSAM cluster<br />

► Specifying a retention period<br />

► Specifying an expiration date<br />

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

DEFINING A NEW DATA SET<br />

(SMS)<br />

//DD1 DD DSN=PAY.D3,<br />

// DISP=(NEW,CATLG)<br />

STORAGE MANAGEMENT SUBSYSTEM<br />

MVS/ESA

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

Saved successfully!

Ooh no, something went wrong!