|
Home > Archive > SQL Anywhere database > December 2005 > MESSAGE statement for CLIENT TO ALL?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
MESSAGE statement for CLIENT TO ALL?
|
|
| wilf silversides 2005-12-29, 8:23 pm |
| I am using ASA 9.0.0.1108
Scanning the newsgroup I saw the following suggestion for broadcasting
information to all connected clients:
> ASA SQL Reference
> SQL Statements
> MESSAGE statement
>
> Online:
>
http://www.ianywhere.com/developer/...n9/00000443.htm
I tried to use the form:
MESSAGE 'HELLO WORLD' TYPE INFO TO CLIENT FOR ALL;
This gives a syntax error. It is accepted if I remove the FOR ALL clause.
I cannot find the equivalent syntax in my installation documentation
(WinHelp, HTMLHelp or PDF). I looked in my ASA8 installation too, but found
nothing.
The header files provided by my installation do not give a define for
ASA_REGISTER_MESSAGE
_CALLBACK as shown in the online help.
Is this syntax/usage valid only for 9.02?
thanks in advance.
| |
| wilf silversides 2005-12-29, 8:23 pm |
| No need to answer.
Just read the upgrade information to 9.0.1. Yes, that is where the extra
functionality was added. Neat stuff!
Need to talk to our Sybase rep about a 9.0.2 CD.
"wilf silversides" < wsilversides@fdmsoft
.com> wrote in message
news:43b4642a$1@foru
ms-2-dub...
> I am using ASA 9.0.0.1108
>
> Scanning the newsgroup I saw the following suggestion for broadcasting
> information to all connected clients:
>
>
http://www.ianywhere.com/developer/...n9/00000443.htm
>
> I tried to use the form:
> MESSAGE 'HELLO WORLD' TYPE INFO TO CLIENT FOR ALL;
>
> This gives a syntax error. It is accepted if I remove the FOR ALL clause.
>
> I cannot find the equivalent syntax in my installation documentation
> (WinHelp, HTMLHelp or PDF). I looked in my ASA8 installation too, but
found
> nothing.
>
> The header files provided by my installation do not give a define for
> ASA_REGISTER_MESSAGE
_CALLBACK as shown in the online help.
>
> Is this syntax/usage valid only for 9.02?
>
> thanks in advance.
>
>
| |
| Reg Domaratzki 2005-12-29, 8:23 pm |
| According to the v900 documentation at
http://download.sybase.com/pdfdocs/...0e/dbrfen9.pdf, the syntax of the
MESSAGE statement does not include the FOR ALL clause. I'm pretty sure at
v900 it defaults to all clients, but I'm not positive.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Certified SQL Anywhere Associate
Please reply only to the newsgroup
ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL and click "GO"
"wilf silversides" < wsilversides@fdmsoft
.com> wrote in message
news:43b4642a$1@foru
ms-2-dub...
> I am using ASA 9.0.0.1108
>
> Scanning the newsgroup I saw the following suggestion for broadcasting
> information to all connected clients:
>
>
http://www.ianywhere.com/developer/...n9/00000443.htm
>
> I tried to use the form:
> MESSAGE 'HELLO WORLD' TYPE INFO TO CLIENT FOR ALL;
>
> This gives a syntax error. It is accepted if I remove the FOR ALL clause.
>
> I cannot find the equivalent syntax in my installation documentation
> (WinHelp, HTMLHelp or PDF). I looked in my ASA8 installation too, but
found
> nothing.
>
> The header files provided by my installation do not give a define for
> ASA_REGISTER_MESSAGE
_CALLBACK as shown in the online help.
>
> Is this syntax/usage valid only for 9.02?
>
> thanks in advance.
>
>
|
|
|
|
|