Client application processing  Returning results to the client application

Appendix C: RSP3C STD Input and Output Pipe Sample RSP

Invoking from the client application (ISQL)

The following ISQL invokes RSP3C:

C:\DIRECTCONNECT>> isql -Sdcservice -Uuserid 
1 USE PROCEDURE WITH DATA RSP3C ;
2 THIS IS THE FIRST STRING OF DATA
3 AND THIS IS THE SECOND RECORD OF DATA
4 AND THIS IS THE THIRD AND SO ON
5 ;
6 GO

The USE PROCEDURE statement includes a WITH DATA clause preceding the RSP name. WITH DATA indicates that ISQL should send the ASCII format data following the USE PROCEDURE statement to the RSP.





Copyright © 2005. Sybase Inc. All rights reserved. Returning results to the client application

View this book as PDF