You are on page 1of 7

LJOB, LJOBR:

LJOB:
Obtain information on various jobs from the CA-7 database.
Example1:
LJOB,JOB=T1*
This command will list all the jobs with names beginning with T1.
Example2:
LJOB,JOB=,LIST=ALL
List all information on a single job.
The command LJOB,JOB=T1COCMAA,LIST=ALL will list all information on single job su
ch as job definition, schedules, requirements, prose, dependency, no of runs etc
..
Example3:
LJOB,JOB=,LIST=RQMT :
List all information on a single job regarding the input requirements and networ
k connections.
The below command LJOB,JOB=T1COCMAA,LIST=RQMT will list all information on single
job for the input requirements and network connections.
LJOBR:
Use the LJOBR command to list computer resource requirement information on jobs.
This command is similar to the LQR command, except that it lists resource infor
mation on any job in the database.

This command can also be used to determine all jobs which have specific resource
requirements or ranges of requirements. Resource parameters can be specified in
any combination to obtain the desired information. This makes the command very
useful in analyzing profiles of the CA-7 workload.
Example1:
LJOBR,JOB=
The command will help us to get the details such as how many tapes used by this
job, how much region space required by this job and CPU time required etc.
LACT & LACTR:
LACT:
Obtain information on jobs from the CA-7 queues. These commands are helpful in l
ocating specific jobs or
networks. They are also valuable when monitoring the flow of the total workload.
Use the LACT command to provide general status information on CPU jobs in the ac
tive queue. Parameters allow you to indicate which job or group of jobs is desir
ed, what information is to be reviewed, and the sequence of displayed data. The
active queue only contains information on jobs that have started executing on a
CPU.

Example1:
LACT
Type LACT on main menu from CA-7 to get all active jobs in current active queue.
QUEUE NAME:
The queue where this job record currently resides. Values are REQ for request qu
eue, RDY for ready queue, and ACT for active queue.

LACTR:
Use the LACTR command to provide resource requirement information on jobs in the
active queue. This lets you review the resource requirements of the currently a
ctive CPU workload. This command is similar to the LQR command.

Example1:
LACTR
Type LACTR on main menu from CA-7 to get the resource requirement for all active
jobs in current active queue. To get the details for specific job is LACTR,JOB=.
LRDY&LRDYP:

LRDY:
Use the LRDY command to list job information from the ready queue. This informat
ion provides details on jobs which have all preexecution requirements satisfied
and are only waiting to be submitted to the host system. Jobs which have been su
bmitted but have not yet begun to execute remain in this queue until execution d
oes begin and show a submit time. Status, documentation, and JCL are among the i
nformation that can be displayed.

Example1:
LRDY
The command LRDY is to list the information such as entry mode, status, queue n
ame etc.
LRDYP:
Use the LRDYP command to list current job workload balancing priority informatio
n from the ready queue for jobs which are awaiting submittal or execution.
Example1:
LRDYP
The command LRDYP is to list the information such as Job Class, next priority,
queue name etc.
LJCL:
Use the LJCL command to list the JCL for any CA-7 job when the job name is suppl
ied. It can access any PDS, CA-Panvalet, or CA-Librarian data sets defined to CA
-7. This command lists the data set name and the member name specified (or defau
lted) on the DB.1 screen for each job.
Note: Any undisplayable hexadecimal characters in the JCL are shown as periods (
.) in the output from the LJCL command.
Example1:
LJCL,JOB=
This will list jcl for that job alone.
Example2:
LJCL,JOB=*
This will list jcl for all the jobs with beginning with name T1.
LSCHD:
Use the LSCHD command to list schedule information from the database for jobs.

Example1:
LSCHD,JOB=,LIST=SCHD
This command gives us the information such as schedule date, time, id etc
LPRRN:
Use the LPRRN command to list job information from the prior-run queue. The prio
r-run queue contains information about the last successful completion of each jo
b.

Example1:
LPRRN,JOB=
This command will list the job information from the successful prior-run.
LRLOG:
Use the LRLOG command to list information from the CA-7 run log. The run log con
tains the information on certain events which occur during CA-7 processing. Thes
e events include job and network completions and exception events such as restar
ts, force completes, and cancels.

The run log maintains data for the previous n number of days. The default is to
retain 5 days of run log data. That is the current date, up to the moment, and t
he four previous calendar days.

Example1:
LRLOG :
This command list all the information about the completed jobs for Current day (
up to present time).
LPROS:

Use the LPROS command to list documentation. CA-7 allows you to define documenta
tion for each portion of the production workload through the CA-7 documentation
facility. You can define documentation in the CA-7 database for each individual
task.
The LPROS command is used to display database documentation member information,
as well as the actual documentation itself. By following some user-defined stand
ard naming conventions for documentation, any questions regarding production wor
kload components or considerations can be answered very quickly with this comman
d.

Example1:
LPROS,JOB=,LIST=NOLINK
The command lists the all useful instructions of the task which was very useful
in case of production issues/abends of the particular job.
XQ, XQJ, XQN, and XQM:
The above commands display jobs in the request, ready or active queues and allow
the status of those jobs to be updated. The CANCEL, HOLD, RELEASE, RESTART, SUB
MIT and REQUEUE command functions, in addition to others, can also be performed
on the XQ, XQJ, XQN, and XQM screens with a single function character.
XQ Lists the jobs in the order in which they occur in the queue.
XQJ Lists the jobs in job name sequence.
XQN Lists the jobs in CA-7 job number sequence.
XQM Lists the jobs in job name sequence with a requirements summary. (LIST=ANY
is the default for XQM. This is different from the other XQ screens where
LIST=ALL is the default.)
Example1:
XQ
Type XQ on Main Menu from the CA-7 to get the below screen. It shows all the jobs
which are in requested queue.
LQ(list queue):

Use the LQ command to list information on CPU jobs from the request, ready, and
active queues. The queue information provided shows the status on all production
activity known to CA-7. This command is helpful in determining the queue in whi
ch a job currently resides.

Example1:
LQ
Type LQ on Main Menu from the CA-7 to get the below screen. It shows all the jobs
which are from the request, ready, and active queues.

Forecasting Job Flow Structures

The following commands produce reports which display the structures of job flows
defined in the
CA-7 database

FSTRUC
Reports on an entire CPU job flow structure from the database along with startin
g and ending times.

Example1:
FSTRUC,JOB=T1*
The command gives the forecasting report of all the jobs with beginning name wit
h T1 and it is very helpful to find the dependency jobs, trigger jobs etc.
Data set inquiries
Obtain information on user application data sets in the CA-7 environment. You ca
n review information from the CA-7 database, as well as PDS or sequential data s
et data, with these commands.

LCTLG
Use the LCTLG command primarily to list data set information from the CA-7 index
data set. You can also use it to list special entries such as documentation, ne
tworks, triggers, or requirements from the CA-7 database. When used to list data
sets, volume information, creation dates and times, and device information are
displayed.

Example1:
LCTLG,DSN=
The command lists the dataset details and the trigger job information.
LDSN
Use the LDSN command to list data set information from the database including da
ta set attributes, device and volume information, and information on which jobs
use the data set or are trigger scheduled as a result of its creation

Example1:
LDSN,DSN=PT1CO.BACCM.PROD.PROC
The command lists the details of including data set attributes, device and volum
e information, and information on which jobs use the data set.
For DEMAND A Job
DEMAND, DEMANDH
Use the DEMAND command to force immediate scheduling of a job into the CA-7 requ
est queue. Jobs which do not have definable processing cycles can be scheduled i
n this manner. Demand scheduling may also be used to force early execution of jo
bs which have defined processing cycles or to schedule jobs for the first time,
before they have been defined in the CA-7 database.
Use the DEMANDH command to indicate that the demanded job is to be placed on hol
d in the request queue.
Demanding a job into the request queue does not automatically result in immediat
e submission
for execution. When a DEMAND is issued for a job, that job is placed in the requ
est queue where the availability of its input requirements is determined.

Example1:
DEMANDH,JOB=
RUN, RUNH
Use the RUN top line command to force immediate scheduling of a job without veri
fying the availability of any input requirements or performing the updates which
normally follow successful job completion. The RUN command is similar to the DE
MAND command except that DEMAND is normally used to run a job out of turn on a o
netime basis. When DEMAND is used, input requirement checking is performed and d
atabase updating is done upon completion of the job. When RUN is used, no requir
ement posting or job triggering occurs.
The RUNH command indicates the job is to be placed in CA-7 hold status.

Example1:
RUN,JOB=
RESTART

Jobs which have failed to terminate successfully are returned to the request que
ue for restart by the user. Such jobs are given a restart requirement until the
restart is performed. The commands in this group
are used to review and/or perform job restart functions

Use the RESTART top line command to restart a job awaiting restart in the reques
t queue.
Example1:
RESTART,JOB=