I get "entry not defined". Unfortunately that doesn't help, because on my playground I have duplex tapes with their primary ML2 tape still existent, and I get the same "not defined" message.
-----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Allan Staller Sent: Thursday, February 14, 2019 12:16 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [External] Re: HSM question - ML2 copy2 tapes that have no copy1 Try HSEND DELVOL(XXXXXX) PURGE FORCE(?) I haven't looked up the syntax. Actually, if they are not in the TTOC you can probably just expire them. Not sure if you are using RMM, TMS, or other, but RMM had a quirk, whereby if the tape ever had a permanent error (as defined by having a SWAP associated) the volume would not go scratch until replaced. Don't remember the exact details. Al -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Pommier, Rex Sent: Thursday, February 14, 2019 11:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: HSM question - ML2 copy2 tapes that have no copy1 Allan, Sorry, this doesn't help. The LIST TTOC is only showing my VTS-based ML2 tapes which have no duplex. BTW, LIST TTOC does show duplex volumes if they exist. :-) These duplex tapes all have old create dates and so I am confident they are orphans. Now, how to get rid of them. I'll try the TAPEREPL process in a test environment to see what happens. Thanks. Rex -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Allan Staller Sent: Thursday, February 14, 2019 8:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [External] Re: HSM question - ML2 copy2 tapes that have no copy1 Most likely a continuation of a prior volume. Without going into a lot of detail, if a dataset spans from 1 volume to another the 1st volume in the sequence "owns it". Duplex volumes are never referenced by DFHSM directly. HSEND LIST TTOC will list all primary voulmes. I expect the duplex volumes will also be shown, but I am not sure. It has been too long since I've duplexed. This *will* show the predecessor and successor volumes. I expect the "offending" volsers to be successor volumes. HSEND LIST TTOC(volser) will give you a list of datasets on the volume. Use this to obtain the "English" name of the datset. At this point there are 2 choices. HDELETE 'DSN' for the dataset that spans volumes. This will automatically delete the duplex volumes. Use the output of the HSEND LIST TTOC to obtain the "owning" primary volume. Recycle the "owning" primary volume. The "offending" duplex volumes will be deleted as part of the recycle process. HSEND RECYCLE EXECUTE VOLUME(owning volser) HTH, -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Pommier, Rex Sent: Wednesday, February 13, 2019 4:37 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: HSM question - ML2 copy2 tapes that have no copy1 Hello list, I have a few HSM ML2 duplex tapes that no longer have their corresponding migrate tapes that I can't seem to get rid of. If I try to do DELVOL, I get an error saying they're not defined migrate volumes. What we're doing is migrating our HSM ML2 environment into a VTS (replicated) and eliminating the duplex tapes. I have these 4 duplex tapes from 2015 and 2017 that I can't get rid of. I think HSM still knows about these tapes and if I try to scratch them in the TMS, it says they're owned by an external data manager (ie HSM). Any thoughts on how to cleanly get rid of these tapes? I've looked at TAPEREPL but don't know if that would be a solution or not. TIA, Rex The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- 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 The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN