NetBatch Manual

Run Calendar Generation and Display
NetBatch Manual522460-004
5-16
Displaying Run Times
Step 2: Create the Calendar
Enter the calendar’s source data at the BATCHCAL prompts, then stop the BATCHCAL
program to create the calendar:
1}CAL9304 == File ID of run calendar
2}10:00 == Default start time for jobs
3}1993 APRIL == Run daily at 10:00
4}EXIT
> FILEINFO
$DATA7.RUNTIMES
Code EOF Last Modification …
CAL9304 848 222 22-Dec-92 11:41:11 …
>
Step 3: Display and Check the Calendars Run Times
Display the calendar’s run times and check them. For more information, see Displaying
Run Times on page 5-16.
> BATCHCAL /IN CAL9304/
1993 - April - CAL9304
------------------------------------------------------------
|Sunday |Monday |Tuesday |Wednesday|Thursday |Friday |Saturday |
=============================================================
| | | | | | | | |1 |10:00 |2 |10:00 |3 |10:00 |
|--|------|--|------|--|------|--|------|--|------|--|------|------|
|4 |10:00 |5 |10:00 |6 |10:00 |7 |10:00 |8 |10:00 |9 |10:00 |10|10:00 |
|--|------|--|------|--|------|--|------|--|------|--|------|------|
|11|10:00 |12|10:00 |13|10:00 |14|10:00 |15|10:00 |16|10:00 |17|10:00 |
|--|------|--|------|--|------|--|------|--|------|--|------|------|
|18|10:00 |19|10:00 |20|10:00 |21|10:00 |22|10:00 |23|10:00 |24|10:00 |
|--|------|--|------|--|------|--|------|--|------|--|------|------|
|25|10:00 |26|10:00 |27|10:00 |28|10:00 |29|10:00 |30|10:00 | | |
------------------------------------------------------------
Displaying Run Times
The BATCHCAL program can display run times in list form and in chart form:
A run-times list is a single column of run times listed one per line in ascending date
order. BATCHCAL displays run times in list form when you include the NEXT-DATE
or SHOW-DATES program parameter in the RUN BATCHCAL command. For
example:
> BATCHCAL /IN FEB1993/ SHOW-DATES
$DATA7.CALFILES.FEB1993
1993-02-01 12:00:00
1993-02-02 12:00:00
1993-02-03 12:00:00 .
.
1993-02-26 12:00:00
Note. The data structure and format must conform to the rules in Entering Source Data on
page 5-5.