Page 1 of 1

Is it possible to write unpacked decimal data into CFF?

Posted: Thu Jun 26, 2008 9:58 pm
by vrishabhsagar
I am trying to map a decimal column into a complex flat file, however i notice that the layout of the file shows the column being stored in packed decimal format with storage length less than the actual length of the column.

Is it possible to write a decimal column into a complex flat file, without actually packing it? One solution that comes to my mind is to write the column as a CHAR field and take care of the 'numeric' semantics of the column ourselves. Is there any other way?

Posted: Fri Jun 27, 2008 12:20 am
by ray.wurlod
Can't you write into a PIC 9(9)V99 field or similar?