How to expand the CA Workload Automation ESP Edition JOBINDEX data set

Document ID : KB000036992
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Summary: 

 The CA Workload Automation ESP JOBINDEX data set is a VSAM KSDS file, and may be enlarged using IDCAMS REPRO. 

Environment:  

This applies to CA Workload Automation ESP Edition r11.4.

 

Instructions: 

  1. Stop the CA WA ESP master and its proxies.
  2. Backup the current JOBINDEX data set. 
  3. Rename the current JOBINDEX data set. 
  4. Define a new JOBINDEX data set with the desired size.
  5. Copy the old JOBINDEX data set to the newly created one using the IDCAMS REPRO command.
  6. Restart CA WA ESP subsystems.

Sample JCL to backup the current JOBINDEX data set:

//BACKUP   EXEC PGM=IDCAMS,REGION=4096K                       
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER(NAME(hlq.ESP.JOBINDEX.BACKUP) MODEL(hlq.ESP.JOBINDEX))
REPRO IDS(hlq.ESP.JOBINDEX) ODS(hlq.ESP.JOBINDEX.BACKUP)
/*

Sample JCL to rename the current JOBINDEX data set:  

//RENAME   EXEC PGM=IDCAMS                                   
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER hlq.ESP.JOBINDEX NEWNAME(hlq.old.JOBINDEX)
/*

Sample JCL to define a new JOBINDEX data set:

//CREATE    EXEC PGM=IDCAMS,REGION=4096K                                 
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER -
(NAME('hlq.ESP.JOBINDEX') -
KEYS(18,0) -
VOLUME(xxxxxx) -
REUSE -
RECSZ(300 32756) -
INDEXED -
SHAREOPTIONS(3,3) -
CYLINDERS(xxx,yyy) -
FREESPACE(30,30))
/*

Sample JCL to copy the old JOBINDEX data set to the newly created JOBINDEX data set:

//COPY EXEC PGM=IDCAMS,REGION=4096K
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO IDS(hlq.old.JOBINDEX) ODS(hlq.ESP.JOBINDEX)
/*

Additional Information:

The JOBINDEX data set can be on a multi-volume DASD, and can be greater than 4GB (EAV).