Page 1 of 1

How to call another parallel routine from main routine

Posted: Wed Mar 31, 2010 8:00 am
by somesh2suma
hi

How to call another parallel routine from main routine?
What are the library functions which should be used in the main routine?
I have to pass a pointer parameter from main routine to another routine. and take back the values means returned value in a pointer which is in main routine.

Please help me with this requirement.

Posted: Wed Mar 31, 2010 9:04 am
by Sainath.Srinivasan
Need much more information on what you are trying to do.

You can call other functions from main using the functionName with appropriate parameters. E.g. functionName(params).

Posted: Wed Mar 31, 2010 3:56 pm
by ray.wurlod
Parallel routines are actually external to DataStage, so there are no special "DataStage" requirements. You refer to other functions from within your code exactly as you would if DataStage were not in the mix.