HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Receive (cmrcv)
Chapter 3 211
to 0), the
data_received
parameter is set to
CM_COMPLETE_DATA_RECEIVED with the
received_length
parameter set
to 0 (zero).
In a basic conversation in which data is available and the fill
characteristic is set to CM_FILL_LL, the
data_received
parameter is
set to CM_INCOMPLETE_DATA_RECEIVED. If the fill characteristic is set to
CM_FILL_BUFFER, the
data_received
is set to CM_DATA_RECEIVED.
String Translation
The LU does not automatically perform any conversion between
EBCDIC and ASCII on the received string of data before putting it in
buffer.
For Unix If the remote program sends data in EBCDIC, the local program can use
the Convert_Incoming call to convert the received data to ASCII.
For Windows If the remote program sends data in EBCDIC, the local program can use
the CSV CONVERT verb to convert the received data to ASCII. Refer to
the SNAplus2 CSV Programmers Guide for more information.
End of Section