IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to delete the tape file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jun 17, 2009 10:27 am
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jun 17, 2009 10:57 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts DELETE SPUFI DB2 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts DSNTIAUL driven delete IBM Tools 0
Search our Forums:

Back to Top