Page 1 of 1

dsjob - libvmdsapi.so could not be loaded

Posted: Thu Dec 10, 2009 7:05 am
by RAI ROUSES
Datastage version 7.5.3
OS : Sun Solaris
Hi,
We can run our jobs using Datastage Director, but now we want to run our jobs using the command line dsjob, but when we try to executed the command it return the fowling message :

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin\ $ dsjob
Could not load program dsjob:
Dependent module libvmdsapi.so could not be loaded.
Could not load module libvmdsapi.so.
System error: No such file or directory

The library exist and the user have access.

Any ideas what could be the problem ?

merci
8) Rai 8)

Posted: Thu Dec 10, 2009 7:25 am
by priyadarshikunal
Check if the LD_LIBRARY_PATH is correctly set for your environment.

Posted: Thu Dec 10, 2009 8:35 am
by rupeshg
LD_LIBRARY_PATH system variable must have the DSEngine/lib path. Hope the quote below helps.
/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # ./dsjob
./dsjob: error while loading shared libraries: libvmdsapi.so: cannot open shared object file: No such file or directory

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/lib/; export LD_LIBRARY_PATH;

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # echo $LD_LIBRARY_PATH
/opt/CA/SharedComponents/lib:/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/lib/

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin # ./dsjob
Command Syntax:
dsjob [-file <file> <server> | [-server <server>][-user <user>][-password <password>]]
<primary command> [<arguments>]

Valid primary command options are:
-run
-stop
-lprojects
-ljobs
-linvocations
-lstages
-llinks
-projectinfo
-jobinfo
-stageinfo
-linkinfo
-lparams
-paraminfo
-log
-logsum
-logdetail
-lognewest
-report
-jobid
-import

Status code = -9999 DSJE_DSJOB_ERROR

/opt/IBM/InfoSphere/Ascential/DataStage/DSEngine/bin #

Posted: Thu Dec 10, 2009 8:44 am
by chulett
You need to "source" dsenv before-hand to set the environment.

Code: Select all

cd $DSHOME
. ./dsenv

Posted: Thu Dec 10, 2009 10:38 am
by RAI ROUSES
Yes,
These users must have specified in the .profile the variables of datastage (dsenv).

Closed

merci
8) Rai 8)

Posted: Thu Dec 10, 2009 11:05 am
by rupeshg
If you are have the resolution, please mark the topic as resolved.