NetBatch Manual
Run Calendar Generation and Display
NetBatch Manual—522460-004
5-6
Formatting Source Data
•
The number of source data statements needed to generate the calendar. The
minimum number is three—one naming the calendar file, one specifying the default
start time, and one specifying a run time or range of run times.
•
The likelihood that you will need to regenerate the calendar in the future (for
example, when the calendar expires). A calendar generated from source data in a
file is easier to regenerate than a calendar generated interactively.
This table describes which source data entry method to use:
Formatting Source Data
Source data entered in an EDIT input file or interactively during a BATCHCAL session
must comply with this structure and format rules:
calendar-file [ ! ]
specifies a BATCHCAL calendar file. calendar-file must be the first
noncomment line entered in the EDIT input file or interactively.
calendar-file
is the name of a disk file to which BATCHCAL writes calendar information. If the
file does not exist, BATCHCAL creates it when generating the calendar. If the file
exists, it must be a BATCHCAL-generated file (file code 848).
!
specifies, when calendar-file exists, that BATCHCAL overwrite the file with
new calendar information. If you omit ! and calendar-file exists, calendar
generation fails with file-system error 10 (file or record already exists).
default-start-time
specifies the default start time for run-time entries that do not specify time.
default-start-time must be the second noncomment line entered in the EDIT
input file or interactively. The form is:
If the calendar requires … And it is… Then …
Five or more source data
statements
Likely you will need to
regenerate the calendar
Generate the calendar from
source data in an EDIT file
Fewer than five source data
statements
Unlikely you will need to
regenerate the calendar
Generate the calendar
interactively
calendar-file [ ! ] == First noncomment line
default-start-time == Second noncomment line
run-time == Third and subsequent noncomment lines