I'm wondering if it's because MESSAGE can optionally prompt for input, and 
because the call statement is executed from the jsp page via executeQuery - 
maybe it won't allow input inside a query (similar to the rule about input 
inside a transaction).

Perhaps if I execute a PHANTOM command to perform the MESSAGE commands in a 
different process - maybe that would work.



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Womack, Adrian
Sent: Wednesday, 30 June 2010 9:18 AM
To: 'U2 Users List'
Subject: [U2] UniJDBC calling UV subroutine: MESSAGE command limitations?

We have a jsp page that calls a Universe subroutine using that method detailed 
in the JDBC manual, this works as expected and the subroutine completes it's 
task successfully.

Also from a separate phantom process for certain important events we have some 
code that sends a splat message to line 23 of specific users' sessions (this 
uses the Universe MESSAGE command) -this also works fine.

We're now trying to get the subroutine called via JDBC to also use the MESSAGE 
command. But each time it throws this error message into the uv errlog: "root 
VOC entry "MESSAGE" illegal as or in a procedure."

Does anyone know what's wrong here? I've looked through the manuals and the 
help and can't find any mention of this particular restriction.



Thanks,
Adrian











DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to