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 free a file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
sriramvempaty

New User


Joined: 02 Aug 2007
Posts: 18
Location: india

PostPosted: Mon Mar 17, 2008 11:30 am    Post subject: How to free a file?
Reply with quote

Hi,
I ran debugger and in between i came out of debugger when my input file is in OPEN state. When i tried running debugger again i'm getting error as DATA SET IS OPEN. Can anybody tell me how to free this file.(i think there is command FREE.... to free the file).
Back to top
View user's profile Send private message

agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Mon Mar 17, 2008 3:04 pm    Post subject:
Reply with quote

Yes you are right.
TSO FREE DA('your file name')

You can use TSO ISRDDN panel to see your file allocated there and free it interactively.
Back to top
View user's profile Send private message
sriramvempaty

New User


Joined: 02 Aug 2007
Posts: 18
Location: india

PostPosted: Wed Mar 19, 2008 9:09 am    Post subject: Reply to: How to free a file?
Reply with quote

Hi,

As u said i tried both the options but didn't worked out.
As a temporary solution every time i face the problem i'm reconnecting to mainframe and my dataset is getting unallocated.
Are there anyother ways thru which we can unallocate the dataset?

Thanks,
sriram.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Wed Mar 19, 2008 2:55 pm    Post subject:
Reply with quote

try this option..on cmd option 6 in ISPF

TSO FREE FI(SYSEXEC) DA(YOUR.DSN.REXX') SHR

SYSEXEC - DDNAME as said before get from TSO ISRDDN
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Mar 19, 2008 4:34 pm    Post subject: Reply to: How to free a file?
Reply with quote

The main point is that ...
You cannot free a dataset if it is open

review Your operating procedure in order to leave Your debugging session in a good state
( all files closed )
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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