Purpose
Get the value of the convert flag for a
data handle. The convert flag determines if data sent to and recieved from
the host is CCSID converted (for example, between ASCII and EBCDIC).
Syntax
unsigned int CWB_ENTRY cwbDQ_GetConvert(
cwbDQ_Data data,
cwb_Boolean *convert);
Parameters
- cwbDQ_Data data - input
- Handle of the data object that was returned by a previous call to cwbDQ_CreateData.
- cwb_Boolean * convert - output
- Pointer to a Boolean where the convert flag will be written.
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWB_INVALID_POINTER
- Bad or null pointer.
- CWBDQ_INVALID_DATA_HANDLE
- Invalid data handle.