By now you should have:
Reviewed the RSP commands
Reviewed one of the four sample RSPs provided in the appendixes
Reviewed Chapter 2, “Designing an RSP”
Gathered requirements for and designed your RSP, determining:
The processing to be done by both the client application and the RSP
The type of data (character or binary) to transmit
The types of data pipes (input or output) to use
The format of data to transmit through those data pipes (STD or DB2)
Whether you need to use a SQLDA definition (if you are using DB2 format)
You may find it helpful to use existing data definitions or data access code from other programs. Some of the programming tasks involved in writing RSPs are as follows:
Defining input and output data pipes
Using the provided RSP commands, such as MESSAGE and STATUS, whenever appropriate (see Appendix A, “RSP Commands” for details)
Accessing the SPAREA, which the RSP shares with MainframeConnect
Specifying keyword and variable handling
Specifying error handling
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |