Page 1 of 1

How to write Parallel Routine?

Posted: Mon Oct 22, 2007 7:04 am
by vcsasikala
My Project is having /bin/c++ compiler. How to write routines in enterprise edition? How to cal routines in parallel jobs?

Posted: Mon Oct 22, 2007 2:15 pm
by ray.wurlod
Design, write C++ routines, compile, link and test them without involving DataStage.

In DataStage create new "parallel routines", which are entries in the Repository showing the location and number and type of arguments for your functions.

Within a Transformer stage, call your routines from the DS Routines option in the operands menu of the expression builder.

Posted: Mon Oct 22, 2007 3:35 pm
by abc123
Do a search in this forum. This has been discussed a lot.

Posted: Mon Oct 22, 2007 6:27 pm
by jhmckeever
You can find source code for two parallel routines here:

<a href="viewtopic.php?t=106358">pxEReplace</a> and <a href="viewtopic.php?t=107882">matchRegexp </a>

HTH,
J.