I don't see that you can do that with tapes, the hdr1 won't match the new DSN.
On Fri, 18 Sep 2020 07:19:33 -0700, Sri h Kolusu <[email protected]> wrote: >>The problem is that they want to know if there is a way to automatically >catalog datasets at creation time, to which I told them we could, but only >1 of them because you can't catalog two datasets with the same name. > >Generate the RENAME cards in the same program/JCL to rename the file from >HLQ.FICHE.TAPE to HLQ.FICHE.TAPE.Yccyy.Mmm.Ddd.Thhmmss > >Run those rename control cards thru IDCAMS in the same JCL > > >Thannks, >Kolusu > >---------------------------------------------------------------------- >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
