DB2 Migration

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
Ravi.K
Participant
Posts: 209
Joined: Sat Nov 20, 2010 11:33 pm
Location: Bangalore

DB2 Migration

Post by Ravi.K »

Hi,

Recently we started migration of database DB2 8.2 to 9.5 version. During testing we found one issue when we read Date field(BIZDATE) as Date at DB2 API Stage then the BIZDATE is 1 day down to the actual date.

Suppose actual date: 2011-02-20 then output is coming as 2011-02-19.

Code: Select all

Job design:

DB2 API Stage --> Transfomer --> Sequential File.
Suppose when we read it as VARCHAR then it is good.

Any one come across this kind of issues.
Cheers
Ravi K
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Does this still occur if the Transformer stage is excluded?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mantums
Participant
Posts: 6
Joined: Wed Aug 30, 2006 10:14 pm
Location: Channai

Re: DB2 Migration

Post by mantums »

View the data from DB2 stage, check what date it will show. Then you u will come to know that where is the error, check also any warning in the job after running.
Mahantesh Shivanagi
Basel-Developement team
Standard Chartered
Ravi.K
Participant
Posts: 209
Joined: Sat Nov 20, 2010 11:33 pm
Location: Bangalore

Re: DB2 Migration

Post by Ravi.K »

Sorry for the late reply. I was busy with other issues and BAU activities.

When i view data from DB2 API Stage it is showing as follows...

15757 (2011-02-20) Instead of 2011-02-20.

There are no warnings in the log.
Cheers
Ravi K
Ravi.K
Participant
Posts: 209
Joined: Sat Nov 20, 2010 11:33 pm
Location: Bangalore

Post by Ravi.K »

There are lot of Transformations applied at transformer stage. Eventhough i removed the transformer to find the issue. But no luck it is behaving same manner.
Cheers
Ravi K
Ravi.K
Participant
Posts: 209
Joined: Sat Nov 20, 2010 11:33 pm
Location: Bangalore

Post by Ravi.K »

We have raised a PMR with IBM. IBM provided a patch(APAR JR34196) for this and issue got resolved.

Thanks...
Cheers
Ravi K
Post Reply