On Fri, Nov 5, 2010 at 12:54 PM, Martin Packer <[email protected]>wrote: <snip>
> However, I'd prefer not to have to recommend absolute generations and > versions. Does anyone know how to do this with (0) and (+1)? > > Yes, I'm aware there may be some operational difficulties with this > approach - we didn't keep n generations this way. I'm not convinced the > customer actually wants to. I want to present them with options. > > <unsnip> write a simple program that determines the absolute generation and version number. This could be done with and SVC99. Then generate the IDCAMS control cards dynamically. You can then call IDCAMS from the same program or have IDCAMS run in the next step. If you call IDCAMS in the same step I'm pretty sure (but not completely) that you will have to ensure that the 'renamed' datasets are not allocated to your JOBSTEP. Cheers, Sam Thanks, Martin > > Martin Packer, > Mainframe Performance Consultant, zChampion > Worldwide Banking Center of Excellence, IBM > > +44-7802-245-584 > > email: [email protected] > > Twitter / Facebook IDs: MartinPacker > > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > > > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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

