As a CA Chorus administrator, you must create a JCL member to restore the H2 database. When doing so, we recommend that you consult with the storage administrator and scheduling administrator.
Follow these steps:
Create a JCL member for your restore and save it to a location that meets your site's requirements. The following example provides an outline of what to include in the H2 database restore JCL member:
DELETE (dataset_backup_existing) PURGE
Data set name for the existing database file system. This name must match the name that you used in your backup job for (DATASET(INCLUDE in the SYSIN DD statement.
Example: CHORUS.RUNTIME.CETJDB
INPUT DD DSN=h2_backup_dataset,DISP=SHR
Data set name for the H2 database directory file system. This name must match the name that you used in your backup job for the OUTPUT DD DSN.
Example: CHORUS.RUNTIME.H2.PACKAGE
STORCLAS(storage_class)
Storage class name.
Example: SCPERM
Example
In this example, the bold text indicates the instances where you specify your configuration values.
//DELETE EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * DELETE (CHORUS.RUNTIME.CETJDB) PURGE SET MAXCC=0 /* //DEPLOY EXEC PGM=ADRDSSU //INPUT DD DSN=CHORUS.RUNTIME.H2.PACKAGE,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSIN DD * RESTORE - INDDNAME(INPUT) - DATASET(INCLUDE(**)) - REPLACEUNCONDITIONAL - WRITECHECK - STORCLAS(SCPERM) /*For SMS only*/ - CANCELERROR - WAIT(2,2) /* //
You have created the H2 database restore JCL member.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|