Page 1 of 1

Combine Record Stage data issue

Posted: Thu May 26, 2011 10:54 pm
by prem84
Hi ,
I used combine records stage in datastage my meta data in the input dataset is name varchar2(100),marks integer(10).My output dataset metadata is comb char(1000).when I use combine record stage (key is name)I get 3 rows output from the link. My input data is

x1,100
x1,90
x,390
x4,50

but when I view the output dataset I just see () braces with no value.Kindly advice.

Posted: Fri May 27, 2011 12:33 am
by ray.wurlod
Try using Runtime Column Propagation and look at what DataStage produces. You should be seeing records containing subrecords made up of the input records (which explains the braces). You have to be particularly careful of nullable fields.

Posted: Fri May 27, 2011 12:46 am
by prem84
Thanks Ray, I enabled run time column propagation and it worked fine. But in my production environment it would be disabled. Is there any other way to solve this issue?

Posted: Fri May 27, 2011 4:08 am
by ray.wurlod
Do it again with RCP enabled and with OSH_PRINT_SCHEMAS enabled. Import the schema into the job design.