Date parameter

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
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

Hi Raquel,

Let us assume your Datefield in the oracle-Table SOMMER is START_DATUM, in DataStage you have to write in the where-Part an expression like:

to_char(SOMMER.START_DATUM,'YYYY-MM-DD')='2003-10-03'
or

to_char(SOMMER.START_DATUM,'YYYY-MM-DD')='#param_21#'

Good luck,

Wolfgang
rreyespe
Participant
Posts: 23
Joined: Tue Jun 15, 2004 3:12 am

Post by rreyespe »

Thank you, finally it worked

Raquel
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard! :D Glad you've gotten a solution quickly. Recommend the site to your (DataStage) friends!
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