home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!purdue!news.cs.indiana.edu!umn.edu!noc.msc.net!vixvax.mgi.com!gumby.mgi.com!lundell
- Newsgroups: comp.databases
- Subject: SYBASE: Returning results over a network from a 'C' executable.
- Message-ID: <1993Jan8.132118.1@gumby.mgi.com>
- From: lundell@gumby.mgi.com
- Date: 8 Jan 93 13:21:18 CST
- Organization: Management Graphics, Inc.
- Nntp-Posting-Host: gumby.mgi.com
- Lines: 28
-
- Hi,
-
- We are using Sybase as our database server running on an RS6000. The clients are
- PCs running Microsoft Windows. We are able to call stored procedures from the
- clients and receive the result sets just fine. (The client software is being
- developed using Power Builder.)
-
- However, I would like to be able to call a 'C' program directly (via an RPC?)
- from the client and have it return the result set identical to the stored
- procedure. Is this feasible?
-
- My understanding is that Sybase's Open Client/SQL Server sits on top of Sybases
- Net-Lib which is part of the Client/Server Interfaces (CS/I) which handles the
- network connection.
-
- So my guess is that the 'C' program would use say use 'DBLib' to build a
- result set from Sybase. Then, call a net-lib API (w/ the result set in TDS
- format) to control the communications with the client to pass the result
- set back.
-
- Can someone tell me if this (calling a 'C' program as an RPC and returning
- the result back across the network) is even feasible???
-
- Does SYBASE allow developers to interface with their CS/I libraries???
-
- Has anyone ever attempted something similar to this??
-
- Any feedback would be greatly appreciated. Thanks in advance!
-