Hello,
How to translate an internal DECFLOAT value into a visual format? DB2 Administration Guide: "Convert and return a DECFLOAT representation of a number or string representation of a number", (Appendix A. Writing exit routines).
There is an example there:
Internal Format DFP Format String Representation
D8F77D00000000000C 222C000000001E80 +7.500
They do not explain, how to convert. Can anybody help, please? Thanks
Software/Hardware used:
Assembler
ASKED:
November 15, 2009 2:47 PM
UPDATED:
February 1, 2010 4:55 PM
Hello Meandyou,
I have to transfer a DB2 decimal floating point value (in Sortable Decimal Format) to a character string, for example,
X’D8F77D00000000000C’ to C’7.5′ (or to a regular DFP number, X’222C000000001E80′ ) in an Assembler program (z/OS).