CA7

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

CA7 uses different queues to monitor batch cycles. A few queues are detailed below.

Request Queue - When a job is scheduled to run.


Ready Queue - When all requirements for the job are satisfied.
Active Queue - When the job is executing in the system.
Prior Run Queue - List the last time that a job executed.

Determine Job/Cycle Status with CA-7 List Commands:-
Select option 7 and then option 1 from the Scheduling Products Menu.
Type XQ,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Wild cards can also be
used, such as WCBS* to show all WCBS jobs. This command will display jobs in the Request queue and
allow the status of those jobs to be updated.
Type LQ,JOB=Y or LQ,ST=ABND,JOB=*
Where Y= is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Wild cards can also use
used , as in the previous examples. This command will show the status on all production activity in CA-7.
The second command will show you all the ABENDed jobs. This command is helpful in determining the
queue in which a job currently resides.
Type LJOB,JOB=Y,LIST=ALL
Where Y is any job cycle being monitored such as WCBSTCAR or MCAJCW01. Wild cards can also be used
as in the previous examples. This command will show all the information on a job such as in-conditions
and prose.
Determine status of Time Jobs in CA-7

This can be done by executing either command "LQ,JOB=TIME*" or "XQ,JOB=TIME*" in CA7. If there is a
time job in the queue with a time that has already past for the current day, the cycle monitor needs to
manually post the submit time requirement.



If there are system problems, check account cycle jobs(current julian date) that are waiting for a submit
time through the PSI function QUEUES in the START TIME column.

Place Jobs on Hold with CA-7

There are two ways to place a job on hold with CA-7. You can use the Hold command or go through the
XQ screen.

Type HOLD,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. CA-7 will prompt you for
text and the job will be held.
The second way is through the XQ screen. Type XQ,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Wild cards can also be
used, as in the previous examples. Move the cursor down to the job you want to hold and type an H in
front of it. CA-7 will prompt you for text for holding the job. Type in your text and the job will be held.


Demand in a Job with CA-7

When demanding a job in with CA-7 it is very important to know if there are jobs that are going to be
triggered. It is a good idea to demand out a job in Hold status and then release it.

Type DEMAND,JOB=Y
Where Y is any job you want to demand out.
Type DEMANDH,JOB=Y (To force out a job on Hold)
Where Y is any job you want to demand out on hold.
Type DEMANDH,JOB=Y,SCHID=Z (To force out a job on Hold with a certain Schedule ID).
Where Y is any job you want to demand out and Z is the Sched ID the job resides in.
Type DEMAND,JOB=Y,SET=NTR
Where Y is any job you want to demand out and SET=NTR is to force out without any triggering.
Delete a Job from CA-7 Production Queue

Use the XQ screen to delete a job from CA-7.

Type XQ,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Wild cards can also be
used, as in the previous examples. Move the cursor down to the job you want to cancel and type an C in
front of it. CA-7 will prompt you for text for canceling the job. If the job is in a Skeleton status you will
have to enter a Top-Line command: CANCEL,JOB=Y,REASON=____,FORCE=YES.


Restart a Job through CA-7/CA-11

There are two ways to restart a job with CA-7.

Type RESTART,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. This command will
restart a job awaiting restart in the Request queue.
Type XQ,JOB=Y
Where Y is any job being monitored such as WCBSTCAR or MCAJCW01. Move the cursor down to the job
to be restarted. Type an F in front of the job. This will pull up the CA-7/CA-11 restart panel. Place an X in
front of the Resubmit For Production function. CA-7 will display a prompt for some documentation on
why the job is being restarted. The cycle monitor can also force complete a job from here. Be CAREFUL
when force completing a job because any follow on jobs will execute.
REQUEUE,Job=Y
This command will requeue a job that is hung in the Ready queue.
To restart a job with CA-11 Type XQ,JOB=Y
Where Y is any job being monitored, such as WCBSTCAR or MCAJCW01. Move the cursor down to the
job to be restarted. Type F in front of the job. This will pull up the CA7/CA11 restart panel. Place an X in
front of the CA-11 RESTART/RERUN function. CA-11 will have the Jobstep and Procstep in the CA-11
restart fields. You can overtype these fields also.
Force a JOB Complete Using CA-7

Type XQ,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Move the cursor down
to the job you want to Force Complete and type a F in front of it. This will take you to the Restart screen.
Type an X in front of the FORCE COMPLETE function. CA-7 will prompt you for text on why you forced
complete the job.. Be CAREFUL when force completing a job because any follow on jobs will execute.
Post a Condition to a Job

Use the XQ screen to add a condition to a job in CA-7.

Type XQ,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Wild cards can also be
used. As in the previous examples. Move the cursor down to the job you want to add a condition to and
place an X in front of it. Cursor down to the condition that is to be remove and type an X in front of it.
Type ADDRQ,JOB=Y,DEPJOB=X
Where Y is the job in the queue, and X is the job you want to add to Y as an additional dependency.
List Documentation for a Job

Use the LPROS command to list documentation for a particular job.

Type LPROS,JOB=Y
Where Y is any job cycle you are monitoring such as WCBSTCAR or MCAJCW01. Wild cards can also be
used, as in the previous examples. This command will show you the documentation the scheduler or
programmer has provided.
Use the Forecast Commands

Use the Forecast command to forecast the scheduled work for a given period of time. Successor jobs
triggered by predecessor jobs or any jobs triggered by data sets created in the predecessor jobs may
also be included.

Type FJOB,FROM=(mmddyy,hhmm),TO=(mmddyy,hhmm),JOB=**
This command will show you all the jobs that will run for a specific period of time by jobname, or you
can use wild cards as in the previous examples. You can replace JOB=** with SYS=** to forecast by
System ID.
Type FRJOB,JOB=Y
Where Y is any job cycle that is being monitored, such as WCBSTCAR or MCAJCW01. This command will
show a reverse job flow (reverse trigger flow) based upon information from the database.
Type FSTRUC,JOB=Y,SCHID=NN

Where Y is the job you want to forecast from and NN is the schedule ID you are forecasting from. This
command will show you the cycle flow from the job you specify.

Use the List Log and List Prior Run Commands

Type LRLOG,SPAN=*,JOB=Y
Where SPAN=* is the amount of days or time you want to list and Y is the Job you want to search for.
This command will list information from the CA-7 Run Log. These events include job and network
completions and exception events such as restarts, force completes, and cancels.
Type LPRRN,JOB=Y
Where Y is any job being monitored. This command will list job information from the prior run queue.
The prior run queue contains information about the last successful completion of each job.
Use the HELP Function Through CA-7

Type HELP
This will take you to the CA-7 Help screen or the CA-7 Online Tutorial screen
Type in a Y at the INDEX: prompt. This will give you an Index of all the CA-7 commands you can get help
on.
Overtype the word INDEX with a Command you want to get help on. Such as LQ or XQ. The CA-7 Help
will give you Syntax and Examples of commands.

You might also like