View previous topic :: View next topic
|
Author |
Message |
hariharan4
New User
Joined: 06 Aug 2008 Posts: 22 Location: chennai
|
|
|
|
Hi,
I have a requirement of deleting the datasets which is in TAPE. since i cannot delete the datasets in TAPE directly, first i have to move all the datasets from TAPE to DISK and then we can delete those datasets.
can anyone help me by any UTILITY so that all the datasets in TAPE are converted to DISK in one shot and then using IDCAMS we can delete those datasets.
Thanks in Advance
Hari |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please explain what you mean by "cannot delete the datasets on tape"
IDCAMS DELETE will work for tapes as well as DASD.
The tapes may be under special retention, in which case you will need to talk to your storage management people to do the required. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Hari,
Try using HDELETE for deleting migrated datasets without recalling. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
IDCAMS DELETE will automatically switch to HDELETE if it detects that the dataset is migrated, and delete the dataset without recall |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Thanks Expat.
Shared it as HDELETE is a TSO command and OP can just use it instead of coding a JCL. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Hari,
Quote: |
first i have to move all the datasets from TAPE to DISK and then we can delete those datasets.
|
Need explanation on "all". Do you want to delete all the datasets from tape?
If there are any common qualifiers in the datasets, then you can write a REXX exec to get the expanded list and then using IDCAMS/TSO HDELETE to delete the same. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Also, please see THIS thread for a little utility that I have posted previously to do exactly what you want. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Quote: |
Also, please see THIS thread for a little utility that I have posted previously to do exactly what you want.
|
Thanks.
Hari,
This is one good example to prove that everything is available in this forum and all you need is to SEARCH |
|
Back to top |
|
|
|