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 |
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
What is order of searching of the libraries in a JCL?
What is the function of the steplib dd statement?
What is the purpose of the dd keylen parameter?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What do you understand by the term notcat 2 – gs?
How to concatenate different LRECL of files?
What does the statements: typrun=scan and typrun=hold do in a JCL statement
When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).
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
What is the motivation behind coding class parameter in job statement?