CA7 Intro Draft
-
Upload
abhimanyu-hooda -
Category
Documents
-
view
37 -
download
4
Transcript of CA7 Intro Draft
DMS – PSCA7 Introduction
February 2008
2
Objective
• Understand the capabilities and limitations of CA-7
• Monitor CA-7 activity and resolve problems
• Understand the various CA-7 queues and their
importance in job tracking.
• Define jobs to CA-7
• Schedule jobs efficiently in CA-7
• Define job triggers
• Define job requirements
• Restart abended jobs through the CA-7/CA-11
Interface.
• Understand how JCL is handled by CA-7
3
Why CA-7?
Reduce Manual Interference.
Reduce Efforts and Time.
Maintain Log and history.
Maintain Job Flows and hierarchy.
Atlast its Easy Execution of Batch.
4
DISPLAYING THE ENVIRONMENT
Queue commands
LQ Command
LRDY Command
LACT Command
LJES Command
LRLOG Command
LPRRN Command
5
Queue Commands
LQ : List the Jobs in queue.
To list specific Job, use LQ,JOB=QB*. This would list all the Jobs in queue job name starting with QB.
LRDY: Lists all the Jobs in Ready Queue.
Eg: LRDY, JOB=QB*
LACT: Lists all Jobs on Active Queue. Ie Execution Queue.
LJES : Lists all the Jobs in JES (Job Entry Subsystem)
queue.
LRLOG : History of Job Execution.
LRLOG, JOB=<<JOBNAME>>,DATE=*
6
Queue Commands
LPRRN : Displays the last time Job was executed.
LPPRN,JOB=<<Job Name>>.
XQM : List all job which came in the queue.
For eg : xqm,job=gtb* -------------- CA-7 QUEUE MAIN
F-JOBNAME---J--I--E--U--N-SHJV
GTBAREND 9 . . . .
GTBASEND 2 . . . .
GTBASINI . . . . . H
GTBITEND . . . 1 .
In this the job GTBASINI is in hold. if you want to release it , put " r" in the left most side of the job.
To restart the job, "f" in the left most side and then use the appropriate option.
To cancel the job, enter "c" on the left most side.
7
Queue Commands
LPRRN : Displays the last time Job was executed.
LPPRN,JOB=<<Job Name>>.
FSTRUC : It will give whole flow of jobs taking jobname mentioned above at top of the hierarchy.
FSTRUC,JOB=<<JOBNAME>>
FRJOB : Reverse hierarchy, same as the stuff above.
FRJOB,JOB=<<Job Name>>.
8
The Data Base (Show the screens)
III. THE DATA BASE
• The Data Base Menu
• The Job Screen
• Schedule Ids (SCHIDs)
• The Job Scheduling Screens
• The Primary Job Scheduling Parameter Edit
Screen
• The SCHDMOD Screen
• Job Triggering
• The Job Trigger Screen
• Job Dependencies
• The Job Predecessor Screen
• The User Predecessor Screen
9
JOB MANAGEMENT
RUN : To run job independently
RUN,JOB=JOBNAME
RUNH : It will put job in queue with hold so you can do jcl
edit ie u can give file override etc before running that.
RUNH,JOB=JOBNAME
DEMAND : It’s same as RUN except it also initiate the jobs
which are being triggered by this.
DEMAND,JOB=JOBNAME
DEMANDH : It is same as DEMAND except it put the job in queue with hold so that you can do jcl edit , file override etc.
DEMANDH,JOB=JOBNAME
LJCL : It will display the jcl of that job.
LJCL,JOB=JOBNAME
10
Some Useful Commands
Command Description
D;C;1 To goto CA7 Login Screen from ISPF menu
XQM Maintenance Queue Screen
LQ Ready/Active Jobs
LACT Active Jobs
DB;3;6 Putting a Job in HOLD (User Hold)
H Putting a Job in HOLD (while in Queue)
E Edit an job
X To Release the HOLD
F Resubmitting the Job
X -- Resubmit For Production
X -- Force Completing the Job
LJOB, JOB=<JOB NAME>, LIST=ALL To know all the Jobs related to the job
LJOB, JOB=<JOB NAME>, LIST=TRIG All the jobs triggered by
LJOB, JOB=<JOB NAME>, LIST=DEPJ All the jobs which are dependant on this job
LJOB, JOB=<JOB NAME>, LIST=RQJOB All the requirements (Jobs/Schedules)
DEMAND, JOB=xxxxxxxx, SCHID=nnn, DOTM=hhmm, SET=SKP To run a job ahead of its schedule
11
Some Useful Commands
1. LQ,JOB=<job initial*> / <job name>,LIST=ALL
LQ,JOB=<job initial*> / <job name>
This command gives us the list of Jobs present in Queue and their status. Also gives the requirement details and the current status of Job.
2. LJOB,JOB=<job initial*> / <job name>,LIST=ALL
This command gives us the list of all available details in CA7 for a particular Job. This also gives the requirement details of the Job at the end of the output.
JOB INFORMATION
TRIGGER INFORMATION
SCHEDULEING INFORMATION
STEP AND DD INFORMATION
REQUIREMENTS AND NETWORK CONNECTIONS
12
Some Useful Commands
We can extract all above information one at a time using below commands-
JOB INFORMATION
LJOB,JOB=<job initial*> / <job name>,LIST=JOB
LJOB,JOB=<job initial*> / <job name>
TRIGGER INFORMATION
LJOB,JOB=<job initial*> / <job name>,LIST=TRIG
SCHEDULEING INFORMATION
LJOB,JOB=<job initial*> / <job name>,LIST=SCHD
STEP AND DD INFORMATION
LJCL,JOB=<job initial*> / <job name>
REQUIREMENTS AND NETWORK CONNECTIONS
LJOB,JOB=<job initial*> / <job name>,LIST=RQMT
13
Some Useful Commands
3. FSTRUC,JOB=<job initial*> / <job name>
This command lists the entire job flow with respect to the jobs and their subsequent triggers that are triggered by the job specified in the command.
4. LRDY,JOB=<job initial*> / <job name>
This command displays the Ready Queue which is where the JCL Check of the job takes place.
When a job is released for execution it first enters the Ready Queue before moving to the JES Queue for Execution.
14
Some CA7 Slang's u should Know
User Hold
Dependency (Predecessor & Successor)
Trigger
Abend Queue
Job Hold
Hierarchy
Restart Job
Cancel job
Skeleton
JCL id
ADDRQ
Forecast the Job (FSTRUC, FJOB, FTAPE)
Edit JCL (Overrides)
15
Some CA7 Slang's u should Know
Resubmit
Force Complete
Job Hold
Hierarchy
Restart Job
Cancel job (Cancel Q job & SKL job)
Skeleton
JCL ID
ADDRQ
BTI (Batch Terminal Interface)
Trigger CA7 thru MVS (The U7SVC Facility)
Calendar
Jobstreams
16
Questions
17