Add the date parameter in column derivation in transformer

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
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

Add the date parameter in column derivation in transformer

Post by rajeevm »

Hi All,

I need to add the date parameter in the column derviation in the transformer stage which the field should be hardcoded with the date paramter . For example List_Id -- " 01_yyyymmdd" I defined the date paramter as todays date in the job paramter I am passing that value in the transformer stage but its giving the same output as "01_#TODAYS_DATE#" instead of giving "01_20120425"

I appreicate your responses.

Thanks in advance

rajeev
chrisjones
Participant
Posts: 194
Joined: Thu May 11, 2006 9:42 am

Post by chrisjones »

try this..

'01':TODAYS_DATE
Thanks,
Chris Jones
chrisjones
Participant
Posts: 194
Joined: Thu May 11, 2006 9:42 am

Post by chrisjones »

small correction...

'01_':TODAYS_DATE
Thanks,
Chris Jones
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

Post by rajeevm »

Thanks Chris It worked . I appreciate your quick response.

Regards,
raj
Post Reply