The client application can send RSPs binary input data using a BIN-format input pipe. The client application specifies the USE PROCEDURE statement using the WITH BINARY DATA option in this command syntax:
To send binary data to an RSP, use this command syntax:
USE PROCEDURE WITH BINARY DATA rspname [keywords or variable text];
....binary data....
The following describes the syntax:
The WITH BINARY DATA clause appends the input file as binary data.
rspname represents the name of the RSP.
A semicolon and carriage return/linefeed must separate the USE PROCEDURE clause from the data.
The RSP assumes all data between the semicolon and the end of the buffer is binary. Because there is no internal formatting in the binary file, the RSP must be able to interpret the data appropriately.
With a BIN-format data pipe, ASCII-EBCDIC conversion does not occur.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |