Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

NEED TO COPY SET OF DATASETS IN TAPE TO DISK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hariharan4

New User


Joined: 06 Aug 2008
Posts: 22
Location: chennai

PostPosted: Thu Jul 23, 2009 11:41 am    Post subject: NEED TO COPY SET OF DATASETS IN TAPE TO DISK
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 23, 2009 11:46 am    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Jul 23, 2009 12:18 pm    Post subject: Reply to: NEED TO COPY SET OF DATASETS IN TAPE TO DISK
Reply with quote

Hari,

Try using HDELETE for deleting migrated datasets without recalling.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 23, 2009 12:29 pm    Post subject:
Reply with quote

IDCAMS DELETE will automatically switch to HDELETE if it detects that the dataset is migrated, and delete the dataset without recall
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Jul 23, 2009 12:39 pm    Post subject: Reply to: NEED TO COPY SET OF DATASETS IN TAPE TO DISK
Reply with quote

Thanks Expat.

Shared it as HDELETE is a TSO command and OP can just use it instead of coding a JCL.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Jul 23, 2009 12:42 pm    Post subject: Reply to: NEED TO COPY SET OF DATASETS IN TAPE TO DISK
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 23, 2009 12:47 pm    Post subject:
Reply with quote

Also, please see THIS thread for a little utility that I have posted previously to do exactly what you want.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Jul 23, 2009 12:54 pm    Post subject: Reply to: NEED TO COPY SET OF DATASETS IN TAPE TO DISK
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us