HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Set_Log_Data (cmsld)
Chapter 3 267
Usage Notes
If the
return_code
is not CM_OK, the
log_data
and
log_data_length
conversation characteristics are unchanged.
The log data specified by the Set_Log_Data call is sent to the partner LU
when the local program issues one of the following calls:
• Send_Error
• Deallocate with the conversation's
deallocate_type
set to
CM_DEALLOCATE_ABEND
• Send_Data with the conversation's
send_type
set to
CM_SEND_AND_DEALLOCATE and the
deallocate_type
set to
CM_DEALLOCATE_ABEND
After sending the log data to the partner LU, the local LU resets the log
data to null and the log data length to 0 (zero).
CPI-C automatically converts the log data from ASCII to EBCDIC as
required.