RENAMEU will let you change the HLQ but will not let you change the number of 
qualifiers in the DSN.

However, if you have a small number of HLQs to deal with, you could restore to 
a set of relate HLQs.  For example, RENAMEU=((SYS1.**, 
ZSYS1.**),(TCPIP.**,ZTCPIP.**),...)

Then you can list all the Z* datasets in ISPF 3.4 and use the block command 
feature to run a simple REXX that uses the AMS ALTER command to change the "Z" 
to "TSO1.".  

> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> Behalf Of Jake Anderson
> Sent: Monday, January 28, 2019 8:05 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Restore dataset with a different prefix
> 
> Hi
> 
> Cross posted.
> 
> Can we back up an entire volume to a virtual tape and restore all the
> dataset in a different volume with  new prefix to all the restored dataset.
> 
> For example : TCPIP.SEZALOAD as TSO1.TCPIP.SEZALOAD
> 
> One way I know is to do renameunconditional and restore it, but since I
> have a big list of dataset and doing for each dataset is going to be time
> consuming.
> 
> Is there any other way to achieve this ? Where while restoring all the
> datasets gets a PREFIX of TSO1.
> 
> Jake
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to