SPINTO and SPFROM  Client application processing

Appendix C: RSP3C STD Input and Output Pipe Sample RSP

Specifying error handling

RSP3C handles status and messages the same way MODELRSP does. It uses three SPAREA fields to communicate status and messages to MainframeConnect: SPRC, SPSTATUS, and SPMSG. See “SPAREA definitions” for a description of how they are used.

NoteYour code should always check the SPRC field after issuing any RSP command. See “Specifying error handling” for more information on error handling.





Copyright © 2005. Sybase Inc. All rights reserved. Client application processing

View this book as PDF