I'm looking at a customer batch job and they are rolling over 12 monthly 
files by 1 - the oldest going off to another data set on tape. They are 
doing this with ICEGENER copy steps. Each monthly file is a different GDG. 
Rather than do the actual copying I'd like them to explore using some form 
of rename.

In this case it boils down to renaming FILE1(0) to FILE2(+1). IDCAMS ALTER 
will do it with hardcoded generations and versions. I checked this and 
that the structure of the target GDG was intact - by coding some JCL on my 
own system.

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.

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

Reply via email to