merge stage problem

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
dsx_venkat
Participant
Posts: 12
Joined: Thu Sep 01, 2005 10:49 pm

merge stage problem

Post by dsx_venkat »

Hi All,

I am using merge stage.

Master link record
------------------
1 a
2 b
3 c


Update link record
------------------
1 0001-01-01 00.00.00
2 0001-01-01 00.00.00


Output record
1 a 0001-01-01 00.00.00
2 b 0001-01-01 00.00.00
3 c *******************


I am getting ******************* for the master record which dont have match in the update link record. But i am suppose to get the default value that i have given in the output field properties. Anybody knows why i am getting this.

Regards.
venkat
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi,
Default/Nullable feild value should work.
Try altering dsx and specifying default in merge stage itself.

regards
kumar
dsx_venkat
Participant
Posts: 12
Joined: Thu Sep 01, 2005 10:49 pm

Post by dsx_venkat »

No, even Default/ Nullable is not working.

No need to edit the dsx, bcas after the merge stage i am having an output stage, so i can change the field properties here itself.

The output field is ********* in the output text file, but when i tried to view the file in the datastage, it is assigning the default value.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
Regarding your private message Please Read Ray Wurlod's article in the latest news-letter.
By the way If I had time I would have looked at it.
I only logged in since I get email notifications on new private messages here, not because I had some spare time right now sorry.
Thanks,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Nripendra Chand
Premium Member
Premium Member
Posts: 196
Joined: Tue Nov 23, 2004 11:50 pm
Location: Sydney (Australia)

Post by Nripendra Chand »

It seems that data type of output field is datetime and you are not putting default value in proper format. Put the default value in output datatype format. It should work.

-Nripendra
Post Reply