Different Tools That We Use For Monitoring (Ca-7, CA-11, $avours)
Different Tools That We Use For Monitoring (Ca-7, CA-11, $avours)
Different Tools That We Use For Monitoring (Ca-7, CA-11, $avours)
7, CA-11, $avours)
CA-7
Time – Driven : - Jobs run based on the time specified in the Job.
Event – Driven : - Jobs are dependent on other Jobs and run only when they are
completed.
These time-driven and event-driven facilities are used to schedule CPU production jobs.
By using the CA7 job triggering feature a series of production jobs can be submitted
based on the successful completion of one single job
CA-11
RUN HANDLER
The Run Handler provides the means for automatically handling all MVS catalog
maintenance, dataset maintenance, and GDG bias adjustments for job reruns and
restarts
The Tracking System captures job execution data, permitting you to analyze the
impact of reruns on personnel and resources. The Tracking System provides for
retention of history data in the Job Execution History File.
$AVRS (Sysout Accumulation Viewing / Retrieval System)
$AVRS is mainly used to check the sysout of a job, once the job got abended or to check
the output of the job once it completes.
By entering into the $AVRS screen we can able to view the PROCSTEPs &
STEPNAMEs of a job along with its CONDCODE (condition code)
For SYS1/SYS7, $AVRS of SYS1 will be used to check the sysout of a job
& For SYS2/SYS4/S4HS, $AVRS of SYS2 will be used.
Toggle before the current sysout of the job & type I to view the stepwise return code
information
CA-7:
JOB:
A task performed by a computer system. For example, printing a file is a job. Jobs can
be performed by a single program or by a collection of programs.
BATCH CYCLE
Sequencing of Jobs to run in order is called Batch Cycle. Here Successive Jobs are
initiated automatically when the previous Jobs are completed and all requirements are
satisfied.
SCHID:
A job can be a part of different batch cycles. To run the same job in different batch
cycles, we use schid.
Schids can be any number between 1-255.
Every job running in Ca7 should have a Schid.
Schid is very important when triggers are on.
Importance of Schid:
For example, on schid 1Job1 may trigger Job 2, but on schid 3 Job 1 may trigger Job
A CA-7 schedule job can be defined with a number of diff schedule ids.Each schedule
id can define different scheduling dates, execution environments, sets of jobs, job
statements etc.
PRODUCTION JOBS:
The jobs which are defined to CA-7 are production jobs. As a production monitor we
need to give more importance to the production jobs.
If the job has a job definition then it is a production job, we will check by using the
command JOB, JOBNAME
FUNCTION: LIST (ADD,DELETE,DD,PURGE,DELPRRN,FORMAT,LIST,UPD)
JOB: G1QQ21PD
GENERAL: SYSTEM: FLEETXTR JOBNET: OWNER: UID: 20
The jobs which are not defined to CA-7 are non-production jobs.These are also
called User jobs. We cannot demand a non production job.We will run the job using Run
command.
User jobs do not have any schid.
1. Here Job D is the job which is taken as reference to show all the commands.
2. Here Job A with schid 001is the first job which will trigger the batch cycle. Job A
with schid 001 triggers B which Triggers C and inturn C will trigger D.
3. So the Entry of D with schid id 001 into the CA-7 request queue depends on the
completion of job C with Schid 001.
4. So if you get a request to check the status of the job D, We need to follow the
following steps.
Check whether the job is in the Queue or not by giving the command LQ,
job=job name.
If you get a message no records found, check whether the job ran fine or not
by giving the command Lrlog, job=job name.
IF you find a completed instance, we can leave that job. Other wise check the
last successful run of the job by giving the command lprrn, job=job name.
Get the entry mode of the job. There are three types of modes.
o SSCAN: These are time dependant jobs i.e the entry of the job into the
queue depends on the Time. If these jobs are not in the queue, we need
to check the schedule of the job by giving the command,
LSCHD,job=jobname,list=cals.
This command will display the calendar of the job and we can
get whether the job is scheduled on that day or not
o AUTO: These jobs are event triggered jobs i.e the entry of the job into
the queue depends on the successful completion of the job that
triggered this job. Here in the above figure Except A(001) and p1 p2
p3 and s1,s2 s3 all the other jobs are auto jobs. Job D is an AUTO job.
For Example, If Job D is not in the queue,we need to check the
reverse structure of the job D by using the command.
Frjob, job=D.This will display all the jobs that will trigger job
D.
We need to check whether any job in the given structure is any
of the queues or not. If you find any job in the queue.
In this Example,we need whether any of the jobs A,B,C in the
request queue or not.
o DEMAND: These jobs Enters into the Request queue when demanded
by the operator upon a request by using the command DEMAND,
Job=Job name.
If the job is a demanded job, we can inform the user that the
job is a demanded job.
o RUN: If the Entry mode of the job is RUN.i.e The job is a non ca7 job
or it entered into ca7 by using RUN command. This will not satisfy
any requirements.
o Internal jobs are the jobs where the main job come into the request
queue with these internal jobs as the requirements and the main job
will remain in the queue until all the internal jobs ran successfully.
o In the above example,the After the completion of Job C,JobD will be
triggered and enters the request queue with P1,P2 and P3 as the
internal jobs.After job D finds the successful completion of Job P1,P2
and P3 the job D will start running.
o Job D will not check for the schids of P1,P2 and P3.It is Independent
of the schids.
o Entry of Job D into the request queue doesnot depend on the
completion of Job P1,Job P2 and Job P3.
o These jobs are also known as predecessor jobs.
o Ljob,job=jobname,list=rqmt will show all the requirements that should
be satisfied before entering into the active queue.
o For Job D,P1,P2 and P3 are predecessor jobs and for job P1,P2 and P3,
job D is the Successor job.
Triggered by Jobs are the jobs which upon the completion trigger the main
job i.e. that jobs are responsible for the main job to come into the request
queue.
Triggered Jobs are the jobs which will be triggered by the main job as soon
as its completion.
For e g: Consider jobs A->B->C->D->F->G->H.
Job D will come into request queue after completion of Job A, Job B and Job
C .Then Jobs A, B, C are Triggered jobs.
After successful completion of those three jobs Job D comes into the request
queue.
Then Job D triggers Job F,Job G, Job G .If Job D completes successfully then
only the other three jobs(F,G,H)
Completes.
Job triggering is usually performed after the schedule ids are defined.
Triggering defines the execution sequence of the application jobs. The CA-7
Job Triggering screen is used to define a list of triggered jobs for a specific
job. Job triggering can be limited to a specific schedule ID.
SCHID 000 means that the triggered job initiated by a job with any schedule id.By
default, a job’s schedule id is passed to the triggered job unless otherwise specified in
the TRIG field
LJOB,JOB=G1JZAPWX,LIST=TRIG
JOB=G1JZAPWX LIST=TRIG DATE=07.085 PAGE 0001
MSGS 0010
JOB ----JCL---- SYSTEM USR MAIN PROSE SCHED --NUMBER OF- LAST-RUN
NAME ID MEMBER -NAME- -ID -ID- DSNBR DSNBR STP DDS RUNS DATE/TIME
G1JZAPWX 000 G1JZAPWX VFSPMS 013 SY1 *NONE* *NONE* 001 004 0992 07083/0203
G1JO0BCV 000 G1JO0BCV VFSCATS 013 SY3 *NONE* *NONE* 003 178 3208 07082/0533
LJOB,JOB=G1JP75PW,LIST=DEPJ
JOB=G1JP75PW LIST=DEPJ DATE=07.085 PAGE 0001
MSGS 0006
JOB ----JCL---- SYSTEM USR MAIN PROSE SCHED --NUMBER OF- LAST-RUN
NAME ID MEMBER -NAME- -ID -ID- DSNBR DSNBR STP DDS RUNS DATE/TIME
G1JP75PW 000 G1JP75PW CEFPMS 250 SY1 *NONE* *NONE* 003 115 0971 07084/0111
STANDALONE JOB: The job neither triggers any job nor it will be an internal job of
any other job. In the above figure, H is a stand alone job.
DETAILED DISCUSSION ABOUT ALL THE QUEUES
Request Queue
Ready Queue
Active Queue
REQUEST QUEUE
LREQ
LIST= DATE=07.039 PAGE 0001
JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB
LREQ,JOB=G1KLD5PD
NAME NAMEJOB=G1KLD5PD
LIST=STATUS JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN
DATE=07.039 ID0001
PAGE MODE REQ
STATUS
JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB
G1KLC2PD
NAME NAME REQJOB#8273 DEADLINE
039/1301 039/1300 039/1310
SUB/START *NOEX*
DUE-OUT 009 AUTO
SPEC/RUN ID 001
MODE REQ
G1KLD5PD
STATUS REQ 8589 039/1731 039/1730 039/1740 SY3- 004 AUTO 002
G1QT56PD REQ 8785 039/0841 *NONE* 039/0850 SY3- 003 AUTO 001 LATE
G1IVFF00 REQ 8565 039/2159 *NONE* 039/2249 SY3- 002 AUTO 001
G1KLC3PD
G1KLD5PD REQ REQ 8875
8589 039/1031
039/1731 039/1030
039/1730 039/1040
039/1740 SY3-
SY3- 009 004 AUTO
AUTO 001 002
G1JOSTCV REQ 8795 039/1016 039/1015 039/1025 SY3- 011 SSCN 001
GISS0GPD REQ 8848 039/1154
------------------------- 039/1100 039/1200
REQUIREMENTS STATUS SY3- 011 AUTO 001
-------------------------
MEMO REQ 7817 039/1051 039/1000 039/1100
_______ WAITING FOR SUBMIT TIME (07039 17:30) *NOEX* 007 AUTO 001
G1JOB1QD REQ 8873 039/0942 039/0945 039/0950
_______ INTERNAL JOB=G1KLP2PD DATE/TIME=07038/2200 SY1- 008 AUTO 001
G1XRZZPH REQ 8849 039/1001 039/1000 039/1010 SY3- 003 AUTO 001
SLIF-00 REQUEST COMPLETED AT 09:41:44 ON 07.039
Mainly we use this screen to check whether a job is a CA7 job / not
(Or)
FIELD DESCRIPTIONS
FUNCTION:
GENERAL Indicates that this section of the screen contains general information
:
about the job. No input is allowed for this field.
SYSTEM : The user-defined application system name of which this job is a part.
JOBNET : The name of a CPU job network of which this job is a part.
OWNER : ID identifying ownership of this job.
UID : The CA-7 user security identification.
JCL: Indicates that this line of the screen contains JCL information about
the job. No input is allowed for this field.
USE-OVRD-LIB: Indicates whether the JCL is to be retrieved from the JCL Override
library (JCLID=254) for the next run only (Y or N). This field is
automatically set back to N the next time the job comes into the
request queue.
VERIFY : Indicates whether this job requires any presubmission manual verification
(Y or N).
MAINT : Indicates whether this job is a maintenance job (for example, a
system utility) with no production data set requirements (Y or N).
SATISFACTION: Indicates that this area of the screen contains lead time information
LEAD-TIME about the job requirements.
JOB : The number of hours to be considered when satisfying job dependent
requirements.
DSN : The number of hours to be considered when satisfying data set
requirements.
ARFSET : Names the collection of ARF definitions that apply to this job
EXECUTION: Indicates this screen section contains execution information about the
job.
MAINID : Indicates on which CPU the job may or may not be scheduled.
MESSAGES: Indicates that these lines of the screen contain information about
messages which may occur for the job.
LTERM : Messages about this job are to be routed to this logical terminal
name.
REQUIREMENT
LIST : Indicates whether preexecution requirements are to be listed for this
job when it enters the request queue (Y or N).
PROMPTS : Indicates if prompt messages are to be issued if this job is late
(Y or N).
ERROR MSGS -- RQMTS NOT USED:
Indicates whether error messages for job requirements not used are to
be issued (Y or N).
DSN NOT FOUND: Indicates whether error messages for data sets used at execution time
but not found in the CA-7 database are to be listed (Y or N).
There are five ways by which the jobs comes into the Queue
SSCAN
AUTO
DEMAND
RUN
LOAD
SSCAN: In this mode, the entry of the jobs into the queue depends on the Time (i.e)
these are time dependant jobs .If these jobs are not in the queue, we need to check the
schedule of the job by giving the command,
LSCHD,job=jobname,list=cals
This command will display the calendar of the job and we can
get whether the job is scheduled on that day or not
G1SGYFSD REQ 8883 039/1156 039/1155 039/1205 SY3- 006 SSCN 001
AUTO: In this Mode, the entry of the job into the queue depends on the successful
completion of the job that triggered this job (ie) these jobs are event triggered jobs
FRJOB, job=xxxxx
This will display all the jobs that will trigger job xxxxx
G1KLD5PD REQ 8589 039/1731 039/1730 039/1740 SY3- 004 AUTO 002
DEMAND: In this mode, the Jobs Enters into the Request queue when demanded by the
operator upon a request by using the command. This Demand Mode will satisfy the
requirements of the job(if any).
RUN: If the Entry mode of the job is RUN.i.e If the job is a non ca7 job or it entered into
ca7 by using RUN command, then it will not satisfy any requirements.
LOAD:
The LOAD/LOADH command is to create or recreate job profile data in the database
(i.e.,) builds the database profile for a new job or rebuilds the profile for a job whose
JCL was changed.
Job profiles should agree with the current JCL. Therefore, any changes to the
JCL must be resynchronized with the database by loading the job.
When a job is scheduled using the LOAD command, the LOAD step executes but the
rest of the job's JCL is flushed. The job returns to the request queue with a JCL error.
The LOAD command cannot be used for a job that has been marked as nonexecutable
(for example, EXEC=N) on the DB.1 screen.
LOAD,JOB=jobname,{Dotm=hhmm,leadtm=hhmm}
LOAD,JOB=jobname,{Jclid=nnn}
This command will identifies the JCL data set which contains
the execution JCL to be submitted.
RUN DEMAND
RUN will force immediate scheduling of a DEMAND will force immediate
job without verifying the availability of any scheduling of jobs controlled by CA-7 by
input requirements verifying the availability of input
requirements
The RUN will run a job without satisfying The DEMAND will run a job by posting
any requirements or triggering anything any requirements or triggering anything
else else
Running a job through RUN will Demanding a job into the request queue
automatically result in immediate does not automatically result in immediate
Submission for execution Submission for execution.
SCHID is not required when running a job SCHID is required when running a job
through RUN through DEMAND
Through RUN we can run both CA-7 & But Through Demand, only CA-7 jobs can
non CA-7 jobs run
RUN wont take Job Definition panel into Demand will consider the Job Definition
account while running a job panel while running a job
SKELETON STATUS
When a Job comes with a SKELETON status, it means that CA-7 cannot bring the JCL
for the job into the request queue.
Main Reasons why the job comes with Skeleton status are:
When the JCL is not located in the specified JCL library (production or override)
CA-7 JCL control records (#SCC, #JI, etc) are not coded properly
[Note: If the job is in skeleton status, the job will remain in the request and it will
not run until we cancel the job and redemand it]
Contact the Analyst and inform him that the job is in skeleton status.
Open a GEMS ticket, update it and assign the ticket to the appropriate scheduling
group.
As per the Analyst, cancel the job from the restart queue and then re-demand the same
to the request queue correcting the library. Make sure the same SCHID is used when
re-demanding it.
Cancellation of the job from the request queue, which is in the skeleton status, will
not work by putting a “C” beside the job name. Instead we have to issue the following
command:
XQM Panel is mainly used to check the jobs that are in REQUEST Queue waiting
for some requirements as well as the abended jobs that are waiting for Restart
requirement.
FUNCTIONS:
C=CANCEL
F=RESTART
H=HOLD
J=JCLOVRD
P=RSVP
Q=REQUEUE
R=RELEASE
S=SUBTM OFF
U=UPDATE
V=VERIFY
X=RQMT POST
E=EDIT QJCL
PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 07.091 / 11:23:45 MSGS 0004
MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE
FIELD DESCRIPTIONS
F : Function field
As this Panel is an Editable Panel, We can also update the status of the job by
FUNCTIONS like CANCEL, RESTART, HOLD, RELEASE, REQUEUE, UPDATE
RQMT POST, EDIT JCL etc.,
COMMANDS
The jobs will be displayed in this XQM panel for one/more of the following requirements
to be completed:
DIFFERENT TIMES:
DEAD LINE TIME: This is the time before which the job needs to satisfy all the
requirements and it should start execution. In other words, the job needs to move from
the request queue to ready queue before the deadline time.
DUE OUT TIME: This is the time before which the job needs to complete its execution.
In other words the job should be out of CA-7 before the Due out time.
LOOK BACK TIME: Look back time is the time interval where the successor job will
look back from the time it enters the request queue.In this Interval the predecessor job
should start and complete successfully
ELAPSED TIME:
Average time of last five successful runs of the Job is called Elapsed time and is
calculated by CA7.
Force complete
Cancel
(i.e, successor job dependencies are satisfied and job triggering occurs).
Go to XQM screen,
Type ‘F’ beside the job,
Type the reason and put a ‘X’ beside Force complete.
The CANCEL command cancels jobs from the CA-7 queues. The command may
typically be used when lack of input for the scheduled run eliminates the need for that run
or when a scheduled run of a job was demanded to run ahead of schedule and should not
be run again. Jobs that go into SKELETON (no JCL attached) status must be canceled
specifying FORCE=YES. FORCE=YES will clear the CMT (Catalog Management
Table) so future runs will not attempt to use the restart information.
Use the CANCEL command to delete jobs from the CA-7 queues. This
command only removes the job from the CA-7 queues. Cancelation of a job in the CA-7
active queue or ready queue (if it has been submitted) does not cause termination of the
job's execution.
If the job needs to be CANCEL as per programmer, you can cancel a job with the
command
After command is issued the following message will be displayed on the screen:
For example:
JOB XXXX (6666) HAS BEEN CANCELED. - AND CMT CLEARED
Field Description:-
Note: Before canceling the job, always cross check for any dependent job. If there
are any dependent jobs, inform customer before canceling.
Cancellation of a job does not automatically satisfy the requirements of other jobs
that are dependent upon the canceled job and job triggering DOES NOT occur.
Force complete flags the job as a normal completion and normal processing is performed
(i.e, successor job dependencies are satisfied and job triggering occurs).
Note: Cancellation of a job in CA7's active queue does not cause termination of the
jobs execution. The execution must be terminated from an OS system console.
In addition, before canceling a job from the CA7 Request queue you must resolve any
issues regarding successor jobs that are dependent upon the job that is being canceled.
Use the LJOB,JOB=JOBNAME,LIST=DEPJ command to determine any other jobs
that are dependent upon the job being cancelled and consult the on-call person for
instructions on what action to take on the job. Also, use the
LJOB,JOB=JOBNAME,LIST=TRIG command to identify jobs that would normally be
triggered by the job being cancelled. Once again, consult the on-call person for
instructions on what action to take on the job.
READY QUEUE
LRDY
LIST= DATE=07.050 PAGE 0001
JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB
NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID
MODE REQ STATUS
G2TE02PD RDY 1350 050/1433 *NONE* 050/1442 SY7- 001 AUTO 000 LATE
G2TR97PD RDY 1724 050/1635 *NONE* 050/1635 SY7- 001 DEMD 000 LATE
G2TRSCPD RDY 0941 050/1459 *NONE* 050/1459 SY7- 001 DEMD 000 LATE
G2TRKLPD RDY 1520 050/1547 *NONE* 050/1547 SY7- 001 DEMD 000 LATE
G2TR96PD RDY 1726 050/1636 *NONE* 050/1636 SY7- 001 DEMD 000 LATE
G2TRMJPD RDY 1769 050/1646 *NONE* 050/1646 SY7- 001 DEMD 000 LATE
LRDYP - Lists all the jobs which is in Ready Queue along with the priority & tape drives
needed for each job(Mainly we use this command to check whether the job
has been submitted to spool / not)
LRDYP
SEQ=PRTY DATE=07.050 PAGE 0001
JOB QUE CA-7 JOB TAPE1 TAPE2 CPU START TIME PRIORITY
NAME NAME NMBR CLS NBR/PRTY NBR/PRTY %UTLIL/PRTY MINS/PRTY ORIG/NEW
LRDYP,JOB=Jobname – List the resources for which the job is waiting(i.e.) tape drives,
barriers etc.,
LRDYP,JOB=G2TR97PD
JOB=G2TR97PD SEQ=PRTY DATE=07.050 PAGE 0001
JOB QUE CA-7 JOB TAPE1 TAPE2 CPU START TIME PRIORITY
NAME NAME NMBR CLS NBR/PRTY NBR/PRTY %UTLIL/PRTY MINS/PRTY ORIG/NEW
Normally Jobs wont be in the READY Queue for a long time, Once it gets all its needed
resources, it will get into the ACTIVE Queue. But there are some reasons that the Jobs
will wait in the READY Queue :
CA-7 BARRIERS
CA-7 Barriers will establish the maximum number of jobs that can be submitted
concurrently in an associated job class. Barrier acts as a mediator between ca7 and
MVS.The number of jobs submitted to spool from ca-7 is controlled by barrier
CA7 INITIATORS:
CA-7 Initiators will determine the number of jobs submitted to the JES
DIFFERENCE BETWEEN MVS INITIATORS AND CA-7 INITIATORS
MVS Initiators will determine the number of jobs submitted to CPU whereas CA-7
Initiators will determine the number of jobs submitted to the JES
JOB – The Job which holds may be a Production Job / User Job. If it is a production job,
then no need to take any action else if it is an user job then we need to cancel that job
because an user job should not hold the Production Job
USER – Sometimes some Users (userid) may hold the job. So at the time, their Ids should
be cancelled from the TSO session to make the job run
REQUEUE COMMAND
REQUEUE command is used to move jobs from the ready queue back to the
request queue (i.e) When a job gets struck up in the ready queue, due to JCLERR,
then, we can requeue the job, so that the job goes back to the (abended) request
queue from the ready queue
Command:
REQUEUE,JOB=JOBNAME,Q=RDY
[Note: Mostly, we use the requeue command to requeue the job in RDY queue only.
Because, if the job is in active queue, then, it means that the job is already submitted
to spool. So, on requeuing the job in active queue, creates another new instance in
Ca-7
$HASP310 - The specified job is ended as a result of the abnormal end of the
address space.]
XUPD COMMAND (TO CHANGE THE PRIORITY OF THE JOB IN THE READY QUEUE)
XUPD command is used to displays the class, tape drives needed and priority
of a job. By increasing the priority, a job can be moved from ready queue to
the active queue
XUPD,JOB=JOBNAME
MAINID........... SY1
------------------------------------------------RESOURCES----------------------------------------------------------
Note:
Positioning the cursor at the appropriate field and entering a new value can
modify any of the job characteristics appearing on the screen
ACTIVE QUEUE
Go to TSO session of the particular Lpar in which the job is running, there we will come
to ISPF (Interactive System Productivity Facility) menu where we have to give the option
Q(QUEUE),in the command prompt. It takes to a SDSF PRIMARY OPTION MENU
from which we can move to all the job queues i.e,active,input,output,held job queues.
For active jobs: Give DA in command Prompt
To check the status of jobs: Give ST to check the status of the job
To check the jobs in spool go to the active jobs,where we can found the jobs.
Checks the job at what time it started and compare it with the elapsed time.
Check the log of the job to find out at what time it will complete.
By these we can get whether a job is running late or not.
1. The job may be using the dataset, which is in exclusive access with other jobs.
2. The job may be waiting for a region to come up so that it can process files.
3. The job may be waiting for a tape drive, tapes.
ST:
In SDSF Panel, ST gives the status of the job whether it is active, held or in print
state.
DA:
In SDSF Panel, DA gives the jobs that are in active queue.
LRLOG Command:
Use the LRLOG command to list information from the CA-7 run log. The run log
contains
the information on certain events which occur during CA-7 processing. These
events include job and network completions and exception events such as restarts, 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 the four previous
calendar days.
Syntax:
LRLOG, JOB=JOBNAME,DATE=*
LPRRN COMMAND:
LPRRN command to review the last run of a job. The information is obtained from the
prior-run queue. The LIST=ALL parameter is optional and provides all data relative to
the queue
Use the LPRRN command to list job information from the prior-run queue. The
Prior-run queue contains information about the last successful completion of each job.
Parameters allow the user to indicate which job or group of jobs is desired, what
information
is to be reviewed, and the sequence of the displayed data.
LPRRN command to review the last run of a job. The information is obtained from the
prior-run queue. The LIST=ALL parameter is optional and provides all data relative to
the queue.
The LRLOG command to list information from the CA-7 run log. The run log
Contains the information on certain events which occur during CA-7 processing. These
Events include job and network completions and exception events such as restarts,
Force completes, and cancels.
Note:Lprrn will not show the log of the instance if it is cancelled, it will show only
the successful runs of the job where as Lrlog will show the records of the job even if
it is cancelled for the day
ESCALATION PROCEDURES
The Operator will place a call to the primary on-call person listed in APC or
GEMS. On-call personnel should insure they have the appropriate authority to
perform their job duties.
Operations will not log on to any system with an on-call person's ID to resolve
a problem.
Abends are escalated to the Applications on-call person when any of the
following conditions occur.
a. The restart instructions specify to contact the on-call person.
b. The restart instructions contain conflicting information.
c. For all abends except, SB37 space problems, hardware problems, and
contention problems, if restart instructions are provided. Some restart instructions
state to contact the on-call person even for these types of abends. Always follow
the customer provided restart instructions.
d. An abended job has been restarted twice and abends a third time. This includes
jobs restarted due to SB37 space, hardware, and contention problems.
Inform the TL or DM that the job has been down for 30 minutes and no
contact has been made.
f. If the Manager does not call back within 15 minutes, call the Manager listed in
APC or GEMS.
g. If unable to reach the Manager, page the DPE for the affected business.
I. If the DPE does not call back within 15 minutes, page the DPE's Manager listed
in APC or GEMS.
The below diagram will show the restart panel which will be used for restarting a job.
REASON:
-- -- FORCE COMPLETE
-- -- CA-11 RESTART/RERUN PSEUDO: NO
START: ARDLY1S1.D140#160 END:
CC: BYPGDG: USAGE: LRTCD: =0
CMT STATUS: CMT SHOWS JOB IS SET FOR RESTART
‘RESUBMIT FOR PRODUCTION’= This function will re-run the job from the top
without using CA-11
‘FORCE COMPLETE’= this function will clear the CMT (Catalog Management Table)
so future first runs of the job will not attempt to use the restart information. It also
considers the job complete and will post the next job in the cycle.
‘CA-11 RESTART/RERUN’= This function will attempt a CA-11 restart. This will be
the
Start - Starting step JOBSTEP.PROCSTEP
End - Ending step JOBSTEP.PROCSTEP
(used if you wish to end the job before the actual end in the JCL)
CC - Indicates an optional CA-11 condition code within the range of 0-0495 to be
set by the RMS step.
BYPGDG - A value of ‘Y’ means that CA-11 will bypass / skip GDG
restart logic and will not reset PGENS.
USAGE - Optional 1 character code
LRTCD - Highest return code from the previous run / abended - the value
can be reset if needed.
‘SET PARM DATA FOR
RMS AND RESUBMIT’= This function will rerun the job without using CA-11
but the job will be set to use CA-11 if desired if the job abends
again.
‘DO NOT INSERT RMS
PROC BUT RESUBMIT’= To rerun a job set to restart using CA-11 without
using CA-11. Future abends will have to be rerun because the RMS step has been
omitted.
RUN HANDLER
The Run Handler provides the means for automatically handling all MVS catalog
maintenance, dataset maintenance, and GDG bias adjustments for job reruns and
restarts
The Tracking System captures job execution data, permitting you to analyze the
impact of reruns on personnel and resources. The Tracking System provides for
retention of history data in the Job Execution History File.
These are two methods that can be used to implement CA-11 into your production jobs.
1. When production jobs are submitted by CA-7 a job scheduling system you have
the option to have the CA-11 step inserted into the job’s jcl.
2. The other method is to manually insert the CA-11 step as the first step in the
JCL.
Example:
//STEP1 EXEC PROC=CL720RMS,PARM=P
• Rules:
• Job should be defined to CA-7.
• Job should be defined to CA-11.
• We need to specify CA-7 that CA-11 tracking is on
• When checked in spool will find the step insert@RMS above all the steps of
the jcl, inserted by CA-11
• INSERT-RMS would be set to Y (Insert-rms:Y)
if CA-11 tracking is on for the job in the job definition panel.
• If the User wants to run the job till certain steps then you need to give the step
name in the field “START:” where the Job should begin and give the step name
in the field “END: “ where the Job should end the processing.
To check whether the step is restartable or not,we need to enter CA11 by using the
ARTS command.
LSTP Command in CA-11:
Used to inquire on the steps within a specific job and display their restart status in the
CMT
If CA-11 is available to assist with a restart, the screen returned is similar to this.
CA-11 Installed
CA-11 Not Installed: If CA-11 is not installed, the following is an example of the
screen.
Restarting a Job without CA-11 can be done when the job is not restartable
through CA-11 by specifying RESTART CARD in the JCL of the job
Cancellation of a job does not automatically satisfy the requirements of other jobs that are
dependent upon the canceled job and job triggering DOES NOT occur.
Force complete flags the job as a normal completion and normal processing is performed
(i.e, successor job dependencies are satisfied and job triggering occurs).
Note: Cancellation of a job in CA7's active queue does not cause termination of the
jobs execution. The execution must be terminated from an OS system console.
In addition, before canceling a job from the CA7 Request queue you must resolve any
issues regarding successor jobs that are dependent upon the job that is being canceled.
Use the LJOB,JOB=JOBNAME,LIST=DEPJ command to determine any other jobs
that are dependent upon the job being cancelled and consult the on-call person for
instructions on what action to take on the job. Also, use the
LJOB,JOB=JOBNAME,LIST=TRIG command to identify jobs that would normally be
triggered by the job being cancelled. Once again, consult the on-call person for
instructions on what action to take on the job.
RCA:
The goal of Problem Management is to minimize the effects of incidents caused by errors
in the IT infrastructure and to prevent their recurrence.
Problem Management enables you to identify the underlying reason for one or more
incidents, implement workarounds, identify known errors, and provide permanent
solutions.
Root Cause Analysis (RCA) provides the ability to distinguish the difference between the
symptom of a problem and the root cause of a problem.
ABOUT CA-11
CMT keeps track of the stepwise details of an executed job & it also displays the
return code for each & every step of the job
PRODUCTION RUN:
Production Run is an initial execution of a job. By this Production run, the
abended job will run from the first step. It is a CA-7 restart and it just submits the job
from top
-- -- FORCE COMPLETE
[Note: This Production Run will create a new CMT table for the Job]
RESTART RUN:
-- -- FORCE COMPLETE
ARTS is a tool, which is mainly used to check whether a job is restartable or not.
LSTP Command in CA-11: It is Used to inquire on the steps within a specific job and
display their restart status in the CMT
LSTP, <jobname>
LSTP,G2TR3VP1
JOB IS RESTARTABLE.
JOB IS NOT SET FOR RESTART.
-- -- FORCE COMPLETE
Note:
If we are overriding any data sets on the restart, then Tab to the BYPGDG
field and enter: Y
A value of ‘Y’ means that CA-11 will bypass / skip GDG restart logic]
Sometimes the restart will be done from the next step of the abended step
as per the requestor.
So at that time, Abended step has to be marked as success to CA-11, by
specifying in the LRTCD field as, LRTCD: <Abended step> = 00
Otherwise job will get abended / all steps will get flushed off immediately
Restarting a Job without CA-11 can be done when the job is not restartable
through CA-11 by specifying RESTART CARD in the JCL of the job
The QJCL command is used when a request is made to use a different set of driver JCL
than the original . The way it is used in our shop is that the job has to be in the Request
queue or the Restart queue. After the job completes , the changed JCL will no longer be
connected. This is a one time process.
Note :Try to put the screen shots for Jcl and Qjcl if possible
If the job is not in the queue first fetch the job the job from user library(187) and
need to save into override library (254).
Type JCL(In the command line)
Type FETCH(It will take a copy a job from user library)
Give job name as a member name
You will get a message ”FETCH FUCTION IS SUCESSFUL”
* Go to DB3.6 Panel.
*Type ‘O’ in NEXT-RUN field if you want to add user requirement for next
run
only
Type UPD in the function field.
[Note: RUN/RUNH commands(note, Here this term specifies the commands &
not the function) can be used but usually we wont use this commands to run the
job without triggers]
Alternate Method:
By specifying SET=NTR in DEMAND/DEMANDH command the job can be run
without triggers.
DEMANDH, JOB=JOBNAME,SCHID=XXX,SET=NTR
Below are the procedures to be followed to run the job from userlib (without triggers)
Now, Tab to the function field & type RUN/RUNH without changing the
contents of other fields & press Enter(it will place the job in request queue
with Hold)
“RUNH FUNCTION SUCCESSFUL, <Jobname>(ca7-id) ADDED TO THE REQ 'Q' “
message will be displayed
Type XQ,JOB=<Jobname> to enter into the XQM panel
Check for the Main-id & release the job from Hold(if the function
specified is RUNH) to run.
----------------------- CA-7 JCL LIBRARY MAINTENANCE ------------------------
FUNCTION: RUNH (APPEND,CLEAR,DELETE,EDIT,FE,FETCH,
RENAME,REPL,RUN,RUNH,SAVE)
Running a Job from Override Library means modifying the regular JCL(Master
JCL of the job). It is a temporary action (i.e., ) it is applicable for the next run of the job
alone.
Type JCL as a topline command & hit enter
Type FETCH in the function field of CA-7 LIBRARY MAINTENANCE
Screen
Tab to the Member field & enter the JOBNAME
Tab to the DSN field & enter the Dataset Name from where the JCL of
the job has to be fetched (else use /Display,st=JCL command to have the
Dataset Names & its related JCL Ids) & Hit Enter
“FETCH FUNCTION SUCCESSFUL “ message will be displayed at the bottom
of the screen
By doing this, now the next instance of the job will run from Override Library
This will demand the job with the schid with triggers. If there are no
DEMANDH,JOB=JOBNAME,SCHID=XXX SET=SKP
This will Demand a job into ca-7 and tells ca-7 to skip the next scheduled
run of this job.
DEMANDH,JOB=JOBNAME,TYPE=RES,SCHID=XXX
This will demand a job into ca-7 and tells ca-7, this is a restart of the job.
RMS is reset to bring in all DSN generations of the last run.
DEMANDH,JOB=JOBNAME,SCHID=XXX TIME=HHMM
This will demand the job with hold with schid on the given date at a given
time.
We can also use the DEMAND command to demand the job without triggers by using the
command,
DEMANDH, JOB=JOBNAME,SCHID=XXX,SET=NTR
[Note: Demandh command will place the job into the request queue with hold
requirement. Its always safe to Demand the job with hold. We need to post the
hold requirement manually then only the job will run. Other wise the job will
remain in the request queue with hold]
CHANGE TICKETS
Change Tickets are those that are created by the Change Management when there is a
change in the production Environment. Change Tickets will be generated whenever there
is any upgrades/modifications in technology. Mainly During the IPL Maintenance
window, the change tickets will be created. It will contain the complete information of a
change like the requestor name, brief description about the change, impact of changes,
date & time of implementing the change etc.,
PROBLEM TICKETS
Problem tickets are those that are created by the problem management when there is a
recurring incident ticket / an Incident ticket which requires RCA
The command for checking the late jobs is LQ, ST=late, list=status,seq=dotm.This will
display all the late jobs with unsatisfied requirements sorted based on due out time.
Tip:
While checking the late jobs, if there are many jobs in the queue, the best way is to give
the first priority to the job which is a predecessor job of many successor jobs that are in
late status. In this way we can escape from analyzing all those successor jobs where the
job which we analyzed is a predecessor job.
Dead line Time: This is the time before which the job needs to satisfy all the requirements
and it should start execution. In other words, the job needs to move from the request
queue to ready queue before the deadline time.
Due out Time: This is the time before which the job needs to complete its execution. In
other words the job should be out of CA-7 before the Due out time.
There fore once the current time crosses either the dead line time or the due out time of a
job and the job is still in any of the queues. then the job will be in late status.
Check the job and its requirements by giving the command LQ,job=jobname.
This command will list all the unsatisfied requirements that the job in the request queue is
waiting for.
A job will wait in the request queue because of the following reasons.
1) Submit time Requirement
2) User requirement
3) Internal job requirement
4) Hold Requirements
5) Internal dataset requirement
Note: Don’t release the user requirement unless you contact the analyst or a
confirmation from the operator who put that user requirement.
Look back time: Look back time is the time interval where the successor job will look
back from the time it enters the request queue.In this Interval the predecessor job should
start and complete successfully
Check the status of the internal job by giving the command LQ, job=jobname.The
following are the different cases depending on the status of the job.
Note: If the job is inactive for a long time, then check whether the job is waiting
for any outstanding reply. If the job is waiting for any outstanding reply we need
to take action immediately.
If the job is waiting for any tape devices, check with tape operations and inform
the same to the analyst.
b) AUTO :
For an Auto job, we need to know how the job enters into the queue.
Use FRQJOB, job=jobname.This will tell us how the job enters into the queue
and it will also show the job which triggers this predecessor job along with the
CA-7 ID.
Take the ca-7 id of that job and repeat the process from step-1.
Note: If you did not find any job in that batch cycle that triggers the job
then check the first job that starts this batch cycle whether it is scheduled
or not
c) Demand: If the entry mode is a demand mode, that means some one need to
manually demand the job and the requirement will get posted once it ran
successfully.
Note: We will demand the job when the analyst raises an RFS or a GEMS
ticket.
If the look back time is 8 hrs.Check the time when the successor job that is
late entered into the queue and look back 8 hrs from that time. That becomes
the interval for that predecessor job. If the predecessor job starts and ends in
that interval then the successor job will not come into the queue with the
predecessor job as the requirement.
The look back time starts from 1 – 98hrs i.e. minimum is 1 hour and
maximum is 98hrs.
0 and 99 are special cases.
99: The requirement will be posted if and only if the predecessor job start and
complete successfully when the successor job is in the request queue.
0: There is no interval. The requirement will be posted if there is a successful run
of a predecessor job and that run is not satisfied by any of the instance of this successor
job.
Step- Lq,job=jobname,st=late
1
Submit time User Reqmt Internal Job Hold Req Internal Dataset
Job in Act
Job in req Q Job not in Req Q
Q
Check the normal
Contact
Run of the job
the analyst
Start From through the lrlog
if there is
Step 1 Get the entry command and
no update
mode by giving contact the
from
lrlog, job= analyst
analyst
job name
Demand
Check the user
requirement and if you We will demand the job and once job completes the
could not find who has requirement will get posted. We will demand only if
put the user rfs is raised by analyst
requirement please call
the analyst
Jobs Missing Lead
Time
SSCAN job
Check lschd
command to check
schedule
FRJOB & FRQJOB (Difference between FRJOB & FRQJOB)
FRJOB :
Use the FRJOB command to answer the question, "How does this job get into the
system?" It presents a reverse job flow (reverse trigger flow) based upon information
in the database. The purpose is to identify how the target job can be brought into the
active scheduling system. It tracks backward through triggers from the target job to
one or more header jobs. A header job is one which has one or more defined date/time
schedules, or, that has no job/data set/network triggers defined. That is, a job,
network, or data set which starts the trigger flow which eventually results in the target
job being brought into the active scheduling system. FRJOB uses only information in
the CA-7 database.
The FRJOB command is useful when you are creating or modifying the schedules and
triggers for a workload flow. If you need to determine all of the paths that schedules
and/or triggers can take to result in a given job being run, FRJOB can be most helpful.
FRJOB,JOB=G2CZ11P6
FRJOB DATE 02-28-07 PAGE 0001
REVERSE STRUCTURE FOR CA-7 JOBS
HDR LEV# JOB NAME SYSTEM SID TYPE TRIGGERS /DSNBR /SCHEDULED
--- G2CZ11P6............ SALES 000
-001 G2CZ06GD.......... SALES 000 JOB G2CZ11P6
-002 G2CZ05PC........ SALES 000 JOB G2CZ06GD
-003 G2CZ04PK...... SALES 000 JOB G2CZ05PC
-004 G2CZ02PN.... SALES 000 JOB G2CZ04PK
-005 G2RT02PD.. SALES 000 JOB G2CZ02PN
-006 G2RT01PD PURCH 000 JOB G2RT02PD
-007 CORE CORE 000 JOB G2RT01PD
**** -008 G2RC00P MECH 000 JOB CORE
FRQJOB :
The FRQJOB command is useful to answer the question, "How does this job get into
the system today?" It presents a reverse job flow (reverse trigger flow) based on
information in the database. It also checks the status queues (request, ready, and
active) for the presence of each job in the structure as it is being built.
The purpose is to identify how the target job is brought into the active scheduling
system taking into account jobs that are already in the queues. It tracks backward
through triggers from the target job to one or more header jobs. A header job is one
which is already in the request, ready, or active queue or one which has one or more
defined date/time schedules, or one which has no job/data set/network triggers defined.
Main Difference :
The difference between the FRQJOB command and FRJOB is that a check is made in
the status queues for each job present in the structure. If it is found in one of the
queues, that job is considered a header job even though it may have been triggered by
something else. This identifies the shortest possible control path that results in execution
of the target job.
Use this command to produce a report displaying an entire CPU job flow structure
with the starting and ending times. The principal emphasis is on the job flow structure
and the elapsed time of each job. The start time of the first job can be any arbitrary
time. Only the database is used for this forecast.
FSTRUC,JOB=G2CZ11P6
FSTRUC DATE 02-28-07 PAGE 0001
NETWORK STRUCTURE FOR CA-7 JOBS
START TIME : 02-28-07 AT 1758 HRS
LEV# JOB NAME SYS START DTTM END DTTM TRIGGERING JOB/DSN/SID
--- G2CZ11P6............ SALES 07059/1758 07059/1805 :001
001 G1SGCEDR.......... FINSYS1 07059/1815 07059/1818 G2CZ11P6 :001
001 G2CT2APD.......... ACH 07059/1815 07059/1819 G2CZ11P6 :001
002 G2CB2APD........ PAYMENTS 07059/1829 07059/1829 G2CT2APD :001
001 G2CZ11A1.......... SALES 07059/1815 07059/1823 G2CZ11P6 :001
IPL
We can get the cpu name by giving the command /display, cpu=all
This will display the cpu name and the main-id of the particular network
/DISPLAY,CPU=ALL
Note: Barrier acts as a mediator between ca7 and MVS.The number of jobs
submitted to spool from ca-7 is controlled by barrier. here n number of jobs will be
submitted to mvs through CA-7.
At the time of IPL we will make it as 0 so that no jobs that are defined to sys4 will be
submitted to MVS.
All the jobs will hang up in the ready queue and now we can say that the batch is
stopped
Before doing the ipl we need to Check whether there are any jobs in the active queue of
CA-7 Make sure that there are no jobs running on CA-7.
Before 45 min of the IPL time, we need to give a warm transfer regarding the IPL to the
following three groups.
3. We need to Verify that whether we can establish a session to the Procops Operator
Console by entering "ISQTCC NRSS4 OC QUIET".
4. This will take you to the proc ops screen which moves us to sys4 where we can enter the
commands directly on sys4.This is a master console for sys4.
Now Inform on the bridge that we stopped the batch and drained the initiators except
class 7 and class 8.
Follow the instructions as per the shut down document of the respective system and
the bridge.
We need to ask on the bridge whether we can start the regions or not.
Once we get confirmation we can start the regions.
we need to give reply YES for this message which will bring up all the regions.
Note : we replied yes on this message which will bring up all the regions
*nn DO YOU WANT AUTOMATIC STARTUP OF ALL ONLINE REGIONS
REPLY (YES - PARTIAL – NO)
And check *we can check whether all the regions are coming up on time by
giving >ophours
If you find any regions down that should not be, you need to inform it on the
bridge.
Start the Initiators once the regions are up By the command $SI when we get
good output from ophours
To Logout: #89
Numeric paging:-
This type of paging we need to enter the call back number
(888-266-2909)
Note
Text paging:-
For Example: This is kishore from IBM production ctrl, this is regarding the job job name
on Lparname is abended with r/c at step stepname. Please call back
888-266-2909 for further instructions.
1) If no response from the primary After 10mins we need contact the back ups
2) Leave the voice mail to the primary informing that you are going to contact the
backup.
3) Then contact the back up.
CHANGE TICKETS
Change Tickets are those that are created by the Change Management when there is a
change in the production Environment. Change Tickets will be generated whenever there
is any upgrades/modifications in technology. Mainly During the IPL Maintenance
window, the change tickets will be created. It will contain the complete information of a
change like the requestor name, brief description about the change, impact of changes,
date & time of implementing the change etc.,
PROBLEM TICKETS
Problem tickets are those that are created by the problem management when there is a
recurring incident ticket / an Incident ticket which requires RCA
FJOB COMMAND:
FJOB command is used to Forecasts the Jobs by job name that do presently
not exist in the Queue
FJOB,FROM=(032807,1101),SPAN=1,JOB=G1OL*
START DTTM END DTTM JOB SYS SCHED# SID TRIGGERING JOB/DSN RQMT
2) FJOB,SPAN=2,JOB=<jobname>
FJOB,SPAN=1,JOB=G1OL*
START DTTM END DTTM JOB SYS SCHED# SID TRIGGERING JOB/DSN RQMT
FQJOB COMMAND
FQJOB command forecasts Jobs by job names including those in the CA-7
queues Request, Ready and Active queues.
FQJOB,TO=(032807,1301),JOB=G1OL*
START DTTM END DTTM JOB SYS SCHED# SID TRIGGERING JOB/DSN RQMT
LCTLG COMMAND:
To list data set information from the CA- 7 index data set.
To list special entries such as documentation, networks, triggers, or
requirements from the CA-7 database
[Note: When LCTLG is used to list data sets, the following information is
displayed: volume information, creation dates and times, and device
information]
(1) LCTLG,DSN=TRGD.<jobname>
Displays the details of all the triggered by jobs of the given Job
LCTLG,DSN=TRGD.G1OL250P
(2) LCTLG,DSN=PRED.<jobname>
LCTLG,DSN=PRED.G1OL250P
(3) LCTLG,DSN=JDEP.<jobname>
Displays the details of all the triggered jobs of the given Job
LCTLG,DSN=JDEP.G1OL250P
MSGS 0001
LDSN command is used to list data set information from the database including data
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.
Command:
LDSN,DSN=<Dataset Name>,LIST=ALL
LDSN,DSN=SCPP.CA7.JCL,LIST=ALL
LIST=ALL DSN=SCPP.CA7.JCL DATE 07.096 PAGE 0001
MSGS 0024
---------------------------------------------- DATASET NAME --------------- DSNBR PPNBR POSTTM DSTYPE
DSORG RECFM LRECL BLKSZ DEVTYP J-USE J-CRT #RQ MDATE/TIME MTYPE
SCPP.CA7.JCL ....…………………......................... DS165566 *NONE* JTERM PERM
00000 00000 DASD 00001 00000 0000 06111/1800 LOAD