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
 
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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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 To remove spaces from a VB file using... Selvarajars DFSORT/ICETOOL 5 Thu Jun 21, 2018 6:57 pm
No new posts B059 PREMATURE END OF FILE mvmadhuvenkatesh CA Products 5 Tue Jun 19, 2018 10:50 am
No new posts Formating output file Niki DFSORT/ICETOOL 3 Fri Jun 15, 2018 3:27 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts How to delete large data. Mounika Nemani DB2 1 Wed Jun 13, 2018 1:58 pm

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