NetBatch Manual

Run Calendar Generation and Display
NetBatch Manual522460-004
5-22
Reformatting an Old Calendar File
Reformatting an Old Calendar File
Versions of the BATCHCAL program from C22 through D21 cannot read calendar files
created by earlier versions of the program. An attempt to read such a file fails with this
message:
Old calendar should be rebuilt or converted by RE-FORMAT
To convert an old calendar file to the current format, use the RE-FORMAT program
parameter in the RUN BATCHCAL command (see Table 5-4). The scheduler and the
D30 version of BATCHCAL can read all calendar files, regardless of when they were
created.
Table 5-4. Reformatting an Old Calendar File
To reformat a pre-C22
calendar file... Example
BATCHCAL / IN calendar-
file /
R[E-FORMAT]
> FILEINFO CALOLD
$DATA7.CALENDAR
Code EOF Last Modification …
CALOLD 848 2038 21-Nov-89 02:27:48 …
> BATCHCAL /IN CALOLD/ NEXT-DATE
?Old calendar should be rebuilt or converted by RE-
FORMAT
> BATCHCAL /IN CALOLD/ RE-FORMAT
> BATCHCAL /IN CALOLD/ NEXT-DATE
1993-01-31 12:00:00
> FILEINFO CALOLD
$DATA7.CALENDAR
Code EOF Last Modification …
CALOLD 848 674 13-Jan-93 15:27:01 …