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
Multiple jobs trying to write to same GDG simultaneously
Moderators: Frank Yaeger, DikDude, Moderator Group
-
- Member
- Posts: 3
- Joined: Tue Apr 22, 2014 9:06 am
+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.
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.
Regards
Nic
Nic
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page