Did you try to just do a delete noscratch command ?

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Max 
Smith
Sent: Monday, February 21, 2022 4:00 PM
To: [email protected]
Subject: Re: Unable to delete uncataloged migrated datasets

ATTENTION: This e-mail came from an external source. Do not open attachments or 
click on links from unknown or unexpected emails.


Hi Fred,

For uncataloged data sets I would have expected HSEND DELETE dsn would work to 
clean up the CDS entries, MCD/MCA & TTOC. You say it didn't seem to work, why?  
Any errors?

Also the steps you listed should also delete the MCD/MCA records and the data 
set if it still existed on an ML1 volume.  Why do you say they didn't?

Another thing you could do is use a simple IDCAMS DEFINE to define the catalog 
entry of the data set.  You could then see if they RECALL or you could use the 
HSEND DELETE or HDELETE to delete the data set.

Sample SYSIN

 DEF                                      -
   NONVSAM                          -
     (NAME(data.set.name)     -
     DEVT(3390)                     -
     VOL(MIGRAT)

Max Smith
DFSMS Development

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

*** Disclaimer ***
This communication (including all attachments) is solely for the use of the 
person to whom it is addressed and is a confidential AAA communication. If you 
are not the intended recipient, any use, distribution, printing, or copying is 
prohibited. If you received this email in error, please immediately delete it 
and notify the sender.

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

Reply via email to