Procedure to copy event
search cancel

Procedure to copy event

book

Article ID: 126195

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Need to modify an event, and have the original one to reference.

Environment

Release: All
Component: ESP Workload Automation

Resolution

When in an event you can create a new event by editing the event you want and then changing the name of the event. You will now see one in your event lists of the new name and the old one still remains. 

EXAMPLE: Event named CYBER.TESTRUNE is below. I will change the TESTRUNE to TESTRUNE1. 

/*************************************************/ 
/* DEFINED BY USER01 AT 15.00 ON SAT 8SEP2018 */ 
/* LAST RUN AT 09.43 ON THU 31JAN2019 */ 
/*************************************************/ 
EVENT ID(CYBER.TESTRUNE) MAILBOX(USER01) SYSTEM(ESPM) REPLACE 
INVOKE 'MY.ESP.PROCLIB(TESTRUNE)' 
ENDDEF 

Now when I list the events you will see both of them. 

EVENT NEXT DUE AT LAST RUN SYS HC SC 
CYBER.TESTRUNE REQUIRES TRIGGER 2019/01/31 ESPM 0 0 
CYBER.TESTRUNE1 REQUIRES TRIGGER UNKNOWN ESPM 0 0