Appendix B: MODELRSP DB2 Output Pipe Sample RSP  The SPAREA in MODELRSP

Appendix B: MODELRSP DB2 Output Pipe Sample RSP

Understanding MODELRSP

MODELRSP is a RSP sample COBOL II program that provides examples of:

In the MODELRSP example, keyword variables, variable text, or data are not sent as input to the RSP. The sample program is shown in its entirety. The program also contains many in-line comments (denoted with standard asterisks) to explain the flow of processing and clarify points.

For simplicity, the example does not include database access code. Instead, it sends 11 columns of employee data to illustrate 11 types of data you can transmit to the client application.





Copyright © 2005. Sybase Inc. All rights reserved. The SPAREA in MODELRSP

View this book as PDF