Page 1 of 1

Multiple jobs trying to write to same GDG simultaneously

Posted: Thu Jun 19, 2014 11:19 am
by anuthereaper
Hi there,

I had a question regarding multiple jobs trying to write into the same GDG.

Let's say we have 3 jobs which are dataset triggered and all 3 jobs are attempting to write to the same GDG version(+1).
Now, if the incoming files come in at different times, there isn't a problem. But what if by some chance, all the 3 triggering files enter ANZD at the same time. Would we know what the behaviour will be like?

Also,can we use virtual resourcing in CA7 to ensure that only one job writes into the GDG at any one time even though all the jobs are triggered at the same time ?

Thanks,
AC

Posted: Sun Jun 22, 2014 11:43 pm
by NicC
+1 is not a version it is a generation - in GxxxxVyy Gxxxx is generation Vyy is version.
If you are writing to a dataset then the DISP for that dataset should be either OLD or NEW either of which gives a lock on the dataset so no other task can write to it until the dataset has been released.