View previous topic :: View next topic
|
Author |
Message |
ash250980 Warnings : 1 New User
Joined: 16 Jun 2009 Posts: 5 Location: India
|
|
|
|
Hi All,
I am trying to delete a DASD Dataset which is in MIGRATE status using IDCAMS but got foolowing error in SYSOUT
IDC3014I CATALOG ERROR
IDC3007I ** VSAM CATALOG RETURN CODE IS 38
IDC0551I ** ENTRY SS6116.M144632.B611251B.TEST.DATA1 NOT DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8
The command used is
DELETE SS6116.M144632.B611251B.TEST.DATA1
I have also tried deleting the file multiple time but got same error.
Please provide me an alternative solution to delete the datasets. I have around 1200 datasets to be deleted which are in same status.
Thanks & Regards
Ashraf |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
It's something that you should speak to your storage management team about. It seems that the datasets MAY have been deleted in HSM but the catalog entry still remains.
If this is the case, DELETE NOSCRATCH would be the best solution, but, if the HSM entities do still exist, without consulting your storage management team you may possibly cause more problems than you think you have resolved. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
SS6116.M144632.B611251B.TEST.DATA1 is the cluster name? |
|
Back to top |
|
|
ash250980 Warnings : 1 New User
Joined: 16 Jun 2009 Posts: 5 Location: India
|
|
|
|
Hi All,
S6116.M144632.B611251B.TEST.DATA1 is a NON-VSAM DASD file (PS).
The problem was resolved. The datasets were created with EXPIRY DATE in future. So I issued the DELETE command with PURGE option. The datasets were deleted.
But there are few datasets whose entries are not found in VSAM CATALOG but they are found in ISPF 3.4 Dataset Listing.
I think the CATALOG files were not updated. Please let me know if my understanding is correct. |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
Ashraf,
Were you able to delete any migrated dataset other than the one you've specified, using the process you've followed? If yes, the dataset could be cluster name as Dick suggested. If you are not able to delete any migrated dataset with your process , try this.
Code: |
//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
HDELETE ('SS6116.M144632.B611251B.TEST.DATA1 ') NOWAIT
/*
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
ash250980 wrote: |
I am trying to delete a DASD Dataset which is in MIGRATE status using IDCAMS but got following error in SYSOUT |
Confusion ON
Is this a DASD dataset or a migrated dataset.
Does the dataset reside on DASD but has a catalog entry as MIGRAT. Please clarify.
Confusion still ON |
|
Back to top |
|
|
|