Prallel Routine Issue

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
vibwipro
Participant
Posts: 40
Joined: Thu Jan 24, 2013 7:34 am

Prallel Routine Issue

Post 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 ... ??
vibwipro
Participant
Posts: 40
Joined: Thu Jan 24, 2013 7:34 am

Post 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.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply