How to remove an Event name from ESP Workload Automation
search cancel

How to remove an Event name from ESP Workload Automation

book

Article ID: 22670

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

We are getting pointer errors in VSAM DSN. We manually deleted event using Fileaid.

How do you remove an Event name correctly?

Environment

Component: ESP WORKLOAD AUTOMATION 
Release:   12.0

Cause

An Event name was deleted using FileAid, and cannot be used by ESP Workload Automation. 

Resolution

Contact Broadcom Support first before performing the below procedure:

1. Sample job to dump the contents of the Eventset:

//DUMPKEYJOB (<your acct>) 'programmer' ,CLASS=Z,MSGCLASS=X,MSGLEVEL=(1,1),   
//    NOTIFY=&SYSUID   
//S1 EXEC PGM=ESP,PARM='SUBSYS(XXXX)' ====> your ESP subsys name   
//STEPLIB DD DISP=SHR,DSN=data.set.name  ====> your ESP loadlib   
//SYSPRINT DD SYSOUT=*   
//SYSOUT DD SYSOUT=*   
//SYSIN     DD *   
UTIL   
OPEN '<Your Eventset>' ====>  your EventSet   
DUMPKEY   
END

2. Sample job to erase a record:

//DELETE JOB (<your acct>) 'programmer',CLASS=Z,MSGCLASS=X,MSGLEVEL=(1,1), 
//   NOTIFY=&SYSUID   
//S1 EXEC PGM=ESP,PARM='SUBSYS(XXXX)' ====> your ESP subsys name   
//STEPLIB DD DISP=SHR,DSN=data.set.name  ====> your ESP loadlib   
//SYSPRINT DD SYSOUT=*   
//SYSOUT DD SYSOUT=*   
//SYSIN     DD *   
UTIL   
OPEN '<Your Eventset>' ====> your Eventset   
GETU 'PPPPPPP TTTTTTT' ====> PPPPPPP is the Group prefix ====> TTTTTTT is the Event Name   
ERASE   
END