Classification: HCL Internal See my earlier. IMO, the answer is Not Possible
-----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Brian Westerman Sent: Friday, September 18, 2020 2:36 AM To: [email protected] Subject: rename a dataset in acs routine? [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] Hi, I was asked a question today that I honestly don't know how to answer. The programmer has a (very large) series of jobs that generate fiche tapes that get created and have a expiration date but never are cataloged (because they all have exactly the same DSN). So over time, they ended up with about 30,000 tapes from the over 9,000 jobs that CA-1 keeps around until expiration date. Obviously, these are not the easiest datasets to use later because they need to look up the tape volser every time. 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. But they want to have "the system" which I'm guessing is me :), dynamically rename these datasets at creation time to add a date and time, such as change HLQ.FICHE.TAPE to which I would dynamically make it HLQ.FICHE.TAPE.D091720.T1123, meaning today's date and the current time (if it was 11:23am). I can't think of a way to do that in an acs routine, or any other simple way, and I'm hoping that someone has an idea that might apply here. I think I can alter almost anything about the dataset, except the name. Is there something I am missing? Brian ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ::DISCLAIMER:: ________________________________ The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
