Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.
Moderators: chulett , rschirm , roy
RAI ROUSES
Participant
Posts: 176 Joined: Wed Nov 15, 2006 5:48 am
Post
by RAI ROUSES » Thu Dec 10, 2009 7:05 am
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
priyadarshikunal
Premium Member
Posts: 1735 Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI
Post
by priyadarshikunal » Thu Dec 10, 2009 7:25 am
Check if the LD_LIBRARY_PATH is correctly set for your environment.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
rupeshg
Premium Member
Posts: 60 Joined: Thu Dec 22, 2005 6:02 am
Location: United Kingdom
Post
by rupeshg » Thu Dec 10, 2009 8:35 am
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 #
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Thu Dec 10, 2009 8:44 am
You need to "source" dsenv before-hand to set the environment.
-craig
"You can never have too many knives" -- Logan Nine Fingers
RAI ROUSES
Participant
Posts: 176 Joined: Wed Nov 15, 2006 5:48 am
Post
by RAI ROUSES » Thu Dec 10, 2009 10:38 am
Yes,
These users must have specified in the .profile the variables of datastage (dsenv).
Closed
merci
Rai
rupeshg
Premium Member
Posts: 60 Joined: Thu Dec 22, 2005 6:02 am
Location: United Kingdom
Post
by rupeshg » Thu Dec 10, 2009 11:05 am
If you are have the resolution, please mark the topic as resolved.