date difference to be found out

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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Where do you want to do this? The format you showed can only be done in SQL yet you assigned the result to what looks like a stage variable. If it is SQL then you need to convert your string to_date; if in DataStage you would need to explain exactly what you are trying to achieve.
praburaj
Premium Member
Premium Member
Posts: 133
Joined: Thu Jun 30, 2005 1:26 am
Location: philippines

Post by praburaj »

Thanks for ur kindly reply Arnd,

I got answer. I have applied the condition with sql query in OCI stage.

Now, the jobs are working fine. :D
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A CASE clause within the SQL would seem the obvious way to go.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply