Reverses the order of bytes in a 2-byte integer. This function can be used for translating a 2-byte integer to or from the iSeries™ server format.
None.
unsigned int CWB_ENTRY cwbDT_Bin2ToBin2( char *target, char *source);
The following list shows common return values.
The source data and the target data must not overlap. The following example shows the result of the translation: