Professional Documents
Culture Documents
Presented By
2. Job queues are work entry points through which batch jobs enter the
system. They can be thought of as waiting rooms for a subsystem. A
number of factors affect when the job is pulled off the job queue into
the subsystem:
► such as the job priority on the job queue,
►the sequence number of the job queue,
► the maximum number of active jobs.
When all of these factors work together, the job will be pulled off the job
queue to start running in the subsystem.
JOB Life Cycle
3. When the job enters the subsystem it becomes active. Until a job gets
its activity level and memory from a memory pool, it cannot run. The job
uses several pieces of information before it can receive memory to run.
The subsystem description like the job description, carries information,
such as which memory pool to use, the routing entry, the maximum
number of active jobs, and the number of active jobs currently in the
subsystem.
JOB Life Cycle
4. Memory is a resource from the memory pool that the subsystem uses
to run the job. The amount of memory from a memory pool, as well as
how many other jobs are competing for memory, affects how efficiently a
job runs. Subsystems use different memory pools to support different
types of jobs that run within them. The subsystem gives the memory pool
the information it needs to process the order in which jobs are allocated
memory, and the memory pool allocates memory for the job to run to
completion.
JOB Life Cycle
5. A printer output for a job (also called spooled files) is sent to an output
queue where it waits to be sent to a printer or file. The output queue is
similar to the job queue in that it controls how the output is made
available to the printer. The output queue allows the user to control what
files are printed first.
JOB Types
JOB’s Duration
JOB Processing Method
Interactive and batch jobs
1. A user signs on to a display station.
2. The i5/OS operating system runs the job and can generate
printed output that is placed in a spooled file and put on an
output queue. An output queue contains reports waiting to
print.
3. This job waits on the output queue until prior jobs are
printed.
3. The job waits on the job queue until the subsystem that is
monitoring the job queue has the resources needed to run the
job.
Each job has a system-unique identifier, called a qualified job name, that
consists of three parts (or qualifiers):
Every job run within the i5/OS operating system is associated with a
specific user. A user’s profile contains a great deal of information about
the user and which types of jobs he or she can run.
JOB – WRKJOBD
Work with Job Descriptions
Job
Opt Description Library Text
JOB7
.empty.
JOB5 JOB6
Subsystem QBATCH
MAXACTJOB = 3
Currently running:
JOB1, JOB2, JOB3
Jobs, Queues, and Printer Writers
Jobs, Queues, and Printer Writers
Subsystem
The most useful is the WRKSBSD command because from this display you
can create, change, delete, display, or work with subsystem jobs, or you can
start or stop a subsystem.
Subsystem by IBM
Subsystem by IBM
Subsystem Functions
QCTL QCTL is the controlling subsystem.
QINTER An interactive subsystem used to sign on to all display stations
except the system console.
QBATCH Use QBATCH to process batch jobs.
QSYSWRK runs certain system functions
QSPL Used for for spooling functions
QCMN Runs communication functions
Subsystem by IBM
Work with Subsystems
System: IFICTSDV
Type options, press Enter.
4=End subsystem 5=Display subsystem description
8=Work with subsystem jobs
Bottom
Parameters or command
===>
F3=Exit F5=Refresh F11=Display system data F12=Cancel
F14=Work with system status