Are the datasets all NON VSAM that you want to rename? Are then on SMS or NONSMS volumes?
Could you explain more of what this rename is for? Why you need to do this? If it is because of version changes in software, look at SYMBOLICRELATE function. I use this a lot for datasets that I ship out for various products. It allows me to place a VERSION number in the dataset name. Then with the IEASYMxx member in SYS1.PARMLIB, create a new version, updates the symbols, but my user only ever sees the SYS1.PROD.lowlevelqualifier. The process is not that difficult to do and saves on IPLs and Roll in/Roll out of software. This can be used for many reasons. If this is something of interest, I can supply a brief overview of the activities to make this work. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of ??? ?? ??? > Sent: Wednesday, August 27, 2014 12:35 AM > To: [email protected] > Subject: Rename dataset and recatalog > > Hi, > > How do I rename a dataset in batch if it will need to be cataloged in a different > catalog? > > For example, I would like to rename SYS1.FOOBAR to SYSV.FOOBAR. > Datasets with an HLQ of SYSV are cataloged in a different catalog the datasets with > an HLQ of SYS1. > > This is very simple in ISPF, but how can it be done in batch? > > Thanks > > Gadi > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
