View previous topic :: View next topic
|
Author |
Message |
ihatesugar Warnings : 1 New User
Joined: 22 Oct 2006 Posts: 43
|
|
|
|
Hi All,
When i issue a delete command using IDCAMS, even if the dataset is migrated it is deleted instantly and if i try to use IEFBR14 and delete a Dataset by using the DISP=(MOD,DELETE,DELETE), it takes longer as it will recall the dataset and then delete it.
Please help me to know the difference between the two. Is there any difference in this delete process. How does IDCAMS delete the dataset withut recalling. |
|
Back to top |
|
|
ihatesugar Warnings : 1 New User
Joined: 22 Oct 2006 Posts: 43
|
|
|
|
Thanks for the response Murali.
Had a look at the Spool > it says
IDC0896I IDC0896I MIGRATED ENTRY (dataset-name) DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
not sure how to interpret it. Please let me know what do we infer from this. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Verify the source in QW/manual for IDC*. Then try to get more info on the source..... you will understand. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
Verify the source in QW/manual for IDC*. Then try to get more info on the source..... you will understand. |
Murali, remember, not everybody has quickview installed
giving installation dependent samples will generate useless traffic :-)
but...
If I remember correctly in many cases, ( with or without user confirmation )
a DELETE will be converted to an HDELETE..
the difference the between the two cases in the O/P is
that since there is no dd for the dataset
idcams will not go thru jcl allocation ( so no recall )
a iefbr14 step will have a dd for the dataset,
JCL will make thins happen and recall... |
|
Back to top |
|
|
rsa
New User
Joined: 21 Dec 2006 Posts: 2 Location: India
|
|
|
|
Hi Folks,
This works......
//STEP001 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
HDELETE 'XXXX.YYYY.ZZZZ.G0001V00'
HDELETE 'XXXX.YYYY.ZZZZ.G0002V00'
/*
//
This deletes the GDG's & Datasets migrated.
Let me know if you come across any issues.
Thanks,
RSA. |
|
Back to top |
|
|
|