Professional Documents
Culture Documents
Esp Event Scheduling
Esp Event Scheduling
Below are some scheduling terms. These are the frequency parameters in a schedule statement.
For example – Schedule 11PM Once Starting June 15th, 2004
If the Event’s scheduled time comes up while it is being held, ESP marks the Event as overdue. ESP
Workload Manager adds a comment to a held Event if it misses its scheduled time, indicating that
execution is pending and the time it should have executed.
After you release the Event, ESP checks the overdue count. If you specified a number other than zero, or
let the count default to one, the Event executes immediately for every occurrence it missed while on
hold, up to the value of the overdue count.
The SUSPEND command bypasses execution of an Event until you RESUME it. When you specify the
name of the Event to be suspended by typing U in front of its name the Event has its suspend count
incremented immediately.
The RESUME command is used in conjunction with the SUSPEND command. It decrements the suspend
count of an Event. Specify the name of the Event to be resumed by typing R in front of its name. When
the suspend count reaches zero, the Event is eligible for execution at its next scheduled time.
• Event is scheduled for tomorrow but you want to run tomorrow’s jobs today:
– Manually trigger the Event with the REPLACE option
– Use the trigger time field to specify a time other than now
– Jobs submitted are those scheduled for tomorrow
– Symbolic variables resolve to tomorrows dates
–
• Rerun a job stream from a previous day:
– Manually trigger the Event with the ADD option
– Specify yesterday’s date in the trigger time field
– Jobs submitted are those scheduled from yesterday
– Symbolic variables resolve to yesterdays dates
You can trigger an Event manually using the TRIGGER command. Specify the name of the Event and
either the ADD option or the REPLACE option. If you specify ADD, It adds an extra execution to the
normal schedule for the Event. A TRIGGER ADD always causes the execution of an Event. The
ESP PCCSCHR16
Understanding Event Scheduling Page 3 of 5
Implemented: 10/01/04 Last Updated: 03/07/07
Next Review: 03/01/08 Updated By: Mitch Neal
Internal Yes Last Reviewed: 03/07/07
Procedure:
(PM use only) Last Reviewed Mitch Neal
By:
Procedure User: POM-CC Production Operations Management Command Center
Analysts
Doc Owner: David Dunbar
Outside Workgroups that require n/a
signoff:
REPLACE option brings forward the next scheduled execution for that Event. Before issuing a TRIGGER
REPLACE, you should be aware of the next action to be processed for that Event. Use the AT keyword
to specify a future time and date for the trigger to occur, overriding the default of NOW. If you specify
REPLACE, the trigger replaces the next scheduled execution on or after the specified time.
Example –
EVENT NEXT DUE
SCHPROD.QALDM850 REQUIRES DATA SET TRIGGER
1. Browse the event.
/*************************************************/
/* DEFINED BY CPI1549 AT 08.47 ON THU 1DEC2005 */
/*************************************************/
EVENT ID(SCHPROD.QALDM850) SYSTEM(MASTER1) REPLACE
COM The following is for C:D process CMSNIE for IPF1
INVOKE 'PPI00000.ESP.SCHD(PPIDDUMY)’
DSTRIG CDXT.PCS3.QALDM850 EXPLICIT
COM is the comment line and it tells us that this Event is triggered by a Connect Direct process called
CMSNIE. You can get more information on CMSNIE by logging into TSO CDLIB and going to =SS and
using CMSNIE as your process name.
ESP PCCSCHR16
Understanding Event Scheduling Page 4 of 5
Implemented: 10/01/04 Last Updated: 03/07/07
Next Review: 03/01/08 Updated By: Mitch Neal
Internal Yes Last Reviewed: 03/07/07
Procedure:
(PM use only) Last Reviewed Mitch Neal
By:
Procedure User: POM-CC Production Operations Management Command Center
Analysts
Doc Owner: David Dunbar
Outside Workgroups that require n/a
signoff: