Process to update the master schedule.
UPDATESCH calls SCHEDIT to incorporate scheduling directives into the master schedule.
- LOGFILE(--)
- Log file. Name of the log file to write all processing messages to. If defaulted, "updatesch" within the ADAPSLOG directory will be used. LOGFILE will have a ;log extension.
UPDATESCH will determine if there are any schedule directive files to process (add, delete, etc.). If there are, it will update the master schedule accordingly.
UPDATESCH will determine if there are any schedule directive files to process (add, delete, etc.). If there are, it will (1) call SCHEDIT to update the master schedule with these directives, or (2) call the UNIX sort utility to update the master schedule (in the event of a sort schedule directive). Before updating the master schedule, a copy of the current master schedule is made as a back-up. The updated master schedule is also copied to the VAX for scheduling purposes on that system.
An error was encountered while determining the directory wherein the schedule files reside. Verify that ADAPSTABLES has been defined.
The function was aborted by the user.
The schedule file names could not be determined. Contact the system administrator if this error persists.
An error was encountered while determining the schedule directory on the VAX. Contact the system administrator if this error persists.
An error was encountered while attempting to purge previous master schedule versions on the VAX. Verify that the VAX is accessible.
The SCHEDIT executable cannot be found on the system. Verify that this function is available.
An error was encountered while searching for schedule directive files. Ensure that the directory containing the schedule files is accessible.
The schedule directive update file was not successfully integrated with the master schedule. Contact the system administrator if this error persists.
The master schedule could not be copied to the VAX. Ensure that the VAX is operational and accessible.
Previous versions of the master schedule could not be deleted on the VAX. Ensure that the VAX is accessible.
Previous versions of the master schedule could not be deleted on the host system. Verify that the permissions on these files is set properly.
This module must be executed on edclxs1 for the scheduling process to complete properly. Restart this module from edclxs1.
A fatal error was encountered, refer to the specific message preceding this one for more details.
cmnd_xxxxxxxxxxxx;sch
where cmnd is
add - scenes to be added to the schedule delete - scenes listed by date to be deleted delsid - scenes listed by scene id to be deleted modify - scenes to be modified based on date range modsid - scenes to be modified based on scene id modsta - scenes to be modified based on date range and station sort - indicates the schedule is to be sorted
and xxxxxxxxxxxx - 12 character time stamp