Scheduling a Batch Job [ SORT-MERGE/XL General Users Guide ] MPE/iX 5.0 Documentation
SORT-MERGE/XL General Users Guide
Scheduling a Batch Job
The :STREAM command can be used to schedule the job for execution at any
given time (tonight, tomorrow, next week, or next month).
To schedule a job for execution at a particular time, use the MPE XL
:STREAM command. For example, you have completed the job file and would
like to have a copy of your report waiting for you by tomorrow morning.
To run the job during the night, when the system might not be fully
utilized, issue the following command:
:STREAM RUNSORT;AT=22:00
This command schedules the job RUNSORT to execute at 10:00 PM of the day
the command was issued. The system responds by assigning a job number,
as follows:
#Jnnn
Enter the :SHOWJOB command to ensure that the job is scheduled:
:SHOWJOB #Jnnn
The systems responds with the message:
JOBNUM STATE IPRI JIN JLIST SCHEDULED-INTRO JOB NAME
#Jnnn SCHED 8 10S LP 6/3/87 22:00 RUNSORT,USER.ACCT
1 SCHEDULED JOB(S)
For additional information on using the MPE XL :STREAM command
to schedule jobs refer to the MPE XL Commands Reference Manual
(32650-90003).
NOTE Scheduled jobs may, or may not, survive a system shutdown and
subsequent startup, depending on system events. For this reason,
it is best to schedule jobs no more than a few days in advance.
MPE/iX 5.0 Documentation