1) Is CLASS used for assigning Priority (as we say a job
having class '6' will run before the job having class '5'?
then what is the difference between CLASS and PRTY ?
2) In a same JCL, 2 JOB statements with different Classes
and NO PRTY are submitted ? which will run first ? & with
different classes and different PRTY also, which will run
first now ?
Answers were Sorted based on User's Feedback
Answer / archana
Class is used by the initiators to pick a job from the
input queue. If there are 2 jobs with the same Class in the
input queue, then the initiator will execute the jobs based
on the priority.
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / prachi.
1)If there are two jobs with the same class, PRTY will
decide which job has to execute first.Job with the highest
priority will be executed first than the job with lowest
priority
2)If in the same JCL two jobs with No PRTY submitted in
that case..execution of the job depends on class
parameter...that is class will decide the priority
3)we will not be using the PRTY parameter if the class is
different..The use of PRTY is only when the jobs has same
job class..
| Is This Answer Correct ? | 5 Yes | 0 No |
if there are 2 jobs with the same class then it will check
for 'prty ' parameter.based on the prty it will submits.
if we are not coded any 'prty' paramater then which job
goes first time that will be executed.
for better understanding
class = a (2min) ,b (3min) , c (4min)
to separate the jobs based on the cpu time
consumed.installation dependent.
for other info : saisankar85@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
How I sort the records in a file and copy the first 10 records to another file
Are there any set of rules for the names of the steps used in a job?
what is use of dsn parameter in dd statement?
01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
can anyone explain me about sort in jcl with inrec and outrec ?
Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?
Where & How Do You Code Identifier In Jcl?
How to pass the parameter in parm using linkage section ? (syntax)?
What does SYSIN * indicate?
What are the common keyword parameters in both job and exec statements
Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?