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: 10292
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: 10292
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 editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm


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