Valid for
Syncfile
Description
Use EVENT
to define an event and its schedule. Associate the event with a file set through the EVENT
keyword in DUP
parameter argument. For example, you might define an EVENT
named DAILY
that executes a duplication at 03:00 daily:
EVENT DAILY, EVERY DAY AT 03:00; . . . DUP $DATA1.GGSCFG.Z*, TARGET \BKUP.$DAT2.*.*, ALWAYS EVENT DAILY;
For this example, the DUP
arguments includes EVENT
DAILY
. At 03:00, every day, data set $DATA1.GGSCFG.Z*
is duplicated to data set \BKUP.$DAT2.*.*
.
You can include multiple EVENT
parameters. You can schedule for time of day, day of week, or date. You can also exclude specific dates or days of the week.
EVENT
precedes all other parameters. At least one EVENT
entry is required.
Syntax
EVENT event_name, every_options [, exclude_options];
Example
For this example, two EVENTS
are defined, then called by subsequent DUP
parameters.
EVENT DAILY, EVERY DAY AT 1:00; EVENT FREQUENT, EVERY 2 HOURS; DUP $DATA1.GGSCFG.Z*, TARGET \BKUP.$DATA2.*.*, ALWAYS, EVENT DAILY; DUP $DATA1.GGSPARM.*, TARGET \BKUP.$DATA2.*.*, EVENT FREQUENT;