Decimal Issue

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
praburaj
Premium Member
Premium Member
Posts: 133
Joined: Thu Jun 30, 2005 1:26 am
Location: philippines

Decimal Issue

Post by praburaj »

Hi,

In my job one of the column name data type is Decimal(15,7). When I view the data in DB data comes in proper format like below

COLUMN NAME
----------------
2003.0000000

But when try to view the same column (data type is Decimal(15,7) ) in datastage data comes in below mentioned format.

COLUMN NAME
----------------
20030000000

Can you help me why I am getting data in this format in datastage.?

Do I need to change any data type in DS?
prabakaran.v
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

What datatype you have defined in datastage metadata and what is database?
praburaj
Premium Member
Premium Member
Posts: 133
Joined: Thu Jun 30, 2005 1:26 am
Location: philippines

Post by praburaj »

Thanks for your reply.

In datastage metadata I have defined for that source column Decimal

(15,7) and my database is SQL server.
prabakaran.v
Post Reply