Error while compiling parallel routine

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
saxena_richa
Participant
Posts: 24
Joined: Mon Apr 24, 2006 3:34 am
Location: USA

Error while compiling parallel routine

Post by saxena_richa »

Hi,
I am creating my first parallel routine. I created the code in C and after compiling it I kept it in lib folder of PXEngine. I am now able to view and use the routine in transfrmr bt wen i compile the job it gives error at transformer stage :-- 'Parameter specified but not used in flow:DSPXWorkingDir'.
I had compiled the code using a diff compiler and used tht .obj file. Is it necessary tht the code be compiled on the same machine as the server using the same compiler and compiler-options as we see in the Parallel tab?
Plz guide me whr i m wrong..
kirankota79
Premium Member
Premium Member
Posts: 315
Joined: Tue Oct 31, 2006 3:38 pm

Post by kirankota79 »

change the object file .obj to .o and try and also don't forget to include stdlib.h in the routine. As per my experience.....even it compiles in windows it won't work in datastage without this library.
Post Reply