dbTalk Databases Forums  

Status messages to console window

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Status messages to console window in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David
 
Posts: n/a

Default Status messages to console window - 12-01-2009 , 10:58 AM






My current SQL Anywhere version is 11.0.1.2331.

When executing the following statement

MESSAGE String (oper1, oper2)
TYPE STATUS TO CONSOLE DEBUG ONLY;

These messages do not appear in what I believe is the console window. I
am under the belief that the console window is the window opened from
the Systools lightening icon (the server itself). Switching these
messages from STATUS to INFO permits them to appear. Is there a reason
for this behavior that does not appear to be documented or am I not
understanding the location of the console window correctly?

Reply With Quote
  #2  
Old   
David
 
Posts: n/a

Default Re: Status messages to console window - 12-01-2009 , 12:52 PM






I just tried reversing the process undoing my change -- apparently I
failed to save a file meaning my reload of the database failed to
activate the code. You are correct my apology for the erroneous report.



Jeff Albion [Sybase iAnywhere] wrote:
Quote:
Hi David,

I just tried this on 11.0.1.2331:

====
SET OPTION PUBLIC.debug_messages = 'On';
MESSAGE STRING('Hello', ' World') TYPE STATUS TO CONSOLE DEBUG ONLY;
====

This correctly showed "Hello World" on the console window (the window
you correctly identified) for me.

Are you using debug_messages = 'On' as described in the documentation?
http://dcx.sybase.com/index.php#1101...statement.html


Regards,

David wrote:
My current SQL Anywhere version is 11.0.1.2331.

When executing the following statement

MESSAGE String (oper1, oper2)
TYPE STATUS TO CONSOLE DEBUG ONLY;

These messages do not appear in what I believe is the console window.
I am under the belief that the console window is the window opened
from the Systools lightening icon (the server itself). Switching
these messages from STATUS to INFO permits them to appear. Is there a
reason for this behavior that does not appear to be documented or am I
not understanding the location of the console window correctly?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.