|
Open ServerConnect Programmer's Reference for COBOL
|
Appendix B
Sample RPC Application for CICSThis appendix contains five Open ServerConnect application programs:
- Sample Program SYCCSAR2
A sample application that processes a LAN-side RPC from the Open Client DB-Library
- Sample Program SYCCSAU2
A sample cursor application
- Sample Program SYCCSAW2
A sample application that receives parameters up to 55 bytes in length and echoes them back in 55 byte rows
- Sample Program SYCCSAY2
A sample application that receives one of two keywords, @ERRORMSG or @WARNMSG and other keywords, and then replies with the keywords and data
- Sample Program SYCCSAZ2
A sample application that receives a text input string (10,000 bytes) and returns it in a 50 byte column one row at a time
The purpose of these sample programs is to demonstrate the use of Gateway-Library functions, particularly those designed to handle remote procedure calls from a client. In some cases, one Gateway-Library function is used for demonstration purposes when another function would be more efficient. In order to best illustrate the flow of processing, the programs do limited error checking.