IKYVREST
IKYVREST contains sample JCL to restore the PKI Services VSAM data sets from a backup taken with the DFSMSdss DUMP utility. IKYVREST is installed as a member of SYS1.SAMPLIB.
Note: The following listing might not be identical to the code sample
shipped with the product. For the most current sample, see SYS1.SAMPLIB
member IKYVREST.
//IKYVREST JOB <job card parameters>
//*********************************************************************
//* SAMP: IKYVREST *
//* *
//* Licensed Materials - Property of IBM *
//* 5694-A01 *
//* Copyright IBM Corp. 2009 *
//* Status = HKY7760 *
//* *
//*********************************************************************
//* *
//* This sample JCL may be used to restore the PKI Services VSAM *
//* data sets from a backup taken with the DFSMS/dss DUMP utility. *
//* The PKI Services address space must be stopped before running *
//* this restore job. *
//* *
//*********************************************************************
//* *
//* Caution: This is neither a JCL procedure nor a complete job. *
//* Before using this job step, you will have to make the following *
//* modifications: *
//* *
//* 1) Change the job card to meet your system requirements. *
//* *
//* 2) If you are not using the default data set qualifiers, *
//* change all occurrences of "PKISRVD.VSAM" to the qualifiers *
//* you are using. *
//* *
//* 3) If you changed the default data set name for the BACKUPDS *
//* DD in the IKYVBKUP jcl, change the dataset name (DSN) value *
//* in the BACKUPDS DD statement is this jcl to match the value *
//* used in the backup jcl (IKYVBKUP). *
//* *
//*-------------------------------------------------------------------*
//* Change Activity: *
//* *
//* $L0=PKIS11M HKY7760 080828 PDTCG1: VSAM Restore from backup *
//* *
//* Change Description: *
//* A000000-999999 New sample written for z/OS release 11 *
//* *
//*-------------------------------------------------------------------*
//*
//*-------------------------------------------------------------------*
//* Perform a DFSMS/dss RESTORE of the two PKI Services VSAM clusters
//*-------------------------------------------------------------------*
//RESTORE1 EXEC PGM=ADRDSSU
//BACKUPDS DD DSN=PKISRVD.VSAM.BACKUP,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
RESTORE DATASET(INCLUDE(PKISRVD.VSAM.OST, -
PKISRVD.VSAM.ICL)) -
INDDNAME(BACKUPDS) -
CATALOG -
CANCELERROR -
REPLACEUNCONDITIONAL -
SPHERE -
WAIT(0,0)
/*