TSO doesn't support GDG dataset names.You should specify the REAL dataset
name, the one with the generation number. 
Try IDCAMS delete noscratch. 
// exec pgm=idcams
//sysprint dd sysout=*
//sysin dd * 
  Delete filename NOSCRATCH
ITschak  


| Itschak Mugzach | Director | SecuriTeam Software |
| Email: [EMAIL PROTECTED] | Mob: +972 522 986404 | Skype: Itschak
Mugzach | Web: www.Securiteam.co.il  |  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of John Kington
Sent: Friday, August 08, 2008 2:05 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Invalid dataset name in catalog, how to remove

> Ken Leidner wrote:
> > I have a tape dataset cataloged over 10 years ago with a very 
> > strange -

> > invalid name.  I am not sure how it was created, but I would like to 
> > remove it from the catalog.  The tape has scratched years ago and I 
> > found this odd dataset name and would like to remove it from the
catalog
> > without having to zap the catalog to change its name first.
> >
> > Any suggestions?
> >
> > I have tried;
> >
> > In TSO a DELETE 'P.FSPOL.SBHF38AA(0)' noscratch IKJ56709I INVALID 
> > DATA SET NAME, 'P.FSPOL.SBHF38AA(0)'
> >
> > ISMF doesn't even find the dataset, even when looking for a prefix 
> > of the dataset name (like 'P.FSPOL.SB*.**')
> >
> > Running IEFBR14 in batch gives
> > //STEP0    EXEC PGM=IEFBR14

> > //DD1  DD  DSN='P.FSPOL.SBHF38AA(0)',DISP=(OLD,UNCATLG)
> >
> > IEF212I CJ4130BT STEP0 DD1 - DATA SET NOT FOUND
> >
>
If the entry is the only one with the first two nodes of P.FSPOL, you might
be able to delete it with idcams:
DEL P.FSPOL.*
This will delete any catalog entry with three nodes and the first two nodes
are P and FSPOL (use with care!) If you have other three node catalog
entries that start with P.FSPOL, you probably need to use something like
mainstar or trex to get rid of the entry.
Regards,
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the
archives at http://bama.ua.edu/archives/ibm-main.html


__________ NOD32 3280 (20080718) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to