I think something like this has been discussed before.

Why not remove the alias, delete the dataset then define the alias
again?

Alan

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Ten Eyck
Sent: Sunday, November 30, 2008 07:18 
To: IBM-MAIN@bama.ua.edu
Subject: VSAM delete issue

I have a VSAM dataset that I am having trouble deleting.
It is cataloged in the master catalog, the master catalog
has an ALIAS for the high level qualifier of the dataset
pointing to a user catalog. I have tried a number of batch
IDCAMS jobs, getting results like:

  DEL  CICS.TEST.CMT.BATSTAT3 -                                        
  CATALOG(CATALOG.ZOS.V17CT1)                                          
IKJ56228I DATA SET CICS.TEST.CMT.BATSTAT3 NOT IN CATALOG OR 
CATALOG CAN
IKJ56228I NOT BE ACCESSED                                              
IDC3014I CATALOG ERROR                                                 
IDC3007I ** VSAM CATALOG RETURN CODE IS 240                            
IDC0551I ** ENTRY CICS.TEST.CMT.BATSTAT3 NOT DELETED                   
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 
8              


Dataset information below:


Master Catalog ALIAS:

 LISTCAT ALL ALIAS ENT(CICS)                                           
ALIAS --------- CICS                                                   
     IN-CAT --- CATALOG.ZOS.V17CT1                                     
     HISTORY                                                           
       RELEASE----------------2                                        
     ASSOCIATIONS                                                      
       USERCAT--CATALOG.CICICF1.VM03CAT                                
       
Listct of VSAM:

 LISTCAT ALL ENT(CICS.TEST.CMT.BATSTAT3)                               
CLUSTER ------- CICS.TEST.CMT.BATSTAT3                                 
     IN-CAT --- CATALOG.ZOS.V17CT1                                     
     
P.3.4 screen:

CICS.TEST.CMT.BATSTAT3                                         *VSAM*
CICS.TEST.CMT.BATSTAT3.DATA                                    B90311
CICS.TEST.CMT.BATSTAT3.INDEX                                   B90311  

Note: B90311 is a SMS volume

----------------------------------------------------------------------
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