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
 

 

How to delete the tape file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Sahana.k.gowda

New User


Joined: 17 Jun 2009
Posts: 4
Location: Mysore

PostPosted: Wed Jun 17, 2009 10:19 am    Post subject: How to delete the tape file
Reply with quote

Hi,
I tried deleting the tape file using the below JCL:
//JS010 EXEC PGM=IEFBR14
//DEL1 DD DSN=abc.xyz,
// DISP=(OLD,DELETE,DELETE)

The job was submitted successfully and the file was Uncataloged.
But if i go into CA1 and look in the UNcataloged for the file, then the file is still holding the volume. It has not released it yet. So how to make the file release volume.
Please help me in solving this.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jun 17, 2009 10:27 am    Post subject: Reply to: How to delete the tape file
Reply with quote

tape datasets gets <deleted> when the tape is returned to the scratch pool
Back to top
View user's profile Send private message
Sahana.k.gowda

New User


Joined: 17 Jun 2009
Posts: 4
Location: Mysore

PostPosted: Wed Jun 17, 2009 10:45 am    Post subject: Re: Reply to: How to delete the tape file
Reply with quote

enrico-sorichetti wrote:
tape datasets gets <deleted> when the tape is returned to the scratch pool


It is getting Uncataloged. If i try to see the file, then i get a message file not found. But still it is having the volume on which it was stored.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jun 17, 2009 10:57 am    Post subject: Reply to: How to delete the tape file
Reply with quote

the only way to solve it is for You to understand the tape handling logic,

a tape dataset will be on the physical tape until the tape gets written over
even when using a tape management system tapes returned to the scratch pool still contain data,
and the data can still be accessed outside the TMS
Back to top
View user's profile Send private message
Sahana.k.gowda

New User


Joined: 17 Jun 2009
Posts: 4
Location: Mysore

PostPosted: Wed Jun 17, 2009 11:03 am    Post subject: Re: Reply to: How to delete the tape file
Reply with quote

enrico-sorichetti wrote:
the only way to solve it is for You to understand the tape handling logic,

a tape dataset will be on the physical tape until the tape gets written over
even when using a tape management system tapes returned to the scratch pool still contain data,
and the data can still be accessed outside the TMS


Oh ok. Thank you
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 -> COBOL Programming 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 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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm


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