At 15:25 -0500 on 12/27/2010, Farley, Peter x23353 wrote about How to delete orphaned Data and Index components?:

I have somehow created a data and index component of a VSAM KSDS that are orphaned from the cluster name. The cluster was deleted and re-created and now has differently named data and index components, so I don't think I can "connect" the orphaned components to that cluster name.

All file creation and deletion was done in batch jobs. The orphaned components were created using the LIKE operand in an IEFBR14 step.

Neither TSO delete nor IDCAMS batch delete will allow me to remove the components. IDCAMS complains as follows:

IDC2552I ENTRY TYPE IS INVALID FOR DELETE                      
IDC0551I ** ENTRY HLQC01.HLQC002.HLQ3.HLQ04.ED0399C7 NOT DELETED
IDC2552I ENTRY TYPE IS INVALID FOR DELETE                      
IDC0551I ** ENTRY HLQC01.HLQC002.HLQ3.HLQ04.O19KLAD7 NOT DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8      

The IDC2552I explanation in the Fine Manual only says I can't delete these entry types but doesn't tell me how I *can* delete them.

Is there any way to delete these orphaned components?

TIA for any help, RTFM, etc. you can provide.

Have you tried creating a new cluster (different name) pointing at the orphaned data and index components using the recatalog parm and then if that succeeds, deleting it?

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