> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hare > Sent: Thursday, February 01, 2007 10:20 AM > To: [email protected] > Subject: GDG question > > > I'm pretty sure I can do this, but I'm looking for a second > opinion (and > "you're ugly, too" as my coworker said doesn't count <grin>). > > I have the assistance of a job scheduler which can substitute > variables in > JCL to help with this idea, so bear that in mind. > > I want to create twelve GDGs, prefix.whatever.JAN, > prefix.whatever.FEB > and so forth. > > Then, instead of creating prefix.whatever.JAN(+1) I want to create > prefix.whatever.JAN.G(day-of-month-with-leading-zeroes)V00 with > DISP=(NEW,CATLG). > > In essence one generation per day of month, with missing > generations if we > don't run that day (state holiday or whatever). > > Then I want to be able to read prefix.whatever.JAN as the > complete set, > as you can do with GDGs. > > Are there any holes in this theory that I'm overlooking? > > Tim Hare
Create a GDG base as you would normally for abc.JAN through abc.DEC, put a limit of 31 on each one (or if you prefer, a limit of the actual number of days in the month). Now, create the dataset just as you said. You are allowed to create a GDG dataset using a "hard coded" .GnnnnV00. Now, you can use normal GDG-ALL processing. The biggest PITA is the need to -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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

