View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
msg = msg('off')
regards,
martin9 |
|
Back to top |
|
|
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
Hi Martin,
I tried with this command but stilli am getting the message |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
What are you doing that generates that response? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suppressing the message does not sound like a proper solution. . .
Suggest you consider fixing the code . . . |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'm probably missing something, but why invalidly free something that is not allocated
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 |
|
|
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome - thanks for posting that is runs as desired now
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
d |
|
Back to top |
|
|
|