9 csuspend, 10 batch execution of global copy tso commands, 3 ickdsf utility for global copy management – IBM DS6000 User Manual

Page 252

Advertising
background image

228

IBM System Storage DS6000 Series: Copy Services with IBM System z

During this procedure, the volume serial number can be verified and optionally relabeled. The
volume can be varied online after this command is complete.

Example 20-8 CRECOVER command

CRECOVER DEVN(X’2242’) -
PRIM(‘X6060’ 62019 X’42’ X’00’) -
SEC(X’8061’ 68006 X’42’ X’00’) -
ID(VOL002 VOL001) -
MSGREQ(YES)

In Example 20-8, the CRECOVER command brings device

x’2242’

(on the recovery

DS6000) to simplex state. It also changes the volume label from

VOL002

to

VOL001

.

20.2.9 CSUSPEND

This command is used to suspend Global Copy operations between a volume pair. Global
Copy stops mirroring data to the secondary volume and starts keeping a record of the primary
volume tracks that are updated. The information of which tracks were updated while the pair
was suspended is used later, when the pair is reestablished, to copy just the updated tracks.
In Example 20-9, a CSUSPEND command is issued for Global Copy primary volume

6030

.

Example 20-9 CSUSPEND command

CSUSPEND DEVN(X'6030') -
PRIM(X'2060' AAGXA X'30' X'00') -
SEC(X'0002' AAVCA X'30' X'00')

20.2.10 Batch execution of Global Copy TSO commands

Batch procedures can be automated to manage some Global Copy activities. JCL can be
used to issue Global Copy commands in batch jobs, and automation procedures can be set to
watch for their completion. Automation could analyze the results from previous job executions
or Global Copy messages, and then schedule other jobs to be executed. Example 20-10
illustrates a batch job for executing a Global Copy TSO command.

Example 20-10 Batch job for executing Global Copy commands

//IKJEFT01 JOB MSGLEVEL=(1,1),MSGCLASS=A,NOTIFY=user id
//STEP1 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
CDELPATH DEVN(X'E12B') -
PRIM(X'1071' 5005076300BBBBBB X'01') -
SEC(X'1710' 5005076303AAAAAA X'00')

20.3 ICKDSF utility for Global Copy management

In System z environments, the ICKDSF utility offers a means for control of Global Copy
functions. ICKDSF typically runs as a batch program, and so can be automatically run from
batch scheduling products (for example, Tivoli Workload Scheduler). It also supports VM and
VSE systems.

Table 20-4 on page 229 lists the ICKDSF commands you can use for Global Copy
management.

Advertising