IDCAMS: Is it possible to do the following using IDCAMS. If yes how. If no are there any other options to do this.
a. Copy given set of files(non empty only) into a new set after renaming them.
b. The old set of files should be deleted.
c. The last qualifier for the new files names will be in another file which has to be given as an input to renaming step.
File which has the last qualifiers(created dynamically in a batch program)
The old set of file names should be renamed to New set of file names as below
After the renaming is successful the old set of files should be deleted.
Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
I think it would help you if you were to first write the JCL that does what you want to do. That might help you to establish the process flow and see how you might want to accomplish the replacement of the last nodes.
As far as I can tell, if you don't want to use REXX, you can use just about anything else you want.