Example of jcl (for csv copy group definition), Generating csv files for copy group definition – HP XP Racks User Manual

Page 296

Advertising
background image

2.

Upload the generated CSV file to the host on which Business Continuity Manager is running.

3.

Prepare a disk configuration definition file.

If you do not have a disk configuration definition file, create one by scanning the volumes to
be used.

4.

Prepare a copy group definition file in which the attributes you want to be inherited are
defined.

For details on the attributes you need to define, see

“Attributes to be defined in a base copy

group definition file” (page 292)

.

5.

Execute the YKIMPORT command.

A copy group definition file is generated. You can select either new creation or overwrite.

Example of JCL (for CSV copy group definition)

The following code shows an example of JCL for executing the YKIMPORT command as a batch
job:

NOTE:

The CSV file must be allocated with the DD name INCTG in Business Continuity Manager

version 7.4 or later when Continuous Access Journal Z is used.

//BCMIMPOT JOB
//YKIMPORT EXEC PGM=IKJEFT01,REGION=4096K
//SYSEXEC DD DSN=BCM.VXXXXXX.HPQYEXET,DISP=SHR
//STEPLIB DD DSN=BCM.VXXXXXX.HPQYLNKT,DISP=SHR
//SYSTSPRT DD SYSOUT=S
//SYSABEND DD SYSOUT=*
//INPAIR DD DSN=BCM.PAIRCSV,DISP=OLD
//INEXCTG DD DSN=BCM.EXCTGCSV,DISP=OLD
//INCTG DD DSN=BCM.CTGCSV,DISP=OLD
//SYSTSIN DD *
YKIMPORT PREFIX(BCM) BASEGROUP(BASE.CAJ) NEWGROUP(CG.CAJ)
/*

The amount of memory required to execute the command depends on the number of volumes used
by the copy group. For details about how to set an appropriate value, see the HP XP7 for Business
Continuity Manager Installation Guide
.

Generating CSV files for copy group definition

By executing the YKEXPORT command, you can generate the following CSV files from a copy
group definition file.

Pair information CSV file:

A CSV file in which copy pair information in a copy group container is described.

EXCTG information CSV file:

A CSV file in which EXCTG information is described.

CTG information CSV file:

A CSV file containing consistency group information (only for Continuous Access Journal Z).

CSV files can be generated for all copy types. This section describes how to generate CSV files.

Required files (CSV file for copy group definition)

To generate a CSV file by executing the YKEXPORT command, the following files are required:

Disk configuration definition file

Copy group definition file

296 Importing copy groups

Advertising
This manual is related to the following products: