Translates (exactly) 11 ASCII numeric characters to a 4-byte integer stored most significant byte first. (The source string is not expected to be zero-terminated.) This function can be used for translating ASCII numeric data to the iSeries™ integer format.
cwbDT_Wide11ToBin4
unsigned int CWB_ENTRY cwbDT_ASCII11ToBin4( char *target, char *source);
The following list shows common return values.
The target data will be stored with the Most Significant Byte first. This is the format that the iSeries server uses and is the opposite of the format that is used by the Intel® x86 processors. Valid formats for the ASCII source data are as follows:
" + 123" "- 123 " " +123 " " 123" " -123" "+123 "