> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of R.S. > Sent: Wednesday, May 17, 2006 1:54 PM > To: [email protected] > Subject: Dataset contention on GDG > > > I have noticed dataset contention > Job A is running > //INPUT DD DISP=SHR,DSN=GDG.BASE.NAME(-4) > > Job B was submitted later and it is waiting for datasets: > //OUTPUT DD DISP=(MOD,CATLG),DSN=GDG.BASE.NAME(+0) > > > Q: is it normal ?
Yes, Working As Designed. > Why GRS minor name is GDG.BASE.NAME, not the GDS member name ? I cannot prove it, but I think it is so that when a job starts, that the relative generation number always maps to the same absolute generation number. Suppose you have a job running which has 20 steps. Step 1 reads +0 of GDG and so does step 20. The JCL developer would expect both steps to read the same dataset. Now suppose that the ENQ were on the absolute gen number and not the base name. A job could run after step 1, but before step 20 which could create the +1 gen. In this case the two steps in the first job would get different abolute generations because the GDG to absolute mapping is done at step initiation (I think). Of course, I can think of ways to get around this, such as mapping all relative GDG numbers to an absolute GDG number at job start, updating the SIOT with the absolute name rather than the relative gen number. > Can I change it ? Not to my knowledge. > > -- > Radoslaw Skorupka > Lodz, Poland -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

