RENAMEU allows you to either swap the HLQ or specify the full alternative name. If I remember right, there is some rule about your replacement string being the same length as the original string, when you are trying to replace more than 1 qualifier with one or more qualifiers..
– Vignesh Mainframe Infrastructure -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Jake Anderson Sent: 29 January 2019 04:05 To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] 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 MARKSANDSPENCER.COM ________________________________ Unless otherwise stated above: Marks and Spencer plc Registered Office: Waterside House 35 North Wharf Road London W2 1NW Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 www.marksandspencer.com Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN