As a CA Chorus administrator, you must perform a one-time setup to prepare for the H2 database backup. This setup includes determining the volume allocation for the H2 database and creating an H2 database backup JCL member. When you are performing this setup, we recommend that you consult with the storage administrator and scheduling administrator.
Follow these steps:
Note: The CETJDB allocation is given in tracks.
Note: Multiple volume allocations are required when a data set allocation is expected to consume more space than what is available on a single volume. We recommend that you use multiple volumes. Doing so makes it easier to secure the necessary allocation for the H2 database. For more information about multiple volumes, see the Installation Guide.
DELETE (h2_backup_dataset_old) PURGE
Name of the previous H2 database backup data set.
Example: CHORUS.RUNTIME.H2.PACKAGE
SPACE=(CYL,(primary_allocation,secondary_allocation),RLSE),
Value of the primary space allocation in cylinders. This value is allocated when the backup data set is created. This file system can grow to be much larger than the original allocation. Therefore, we recommend that you use a primary allocation value that is equal to the current size of the CETJDB data set.
Example: 1500
Value of the secondary space allocation in cylinders. Use this value if your H2 database backup data set requires more space than what is specified in the primary allocation. This value can be used up to 15 times.
Example: 100
STORCLAS=storage_class,
Name of your storage class. Typically, this name is the storage class that is used for application backup data sets.
Example: SCWORK
Note: For non-SMS allocations, list the individual volumes in the VOLUME subparameter.
UNIT=(volume1, volume2)
Value for the first volume allocation.
Example: SYSALLDA
Number of extra units of space for the volume allocation.
Example: 6
DATASET(INCLUDE(dataset_for_backup))
Data set name for the database file system (INSTALL_HOME/database) that you are backing up.
Example: CHORUS.RUNTIME.CETJDB
Example
In this example, the bold text indicates the instances where you must specify your configuration values.
//* Remove the previous backup
//*
//DELPKG EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE (CHORUS.RUNTIME.H2.PACKAGE) PURGE
SET MAXCC=0
/*
//*
//PACKAGE EXEC PGM=ADRDSSU
//OUTPUT DD DSN=CHORUS.RUNTIME.H2.PACKAGE,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(1500,100),RLSE),
// STORCLAS=SCWORK,
// UNIT=(SYSALLDA,6)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DUMP -
OUTDDNAME(OUTPUT) -
DATASET(INCLUDE(CHORUS.RUNTIME.CETJDB)) -
ALLEXCP
/*
//
You have determined the volume allocations for the H2 database backup and have created the H2 database backup JCL member.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|