Appendix A: Sample Language Application

This appendix contains a sample Open ClientConnect application, SYCTSAA6, that sends a language request to an Adaptive Server Enterprise. It retrieves information from a table, SYBASE.SAMPLETB, on the target server.

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

This sample application is part of the Open ClientConnect package. The Transaction Router Service (TRS) administrator can create the table SYBASE.SAMPLETB on that server with a script provided with TRS.

An additional sample application, SYCTSAL6, is provided as part of the Open ClientConnect package. It demonstrates how to send a language request to either Open ServerConnect or Adaptive Server Enterprise. The table SYBASE.SAMPLETB is provided with Open ServerConnect.