Page 1 of 1

Parallel Routine

Posted: Mon Feb 02, 2004 2:17 pm
by Sairam
Hi

I need a simple parallel routine to be wriiten and be called in a tranformer .

Please share your valuable experiences .

Posted: Mon Feb 02, 2004 3:17 pm
by ray.wurlod
PLAN what you need to do. Write it out in ordinary language.

Convert this to pseudo-code, so you get the logic right.

Consult the Parallel Job Developer's Guide, particularly Chapters 15 and 54, for information on how to implement. Within Chapter 15 is a section on the Expression Editor, which (among other things) indicates how to invoke a user-defined function within an expression.

Then create your Routine, or BuildOp, or other mechanism.

Posted: Mon Feb 02, 2004 11:22 pm
by praj
I dont think u can call a routine in a Px job transformer.
We can do the same in server.
One thing you can do is move the values in the routine to stage variable and use them in Xmer :)

Posted: Mon Feb 02, 2004 11:25 pm
by ray.wurlod
praj wrote:I dont think u can call a routine in a Px job transformer.
In PX 7.x there is a new stage type called a BASIC Transformer stage, from which it IS possible to call a Routine.
(I note that the OP specified 6.x.)

Posted: Tue Feb 03, 2004 5:46 am
by Eric
You can write PX Routines (using C/Cpp) which can be used in the PX Transformer. These are not the same as Server Routines (using Universe Basic).

Calling a routine from Parallel Extender

Posted: Wed Feb 04, 2004 6:46 am
by dsguy1247
[/quote]In PX 7.x there is a new stage type called a BASIC Transformer stage, from which it IS possible to call a Routine.
(I note that the OP specified 6.x.)[/quote]



Ray,

Thanks a lot for the info. I was not aware of it. I had been using C object code as routine and calling them from the Parallel Extender. With this additional info, we definitely have more choice in calling routines from parallel extender.

DSGuy