Page 1 of 1

Build Op stage - data is not loading into target

Posted: Tue Jul 19, 2011 4:00 am
by kiranh_1214
Hi, I am trying to create a new build parallel stage for adding two numbers.
I have given input port as 'indata' and output port as 'outdata'.
The input table definition is two columns 'Col1' and 'Col2' and
output table definition is one column 'Col3'. In Per_Record tab,
I have given the code as outdata.Col3=indata.Col1+indata.Col2;
for Col1, Col2 and Col3 datatype is Integer

In Definitions tab i have give as #include<iostream.h>
#include<math.h>

Build op code generated successfully and job ran successfully but 0 records are going to target file


My job should look like this:

Seq---Buildop----Seq

0 warnings from the log
Could you please help me some one on this ?

Posted: Tue Jul 19, 2011 4:26 am
by ray.wurlod
Show us the code from the Build stage. Also compile and run the job in trace mode so you can determine what's coming out of the Build stage.

Posted: Tue Jul 19, 2011 5:45 am
by kiranh_1214
Hi Ray

I place peek stage before build op and after build op stage
I am able see records in peek stage before build op

data is not passing from output link of build op

Posted: Tue Jul 19, 2011 6:35 am
by kiranh_1214
Hi All

I made changes to my build op code
it's working now....
Thanks