hard code of date

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
visgtm
Participant
Posts: 6
Joined: Wed Jan 02, 2008 2:36 am
Location: Pune India
Contact:

hard code of date

Post by visgtm »

How to hard code the date in transformer stage
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You have a number of choices. CurrentDate() gives "today". You can put in the date as a literal string, for example StringToDate("2008-11-11"). You can employ a reference to a job parameter in which the date is hard coded.
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