z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Alter the Entry Names of Generically Named Clusters: Example 3

z/OS DFSMS Access Method Services Commands
SC23-6846-01

In 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 are GENERIC.*.ABLE. The name "GENERIC.*.BAKER" is called a generic name.

Start of change Note that you cannot use GENERIC * in the ALTER command for USERCATALOG objects because the UCAT names are not CLUSTER names, they are UCAT connector records. End of change

//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, to GENERIC.*.ABLE. Its parameters are:
  • GENERIC.*.BAKER identifies the objects to be modified.
  • NEWNAME changes each generic entry name GENERIC.*.BAKER to GENERIC.*.ABLE.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014