Memory size for Decimal and Numeric types

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
joesat
Participant
Posts: 93
Joined: Wed Jun 20, 2007 2:12 am

Memory size for Decimal and Numeric types

Post by joesat »

According to the DataStage PX documentation, the size for Double is 8 bytes, Float is 4 bytes. What is the storage szie for Decimal and Numeric types? And what is the range for these types?
Joel Satire
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That is also in the documentation (for version 7.5 Parallel Job Developers Guide page 2-32), and depends on the precision settings. Range depends on precision also; a decimal with precision N can contain no more than N digits.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply