The output looked OK to me.
I was also able to restore a file

Gadi Ben-Avi
z/OS systems Programmer
Malam Systems
Jerusalem, Israel




On Mon, Jul 13, 2020 at 4:09 PM +0300, "Richard Marchant" 
<marchinga...@gmail.com<mailto:marchinga...@gmail.com>> wrote:

Gadi,

Did you FIXCDS the "A" and "D" records of these files?

Was the output good?

Richard Marchant
Johannesburg

On Mon, Jul 13, 2020 at 3:02 PM Gadi Ben-Avi <gad...@malam.com> wrote:

> I got a bunch of messages saying
> /* ERR 141 ML1000 - SCRATCHED EMPTY DATA SET
> HSM.VTOC.T010400.VPWRK06.D20195
> And the datasets were deleted.
>
> Now, how do I get it to move the HMIG's?
>
> Thanks
>
> Gadi
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf
> Of Richard Marchant
> Sent: Monday, July 13, 2020 3:46 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Changing the volser of an HSM ML1 volume
>
> Gadi,
>
> Please execute the following command:
>
> *HSEND AUDIT MEDCTL VOLUMES(ML1000) FIX*
>
>
> Richard Marchant
> Johannesburg
>
> On Mon, Jul 13, 2020 at 2:27 PM Gadi Ben-Avi <gad...@malam.com> wrote:
>
> > Hi Richard,
> > Enclosed is the output from the FREEVOL command.
> > This partition does not have any issues with HMIG files.
> > Gadi
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> > Behalf Of Richard Marchant
> > Sent: Monday, July 13, 2020 3:20 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Changing the volser of an HSM ML1 volume
> >
> > Gadi,
> >
> > Try running the FREEVOL again and then post the DFHSM log of the
> > FREEVOL output.
> >
> > Richard Marchant
> > Johannesburg
> >
> > On Mon, Jul 13, 2020 at 12:19 PM Gadi Ben-Avi <gad...@malam.com> wrote:
> >
> > > Hi Again,
> > > The VTOC records are newish. There are some from today and some from
> > > earlier in the year.
> > > The Migrated files seems to be OK. They were created because the
> > > storage group was defined with automigrate.
> > > I changed the storage group to not have automigrate, so no new files
> > > will be migrated.
> > >
> > > How can I move those files to the new volume?
> > >
> > > Gadi
> > >
> > >
> > > -----Original Message-----
> > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> > > Behalf Of Richard Marchant
> > > Sent: Monday, July 13, 2020 12:33 PM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Re: Changing the volser of an HSM ML1 volume
> > >
> > > Gadi,
> > >
> > > How old are VTOC files? Are they required?
> > >
> > > Do the HMIG files have catalog entries and “D” records in the MCDS?
> > >
> > > To find the full datasetname for an HMIG file so you can check for a
> “D”
> > > record issue the following:
> > >
> > > HSEND FIXCDS A HMIGfilename
> > >
> > > Once you have the full datasetname you can then check if there is
> > > valid “D” record by issuing the following:
> > >
> > > HSEND FIXCDS D fulldatasetname
> > >
> > > If there is a “D” record try recalling the dataset. If this works
> > > you can delete the associated DFHSM “A” and “D” records. Then make
> > > an DFHSM
> > backup.
> > >
> > > If there is no “D” record you can do the following:
> > >
> > >
> > > 1.       If the dataset is not too important delete the associated “A”
> > > record and delete the HMIG file on the ML1 volume. If you have a
> > > backup then restore the dataset.
> > >
> > > 2.       If you have no backup and the dataset is important you can
> > > recreate the “D” record. Check the manuals for this procedure. Then
> > > recall it as above.
> > > HTH
> > >
> > > Richard Marchant
> > > Johannesburg
> > >
> > > From: IBM Mainframe Discussion List
> > > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi
> > > Sent: Monday, July 13, 2020 10:55 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Re: Changing the volser of an HSM ML1 volume
> > >
> > > All of the VTOC files that were not moved, are empty.
> > > The HMIG files are definitely not empty.
> > > There is mention of the HMIG files in the HSM logs
> > >
> > > Gadi
> > >
> > > -----Original Message-----
> > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:
> > > IBM-MAIN@LISTSERV.UA.EDU>> On Behalf Of Richard Marchant
> > > Sent: Monday, July 13, 2020 11:36 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
> > > Subject: Re: Changing the volser of an HSM ML1 volume
> > >
> > > Gadi,
> > >
> > > FREEVOL should move these files if they are good.
> > >
> > > Check they are active files.
> > >
> > > Richard Marchant
> > > Johannesburg
> > >
> > >
> > >
> > > From: IBM Mainframe Discussion List
> > > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi
> > > Sent: Monday, July 13, 2020 10:20 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
> > > Subject: Re: Changing the volser of an HSM ML1 volume
> > >
> > > Hi again,
> > > HSM copied many of the files on the old volume, but there are still
> > > some files left.
> > > The files are named HSM.VTOC.** and HSM.HMIG.** How do I tell HSM to
> > > copy these files too.
> > >
> > > Gadi
> > >
> > > -----Original Message-----
> > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:
> > > IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU%
> > > 3cmailto:IBM-MAIN@LISTSERV.UA.EDU>>> On Behalf Of Richard Marchant
> > > Sent: Monday, July 13, 2020 10:24 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:
> > > IBM-MAIN@LISTSERV.UA.EDU%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>>
> > > Subject: Re: Changing the volser of an HSM ML1 volume
> > >
> > > Gadi,
> > >
> > > HSM should move all the files.
> > >
> > > Richard Marchant
> > > Johannesburg
> > >
> > > On Mon, Jul 13, 2020 at 8:43 AM Gadi Ben-Avi <gad...@malam.com<mailto:
> > > gad...@malam.com<mailto:gad...@malam.com%3cmailto:gad...@malam.com>>
> > > >
> > > wrote:
> > >
> > > > Thanks
> > > > Will HSM move the files already on the old volume, or do I have to
> > > > do it myself?
> > > >
> > > > Gadi
> > > >
> > > > -----Original Message-----
> > > > From: IBM Mainframe Discussion List
> > > > <IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:I
> > > > BM -M a...@listserv.ua.edu%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>>> On
> > > > Behalf Of Richard Marchant
> > > > Sent: Monday, July 13, 2020 9:18 AM
> > > > To:
> > > > IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:IB
> > > > M- MA i...@listserv.ua.edu%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>>
> > > > Subject: Re: Changing the volser of an HSM ML1 volume
> > > >
> > > > Gadi,
> > > >
> > > > I would advise you do the following so HSM knows what's where:
> > > >
> > > > HSEND ADDVOL newvolser UNIT(3390) MIGRATION(ML1 NODRAIN)
> > > >
> > > > HSEND ADDVOL oldvolser UNIT(3390) MIGRATION(DRAIN)
> > > >
> > > > HSEND FREEVOL MVOL(oldvolser) AGE(0) TARGETLEVEL(ML1)
> > > >
> > > > Once complete you can DELVOL the oldvolser.
> > > >
> > > > HTH
> > > >
> > > > Richard Marchant
> > > > Johannesburg
> > > >
> > > > -----Original Message-----
> > > > From: IBM Mainframe Discussion List
> > > > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi
> > > > Sent: Monday, July 13, 2020 6:55 AM
> > > > To:
> > > > IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:IB
> > > > M- MA i...@listserv.ua.edu%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>>
> > > > Subject: Changing the volser of an HSM ML1 volume
> > > >
> > > > Hi,
> > > > I need to change the name of a HSM ML1 volume.
> > > > The volume only contains VTOC files created by backups.
> > > >
> > > > Can I just create a new volume, define it to hsm and move the
> > > > files to
> > > it?
> > > >
> > > > Gadi
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > > send email to
> > > > lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu<mailto:li
> > > > st se r...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>>
> > > > with the message: INFO IBM-MAIN
> > > >
> > > > This message is subject to certain restrictions and qualifications
> > > > which are contained in our email disclaimer which is available on
> > > > our website at 
> > > > www.edcon.co.za/Edcon/Disclaimer<<http://www.edcon.co.za/Edcon/Disclaimer<>
> > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpr
> > > ot
> > > ect-za.mimecast.com%2Fs%2F1aPPCQ1KpPtAKJoyIMtuNl&data=02%7C01%7Crmar
> > > ch
> > > ant%40edcon.co.za%7Cd9fd717edd0849b6eecc08d8270a8066%7C9bc1595a478a4
> > > 77
> > > 4bd9e25f50e3a0119%7C0%7C0%7C637302273376370686&sdata=HX%2BWuz%2FEtkB
> > > n9
> > > 32wl4XubJ7%2FdPr5MynLCdPjXMDgYME%3D&reserved=0
> > > ><
> > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpr
> > > ot
> > > ect-za.mimecast.com%2Fs%2FelxECmw0pDtJ7AxQsOtW4a&data=02%7C01%7Crmar
> > > ch
> > > ant%40edcon.co.za%7Cfb2ffedb171f4236164608d8270593c2%7C9bc1595a478a4
> > > 77
> > > 4bd9e25f50e3a0119%7C0%7C0%7C637302252213342982&sdata=fSabl7FP%2FRTg8
> > > PX
> > > OY%2BHegsPSzZWKKry2DMSBQH0s8pM%3D&reserved=0
> > > <
> > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpr
> > > ot
> > > ect-za.mimecast.com%2Fs%2FmyBRCRgKqQTmpy5zhOSIlU&data=02%7C01%7Crmar
> > > ch
> > > ant%40edcon.co.za%7Cd9fd717edd0849b6eecc08d8270a8066%7C9bc1595a478a4
> > > 77
> > > 4bd9e25f50e3a0119%7C0%7C0%7C637302273376370686&sdata=7rCyEmFCHqurfrd
> > > Nh 4K67R2TzKriFa5AM4%2F31e2Y1mE%3D&reserved=0>>
> > > or from the Group Secretary on (011) 495-6000.
> > > > The disclaimer also provides our corporate information and names
> > > > of our directors as required by law.
> > > > The disclaimer is deemed to form part of this message in terms of
> > > > Section
> > > > 11 of the Electronic Communications and Transactions Act, 2002.
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > > send email to
> > > > lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu<mailto:li
> > > > st se r...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>>
> > > > with the message: INFO IBM-MAIN
> > > >
> > > > Email secured by Check Point
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > > send email to
> > > > lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu<mailto:li
> > > > st se r...@listserv.ua.edu%3cmailto: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<mailto:lists...@listserv.ua.edu
> > <mailto:
> > > lists...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>> with
> > > the
> > > message: INFO IBM-MAIN
> > >
> > > Email secured by Check Point
> > >
> > > --------------------------------------------------------------------
> > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to
> > > lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu
> > <mailto:
> > > lists...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>> with
> > > the
> > > message: INFO IBM-MAIN
> > >
> > > This message is subject to certain restrictions and qualifications
> > > which are contained in our email disclaimer which is available on
> > > our website at 
> > > www.edcon.co.za/Edcon/Disclaimer<<http://www.edcon.co.za/Edcon/Disclaimer<>
> > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpr
> > > ot
> > > ect-za.mimecast.com%2Fs%2F1aPPCQ1KpPtAKJoyIMtuNl&data=02%7C01%7Crmar
> > > ch
> > > ant%40edcon.co.za%7Cd9fd717edd0849b6eecc08d8270a8066%7C9bc1595a478a4
> > > 77
> > > 4bd9e25f50e3a0119%7C0%7C0%7C637302273376380680&sdata=mW5P%2F0a7rHiBg
> > > Ik 9MhWLHyfaCv4S%2Bdg3rddyQlTJZx4%3D&reserved=0>
> > > or from the Group Secretary on (011) 495-6000.
> > > The disclaimer also provides our corporate information and names of
> > > our directors as required by law.
> > > The disclaimer is deemed to form part of this message in terms of
> > > Section
> > > 11 of the Electronic Communications and Transactions Act, 2002.
> > >
> > > --------------------------------------------------------------------
> > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to
> > > lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu>
> > > with the
> > > message: INFO IBM-MAIN
> > >
> > >
> > > Email secured by Check Point
> > >
> > > --------------------------------------------------------------------
> > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to
> > > lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu>
> > > with the
> > > message: INFO IBM-MAIN
> > >
> > > This message is subject to certain restrictions and qualifications
> > > which are contained in our email disclaimer which is available on
> > > our website at 
> > > www.edcon.co.za/Edcon/Disclaimer<http://www.edcon.co.za/Edcon/Disclaimer> 
> > > or from the Group
> > > Secretary on (011) 495-6000.
> > > The disclaimer also provides our corporate information and names of
> > > our directors as required by law.
> > > The disclaimer is deemed to form part of this message in terms of
> > > Section
> > > 11 of the Electronic Communications and Transactions Act, 2002.
> > >
> > > --------------------------------------------------------------------
> > > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to lists...@listserv.ua.edu with the message: INFO
> > > IBM-MAIN
> > >
> > >
> > > Email secured by Check Point
> > >
> > > --------------------------------------------------------------------
> > > -- 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
> >
> > Email secured by Check Point
> >
> > ----------------------------------------------------------------------
> > 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
>
> Email secured by Check Point
>
> ----------------------------------------------------------------------
> 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

Email secured by Check Point

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to