Generally DISP = OLD is used when a Dataset is generated in
a step of job and then subsequently used in the next up
coming steps of the same job ,
DISP=SHR signifies that the dataset is can be shared by the
disp= old ...it will give exclusive use of dataset.
disp= shr....multiple job can use the dataset concurrently..
but in both case, while writing , it will overwrite to old
dataset..i.e, old data will be lost.
There is a procedure in A.B.PROCS(PROC1) (member name is
There is a call to a procedure PROCA from a JOB.
//STEP01 EXEC PROCA
Here "PROCA" in JOB refers to the actual PROC name or the
member name of the PDS where this PROCA is stored.
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 ?