Making changes to data sets

CHANGE is a powerful command that you can use to make changes to many data sets at once. Using CHANGE is much faster than making changes to individual data sets in the dialog, so you should use it whenever possible to save time. Use this command to perform tasks such as:
  • Changing data set names
  • Making unrenameable data sets renameable
  • Changing data set types
  • Changing the SMS management status
  • Overriding the master catalog requirement for data sets
  • Changing the physical volume for data sets
  • Allocate secondary space for data sets shipped with no secondary space
  • Changing logical volumes
  • Changing data set space values.

Based on the parameters you specify on your CHANGE command, the dialog checks the data sets in the current display list and returns a candidate list of data sets that are eligible to be changed by the command. At this point, changes are only simulated; no data sets have actually been changed.

For example, Figure 1 shows a candidate list that simulates a change to data set types (for the CHANGE TYPE command).

Figure 1. Panel: Global change - candidate list for data set attributes
 CPPP6050 ------------- Modify System Layout ( MD053718 ) --  ROW 1 TO 4 OF 22
 COMMAND ==>                                                    SCROLL ==> PAGE

GLOBAL Change - Candidate List                           Change: Type

Primary Commands:(? SET Locate Find Next Previous SORT CANcel)
   Line Commands:(eXclude)

                                               DS        P.Volume/ Seq Logical
S Data Set Name        (Old  New)              Type  SMS STORCLAS  No. Volume
- -------------------------------------------- ----- --- --------- --- -------
  AOP.AAOPEXEC                                 PDS    N   DLIB02    D02 DLB308
  AOP.AAOPEXEC                                 PDSE   N   DLIB02    D02 DLB308
  -------------------------------------------- ----- --- --------- --- -------
  AOP.AAOPHFS                                  PDS    N   MVSDLB    D01 DLB318
  AOP.AAOPHFS                                  PDSE   N   MVSDLB    D01 DLB318
  -------------------------------------------- ----- --- --------- --- -------
  AOP.AAOPMENU                                 PDS    N   DLIB02    D02 DLB308
  AOP.AAOPMENU                                 PDSE   N   DLIB02    D02 DLB308
  -------------------------------------------- ----- --- --------- --- -------
  AOP.AAOPPENU                                 PDS    N   DLIB02    D02 DLB307
  AOP.AAOPPENU                                 PDSE   N   DLIB02    D02 DLB307
  -------------------------------------------- ----- --- --------- --- -------

You now must determine whether to commit the changes as shown in the display, cancel your change request, or exclude particular data sets from the candidate list before committing the changes. For example, the data sets shown in Figure 1 are currently in PDS format. Committing this change, however, would cause the data sets to be changed to PDSE format.

To commit the changes, press Enter or End. To cancel the changes, enter the CANcel command and press Enter.

Figure 2 shows an example of a candidate list that is displayed for changes to data set space values (for the CHANGE SPACE command).

Figure 2. Panel: Global change - candidate list for data set space values
 CPPP6057 ------------- Modify System Layout ( MD053718 ) --  ROW 1 TO 5 OF 22
 COMMAND ==>                                                    SCROLL ==> PAGE

 GLOBAL Change - Candidate List                    Change: Space

 Primary Commands:(? SET Locate Find Next Previous SORT CANcel)
    Line Commands:(eXclude)
                                                Primary    Secondary  Directory
 S Data Set Name         (Old  New)             Tracks      Tracks     Blocks
 - -------------------------------------------- ---------- ---------- ---------
   AOP.AAOPHFS                                      1400        400         6
   AOP.AAOPHFS                                      1800        400         6
   -------------------------------------------- ---------- ---------- ---------
   ASMT.AASMBOK2                                     680        400         6
   ASMT.AASMBOK2                                     850        400         6
   -------------------------------------------- ---------- ---------- ---------
   ASMT.AASMSHF2                                     680        400         6
   ASMT.AASMSHF2                                     850        400         6
   -------------------------------------------- ---------- ---------- ---------
   ASMT.SASMBOK2                                     680        400         6
   ASMT.SASMBOK2                                     850        400         6
   -------------------------------------------- ---------- ---------- ---------
   ASMT.SASMSHF2                                     680        400         6
   ASMT.SASMSHF2                                     850        400         6

Any changes that you make to merged data sets through the CHange command are applicable to their component data sets. These changes are retained even if you later unmerge the data set.

The following primary commands are valid for this panel:
? SET Locate Find Next Previous SORT
These are standard commands for panels that display lists. See Primary commands.
CANCEL
This command, abbreviated as CAN, discards any changes that you have made to the data sets.
The following line command is valid for this panel:
X
Excludes the selected data set from the list of data sets to be changed. The data set is not changed if the change is committed.