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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am


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