If you want to rename all foo.** to bar.baz.** then a simple REXX script should 
do it. If you want to rename some but not all then I'd probably write an ISPF 
dialog using table services.

What DASD management software are you using? Have you checked whether it 
supports changing the number of index levels with a wildcard?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
James Cradesh [[email protected]]
Sent: Thursday, October 20, 2022 5:51 PM
To: [email protected]
Subject: Iebcopy rename hlq??

What’s the solution to copying (actually moving)/ renaming hundreds of sms 
managed datasets?  I’ve looked for rexx execs to do this but I’ve not come 
across anything. I’ve tried dfdss but changing the hlq of sms datasets doesn’t 
seem to work for me since I want to add a hlq not actually rename the hlq  For 
example sys2 to newhlq.sys2. Perhaps a two step approach?  Any suggestions?

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

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

Reply via email to