Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8657
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: 8657
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: 8657
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
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts Tape file issue abdulrafi JCL & VSAM 2 Thu Feb 08, 2018 12:01 pm
No new posts Image copy after Online reorganization. lind sh IMS DB/DC 0 Tue Jan 30, 2018 9:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us