The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

In SQL Anywhere 11.0.1 the "MESSAGE ... FOR CONNECTION ... IMMEDIATE" syntax was added which allowed a second connection to receive a message promptly without needing to be making requests.
It is impossible to register the ODBC message callback function from PowerBuilder (see, please, http://sybase.public.sqlanywhere.general.narkive.com/Uh4GdI5g/implementing-database-push ).
Perhaps such a "callback" is feasible, for example, using external libraries for PB12.x ?

asked 21 Feb '13, 06:00

Ilia63's gravatar image

Ilia63
706252947
accept rate: 16%


PowerScript does not support callbacks but the PowerBuilder Native Interface (PBNI) should. I have no experience with PBNI so I cannot confirm but perhaps you can raise a question in a PowerBuilder forum asking how to implement callbacks in PBNI. Historically, we have suggested creating a DLL that implements the callback and PB can call into the DLL to check for the return from the callback.

permanent link

answered 21 Feb '13, 10:41

Chris%20Keating's gravatar image

Chris Keating
2.4k1444
accept rate: 22%

edited 21 Feb '13, 11:45

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34

question asked: 21 Feb '13, 06:00

question was seen: 2,324 times

last updated: 21 Feb '13, 11:45