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 |
For how long a job can be executed continuously in a mainframe ?
wht happens if cond=true ? pls give me with an example ?
i want to store 20 digits . how will u do it in cobol ?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
How to identify in JCL that an input file is empty without reading it?
How to check empty file in jcl?
What is the function of //jcllib statement?
What is QSAM error usually when it is occurs?
what are the ways of passing data to a cobol program from jcl?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?