Page 1 of 1

Prallel Routine Issue

Posted: Mon Jan 19, 2015 1:14 pm
by vibwipro
Hi All

I am getting following error when executing parallel routine :-

"Xfmjava: Failed to load the library "V0S18_Load_Rec_MASS_ADJ_J_Xfmjava.o"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V0S18_Load_Rec_MASS_ADJ_J_Xfmjava": rtld: 0712-001 Symbol java__FSc was referenced
from module /td/mbb/DSProjects/iHubBatch/RT_BP3027.O/V0S18_Load_Rec_MASS_ADJ_J_Xfmjava.o(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.."

can any suggest any inputs ... ??

Posted: Mon Jan 19, 2015 2:11 pm
by vibwipro
This is C++ Program for parallel routine :--

#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

char java (char* str1)
{
char i;
i= system("sh java.sh str1 str1");
return i;

}

Please suggest me ... if i am missing any environmental variable need to be set to get rid of this error from my code.

Posted: Mon Jan 19, 2015 8:33 pm
by ray.wurlod
Looks like your code was not successfully compiled, or you have not made it possible for DataStage to find the executable.

Just curious, does system() really return a char ? (I know char and int are somewhat interchangeable, but it's better programming practice to get it right.)