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



1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before..

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

1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before..

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

1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before..

Answer / saisankar

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

Post New Answer

More JCL Interview Questions

What is COND=EVEN ?

9 Answers   IBM,


Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

0 Answers  


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  






What is S322 abend ?

5 Answers  


What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

11 Answers   Tesco,


If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,

3 Answers   IBM,


Name the system library from which modules are retrieved at execution

3 Answers  


What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


How to execute only th 15th step of JCL consisting of 50 steps?

12 Answers   Bank Of America,


How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


Categories