SCHEDULE (command)

@SCHEDULE ... This command is used to reserve devices for the current batch job, thus preventing errors from occurring if trying to use the devices already reserved by other users. The most common device numbers are 2 Paper tape reader 3 Paper tape punch 4 Card reader 5 Line printer If one of the specified devices is reserved by other users, the batch process will enter waiting state until they are released.
 * : is the octal value of the logical device numbers given in.

To prevent deadlock situations, no device can be used by the batch job before a SCHEDULE command is given. If it is, the error message DEVICE ALREADY RESERVED is given, and the batch job will be aborted.