Problem while executing a job

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pravesh_kushwaha
Participant
Posts: 19
Joined: Fri Sep 10, 2004 12:17 am
Location: India
Contact:

Problem while executing a job

Post by pravesh_kushwaha »

Hi,
We had exported one of our running job from one project p1 to project p2 on the same datastage server. Now while running the job in project p2 we are getting the following error:

Transformer_LA_CUSTOMER_Reject_Records: Failed to load the library "V0S2_CTCTReject0005AirCustomer_Transformer_LA_CUSTOMER_Reject_Records.sl". 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 "V0S2_CTCTReject0005AirCustomer_Transformer_LA_CUSTOMER_Reject_Records": Permission denied.

If we do a force compile of the job then we are able to execute the job.

Can anyone please tell us why this error is occuring and the possible solution for the same.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check that the library search path (SHLIB_PATH, LIBPATH or LD_LIBRARY_PATH, depending on your Unix) is correctly specified in the dsenv script in the DataStage Engine directory. This script defines environment variables for all DataStage processes, including agent processes of connected clients.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

I suspect that the path you have for that library is different on both projects. If you migrate to different projects that points to different libraries, a force-compile is necessary, even if you migrate the executables.

A better solution would depend on your setup.
Post Reply