View previous topic :: View next topic
|
Author |
Message |
nayak
New User
Joined: 13 Jul 2005 Posts: 37
|
|
|
|
Hi ALL,
I tried FREE DA('ABC') ...but iam unable to unalloc it because that dataset was open .
But my requirement is to unalloc it , is there any way to overcome this situation ..without logging off from the session
Thx |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What are you using the dataset for ??? |
|
Back to top |
|
|
nayak
New User
Joined: 13 Jul 2005 Posts: 37
|
|
|
|
Hi,
My actual problem is, Iam invoking a Rexx exec thru another Rexx.
Rexx1 --> Executes Rexx 2 . In rexx2 iam allocating a lib to sysexec and now it is allocated.
When iam trying to execute again the Rexx1--> executes rexx2 .. here the problem occurs .. it is again trying to allocate one more .. time ...As the lib was already allocated ,it fails to allocate again. I tried Free that dataset before it allocates . but it says it was open unable to unallocate the dataset . Is there any way to handle the open dataset and to by pass this particular allocation when it is trying to allocates for the second time
is there any way to overcome this .. situation |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Take a look at ALTLIB (and I wish I had a euro for everytime that this has been mentioned).
Use ALTLIB in the main EXEC only once at the start, and then once at the end to reset the additional allocations.
So much cleaner and easier tha doing "hard" changes to already allocated ISPF dd names. |
|
Back to top |
|
|
|