Christian D wrote:

>Is there a difference in using the utility IEFBR14 and IDCAMS in deleting VSAM 
>cluster Dataset ?

Absolutely! You use IDCAMS to manage VSAM datasets. IEFBR14 just simply 'does 
nothing'. 

>I used to Delete the Cluster Before using IEFBR14 before but now it fails.

Of course it will fail.

>//DEL   EXEC PGM=IEFBR14
>//TS        DD  DISP=(MOD,DELETE),UNIT=SYSDA,SPACE=(TRK,(0)),
>//   DSN=CHRIS.TESTING.DB2.LL1

It is NOT IEFBR14 which caused the failure, but the system handling the DD 
statements.

>doesn't clear data set but raise
>IGD17105I CATALOG ERROR WHILE DELETING DATA SET  730
>CHRIS.TESTING.DB2.LL1
>RETURN CODE IS 84 REASON CODE IS 0 IGG0CLFK

Of course, if you do something not supported, you will break things.

>The Deletion works well with IDCAMS but not with IEFBR14.

This is WAD. Just use IDCAMS to manage your VSAM datasets and the catalogs.

Now, you will have to examine the catalog(s) and the VTOC, VVDS, volsers to 
make sure you have not broken something.

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to