Example 14-7 Execute SMS modify commands through pre-defined job

//DISNEW JOB ,' DISABLE NEW ',MSGCLASS=T,CLASS=B,

//MSGLEVEL=(1,1),REGION=0M,USER=&SYSUID /*JOBPARM S=VSL1

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

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

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

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

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

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

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

***

//STEP1

EXEC PGM=IEFBR14

//

 

 

 

This SMS modify command approach has a drawback: It holds only until the next IPL. Then SMS will read again what the volume and SG status is from the respective Source Control Data Set (SCDS) and will reload the Active Control Data Set (ACDS) accordingly. To make this change permanent you have to change the SCDS through ISMF panels or execute jobs through NaviQuest to change the SCDS.

We go briefly through the ISMF panel sequence to make the SMS volume status complete and permanent.

Example 14-8is the first ISMF Storage Group Application panel where you choose the actual SCDS, the storage group, here XC, and select option 4 to alter the SMS volume status.

Example 14-8 Select SMS storage group in SCDS

STORAGE GROUP APPLICATION SELECTION

Command ===>

To perform Storage Group Operations, Specify:

CDS Name . . . . . . 'SYS1.DFSMS.SCDS'

 

 

 

 

(1 to 44 character data set name or 'Active' )

Storage Group Name

XC

(For Storage Group List, fully or

 

 

 

 

 

partially specified or * for all)

Storage Group Type

 

(VIO, POOL, DUMMY, COPY POOL BACKUP,

 

 

 

 

 

OBJECT, OBJECT BACKUP, or TAPE)

Select one of the

following options

:

4 1.

List

-

Generate a list of Storage Groups

2.

Define

-

Define a Storage Group

3.

Alter

-

Alter a Storage Group

4.

Volume

-

Display, Define, Alter or Delete Volume Information

If List Option is chosen,

 

 

 

Enter

"/"

to select option

Respecify View

Criteria

Use

ENTER to

Perform

Selection;

Respecify Sort

Criteria

 

 

Use

HELP

Command for

Help; Use END Command to Exit.

 

 

 

 

 

 

 

The next panel which appears is in Example 14-9.Option 3 allows you to alter the SMS volume status. Here you select the volumes which ought to receive the change.

Example 14-9 Select respective volume range(s) from Storage Group

STORAGE GROUP VOLUME SELECTION

Command ===>

310DS8000 Series: Concepts and Architecture

Page 332
Image 332
IBM DS8000 manual Example 14-8 Select SMS storage group in Scds, Storage Group Application Selection