Understanding CSA command formats  Using the SQLDA

Chapter 2: Designing a CSA

Using RESCHECK and GETMSG

You should always include RESCHECK and GETMSG commands after the REQEXEC to ensure that you receive all error messages generated during processing. RESCHECK determines whether or not there are messages and result rows (OPENPIPE and GETPIPE retrieve the result rows), and GETMSG retrieves the messages.

For more information on the CSA commands, their formats and results, see Appendix A, “CSA Commands.”





Copyright © 2005. Sybase Inc. All rights reserved. Using the SQLDA

View this book as PDF