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 |
how to set dependancy for jobs?
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?
A dd statement consists of 4 fields. Name them?
What are hierarchy levels in jcl?
How to change default PROCLIB?
What is meant by S0C7 system abend code?
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options
What is NOTCAT ?
how to do automated restart when a job abends?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
how can handle the s0c4 abend???