Translates data from packed decimal format to ASCII packed format. This function can be used for translating data from the iSeries™ server for use in ASCII format.
None.
unsigned int CWB_ENTRY cwbDT_PackedToASCIIPacked( char *target, char *source, unsigned long length);
The following list shows common return values.
The caller must make sure that there is adequate space to hold the target information. This function checks that each half-byte of the packed decimal data is in the range of 0 to 9. The only exception is the last half-byte which contains the sign indicator (which can be 0-9, 0xd, or 0xb).