Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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
1.2k515782
accept rate: 44%


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
7.8k49128
accept rate: 32%

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:

×39

question asked: 21 Feb '13, 06:00

question was seen: 4,195 times

last updated: 21 Feb '13, 11:45