How to find the length for decimal field

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

somu_june
Premium Member
Premium Member
Posts: 439
Joined: Wed Sep 14, 2005 9:28 am
Location: 36p,reading road

Post by somu_june »

Hi "chulett",


Iam pasting you some data samples for Price field here

Price
1195999900000.00 (15,2)
15600000000.00 (13,2)
12999999000.00 (13,2)
11959999000.00 (13,2)
4056000000.00 (12,2)
3754351000.00 (12,2)
3588000000.00 (12,2)


And ray I could not find your Isvalid() server function in the server forms

Thanks,
SomaRaju
somaraju
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Hi "soma_june",

You can find it here, two posts up from the last post. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
mjmtabor
Participant
Posts: 7
Joined: Wed Feb 28, 2007 8:03 am

Post by mjmtabor »

I'm new to datastage but why don't you interpret the value by seeing if it is less than 1000000000000.00. Instead of looking at length look at it from a value standpoint :?:
Post Reply