Parallel Routine questions

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
aaikat
Participant
Posts: 47
Joined: Tue Mar 07, 2006 2:49 am

Parallel Routine questions

Post by aaikat »

1.Please let me know how one should be sure whether C/C++ compiler is installed in the server or not.

2.What are the DS parameters need to be set to run a parallel routine.

3.Where to write the code of the routine in DS.

4.Please give me an example of a simple C/C++ Parallel routine code.

Thanks
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Hi,
You will find a complete example in \Samples\TrxExternalFunctions directory of CDROM.
gsherry1
Charter Member
Charter Member
Posts: 173
Joined: Fri Jun 17, 2005 8:31 am
Location: Canada

Post by gsherry1 »

This post deals with unix platform, which is pretty well covered by the samples directory on the cd. What is not contained there are Windows compilation examples.

Does anybody have any recommended compilation flags for parallel routines when compiling with Visual Studio .net?

- Greg
seanc217
Premium Member
Premium Member
Posts: 188
Joined: Thu Sep 15, 2005 9:22 am

Post by seanc217 »

When compiling make sure to compile as a release not debug or else it will not work. I never got a dll to work. I compilied the code as a .lib and this works fine for me.

Let me know if you need more info.
Post Reply