DATE ISSUE WHILE LOADING

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
sam334
Premium Member
Premium Member
Posts: 145
Joined: Mon Aug 26, 2013 7:42 pm

DATE ISSUE WHILE LOADING

Post by sam334 »

All,
Need a help in DATE issue in server job.
We have two columns which are creating the issue due to day light saving.

Call_Attend Call_Ended
2014-11-05 11.55PM 2014-11-05 11.59PM

So, these two input columns should have the same date. Now for time change some of the records inserted as,

Call_Attend Call_Ended
2014-11-05 11.58PM 2014-11-06 12.00AM

Our target Call_Entered column is directly mapped with Call_Ended in Input source.

Any help how to fix the issue. Due to this some calls are going to next day (11/06) instead of (11/05)

Appreciate your help as always..
Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

More information, please. What is your source? What is your target? What data type do these columns come in as? Go out as? What transformations if any are done? Otherwise we're just guessing.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sam334
Premium Member
Premium Member
Posts: 145
Joined: Mon Aug 26, 2013 7:42 pm

Post by sam334 »

Craig,
Sorry for the late reply. I found the issue and solved it. The problem was, the input is in DB2 and datetime is in GMT. So, when any phone call comes in after 12.AM, it was taking the next day instead of current day. But technically it is current day not next day. I used an IF function in transformer and it is cool now.

Thanks.
Post Reply