beautypg.com

Deleting pairs using pprc commands, Cdelpair, Delpair – HP StorageWorks XP Remote Web Console Software User Manual

Page 100: Cdelpair delpair

background image

Figure 45 PPRCOPY ESTPAIR with MODE(RESYNC) Parameter

//EPAIR JOB
// EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//DD1 DD UNIT=SYSDA,DISP=SHR,VOL=SER=DKDE80
//SYSIN DD *
PPRCOPY ESTPAIR DDNAME(DD1) PRI(X’0080’,30158,X’00’) SEC(X’0080’,30158,X’01’)
MODE(RESYNC) PACE(15)
/*
//

Deleting Pairs Using PPRC Commands

The CDELPAIR and PPRCOPY DELPAIR commands are equivalent to the ShadowImage for Mainframe
delete pair operation. The CDELPAIR and PPRCOPY DELPAIR commands must be issued to the
S-VOL.

A DELPAIR command performed when pair status is split enables the T-VOL to be accessed by the
host. A DELPAIR command performed when pair status is other than split allows non-reserved
T-VOLs to be accessed by the host. Reserved simplex volumes cannot be accessed.

WARNING!

For duplex SIz pairs, the S-VOL and its associated T-VOLs are usually not identical,

because SIz update copy operations are asynchronous. Therefore, if a pair is deleted with status
other than split, the data integrity of the T-VOL cannot be guaranteed.

CDELPAIR

Table 43 (page 100)

lists and describes the CDELPAIR command parameters that can be used when

you delete SIz pairs.

Table 43 CDELPAIR Command Parameters

Description

Value

Parameter

Device number.

DEVN

If you set a parameter other than the
parameters on the left, the command will be
rejected.

Primary volume (S-VOL): SSID, serial number,
channel connection address, and CU number.

1

You must set MAnn0 instead of a serial number
if you delete all SIz pairs in the CTG nn. nn is
the CTG ID.

PRIM

Secondary volume (T-VOL): SSID, serial
number, channel connection address, and CU
number.

1

SEC

1

CU number or the parameter is only valid for the DKC emulation type 2105 or 2107.

Figure 46 (page 100)

shows an example of the CDELPAIR command.

Figure 46 TSO Delete Command

CDELPAIR DEVN (X ‘DE80’ ) PRIM (X ‘0080’ ,30158,X ‘00’ ) SEC (X ‘0080’ ,30158,X ‘01’ )

DELPAIR

Table 44 (page 101)

lists and describes the DELPAIR command parameters that can be used when

you delete SIz pairs.

100 Performing ShadowImage for Mainframe Pair Operations Using PPRC