I am trying to create a skeleton to rename one dataset. The name of the dataset is a variable, so it will not work if I include it as part of the SYSIN. I have tried the direct command as well as including the instruction in a dataset.
Any guidance or workaround?
I am using IDCAMS, with the command ALTER &NAME NEWNAME(&NAME..OLD)