On Wed, 10 May 2017 15:38:57 -0500, Ron Thomas wrote:

>Hi . We have around 700 datasets where we need to rename the names , is there  
>a utility by which we can run the same in batch ? I believe i can use IDCAMS , 
>but is there a better way to it with less effort ?  
> 
If the renaming is regular, use a script to generate the IDCAMS SYSIN.

If the renaming is sporadic but you have a list of old-name new-name
pairs, use a script to convert that to IDCAMS SYSIN.

If you haven't this information in any form, you're SoL.

If there is overlap of the new-names with the old-names, rename each
data set twice, first old-name -> neutral name, then neutral-name -> new name.

Have at least two people review the IDCAMS SYSIN before you submit the job.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to