SYCTSAT5 - sample language request  Sample program – SYCTSAR5


Appendix B: Sample RPC Application

This appendix contains a sample Open ClientConnect application program, Sample program – SYCTSAR5, that sends an RPC to an Adaptive Server Enterprise or Open ServerConnect running in a CICS/IMS region.

The purpose of this sample program is to demonstrate the use of Client-Library functions, particularly those designed to send RPC requests. In some cases, one Client-Library function is used for demonstration purposes when another function would be more efficient. In order to best illustrate the flow of processing, the program does not do extensive error checking.

The remote procedure or transaction initiated by this RPC is called SYR2, which uses data from the sample table SYBASE.SAMPLETB.

SYCTSAR5 is provided as part of the Open ClientConnect package on the API tape.

NoteThe following additional sample programs are provided as part of the Open ClientConnect package on the API tape:





Copyright © 2005. Sybase Inc. All rights reserved. Sample program – SYCTSAR5

View this book as PDF