Hi Nathan,

By chance do you have FDR? If so, you can use FDRCOPY with the following control cards to insert a 4th level qualifier and keep the qualifiers before and after.

   //FDRCOPY  EXEC PGM=FDRCOPY
   //SYSPRINT DD  SYSOUT=*
   //SYSUDUMP DD  SYSOUT=*
   //SYSIN    DD  *
      COPY     TYPE=DSF
      SELECT   CATDSN=SYSPROG.SYM.R14P2.**,
               NEWI=...+SYSD
   /*

For NEWI=, the period (.) specifies the qualifier(s) to remain unchanged. The plus (+) specifies the data to be "inserted" at the qualifier in the data set. Any additional qualifiers in the original data set are appended after the inserted qualifier.

[email protected]
Joseph Butz
Technical Support

On 5/24/2016 7:52 AM, Nathan Astle wrote:
Hello,

I am using the below control card to change Just the 4th level qualifier to
have the System name alone while restoring from the PS backup dataset, but
I am not getting any dataset created after the 4th level Qualifier and the
Log says the Dataset already exist.

RESTORE INDDNAME(BACKUPDS)  -
DATASET(INCLUDE(**.**)) -
STORCLAS(MAINFRAME)-
RENAMEU(SYSPROG.SYM.R14P2.**,SYSPROG.SYM.R14P2.SYSD.**) -
FORCE -
ADMIN -
CATALOG SHR TOL(ENQF)

Is there any change that I need to be making on the above control where I
can get all the dataset restored with SYSNAME SYSD added to all the
restored dataset ?


Regards,
Nathan

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

Email secured by Check Point


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

Reply via email to