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

Global Moderator


Joined: 14 Mar 2007
Posts: 10358
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: 10358
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 Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 1 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am

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