SlideShare a Scribd company logo
1 of 56
CA-7 Introduction
Definitions
in
CA-7
CA-7 is an online, real time, interactive system which automatically
controls, schedules and initiates work according to time-driven
and/or event-driven activities.
 Jobs
 Scheduling
 Requirement Definitions
CA-7
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.
The initiation of the job is done in two ways:
 Time based:- Jobs run based on the time specified in the Job.
 Event based:- Jobs are dependent on other Jobs and run only when they are
completed.
Frequently Used Terms
Schd Id:
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.
Definitions:
Dead line Time:
It is the time by which the Job should meet the requirements and
should start successfully.
Due Out Time:
It is the time before which the Job should complete successfully.
Elapsed Time:
Average time of last five successful runs of the Job is called Elapsed time
and is calculated by CA7.
Definitions:
Submit Time:
It is the time where the Job should get submitted to the Operating System.
Lead Time/ Look Back Time:
It is the time where we can look back for the execution of the Job in the previous
run where we can post the requirements if they are met.
• Lead time varies from 0 to 99.
• 0  Indicates no lead time is to be considered when satisfying this job's requirements.
• 98  maximum lead time value is 98 hours.
• 99  Each predecessor job must complete normally while this job is in the request
queue. This is a special case, even though it is equivalent to zero lead time.
Because, the requirement is never to be considered as already satisfied when the
job enters the queues.
Definitions:
Restart :
The term restart is interpreted as restarting the job in the step in which it has
failed. We can even restart from any other step also.
Restarting a Job in CA-7:
Insert the restart card in jcl and resubmit it in xqm panel.
Restarting a Job in CA-11:
In Ca11 the step where the Job has to start is already tracked and we have to
restart it from xqm panel.
But we can even change the step name from where it should be started.
Definitions:
Dependencies:
In the above example Job1 has an internal requirement of JobA and Job1
will get posted only when JobA runs successfully. Hence Job1 is said to be
dependent on JobA.
Job1
Job2
Job3
Job A
Trigger :
Used to describe relationships between jobs in the same schedule. For
example, job1 can trigger job2. Job2 is then described as having been
triggered by Job1.
In the given example for Job2, Job1 is
called the Predecessor Job and Job3 is
called as the Successor Job.
Definitions:
Stand Alone Jobs:
Jobs which do not trigger any other Jobs are called as Stand Alone Jobs.
JobA
JobB
JobC
In the above example, Job C is called the Stand Alone Job.
Definitions:
When a job enters into the CA-7 queue it can complete normally, execute and fail, or
wait in the queue until all requirements are satisfied. For jobs that execute and fail the
operator can take these actions –
FORCE COMPLETE - A failed job is marked within CA-7 as a normal completion.
Jobs waiting for the successful completion of this job will now run - if all other
requirements of the job are satisfied.
CANCEL - A failed job is removed from the CA-7 queue. Jobs waiting for the
successful completion of this job will not run unless the requirement for the failed job
is manually satisfied and if all other requirements of the job are satisfied.
Common CA-7 Terms and Definitions
RESTART - The term restart is interpreted as restarting the job in the step in which it
has failed.
RE-RUN - The term re-run is interpreted as re-running the job from the top, or first
step of the job. RESUBMIT and RE-RUN have the same meaning.
Other common terms include -
SCHID - A schedule or job stream can have many different variations. Each
variation is called a schid or schedule id. For example, Job1 may trigger Job 2 on
schid 1, but on schid 3 Job 1 may trigger Job 3.
HOLD - A job can be placed on hold before or after it enters the CA-7 queue. The
job will remain in hold, meaning it will not run, until the hold is removed.
OVERRIDE - Sometimes it is necessary to modify the regular JCL (referred to a the
MASTER JCL). In such cases the term used is OVERRIDE. This process can be
done prior to a job executing or after a job has failed, and recovery requires
modification to the JCL.
Definitions:
Different Queues in CA-7
There are three main queues in CA-
7.
1. Request Queue
2. Ready Queue
3. Active Queue
Different Queues in CA-7
Entire Job Flow Different Queues in CA-7
Job Abended?
Restart /
F/C or Cancel
If F/C
JOB
Request Queue
Ready Queue
Active Queue
Request Queue
Skeleton Status
Did not find jcl
Lprrn Lrlog
Job went Fine
Job completed/
Abended
Cancel
Force Complete
Cancel
•Once the job is triggered by ‘triggered by
job’ ,it first comes into the request queue and
waits until it meets all the requirements.
• When job comes into the request queue
with a unique ca7-id and it is same until it is
successfully completed or thrown out of all
the Queues.
• The jobs which are abended also comes
into the request Queue with abended status.
Request
Queue
Lq,job=job name
Lreq,job=job name
Request Queue
Different Queues in CA-7
Request Queue contd….
• There are five ways by which the jobs come into the Request Queue
1. Sscan (scheduled scan)
2. Auto.
3. Demand.
4. Run.
5. Load.
Used to force immediate scheduling of a job into the CA-7 request
queue.
Syntax: Demandh,job=<job name>,schid=<schid>,set=ntr.
• The above command is to demand a job with no triggers.
To demand a job which needs to be restarted from a particular step.
Syntax: Demand,job=<job name>,schid=<schid>,type=res
Note:
• Always cross check the SCHID and trigger option before demanding the job.
• Default schid is 001 and with triggers.
• It is always safe to demand a job with hold.
Request Queue Contd…
Demand Command
Request Queue Contd…
 There are three ways to remove the jobs from the Request Queue.
•Restart :
•Cancel: This command is used to remove the jobs from ca7 request Queue.
•Syntax: Cancel,job=<ca-7- id>,Reason= <text>,force=yes
•Note:Cancellation of the jobs in the Ready Queue or active queue does not
cause termination of the jobs execution.
•Using cancel command not only removes the job from request queue but
also it doesn't trigger the other jobs.
•Force complete: Force complete will not only mark the status of the jobs in
the request queue as complete but also triggers the successor jobs.
Ready Queue
Ready Queue
LRDYP
LRDY
•Once the job meets the requirements,the
jobs moves from the request queue to
Ready Queue.
•Normally jobs will not wait in the Ready
Queue for a long time.
•Different Scenarios where jobs held up in
the Ready Queue are:
Contention
Initiators are not free
Jobs with incorrect syntax will hung
up in the Ready Queue.
Ready Queue Contd…
•When the job is in the Ready Queue,CA-7 will not release the job from the
Ready Queue to Spool until it gets all the resources.
•If the job is hung up in ready queue for a long time,we will move the job from
the ready queue to the Request Queue.
•We use Requeue command to move jobs from ready queue to Request queue,
 Requeue,job=(job name/job no),Q=(rdy)
•Note: Don’t use Requeue Command when the job is submitted to spool, as it
creates one more instance of the job in the Request Queue.
Active Queue
LQ
LACT
Once the Jobs meets all the requirements
and gets all the resources it requires, jobs will
move to the Active Queue.
Once the jobs are in the active queue,CA-7
doesn't have control on the jobs and to
analyze the jobs in the active queue we need
to go to spool.
OS controls the job once it starts on the
system, CA-7 captures job status coming from
the system.
Active Queue
CA7 Commands
LIST, LQ, LJOB,
LRLOG, LPRRN,
LJCL,
FRJOB, FSTRUC,
XQM, LSCHD,
etc…
LACT
LIST
LQ LRDY LRDYP
LREQ
Queue : 
LPROS
LPRRN LRLOG Prose Check : 
Log/History : 
Triggered jobs :  FSTRUC
FRJOB ARTS
CA11 : 
LJCL LJOB
LSCHD LWLB
LARF
List of CA7 Commands
List of CA7 Commands
/fetch ARFP
RELEASE
HOLD
DEMAND DEMANDH CANCEL
SUBMIT RUN RUNH
General CA7 Commands: 
Miscellaneous Commands:
CALMOD
SCHDMOD
SSCAN SUBTM
ADDRQ
REQUEUE JCLOVRD
NXTCYC
ARFP DB
JCL QJCL JOBCONN
XQJ
XQN XRQ
XUPD XWLB
XQM
Panel
JOBS can be scheduled in two ways to cause work to be scheduled and
initiated:
1. date/time-driven, and
2. event-driven facilities.
 Use the SCHDMOD command to display the DB.2.7 - Modification to
Resolved Schedule Dates screen.
 Use the SSCAN top line command to review schedule scan options or
to alter the way in which schedule scan performs its scheduling
functions.
 By combining base calendar and schedule definitions through a
resolution process, CA-7 stores information about date/time related
work in its database.
SCHEDULING
The jobs can be scheduled to be run in any one of the following
category:
1. Daily job 2. Weekly Job 3. Monthly job 4. Annual
job
SCHEDULING
Daily job Indicates that the user wants to define a daily schedule.
Indicates that the user wants to define a weekly schedule.
Select Days From SUN through SAT.
Weekly Job
Monthly job Indicates that the user wants to define a monthly schedule.
For Monthly job, at least WEEK(S) and DAY-OF-WEEK (DOW) or
RDAY(S) must also be specified if MONTHLY is used.
Annual job Defines an annual schedule.If ANNUAL is used, DAY is required.
Some Definition w.r.t Scheduling
ROLL: Specifies the wanted action to be taken when a schedule day falls on a base
calendar non-available processing day. This is not used if the DAILY option is used.
INDEX: Specifies an adjustment to schedule days. After exercising the ROLL option,
the schedule is adjusted, forward for plus or backward for minus, by the number of
working days entered.
Size/Type: 4 numeric characters specified as Snnn where S can be plus (unsigned) or
minus (-) and nnn can be any integer from 001 to 365.
If used, the value must be one of the following:
B Roll the schedule back to the previous available processing day.
F Roll the schedule forward to the next available processing day.
N Do not roll. Schedule day must stand.
D Do not roll and do not schedule.
CA-7 Procedures
Late jobs…
Forecasting?
Jobs on Hold…
Use LQ,ST=Late,List=Status to List the
JOBS in LATE Status with all Requirements
If waiting for Internal JOB
SUBTM RQMT/
Dataset/USER
Requirement,etc
Abended Status
with some RQMT
JCL Error/RSTBL
Check for the job in
Request Queue using
LQ,JOB=<jobname>
Is JOB
AUTO /
DEMD /
SCHD?
Check for LPRRN (Last run) or
LRLOG,JOB=<jobname>,Date=*
If not found in Request Queue
Check for the Scheduling Details
LSCHD,JOB=<jobname>,List=cals
SCHD JOB
Check for the FRJOB
and Check which job in
the Stream is running
Currently.
AUTO JOB
DEMD JOB The Job will be
demanded when
requested
It may be waiting
for another
internal job also
Late Job
Analysis:
Job A
Job B
Job E
Job C
Job D
Reverse Structured Format:
Job D is triggered by Job C
Job C is triggered by Job B
Job B is triggered by Job A
Job A
Job B
Job E
Job C
Job D
Forward Structured Format:
Job B is triggering Job C
Job C is triggering Job D
Job C is triggering Job E
FRJOB and FSTRUC
Forecasting a Job
using the db.3.2 / jobconn,job we can view the LDTM (look back time).
Note that, db.3.2 and jobconn,job do the same function; and db.3.6 and
jobconn,usr do the same function.
To Put the job on Hold when it is not on the Request queue.
Use db.3.6 or jobconn,usr panel and add the user requirement.
To add Request / Job dependencies, use the ADDRQ command as follows:
addrq,job=<job name/job num>,depjob=<jobname>,usr=<text>
check the Lead time
Add Requirements
Lead time miss… External Requirements
Different types of Requirements
Various Requirements can be viewed in XQM Panel
J  internal job requirement
I  Internal Dataset requirement
E External Dataset Requirement
U  User requirement
N Network Requirement
S  Submit Requirement
H  Hold requirement
J JCL Override requirement
V  Manual Verification requirement
•Different ways to put the jobs on HOLD:
1.Add the user requirement using ADDRQ command.
2.Go to XQM Panel and put ‘h’ wherever needed.
3.Go to Job definition Panel, and mark HOLD as Y. This
is to put a job on Permanent hold.
4.Using DB.3.6, we can add the user requirement.
5.Use the HOLD command to put the job on hold.
Note: xqm,fill=h is used to put all the jobs on hold in the
queue.
JOBS on HOLD:
CANCEL a JOB
To cancel a Job in the ACTIVE Queue:
• Go to Spool & put C or P for that job and Cancel it, and then,
• Come to XQM Panel, then Force Complete it.
• The FORCE=yes option is used when the job is in a skeleton status
or when the Job is running under CA-11. It is used to clear the contents
CMT, else, if the job abends, the job is cancelled, but the contents of
the CMT is not deleted.
• Why Force=Yes, is necessary, when Canceling a Job?
• In General to cancel a Job use the following command:
Cancel,job=<jobname/job no.>,force=yes,reason=<text>
Libraries…
Production Library
StageLibrary
Override Library…
Only CA7 has access here and so,
Prod-Mon Team only
has access here
Make a copy to index 254.
Developer/owner doesn’t
know about index 254.
We don’t have access to
Developer’s Personal Library
In normal case
Personal
Library
Production
Library
Index 90
Request
Queue
Make a copy to index 252.
Copy done by Developer/owner.
sys6.stage.jcl
Library
Index 252
sys6.Override.jcl
Library
Index 254
Everyone has access here and so,
we can copy from here.
But simultaneous access by
2 person is not possible
Case 1:
Copy from Stage index 252 –
run it –
Will be Deleted in index 252
Case 2:
Copy from Stage index 252 –
save it in index 254 – Run it
Will be Deleted in index 254
Fig: Over view of Stage & Index Library
To Demand the job with hold from Production library (index 90):
Command: demandh,job=jobname,schid=<Num>,set=ntr,time=****
Note: Set= ntr  will bypass the triggers. It is optional.
Steps to be followed to run the job from Stage library (index 252):
1. Check whether the job is defined in CA7.  if Ca7 defined Job,then:
2. Steps: JCL Fetch (from index 252) Save (to Index 254)  Demand the Job
with / without Hold.
Different Methods to
run the jobs
Steps to be followed to run the job from Override library (index 254):
1. Check whether the job is defined in CA7.  if Ca7 defined Job,then:
2. Steps : JCL Fetch (from index 252) repl (replace in Index 254) 
Demand the Job with / without Hold.
Use  JOB, <jobname>  to Check whether the job is defined in CA7.
Note: its advisable to demand the jobs with Hold.
Different Methods to
run the jobs
Different Methods to run the jobs
Contd…
Steps to be followed to run the abended job 
from Stage / override library (index 252 / 254):
1. Check whether the job is defined in CA7.  if Ca7 defined Job,then:
2. Steps to be followed in Pictorial form:
JCL JCL Panel
Fetch Fetch from 252 using JCL panel
QJCL Go to QJCL Panel
Repl
Resubmit the Job Use XQM panel to Resubmit the Job
replace it in Override(254) if to run from override
Steps to be followed to run the a Non CA7 job 
1. Check whether the job is defined in CA7 .  if not a Ca7 defined
Job,then:
2. Steps to be followed in Pictorial form :
Fetch from index 252 / 254 using JCL panel
JCL JCL Panel
Fetch
RUN Run it from JCL panel
Run the a Non CA7 job
ARF
(Automated Recovery Facility)
•ARF is mainly used for CA-7 to monitor exception conditions for production jobs
and to schedule recovery actions to execute when the job abends.
Utility which comes with CA-7
 We can write RULES for abended jobs using this Utility.
 One ARF RULE can have 7 instructions.
 One ARFRULE can be attached to multiple jobs.
ARF
ARF
To know if the job uses ARFSET
•Note: Once the ARF rule is attached to the job,ARF works along with the
job when the job is submitted to the spool and consumes the CPU resources.
To view the ARFSET rule defined to job:
Go to ‘AR’ panel, and give the function as shown below
ARFSET ARF
Defining ARF Condition
One RULE can have 7 instructions.
 One ARFRULE can be attached to multiple jobs.
LARF Command
THE LARF Command displays information about the ARFSETS from the database
Syntax: LARF,ARFSET=arfset name, LIST=option
LARF Command To purge an ARF
To purge an ARF
Use ARFP command to purge an ARF pending on a job.
ARFP,JOB=<job number>,FORCE=YES
JOB NUMBER  Unique CA-7 number of the job for which pending ARF
activity is to be purged.
FORCE  Forces the purging of the ARF requirement for a job even if it does
not exist in the request, ready, or active queue.
CA-11
• CA–11 is activated only when the job get the CPU.
• CA-11 will create a CMT (CATALOG MANAGEMENT TABLE).
•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.
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.
CA-11
•If we want to restart the job from some other step than provided by CA11 then
override the field START: with override step.
•If the User changes or replaces any of the files or the datasets in the
JCL then you need to override the field “BYPGDG:” with ‘Y’ so that
CA-11 ignores these datasets.
CA-11
If Restart
From
Abended step?
CA-11 tracks it
and so, Restart
If Restart
After
Abended step?
Mark the Abended step as 0 in
‘LRTCD’ and so, Restart
insert the step needed to be
Restarted in START field.
Usage of LRTCD and Restart Start
•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.
CA-11
The figure clearly explains the usage of LRTCD and Start in Restart Card
CA-11
•“LRTCD:” has to be overridden if there is condition code stated in a particular
step of the JCL and the User wants you to restart from that step then you need to
give that which satisfies the condition code.
E.g.:-
If a job abended at step 4 and we want to restart the job from step 6.Then the
restart step should be changed to 6, and LRTCD should be LRTCD: step 4 = 0.So
that the return code of step 4 would be changed to 0 (success), so that all the other
steps from step 6 will run, otherwise all the steps after step 4 will also be flushed.
ARTS:
If you have installed the CA-7 & CA-11 interface, then you can use the ARTS
command to interface directly with CA-11.
To check whether the step is restartable or not,we need to enter
CA11 by using the ARTS command.
LSTP Command in CA-11:
LSTP, jobname [,startstep] [,end step]
• Used to inquire on the steps within a specific job and display
their restart status in the CMT.
CA-11
LSTP Command in CA-11
CA-11
Thank
you

More Related Content

What's hot

Oracle applications r12.2, ebr, online patching means lot of work for devel...
Oracle applications r12.2, ebr, online patching   means lot of work for devel...Oracle applications r12.2, ebr, online patching   means lot of work for devel...
Oracle applications r12.2, ebr, online patching means lot of work for devel...Ajith Narayanan
 
Tanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder
 
Functional Application Logging : Code Examples Using Spring Boot and Logback
Functional Application Logging : Code Examples Using Spring Boot and LogbackFunctional Application Logging : Code Examples Using Spring Boot and Logback
Functional Application Logging : Code Examples Using Spring Boot and LogbackMohammad Sabir Khan
 
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1SolarWinds
 
Best Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle OptimizerBest Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle OptimizerEdgar Alejandro Villegas
 
Relax and Recover on POWER (Updated 05-2017)
Relax and Recover on POWER (Updated 05-2017)Relax and Recover on POWER (Updated 05-2017)
Relax and Recover on POWER (Updated 05-2017)Sebastien Chabrolles
 
Mainframe IPL Process.pdf
Mainframe IPL Process.pdfMainframe IPL Process.pdf
Mainframe IPL Process.pdfssuseraa0df4
 
Mule debugging logging_configuration_in_mule
Mule debugging logging_configuration_in_muleMule debugging logging_configuration_in_mule
Mule debugging logging_configuration_in_mulekunal vishe
 
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder
 
My Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and LaborMy Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and LaborHRoi Consulting
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Anil Nair
 
Oracle Parallel Distribution and 12c Adaptive Plans
Oracle Parallel Distribution and 12c Adaptive PlansOracle Parallel Distribution and 12c Adaptive Plans
Oracle Parallel Distribution and 12c Adaptive PlansFranck Pachot
 
Java concurrency - Thread pools
Java concurrency - Thread poolsJava concurrency - Thread pools
Java concurrency - Thread poolsmaksym220889
 
Ansible Integration in Foreman
Ansible Integration in ForemanAnsible Integration in Foreman
Ansible Integration in ForemanNikhil Kathole
 
High-Performance Hibernate Devoxx France 2016
High-Performance Hibernate Devoxx France 2016High-Performance Hibernate Devoxx France 2016
High-Performance Hibernate Devoxx France 2016Vlad Mihalcea
 

What's hot (20)

Sockets and Socket-Buffer
Sockets and Socket-BufferSockets and Socket-Buffer
Sockets and Socket-Buffer
 
Oracle applications r12.2, ebr, online patching means lot of work for devel...
Oracle applications r12.2, ebr, online patching   means lot of work for devel...Oracle applications r12.2, ebr, online patching   means lot of work for devel...
Oracle applications r12.2, ebr, online patching means lot of work for devel...
 
Tanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools short
 
Functional Application Logging : Code Examples Using Spring Boot and Logback
Functional Application Logging : Code Examples Using Spring Boot and LogbackFunctional Application Logging : Code Examples Using Spring Boot and Logback
Functional Application Logging : Code Examples Using Spring Boot and Logback
 
Mvs commands
Mvs commandsMvs commands
Mvs commands
 
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
 
Best Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle OptimizerBest Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle Optimizer
 
Relax and Recover on POWER (Updated 05-2017)
Relax and Recover on POWER (Updated 05-2017)Relax and Recover on POWER (Updated 05-2017)
Relax and Recover on POWER (Updated 05-2017)
 
Mainframe IPL Process.pdf
Mainframe IPL Process.pdfMainframe IPL Process.pdf
Mainframe IPL Process.pdf
 
Mule debugging logging_configuration_in_mule
Mule debugging logging_configuration_in_muleMule debugging logging_configuration_in_mule
Mule debugging logging_configuration_in_mule
 
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)
 
Linux Kernel I/O Schedulers
Linux Kernel I/O SchedulersLinux Kernel I/O Schedulers
Linux Kernel I/O Schedulers
 
My Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and LaborMy Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and Labor
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
 
Oracle Parallel Distribution and 12c Adaptive Plans
Oracle Parallel Distribution and 12c Adaptive PlansOracle Parallel Distribution and 12c Adaptive Plans
Oracle Parallel Distribution and 12c Adaptive Plans
 
Java concurrency - Thread pools
Java concurrency - Thread poolsJava concurrency - Thread pools
Java concurrency - Thread pools
 
Oracle apps-technical-tutorial
Oracle apps-technical-tutorialOracle apps-technical-tutorial
Oracle apps-technical-tutorial
 
Time And Labor Overview
Time And Labor OverviewTime And Labor Overview
Time And Labor Overview
 
Ansible Integration in Foreman
Ansible Integration in ForemanAnsible Integration in Foreman
Ansible Integration in Foreman
 
High-Performance Hibernate Devoxx France 2016
High-Performance Hibernate Devoxx France 2016High-Performance Hibernate Devoxx France 2016
High-Performance Hibernate Devoxx France 2016
 

Similar to CA_7_final_ppt.ppt

Autosys Complete Guide
Autosys Complete GuideAutosys Complete Guide
Autosys Complete Guidekarunakar81987
 
Scheduling bods jobs sequentially and conditionally
Scheduling bods jobs sequentially and conditionallyScheduling bods jobs sequentially and conditionally
Scheduling bods jobs sequentially and conditionallyChandra Reddy
 
Approaches to real time scheduling
Approaches to real time schedulingApproaches to real time scheduling
Approaches to real time schedulingKamal Acharya
 
The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014Jian-Hong Pan
 
Scheduling torque-maui-tutorial
Scheduling torque-maui-tutorialScheduling torque-maui-tutorial
Scheduling torque-maui-tutorialSantosh Kumar
 
Commonly used Approaches to Real Time Scheduling
Commonly used Approaches to Real Time SchedulingCommonly used Approaches to Real Time Scheduling
Commonly used Approaches to Real Time SchedulingRaaz Karkee
 
Java script – basic auroskills (2)
Java script – basic   auroskills (2)Java script – basic   auroskills (2)
Java script – basic auroskills (2)BoneyGawande
 
PMGT 510Principles of Project ManagementGroup Assign.docx
PMGT 510Principles of Project ManagementGroup Assign.docxPMGT 510Principles of Project ManagementGroup Assign.docx
PMGT 510Principles of Project ManagementGroup Assign.docxstilliegeorgiana
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONKranthi Kumar
 
07 Fine-tuning Task Details
07 Fine-tuning Task Details07 Fine-tuning Task Details
07 Fine-tuning Task DetailsSoe Naing Win
 
Async discussion 9_29_15
Async discussion 9_29_15Async discussion 9_29_15
Async discussion 9_29_15Cheryl Yaeger
 
Android scheduling.pptx
Android scheduling.pptxAndroid scheduling.pptx
Android scheduling.pptxZakiKhan66
 
Cloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptxCloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptxMayuraD1
 
Cloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptxCloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptxMayuraD1
 
Javascripts hidden treasures BY - https://geekyants.com/
Javascripts hidden treasures            BY  -  https://geekyants.com/Javascripts hidden treasures            BY  -  https://geekyants.com/
Javascripts hidden treasures BY - https://geekyants.com/Geekyants
 

Similar to CA_7_final_ppt.ppt (20)

Autosys Complete Guide
Autosys Complete GuideAutosys Complete Guide
Autosys Complete Guide
 
Scheduling bods jobs sequentially and conditionally
Scheduling bods jobs sequentially and conditionallyScheduling bods jobs sequentially and conditionally
Scheduling bods jobs sequentially and conditionally
 
Discrete Job Closure Process
Discrete Job Closure ProcessDiscrete Job Closure Process
Discrete Job Closure Process
 
Approaches to real time scheduling
Approaches to real time schedulingApproaches to real time scheduling
Approaches to real time scheduling
 
Airflow
AirflowAirflow
Airflow
 
FreeRTOS Slides annotations.pdf
FreeRTOS Slides annotations.pdfFreeRTOS Slides annotations.pdf
FreeRTOS Slides annotations.pdf
 
The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014The Simple Scheduler in Embedded System @ OSDC.TW 2014
The Simple Scheduler in Embedded System @ OSDC.TW 2014
 
Scheduling torque-maui-tutorial
Scheduling torque-maui-tutorialScheduling torque-maui-tutorial
Scheduling torque-maui-tutorial
 
Salesforce asynchronous apex
Salesforce asynchronous apexSalesforce asynchronous apex
Salesforce asynchronous apex
 
Commonly used Approaches to Real Time Scheduling
Commonly used Approaches to Real Time SchedulingCommonly used Approaches to Real Time Scheduling
Commonly used Approaches to Real Time Scheduling
 
Java script – basic auroskills (2)
Java script – basic   auroskills (2)Java script – basic   auroskills (2)
Java script – basic auroskills (2)
 
PMGT 510Principles of Project ManagementGroup Assign.docx
PMGT 510Principles of Project ManagementGroup Assign.docxPMGT 510Principles of Project ManagementGroup Assign.docx
PMGT 510Principles of Project ManagementGroup Assign.docx
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
 
07 Fine-tuning Task Details
07 Fine-tuning Task Details07 Fine-tuning Task Details
07 Fine-tuning Task Details
 
Async discussion 9_29_15
Async discussion 9_29_15Async discussion 9_29_15
Async discussion 9_29_15
 
Android scheduling.pptx
Android scheduling.pptxAndroid scheduling.pptx
Android scheduling.pptx
 
Slot shifting1
Slot shifting1Slot shifting1
Slot shifting1
 
Cloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptxCloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptx
 
Cloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptxCloud computing_Applications and paradigams.pptx
Cloud computing_Applications and paradigams.pptx
 
Javascripts hidden treasures BY - https://geekyants.com/
Javascripts hidden treasures            BY  -  https://geekyants.com/Javascripts hidden treasures            BY  -  https://geekyants.com/
Javascripts hidden treasures BY - https://geekyants.com/
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

CA_7_final_ppt.ppt

  • 2. CA-7 is an online, real time, interactive system which automatically controls, schedules and initiates work according to time-driven and/or event-driven activities.  Jobs  Scheduling  Requirement Definitions CA-7
  • 3. 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. The initiation of the job is done in two ways:  Time based:- Jobs run based on the time specified in the Job.  Event based:- Jobs are dependent on other Jobs and run only when they are completed. Frequently Used Terms
  • 4. Schd Id: 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. Definitions:
  • 5. Dead line Time: It is the time by which the Job should meet the requirements and should start successfully. Due Out Time: It is the time before which the Job should complete successfully. Elapsed Time: Average time of last five successful runs of the Job is called Elapsed time and is calculated by CA7. Definitions:
  • 6. Submit Time: It is the time where the Job should get submitted to the Operating System. Lead Time/ Look Back Time: It is the time where we can look back for the execution of the Job in the previous run where we can post the requirements if they are met. • Lead time varies from 0 to 99. • 0  Indicates no lead time is to be considered when satisfying this job's requirements. • 98  maximum lead time value is 98 hours. • 99  Each predecessor job must complete normally while this job is in the request queue. This is a special case, even though it is equivalent to zero lead time. Because, the requirement is never to be considered as already satisfied when the job enters the queues. Definitions:
  • 7. Restart : The term restart is interpreted as restarting the job in the step in which it has failed. We can even restart from any other step also. Restarting a Job in CA-7: Insert the restart card in jcl and resubmit it in xqm panel. Restarting a Job in CA-11: In Ca11 the step where the Job has to start is already tracked and we have to restart it from xqm panel. But we can even change the step name from where it should be started. Definitions:
  • 8. Dependencies: In the above example Job1 has an internal requirement of JobA and Job1 will get posted only when JobA runs successfully. Hence Job1 is said to be dependent on JobA. Job1 Job2 Job3 Job A Trigger : Used to describe relationships between jobs in the same schedule. For example, job1 can trigger job2. Job2 is then described as having been triggered by Job1. In the given example for Job2, Job1 is called the Predecessor Job and Job3 is called as the Successor Job. Definitions:
  • 9. Stand Alone Jobs: Jobs which do not trigger any other Jobs are called as Stand Alone Jobs. JobA JobB JobC In the above example, Job C is called the Stand Alone Job. Definitions:
  • 10. When a job enters into the CA-7 queue it can complete normally, execute and fail, or wait in the queue until all requirements are satisfied. For jobs that execute and fail the operator can take these actions – FORCE COMPLETE - A failed job is marked within CA-7 as a normal completion. Jobs waiting for the successful completion of this job will now run - if all other requirements of the job are satisfied. CANCEL - A failed job is removed from the CA-7 queue. Jobs waiting for the successful completion of this job will not run unless the requirement for the failed job is manually satisfied and if all other requirements of the job are satisfied. Common CA-7 Terms and Definitions
  • 11. RESTART - The term restart is interpreted as restarting the job in the step in which it has failed. RE-RUN - The term re-run is interpreted as re-running the job from the top, or first step of the job. RESUBMIT and RE-RUN have the same meaning. Other common terms include - SCHID - A schedule or job stream can have many different variations. Each variation is called a schid or schedule id. For example, Job1 may trigger Job 2 on schid 1, but on schid 3 Job 1 may trigger Job 3. HOLD - A job can be placed on hold before or after it enters the CA-7 queue. The job will remain in hold, meaning it will not run, until the hold is removed. OVERRIDE - Sometimes it is necessary to modify the regular JCL (referred to a the MASTER JCL). In such cases the term used is OVERRIDE. This process can be done prior to a job executing or after a job has failed, and recovery requires modification to the JCL. Definitions:
  • 13. There are three main queues in CA- 7. 1. Request Queue 2. Ready Queue 3. Active Queue Different Queues in CA-7
  • 14. Entire Job Flow Different Queues in CA-7 Job Abended? Restart / F/C or Cancel If F/C JOB Request Queue Ready Queue Active Queue Request Queue Skeleton Status Did not find jcl Lprrn Lrlog Job went Fine Job completed/ Abended Cancel Force Complete Cancel
  • 15. •Once the job is triggered by ‘triggered by job’ ,it first comes into the request queue and waits until it meets all the requirements. • When job comes into the request queue with a unique ca7-id and it is same until it is successfully completed or thrown out of all the Queues. • The jobs which are abended also comes into the request Queue with abended status. Request Queue Lq,job=job name Lreq,job=job name Request Queue Different Queues in CA-7
  • 16. Request Queue contd…. • There are five ways by which the jobs come into the Request Queue 1. Sscan (scheduled scan) 2. Auto. 3. Demand. 4. Run. 5. Load.
  • 17. Used to force immediate scheduling of a job into the CA-7 request queue. Syntax: Demandh,job=<job name>,schid=<schid>,set=ntr. • The above command is to demand a job with no triggers. To demand a job which needs to be restarted from a particular step. Syntax: Demand,job=<job name>,schid=<schid>,type=res Note: • Always cross check the SCHID and trigger option before demanding the job. • Default schid is 001 and with triggers. • It is always safe to demand a job with hold. Request Queue Contd… Demand Command
  • 18. Request Queue Contd…  There are three ways to remove the jobs from the Request Queue. •Restart : •Cancel: This command is used to remove the jobs from ca7 request Queue. •Syntax: Cancel,job=<ca-7- id>,Reason= <text>,force=yes •Note:Cancellation of the jobs in the Ready Queue or active queue does not cause termination of the jobs execution. •Using cancel command not only removes the job from request queue but also it doesn't trigger the other jobs. •Force complete: Force complete will not only mark the status of the jobs in the request queue as complete but also triggers the successor jobs.
  • 19. Ready Queue Ready Queue LRDYP LRDY •Once the job meets the requirements,the jobs moves from the request queue to Ready Queue. •Normally jobs will not wait in the Ready Queue for a long time. •Different Scenarios where jobs held up in the Ready Queue are: Contention Initiators are not free Jobs with incorrect syntax will hung up in the Ready Queue.
  • 20. Ready Queue Contd… •When the job is in the Ready Queue,CA-7 will not release the job from the Ready Queue to Spool until it gets all the resources. •If the job is hung up in ready queue for a long time,we will move the job from the ready queue to the Request Queue. •We use Requeue command to move jobs from ready queue to Request queue,  Requeue,job=(job name/job no),Q=(rdy) •Note: Don’t use Requeue Command when the job is submitted to spool, as it creates one more instance of the job in the Request Queue.
  • 21. Active Queue LQ LACT Once the Jobs meets all the requirements and gets all the resources it requires, jobs will move to the Active Queue. Once the jobs are in the active queue,CA-7 doesn't have control on the jobs and to analyze the jobs in the active queue we need to go to spool. OS controls the job once it starts on the system, CA-7 captures job status coming from the system. Active Queue
  • 22. CA7 Commands LIST, LQ, LJOB, LRLOG, LPRRN, LJCL, FRJOB, FSTRUC, XQM, LSCHD, etc…
  • 23. LACT LIST LQ LRDY LRDYP LREQ Queue :  LPROS LPRRN LRLOG Prose Check :  Log/History :  Triggered jobs :  FSTRUC FRJOB ARTS CA11 :  LJCL LJOB LSCHD LWLB LARF List of CA7 Commands
  • 24. List of CA7 Commands /fetch ARFP RELEASE HOLD DEMAND DEMANDH CANCEL SUBMIT RUN RUNH General CA7 Commands:  Miscellaneous Commands: CALMOD SCHDMOD SSCAN SUBTM ADDRQ REQUEUE JCLOVRD NXTCYC ARFP DB JCL QJCL JOBCONN XQJ XQN XRQ XUPD XWLB XQM Panel
  • 25. JOBS can be scheduled in two ways to cause work to be scheduled and initiated: 1. date/time-driven, and 2. event-driven facilities.  Use the SCHDMOD command to display the DB.2.7 - Modification to Resolved Schedule Dates screen.  Use the SSCAN top line command to review schedule scan options or to alter the way in which schedule scan performs its scheduling functions.  By combining base calendar and schedule definitions through a resolution process, CA-7 stores information about date/time related work in its database. SCHEDULING
  • 26. The jobs can be scheduled to be run in any one of the following category: 1. Daily job 2. Weekly Job 3. Monthly job 4. Annual job SCHEDULING Daily job Indicates that the user wants to define a daily schedule. Indicates that the user wants to define a weekly schedule. Select Days From SUN through SAT. Weekly Job Monthly job Indicates that the user wants to define a monthly schedule. For Monthly job, at least WEEK(S) and DAY-OF-WEEK (DOW) or RDAY(S) must also be specified if MONTHLY is used. Annual job Defines an annual schedule.If ANNUAL is used, DAY is required.
  • 27. Some Definition w.r.t Scheduling ROLL: Specifies the wanted action to be taken when a schedule day falls on a base calendar non-available processing day. This is not used if the DAILY option is used. INDEX: Specifies an adjustment to schedule days. After exercising the ROLL option, the schedule is adjusted, forward for plus or backward for minus, by the number of working days entered. Size/Type: 4 numeric characters specified as Snnn where S can be plus (unsigned) or minus (-) and nnn can be any integer from 001 to 365. If used, the value must be one of the following: B Roll the schedule back to the previous available processing day. F Roll the schedule forward to the next available processing day. N Do not roll. Schedule day must stand. D Do not roll and do not schedule.
  • 29. Use LQ,ST=Late,List=Status to List the JOBS in LATE Status with all Requirements If waiting for Internal JOB SUBTM RQMT/ Dataset/USER Requirement,etc Abended Status with some RQMT JCL Error/RSTBL Check for the job in Request Queue using LQ,JOB=<jobname> Is JOB AUTO / DEMD / SCHD? Check for LPRRN (Last run) or LRLOG,JOB=<jobname>,Date=* If not found in Request Queue Check for the Scheduling Details LSCHD,JOB=<jobname>,List=cals SCHD JOB Check for the FRJOB and Check which job in the Stream is running Currently. AUTO JOB DEMD JOB The Job will be demanded when requested It may be waiting for another internal job also Late Job Analysis:
  • 30. Job A Job B Job E Job C Job D Reverse Structured Format: Job D is triggered by Job C Job C is triggered by Job B Job B is triggered by Job A Job A Job B Job E Job C Job D Forward Structured Format: Job B is triggering Job C Job C is triggering Job D Job C is triggering Job E FRJOB and FSTRUC Forecasting a Job
  • 31. using the db.3.2 / jobconn,job we can view the LDTM (look back time). Note that, db.3.2 and jobconn,job do the same function; and db.3.6 and jobconn,usr do the same function. To Put the job on Hold when it is not on the Request queue. Use db.3.6 or jobconn,usr panel and add the user requirement. To add Request / Job dependencies, use the ADDRQ command as follows: addrq,job=<job name/job num>,depjob=<jobname>,usr=<text> check the Lead time Add Requirements Lead time miss… External Requirements
  • 32. Different types of Requirements Various Requirements can be viewed in XQM Panel J  internal job requirement I  Internal Dataset requirement E External Dataset Requirement U  User requirement N Network Requirement S  Submit Requirement H  Hold requirement J JCL Override requirement V  Manual Verification requirement
  • 33. •Different ways to put the jobs on HOLD: 1.Add the user requirement using ADDRQ command. 2.Go to XQM Panel and put ‘h’ wherever needed. 3.Go to Job definition Panel, and mark HOLD as Y. This is to put a job on Permanent hold. 4.Using DB.3.6, we can add the user requirement. 5.Use the HOLD command to put the job on hold. Note: xqm,fill=h is used to put all the jobs on hold in the queue. JOBS on HOLD:
  • 34. CANCEL a JOB To cancel a Job in the ACTIVE Queue: • Go to Spool & put C or P for that job and Cancel it, and then, • Come to XQM Panel, then Force Complete it. • The FORCE=yes option is used when the job is in a skeleton status or when the Job is running under CA-11. It is used to clear the contents CMT, else, if the job abends, the job is cancelled, but the contents of the CMT is not deleted. • Why Force=Yes, is necessary, when Canceling a Job? • In General to cancel a Job use the following command: Cancel,job=<jobname/job no.>,force=yes,reason=<text>
  • 36. Only CA7 has access here and so, Prod-Mon Team only has access here Make a copy to index 254. Developer/owner doesn’t know about index 254. We don’t have access to Developer’s Personal Library In normal case Personal Library Production Library Index 90 Request Queue Make a copy to index 252. Copy done by Developer/owner. sys6.stage.jcl Library Index 252 sys6.Override.jcl Library Index 254 Everyone has access here and so, we can copy from here. But simultaneous access by 2 person is not possible Case 1: Copy from Stage index 252 – run it – Will be Deleted in index 252 Case 2: Copy from Stage index 252 – save it in index 254 – Run it Will be Deleted in index 254 Fig: Over view of Stage & Index Library
  • 37. To Demand the job with hold from Production library (index 90): Command: demandh,job=jobname,schid=<Num>,set=ntr,time=**** Note: Set= ntr  will bypass the triggers. It is optional. Steps to be followed to run the job from Stage library (index 252): 1. Check whether the job is defined in CA7.  if Ca7 defined Job,then: 2. Steps: JCL Fetch (from index 252) Save (to Index 254)  Demand the Job with / without Hold. Different Methods to run the jobs
  • 38. Steps to be followed to run the job from Override library (index 254): 1. Check whether the job is defined in CA7.  if Ca7 defined Job,then: 2. Steps : JCL Fetch (from index 252) repl (replace in Index 254)  Demand the Job with / without Hold. Use  JOB, <jobname>  to Check whether the job is defined in CA7. Note: its advisable to demand the jobs with Hold. Different Methods to run the jobs
  • 39. Different Methods to run the jobs Contd… Steps to be followed to run the abended job  from Stage / override library (index 252 / 254): 1. Check whether the job is defined in CA7.  if Ca7 defined Job,then: 2. Steps to be followed in Pictorial form: JCL JCL Panel Fetch Fetch from 252 using JCL panel QJCL Go to QJCL Panel Repl Resubmit the Job Use XQM panel to Resubmit the Job replace it in Override(254) if to run from override
  • 40. Steps to be followed to run the a Non CA7 job  1. Check whether the job is defined in CA7 .  if not a Ca7 defined Job,then: 2. Steps to be followed in Pictorial form : Fetch from index 252 / 254 using JCL panel JCL JCL Panel Fetch RUN Run it from JCL panel Run the a Non CA7 job
  • 42. •ARF is mainly used for CA-7 to monitor exception conditions for production jobs and to schedule recovery actions to execute when the job abends. Utility which comes with CA-7  We can write RULES for abended jobs using this Utility.  One ARF RULE can have 7 instructions.  One ARFRULE can be attached to multiple jobs. ARF
  • 43. ARF To know if the job uses ARFSET •Note: Once the ARF rule is attached to the job,ARF works along with the job when the job is submitted to the spool and consumes the CPU resources.
  • 44. To view the ARFSET rule defined to job: Go to ‘AR’ panel, and give the function as shown below ARFSET ARF
  • 45. Defining ARF Condition One RULE can have 7 instructions.  One ARFRULE can be attached to multiple jobs.
  • 46. LARF Command THE LARF Command displays information about the ARFSETS from the database Syntax: LARF,ARFSET=arfset name, LIST=option LARF Command To purge an ARF
  • 47. To purge an ARF Use ARFP command to purge an ARF pending on a job. ARFP,JOB=<job number>,FORCE=YES JOB NUMBER  Unique CA-7 number of the job for which pending ARF activity is to be purged. FORCE  Forces the purging of the ARF requirement for a job even if it does not exist in the request, ready, or active queue.
  • 48. CA-11
  • 49. • CA–11 is activated only when the job get the CPU. • CA-11 will create a CMT (CATALOG MANAGEMENT TABLE). •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. CA-11
  • 50. • INSERT-RMS would be set to Y (Insert-rms:Y) if CA-11 tracking is on for the job in the job definition panel. CA-11
  • 51. •If we want to restart the job from some other step than provided by CA11 then override the field START: with override step. •If the User changes or replaces any of the files or the datasets in the JCL then you need to override the field “BYPGDG:” with ‘Y’ so that CA-11 ignores these datasets. CA-11
  • 52. If Restart From Abended step? CA-11 tracks it and so, Restart If Restart After Abended step? Mark the Abended step as 0 in ‘LRTCD’ and so, Restart insert the step needed to be Restarted in START field. Usage of LRTCD and Restart Start •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. CA-11 The figure clearly explains the usage of LRTCD and Start in Restart Card
  • 53. CA-11 •“LRTCD:” has to be overridden if there is condition code stated in a particular step of the JCL and the User wants you to restart from that step then you need to give that which satisfies the condition code. E.g.:- If a job abended at step 4 and we want to restart the job from step 6.Then the restart step should be changed to 6, and LRTCD should be LRTCD: step 4 = 0.So that the return code of step 4 would be changed to 0 (success), so that all the other steps from step 6 will run, otherwise all the steps after step 4 will also be flushed. ARTS: If you have installed the CA-7 & CA-11 interface, then you can use the ARTS command to interface directly with CA-11.
  • 54. To check whether the step is restartable or not,we need to enter CA11 by using the ARTS command. LSTP Command in CA-11: LSTP, jobname [,startstep] [,end step] • Used to inquire on the steps within a specific job and display their restart status in the CMT. CA-11
  • 55. LSTP Command in CA-11 CA-11