View previous topic :: View next topic
|
Author |
Message |
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi All,
If we use IDCAMS to delete a migrated dataset(migrated to tape), IDCAMS log says that the dataset has been deleted.
Code: |
IDC0896I MIGRATED ENTRY XK89.COUPON.PD9 DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0 |
But the migrated dataset was not recalled, it was deleted directly w/o recalling.
If we use any other utility like IEBGENER to delete, it recalls the dataset and deletes it.
I was surprised that IDCAMS deleted the dataset in no time.
If IDCAMS is just deleting the catalog entry alone, then physically the dataset will be present in tape.
I assume that the tape was not touched in this deletion process(I may be wrong here)
How will mainframes understand that the tape is free now?
Is using IDCAMS deletion recommended?
Thanks in advance, |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, use IDCAMS to delete migrated datasets rather than anything else that causes a recall.
When IDCAMS deletes the catalog entry and sees that the dataset is migrated, it further signals to HSM to delete the MCDS D record which removes the entry from HSM.
The tape is not always made "FREE" by deleting a single dataset as HSM stores many datasets onto one tape volume. Until the tape is recycled by HSM it will not be made available to the scratch pool, well not unless some fool does a DELVOL PURGE on the volume |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Many thanks Expat for your time.
To be honest I did not understand all the contents of the previos reply.
Cos im not aware about space management.
This is enough for me
Quote: |
Yes, use IDCAMS to delete migrated datasets rather than anything else that causes a recall. |
If Hierarchial Space Management is aware that the dataset is deleted then
its good |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Vasanth,
Quote: |
To be honest I did not understand all the contents of the previos reply. |
As time goes on, you will
d |
|
Back to top |
|
|
|