Full output shown, no IDC3009I. If I could use the 3.4 list directly, I wouldn't need the Rexx.. The data sets actually on the volume are cataloged only in the usercat named in the CAT parameter. I suppose that's the problem, but why? Deleting the associated alias located in the same usercat had no problem.
I even tried allocating to my session a temp data set on the catalog volume. No help. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [email protected] From: Lizette Koehler <[email protected]> To: [email protected], Date: 06/18/2014 08:14 AM Subject: Re: IKJ56228I trying to delete a data set Sent by: IBM Mainframe Discussion List <[email protected]> Did you get an IDC3009I message? That would probably be more helpful What happens when you do a DEL under 3.4? Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Skip Robinson > Sent: Wednesday, June 18, 2014 8:07 AM > To: [email protected] > Subject: IKJ56228I trying to delete a data set > > Cleaning up after a ServerPac install. There are some 'operational' data sets that I > don't want to keep around. One of those is 'SYS1.XCF.CDS03', which lives on the > 'CAT' volume and cataloged in the ServerPac catalog 'MVSR21.ICF.MASTER' on > the same volume. I wrote a simple Rexx to LISTC the data set and, if it exists, > delete it. LISTC shows the data set, DELETE fails as shown. > > I also LISTC and delete the associated alias 'OSR21.SYS1.XCF.CDS03' in the > same catalog. That command worked fine. What am I missing for the data set > delete? I run this Rexx under foreground TSO. > > > 9 *-* "LISTC ENT('"dsn"') CAT('MVSR21.ICF.MASTER')" > >>> "LISTC ENT('SYS1.XCF.CDS03') CAT('MVSR21.ICF.MASTER')" > NONVSAM ------- SYS1.XCF.CDS03 > 13 *-* "DEL '"dsn"' CAT('MVSR21.ICF.MASTER')" > >>> "DEL 'SYS1.XCF.CDS03' CAT('MVSR21.ICF.MASTER')" > IKJ56228I DATA SET SYS1.XCF.CDS03 NOT IN CATALOG OR CATALOG CAN > NOT BE ACCESSED IDC0551I ** ENTRY SYS1.XCF.CDS03 NOT DELETED > IDC0014I LASTCC=8 > +++ RC(8) +++ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
