This appendix contains five Open ServerConnect application programs:
A sample application that processes a LAN-side RPC from the Open Client DB-Library
A sample cursor application
A sample application that receives parameters up to 55 bytes in length and echoes them back in 55 byte rows
A sample application that receives one of two keywords, @ERRORMSG or @WARNMSG and other keywords, and then replies with the keywords and data
A sample application that receives a text input string (10,000 bytes) and returns it in a 50-byte column, one row at a time
The purpose of these sample programs is to demonstrate the use of Gateway-Library functions, particularly those designed to handle remote procedure calls from a client. In some cases, one Gateway-Library function is used for demonstration purposes when another function would be more efficient. In order to best illustrate the flow of processing, the programs do limited error checking.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |