Build Op stage - data is not loading into target

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
kiranh_1214
Premium Member
Premium Member
Posts: 47
Joined: Tue Sep 13, 2005 4:28 am

Build Op stage - data is not loading into target

Post 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 ?
Kiran Kumar
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kiranh_1214
Premium Member
Premium Member
Posts: 47
Joined: Tue Sep 13, 2005 4:28 am

Post 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
Kiran Kumar
kiranh_1214
Premium Member
Premium Member
Posts: 47
Joined: Tue Sep 13, 2005 4:28 am

Post by kiranh_1214 »

Hi All

I made changes to my build op code
it's working now....
Thanks
Kiran Kumar
Post Reply