-----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? <SNIP> I'm a bit hazy on this, but as I recall from doing this with SMF merging in a JES3 shop from many years ago: In your GDS build, you can have two or more files with the same Generation (Gnnnn). However, you must have different Version (Vnn). The highest numbered version of the GDS takes precedence. So as another poster suggested, you can have a dummy entry (say ...G0001V00), and "over-ride" with ...G0001V01. Again, as someone else questioned for a "rerun", if you need to rerun but NOT do a delete, you can create the GDS with (as an example) G0015V02. When you pull in your GDG, the highest numbered Version of a GDS is what you get when referencing "all". Caveat: The preceding was based on DFP BEFORE SMS. Now, based on the SMS comment by someone, you can create 1 track GDS with V00 that are empty (OPEN/CLOSE w/ no write/put). Then the real ones can use V0x. SMS shouldn't have a problem with "holes", because there won't be any. But you will take up space for a dummy file for each day of the month for each month of the year. Regards, Steve Thompson ---------------------------------------------------------------------- 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

