09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ALTER//ALTER JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *ALTER -DATA.G0001V05 -ROLLIN/*The ALTER command rolls the SMS-managed generation data set,DATA.G0001V05, into the GDG base.Alter the Entry Names of Generically Named Clusters:Example 3In this example, several clusters with similar names, GENERIC.*.BAKER (where *is any 1 to 8 character simple name), are renamed so that their entry names areGENERIC.*.ABLE. The name “GENERIC.*.BAKER” is called a generic name.//ALTER2 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *ALTER -GENERIC.*.BAKER -NEWNAME(GENERIC.*.ABLE)/*The ALTER command changes each generic entry name, GENERIC.*.BAKER, toGENERIC.*.ABLE. Its parameters are:vvGENERIC.*.BAKER identifies the objects to be modified.NEWNAME changes each generic entry name GENERIC.*.BAKER toGENERIC.*.ABLE.Alter the Attributes of a Generation Data Group: Example 4This example modifies the attributes of a generation data group. Because theattributes are cataloged in the generation data group’s base catalog entry, only thisentry is modified.//ALTER3 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *ALTER -GDG01 -NOEMPTY -SCRATCH/*The ALTER command modifies some of the attributes of generation data groupGDG01. The new attributes override any previously used <strong>for</strong> the GDG. Itsparameters are:vvvGDG01 identifies the object to be modified.NOEMPTY uncatalogs only the oldest generation data set when the maximumnumber of cataloged generation data sets is exceeded.SCRATCH removes the generation data set’s DSCB from the volume VTOCwhen the data set is uncataloged. If the data set is SMS-managed, the NVR isalso removed.74 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

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

Saved successfully!

Ooh no, something went wrong!