JCL for HDB load, report, extract
The following JCL is an example of the job stream for requesting
HDB load or report processing. This is the same as the JCL for generating
reports and extracts (see Figure 1),
but has the following additional statement specific to HDB processing:
- CPAHDBRG DD
- This DD statement identifies the Repository data set. The Repository is a VSAM KSDS that is the repository for all definitions associated with the HDB.
Figure 1. JCL for HDB
load and report processing
//CPAHDBP JOB (Job Accounting)
//*
//CICSPA EXEC PGM=CPAMAIN,PARM='UPPER'
//STEPLIB DD DSN=CICSPA.V5R3M0.SCPALINK,DISP=SHR
//CPAHDBRG DD DSN=USER.CICSPA.XYX.REPOSTRY,DISP=SHR
//SYSPRINT DD SYSOUT=*
//* SMF Files for APPLID=CICSP
//SMFIN001 DD DSN=CICS.APPL1.FILE1,DISP=SHR
// DD DSN=CICS.APPL1.FILE2,DISP=SHR,UNIT=AFF=SMFIN001
//SYSIN DD *
* HDB=CICSP1H
* Description=Summary HDB for CICSP1
CICSPA SMFSTART(2004/12/01,),
SMFSTOP(2004/12/02,)
* HDB Load for APPLID=CICSP1
CICSPA IN(SMFIN001),
APPLID(CICSP1),
HDB(OUTPUT(HDBL0001),LOAD(CICSP1H)),
HDB(OUTPUT(HDBR0001),REPORT(CICSP1H))
/*
//* Dictionary records
//CPADICTR DD DISP=SHR,DSN=CICSPA.CICSP1.DICT