This chapter describes how any CT-Library application can generate remote procedure call (RPC) events. The RPC feature allows a stored procedure to initiate an event in a remote database—that is, to make a remote procedure call.
A client application can invoke an RPC to:
Invoke an external stored procedure
Execute a language statement as an RPC
Execute a transfer request
When Adaptive Server issues an RPC event to the DirectConnect DB2 access service, it tries to establish a connection using the same service name as the identifier for the Adaptive Server in the sql.ini file (Windows), or the interfaces file (UNIX).
Copyright © 2005. Sybase Inc. All rights reserved. |