home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / 8940 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.6 KB

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