Capture Between Date from 2 Dates

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
srireddypunuru
Premium Member
Premium Member
Posts: 40
Joined: Thu Jul 10, 2008 12:45 pm

Capture Between Date from 2 Dates

Post by srireddypunuru »

Guys,

I need to get Resultdate which is in between Two dates like below.

FS.ResultDate BETWEEN PH.EffectiveStartDate AND PH.EndDate

any suggestions how this can be done. I was using below logic.

DSLink300.ResultDate >= DSLink300.EffectiveStartDate And DSLink300.ResultDate<= DSLink300.EndDate

Doesnt work though any thougths appreciated. Is there any Function like Between in Datastage.

Thanks
Sri
Srikanth Reddy
Integration Consultant
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What does "doesn't work" in this contect? Where are you using this expression? What do you expect it to produce?
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