Can an Event name be removed from Eventset Dataset of CA Workload Automation EE (ESP) system?

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

Question:

An Event has been deleted from Eventset using FileAid. Now the Event name cannot be used by CA Workload Automation EE. When the event name is created again, it will simulate, but will not trigger getting pointer errors in VSAM DSN. How do you remove an Event name correctly?

Solution:

It is not recommended to delete Events from CA Workload Automation EE Eventset Dataset using FileAid. If you need to perform the following procedure, it is best to contact CA Support first.

First run the following job to dump the contents of the Eventset:

//DUMPKEYJOB 111111111,'programmer' ,CLASS=Z,MSGCLASS=X,MSGLEVEL=(1,1),   
// NOTIFY=&SYSUID   
//S1 EXEC PGM=ESP,PARM='SUBSYS(XXXX)' ====> This is customer specific subsys name   
//STEPLIB DD DISP=SHR,DSN=xxxx.xx.ESP.SSCPLINK ====> This is customer specific ESP Loadlib   
//SYSPRINT DD SYSOUT=*   
//SYSOUT DD SYSOUT=*   
//SYSIN DD *   
UTIL   
OPEN 'xxxx.xx.ESP.EVENT1' ====> This is customer specific EventSet   
DUMPKEY   
END

Then select a record and ERASE it as follows:

//DELETE JOB 1111111111,'programmer',CLASS=Z,MSGCLASS=X,MSGLEVEL=(1,1), 
// NOTIFY=&SYSUID   
//S1 EXEC PGM=ESP,PARM='SUBSYS(XXXX)' ====> This is customer specific subsys name   
//STEPLIB DD DISP=SHR,DSN=xxxx.xx.ESP.SSCPLINK ====> This is customer specific ESP Loadlib   
//SYSPRINT DD SYSOUT=*   
//SYSOUT DD SYSOUT=*   
//SYSIN DD *   
UTIL   
OPEN 'xxxx.xx.ESP.EVENT1' ====> This is customer specific EventSet   
GETU 'PPPPPPP TTTTTTT' ====> PPPPPPP is the Group prefix ====> TTTTTTT is the Event Name   
ERASE   
END