|
|
Using HP 3000 MPE/iX:\Advanced Skills Tutorial: HP 3000 MPE/iX Computer Systems > Chapter 4 Module 3: Batch ProcessingLesson 1 Introducing Jobs |
|
Lesson 1 presents the following information about jobs and batch processing:
Until now your logon time in this course has been in session mode. In session mode, the computer acts on a single command at a time. However, in job mode or batch processing, you use the STREAM command to submit an entire series of commands as a "batch" or "job" file to the computer.
MYJOB is a job file containing a "batch" of commands. The computer processes these commands without additional input from you. Your results generally are sent to a printer.
There are a number of advantages to job processing. It's much more efficient than session processing. Jobs generally do not require continuous input or your supervision. You can process a number of job commands with a single command. While your job is processing, your terminal is free for other work. One other advantage of job processing is that the processing can be scheduled to occur at a specific time. A job that requires a large portion of the system's resources may be run at a time when the system is not busy with interactive sessions or other jobs. How well can you distinguish between jobs and sessions? Label each item below to show which refer to jobs and which refer to sessions.
You already know that the SHOWJOB command lists all jobs and sessions currently on your system and provides you with the limits for each; however, as you begin working with jobs, you will be interested in the additional information displayed by SHOWJOB. The following is an example of a SHOWJOB display:
The important terms in the display are described below: The five possibilities for jobs are:
The values for each of these are set by system management and may be adjusted by them to meet the needs of system users. This column displays a job's input priority only if that job is in the WAIT or INTRO state, or has been scheduled to run at a later time. D6 means the job has an input priority of 6, but is deferred for later execution. If a job is currently executing or suspended, the job's priority value is not displayed. You might see QUIET in this column. The QUIET means that the user has instructed the system not to interrupt with messages from other users. (The console operator can still interrupt a Quiet session with a WARN command message.) Input priority values range from 1 (low priority) to 13 (high priority). If you enter HIPRI in the !JOB command line, the priority will be set to 15, but only if you have SM or OP capability; otherwise, the job will be submitted with the highest possible priority available at the time. Jobs in the EXEC or SUSPEND state do not have IRPR values. In order for a job to begin executing, the input priority value, IPRI, must be greater than the current jobfence. Once the job has entered the EXEC state, INPRI and the jobfence value have no further meaning for the job.
These two columns show the device (LDEV) numbers assigned to input (JIN) devices and output (JLIST) devices. Since sessions are generally input and output from a terminal, these numbers are identical for sessions. Because jobs are usually input from disk, and output is printed on the line printer (LP), the JIN and JLIST designators for jobs are different. The INTRODUCED column shows the date and time the session or job was started. For a job in the WAIT state, the date and time show when the job was introduced with the STREAM command. As soon as the job enters the EXEC state, the date and time show when the job entered the EXEC state. The JOBNAME column shows the user and account where the job originated, preceded by the job name, if any. If a job is scheduled for later submission, its state will be SCHED. It will appear at the end of the SHOWJOB listing. Under the column SCHEDULED-INTRO will be the date and time when the job is scheduled for submission.
Just beneath the column information is a summary of information regarding jobs and sessions currently executing or awaiting execution on the system. The following information on the jobfence, job limit, and session limit is a list of scheduled jobs with the times they are scheduled to run.
Suppose that you want information about just one job.
Or perhaps you want to display only job processing information rather than job and session information to your screen.
The SHOWJOB command has a number of parameters that allow you to specify the kind of information to be displayed.
Indicate which of the following statements are true.
********** End of Exercise 3-1 ********** |
|