HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

CPI-C Calls
Convert_Outgoing (cmcnvo)
Chapter 3148
! # $ @ \ { } ~
` (backward quotation mark)
| (solid vertical bar)
<FmSdata>[brvbar] (broken vertical bar)
¬ (NOT character)
¢ (cent)
The contents of this string (up to the number of
characters specified in
string_length
) will be
replaced by the EBCDIC string resulting from the
conversion.
string_length
This is the number of characters to be converted
(132,767).
Returned Parameters
After the verb executes, SNAplus2 returns parameters to indicate
whether the execution was successful and, if not, to indicate the reason
the execution was unsuccessful.
string
This is the EBCDIC string resulting from the
conversion. This is valid up to the numberof characters
specified in
string_length
.
return_code
Possible values are:
CM_OK The call executed successfully. The
string parameter now contains the
converted EBCDIC string.
CM_PROGRAM_PARAMETER_CHECK The
buffer_length
parameter specified a value that was
not valid.
CM_PRODUCT_SPECIFIC_ERROR For an explanation of
this return code, see Appendix A,
“Common Return Codes.
State When Issued
This call is not associated with a conversation.