NetBatch Manual
Run Calendar Generation and Display
NetBatch Manual—522460-004
5-12
Formatting Source Data
== * The source data in this EDIT file will enable *
== * BATCHCAL to generate a run calendar containing *
== * run times for weekdays through 1995. *
== * The calendar will include special run times for *
== * June 30 and December 31 that override the weekday *
== * run times where necessary. It also will exclude *
== * run times on New Year's Day and Christmas Day. *
== *****************************************************
$DATA7.CALFILES.WEEKDAY ! == File name of run calendar
22:45 == Default job start time
1995 * WEEKDAY == Run daily Mon-Fri at 22:45
1995 6 30 12:00 == Run at midday on 30JUN95
1995 12 LAST 23:59 == Run at 11:59 p.m. on 31DEC95
- 1995 1 1 == Do not run on 01JAN95
- 1995 12 25 == Do not run on 25DEC95
•
This example shows source data entered during an interactive BATCHCAL
session:
> BATCHCAL
1} $DATA7.CALFILES.WEEKEND !
2} 17:30
3} 1995 * WEEKEND
4} EXIT
>
•
This example shows BATCHCAL generating end-of-quarter run times:
> BATCHCAL
1} QUARTERS
2} 12:00
3} /Q
4} EXIT
> BATCHCAL /IN QUARTERS/ SHOW-DATES; FROM-DATE 1995 JAN; TO
-DATE
1995 DEC
\MELBDEV.$DATA7.CALFILES.QUARTERS
1995-03-31 12:00:00
1995-06-30 12:00:00
1995-09-30 12:00:00
1995-12-31 12:00:00
•
This example shows the merging of run times from an existing calendar file with a
new file:
> BATCHCAL /IN WEEKENDS/ SHOW-DATES
\MELBDEV.$DATA7.CALFILES.WEEKENDS
1995-11-04 17:30:00
1995-11-05 17:30:00 .
.
> BATCHCAL
1} ALLDAYS !
2} 06:45
3} 1995 NOV WEEKDAY
4} + MERGE-DATES WEEKENDS
5} EXIT