Gateway-Library functions provide data conversion and LU 6.2 and TCP/IP communication functions to mainframe application programs. Each Gateway-Library function performs one or more specific task(s) in the communication between a server and a client.
Gateway-Library functions can:
Retrieve and process requests from remote clients or servers
Describe and return results to requesting clients or servers
Manage global and transaction-specific tracing and accounting recording at the mainframe
Open ServerConnect uses the Sybase TDS protocol to transmit data between the mainframe server and Sybase clients. LU 6.2 or TCP/IP calls are embedded within Gateway-Library functions. All your application program needs to do to send and receive data streams is call the appropriate Gateway-Library functions. Because Gateway-Library functions automatically issue the appropriate LU 6.2 or TCP/IP calls, no additional code is needed. You do not need to know the details of TDS or your network protocol to use Gateway-Library functions.
All Gateway-Library functions begin with the letters “TD”. For example, the TDINIT function initializes the Gateway-Library environment, and the TDRCVPRM function retrieves the data from a parameter in a call sent by a remote client.
The complete set of Gateway-Library functions is included on the product tapes. The program stubs that load and call the Gateway-Library functions are also included. For a list and description of all Gateway-Library functions, see Table 3-1 in Chapter 3, “Functions.”
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |