IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IKJ56247I FILE OUTFILE NOT FREED, IS NOT ALLOCATED


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Fri Mar 13, 2009 1:44 pm
Reply with quote

Hi Friends,

Could any one hep me on how to avoid this message i.e turn off this message.

There are some previous post's on this , but i was not able to get the exact details on what needs to be done


Thanks
Prasad
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 13, 2009 3:02 pm
Reply with quote

msg = msg('off')

regards,
martin9
Back to top
View user's profile Send private message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Fri Mar 13, 2009 5:20 pm
Reply with quote

Hi Martin,

I tried with this command but stilli am getting the message
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Mar 13, 2009 9:16 pm
Reply with quote

What are you doing that generates that response?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 13, 2009 10:08 pm
Reply with quote

Hello,

Suppressing the message does not sound like a proper solution. . .

Suggest you consider fixing the code . . .
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Mar 15, 2009 7:15 pm
Reply with quote

sivatechdrive wrote:
Hi Martin,

I tried with this command but stilli am getting the message

It is the command.
I suggest you try again, but this time put the line before the FREE command (the one that generates the message).

After the FREE, you may want to restore the msg status by issuing a call msg(msg)
Finally, as I don't like to use same name for variables and commands, I would code:
Code:
SaveMsgStatus = msg('off')
"FREE F(OUTFILE)"
call msg(SaveMsgStatus)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 15, 2009 11:28 pm
Reply with quote

Hello,

I'm probably missing something, but why invalidly free something that is not allocated icon_confused.gif

Seems like coding with this inattention to detail might cause problems in all sorts of places. . .

As a mentioned, i'm probably missing something, but the concept of "i didn't write the code correctly, so i'll hide the error message" should not be encouraged. . . imho.
Back to top
View user's profile Send private message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Mon Mar 16, 2009 8:55 am
Reply with quote

Hi Friends,

Thanks for all the Suggestions .

Earlier i made a mistake , I placed msg('off') after the FREE command

The message is not displayed when msg('off') is used befro FREE command
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 16, 2009 9:13 am
Reply with quote

You're welcome - thanks for posting that is runs as desired now icon_smile.gif

I am curious why it is more desirable to change the code so the incorrect FREE will not show a message rather than implementing the code such that there is no message to suppress icon_question.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top