To show how powerful, meaningful naming conventions for VOLSERs might be combined with the selection capabilities in ISMF, Example 14-13shows an example of how to change the status of 920 volumes at once. This example assumes a contiguous number range for the volume serial numbers.

Example 14-13 Indicate SMS volume status change for 920 volumes

STORAGE GROUP VOLUME SELECTION

Command ===>

CDS Name . . . . . : SYS1.DFSMS.SCDS

Storage Group Name : XC

Storage Group Type : POOL

Select One of the following Options:

31. Display - Display SMS Volume Statuses (Pool & Copy Pool Backup only)

2. Define - Add Volumes to Volume Serial Number List

3. Alter

-

Alter Volume Statuses (Pool & Copy Pool Backup only)

4. Delete

-

Delete Volumes from Volume Serial Number List

Specify a

Single Volume (in Prefix), or Range of Volumes:

Prefix

From

To

Suffix

Type

______

______

______

_____

_

===> DB2

 

001

 

300

 

X

===> IMS

 

001

 

350

 

x

===> LRG

 

001

 

150

 

X

===> TMP

 

001

 

120

 

x

Use ENTER

to Perform Selection;

 

Use HELP Command for Help; Use END Command to Exit.

Through this approach in utilizing the SMS volume status, the data gradually moves to the new environment. This is not the fastest approach, but it is the approach with the least effort required. To speed up the process you run DFSMSdss full volume logical copy operations on all source volumes as suggested by the storage administrator, but do not specify target volumes. An example is given in Example 14-6 on page 307. Then allocation runs through the standard SMS allocation and automatically selects the correct target volume, and moves the data sets, which are not allocated at the time the job executes. Another option is to run DFSMSdss migration not on a volume level, which allows more control, but plan for DFSMSdss migration jobs on the entire SG level, perhaps over the weekend. Figure 14-14illustrates this. You might specify for STORGRP a list of storage group names to address multiple storage groups at the same time.

Example 14-14 DFSMSdss moves all data sets out of a storage group

//* COMMAND 'V SMS,VOL(AAAAAA,*),D,N'

 

// COMMAND 'D SMS,SG(SG1),LISTVOL'

 

//* --------------------------------------------------------------

***

//MOVEDATA EXEC PGM=ADRDSSU

 

//SYSPRINT

DD SYSOUT=*

 

//SYSIN

DD *

 

COPY

STORGRP(SG1)

-

 

DS(INC(**)

-

 

EXCLUDE(SYS1.VTOCIX.*,SYS1.VVDS.*))

-

 

DELETE PURGE SELECTMULTI(ANY) SPHERE

-

/*

WAIT(00,00) ADMIN OPT(3) CANCELERROR

 

 

 

//* -------------------------------------------------------------

***

//AGAIN

EXEC PGM=IEBGENER

 

Chapter 14. Data migration in zSeries environments

313

Page 335
Image 335
IBM DS8000 manual 313