This page shows two examples on how to create a parallel routine in C for use in Datastage.
The examples are only for the 'Object' type routine because this type is simpeler to implement than the 'Library' type and for our goal, we didn't need a library object.
int myIntFunct(int x)
{
return x+1;
}
g++ -fPIC -c myTest.c
#include <string>
char * myStrFunct(char * s)
{
return s;
}
g++ -fPIC -c strTest.c