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
Rai
dsjob - libvmdsapi.so could not be loaded
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 176
- Joined: Wed Nov 15, 2006 5:48 am
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
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 #
You need to "source" dsenv before-hand to set the environment.
Code: Select all
cd $DSHOME
. ./dsenv
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 176
- Joined: Wed Nov 15, 2006 5:48 am