View previous topic :: View next topic
|
Author |
Message |
sriramvempaty
New User
Joined: 02 Aug 2007 Posts: 18 Location: india
|
|
|
|
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 |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
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 |
|
|
sriramvempaty
New User
Joined: 02 Aug 2007 Posts: 18 Location: india
|
|
|
|
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 |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
|