SORT-MERGE/XL General User's Guide (32650-90883)
Chapter 5 63
Using SORT-MERGE/XL in Batch Mode
Checking on the Status of your Job
Checking on the Status of your Job
To check on the status of your job, use the system assigned job number and enter the
:SHOWJOB command, as follows:
:SHOWJOB #J555
If the job has not completed processing, the following message appears:
JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME
#J555 EXEC 10S LP WED 10:46A RUNSORT,USER.ACCOUNT
JOBFENCE= 5; JLIMIT= 10; SLIMIT= 20
If your job has completed processing, the following message appears:
NO SUCH JOB(S)
JOBFENCE= 5; JLIMIT= 10; SLIMIT=20
If your job has completed processing, go to the system printer and get the printout of your
report. For additional information on the :SHOWJOB command, refer to the MPE XL
Commands Reference Manual.
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