Page 1 of 1

Change first qualifier of the datasets together.

Posted: Thu Feb 15, 2018 11:52 am
by Pragya
Hi,

I have a many many sequential files which follow the naming convention like ABC.DEF.* but now all the files starting with ABC.* will be deleted for some storage initiative. Now we have to rename all these datasets to another naming convention like XYZ.*. Please help if there is a way for doing this in batch with smallest possible effort rather than copying them one by one?

Any guidance in this regard will be great.

Re: Change first qualifier of the datasets together.

Posted: Thu Feb 15, 2018 4:28 pm
by nicc
Use your backup software to back up the data sets and then restore with the new name.

Re: Change first qualifier of the datasets together.

Posted: Thu Feb 15, 2018 6:16 pm
by Robert Sample
Have you talked to your site support group? They could use ISMF to rename the data sets fairly easily; most sites do not allow application programmers to use ISMF.

Re: Change first qualifier of the datasets together.

Posted: Mon May 28, 2018 3:02 pm
by Pragya
As this was an initiative from the application team, site support group left it on us. We did it manually using sort copy.

Re: Change first qualifier of the datasets together.

Posted: Mon May 28, 2018 8:26 pm
by Robert Sample
As long as the number of qualifiers remains the same, ADRDSSU is a fast, easy way to change data set high level qualifiers. It will not convert A.B.C.? to Z.Y.?, though. Back up and then restore with RENAMEUNCONDITIONAL.

Re: Change first qualifier of the datasets together.

Posted: Wed May 30, 2018 12:00 pm
by Pragya
Thanks for the idea. I shall explore that.