numeric datatype ( problem retrieveing data )

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

numeric datatype ( problem retrieveing data )

Post by abhay10 »

hi All

i am comming across a strange problem where where i am not able to retrieve the data properly

like the data type of the field is numeric(15)
and the value coming In is 2474756317

the data is getting retrieved properly for server jobs but in the parallel jobs there is inconsistency in the data

for parallel its retrieving 2147483647
plz do help me whats the problem behind this
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The first problem is we have no idea what stage type you are using in each job, nor what the property settings of that stage type might be.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

i am using the ODBC stage and trying to retrieve the data that is srored in DB2
The datatye of the column is numeric(15) in datastage
the server job is also using the same stage and same datatype but retrieveing the data properly but the parallel job is not able to retrieve the data
which has the data greater than 31bits
can u tell me y i am not able to retrieve the data greater than 31bits in parallel job with numeric datatype
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Post by Teej »

Can you paste the error message you say you are getting here?

Or if you are getting the actual values without warning, what is the output value you are getting instead of what you are expecting?
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

actual value is
2474756317

when view data is performed
the value retrieved is
2147483647

and no warning is issued
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Post by Teej »

That is very unusual.

What version of DataStage are you using, exactly?
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

i am using the version 7.5.1
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

My Parallel job is able to read data from DB2 in (windows2000) and giving correct results , but the only problem is reading from DB2 in (AS400).
Is there any environment related to parallel job that has to be set, so that the job can read data more than 32 bit.

I even tried changing the data type of the field to varchar in Datastage. but still the same problem.
Post Reply