How to delete an event that was triggered for the future.
search cancel

How to delete an event that was triggered for the future.

book

Article ID: 55417

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

How do you delete an event that was triggered for the distant future?

Environment

Release: All Releases of ESP Workload Automation

Cause

When trying to trigger an event in the future the wrong date was used. Need to remove the event from the schedule.

Resolution

  1. Go into page mode and issue LISTSCH DATE to list the events that have been scheduled.
    ESP  ------------------------------- COMMAND ===> lsch date 
    14.00.00 WED29JUL98 CYBEVENT.REMIND
    15.26.54 WED29JUL98 CYBEVENT.SANTA
    15.35.21 WED29JUL98 CYBEVENT.DEER
    18.00.00 WED29JUL98 CYBEVENT.PAY
    00.00.00 THU30JUL98 CYBEVENT.A
    00.00.00 THU30JUL98 CYBEVENT.MIDNIGHT
    00.00.00 THU30JUL98 CYBEVENT.ZEROZERO
    06.00.00 THU30JUL98 SCAN EVENT1
    Event 15.26.54 WED29JUL98 CYBEVENT.SANTA will be used as example. Note time and date.

  2. Select option E
    ESP ------------ CA Workload Automation ESP Edition r12.0.00 ------------ ESP
    OPTION ===> E

    Select an option from the list and press ENTER

    Define,Manage,Review... Functions

    A Applications O Set your ESP defaults
    E Events C Consolidated Status Facility
    L Calendars U ESP Utilities
    J Jobs G ESP Page Mode
    T Job Tracking M ESP Administration
    S Scheduled Activity R EXH File Viewer

  3. Select option 3
    --------------------------- EVENT MANAGEMENT MENU --------------------------
    OPTION ===> 3

    Select an option from the list and press ENTER

    Selection Description

    1 Quick Event Definition Quick entry panels to create a simple Event
    2 Define a new ESP Event Full panel series to define a new Event
    3 Control an existing Event Alter, Browse, Delete, Edit, Hold, Release, Simulate, Suspend, Resume or Trigger ESP Events
    4 TEST Test schedule criteria
    5 NEXT Display next execution time of an Event
  4. Press ENTER to display the list of events
    ---------------------------- EVENT CONTROL MENU ---------------------------- 
    OPTION ===>

    A Alter Event attributes M Simulate Event execution
    B Browse one or more Events P Release Event(s) for processing
    D Delete one or more Events R Resume Event processing
    E Edit Event definition(s) T Trigger Event execution
    H Hold Event processing U Suspend Event processing
    blank Display a List of Events

    DO YOU WANT TO CONFIRM A DELETE REQUEST? ===> Y (Y/N) (Blank defaults to YES)

    SINGLE EVENT To process one Event, complete the following.
    PREFIX ===> CYBEVENT (Blank defaults to group name)
    DESCRIPTIVE NAME ===> (Required for single Event)

    MULTIPLE EVENTS Use asterisks (*) and/or a hyphen (-) for masking to process a generic group of Events.
    PREFIX ===> CYBEVENT (Blank defaults to group name)
    DESCRIPTIVE NAME ===> (Blank defaults to all Events)
    LIST OPTIONS     ===>                           (Blank for default options)
  5. Trigger the event you want to delete
    --------------------------------- LIST EVENTS --------------- Row 1 to 1 of 1 
    COMMAND ===>

    ENTER ANY COMBINATION OF THESE CODES NEXT TO THE EVENT(S) YOU WANT TO PROCESS
    A Alter D Delete H Hold R Resume M Simulate
    B Browse E Edit P Release U Suspend T Trigger

    EVENT NEXT DUE AT SYS HC SC

    T CYBEVENT.SANTA 15.26.54 ON WED JUL 29TH, 1998 E510 0 0
    CYBEVENT.SECOND_EVENT 07.00.00 ON SAT AUG 1ST, 1998 E510 0 0
    CYBEVENT.DEER REQUIRES TRIGGER E510 0 0
    **END**
  6. Fill in the following options and press enter
    ----------------------------- TRIGGER AN EVENT -----------------------------
    COMMAND ===>

    FIll in any of the following optional fields and then press ENTER:
    REPLACE/ADD ===> REPLACE (Defaults to REPLACE - set by TRDFLT command)
    TRIGGER TIME ===> 15.26.54 WED29JUL98
    (Specify trigger time/date, NOW is the default)
    APPL on HOLD ===> (Specify Y to place Application in APPLHOLD status)
    BYPASS XEQ ===> Y  (Specify Y to bypass next scheduled Event execution)
    SYSTEM ===> (SYSID where this Event is to execute)

    User Parameters passed to Event:
    USER1 ===>
    USER2 ===>
    USER3 ===>
    USER4 ===>
    CASE SENSITIVE ===> N (Specify Y to retain case of USER1-4 parameters)
    ROOTJOB(S):         (Names of jobs and successors, for a partial rerun)
          ===>                                                             
          ===>                                                             
    SUBAPPL(S):         (Names of subapplications for a partial rerun)     
          ===>                                                             
  7. On successfully completion this message will occur
    ESP2503I SCHEDULED EXECUTION AT xxxx ON yyyy WILL BE BYPASSED
  8. Go into page mode and issue LISTSCH DATE to list the events that have been scheduled. Verify event has been deleted.

This Frequently Asked Question applies to all supported releases of ESP Workload Manager.