dsjob executable

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

Post Reply
drostnu
Participant
Posts: 26
Joined: Tue Jul 18, 2006 4:17 pm

dsjob executable

Post by drostnu »

hello again,

im trying to run dsjob and dssh to check some stuff, but im not beeing able to run them

look at this:

Code: Select all

[dsadm@sscllinuxora01 bin]$ /local/dsadm/Ascential/DataStage/DSEngine/bin/dssh
/local/dsadm/Ascential/DataStage/DSEngine/bin/dssh: error while loading shared libraries: libodbc.so: cannot open shared object file: No such file or directory
and also with dsjob happens too.

Code: Select all

[dsadm@sscllinuxora01 bin]$ /local/dsadm/Ascential/DataStage/DSEngine/bin/dsjob
/local/dsadm/Ascential/DataStage/DSEngine/bin/dsjob: error while loading shared libraries: libvmdsapi.so: cannot open shared object file: No such file or directory
its so weird, well datastage server is running properly is able to connect with oracle and sybase, also is hosting like 20 users and they can work perfectly.

please if anyone knows, help me

thanks!

diego./

EDIT:

Plus, files ARE there. look!!!

Code: Select all

[dsadm@sscllinuxora01 bin]$ locate libodbc.so
/usr/local/lib/libodbc.so
/local/dsadm/Ascential/DataStage/DSEngine/uvdlls/libodbc.so
/local/dsadm/Ascential/DataStage/branded_odbc/lib/libodbc.so
/local/BOBJE/bobje/enterprise115/linux_x86/odbc/lib/libodbc.so
and this

Code: Select all

[dsadm@sscllinuxora01 bin]$ locate libvmdsapi.so
/local/dsadm/Ascential/DataStage/DSEngine/lib/libvmdsapi.so
thanks bye!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to 'source' your dsenv file first:

Code: Select all

cd `cat /.dshome`
. ./dsenv
-craig

"You can never have too many knives" -- Logan Nine Fingers
guoyf
Participant
Posts: 4
Joined: Wed Jun 21, 2006 2:23 am

Post by guoyf »

You need to add

"/home/dsadm/Ascential/DataStage/PXEngine/lib" into your LD_LIBRARY_PATH env. here dsadm is my DataStage admin user


edit your dsenv file and add one line ike this:


Code: Select all

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/dsadm/Ascential/DataStage/PXEngine/lib
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Actually you don't need PXEngine/lib for server jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
drostnu
Participant
Posts: 26
Joined: Tue Jul 18, 2006 4:17 pm

it work'd

Post by drostnu »

chulett wrote:You need to 'source' your dsenv file first:

Code: Select all

cd `cat /.dshome`
. ./dsenv
...
thanks!!
that worked fine!

regards,

diego./
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

BTW do we have dsenv in Server edition?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Yes, the dsenv is used (required) in the server edition as well.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Yup, thanks. Server edition should also need all datastageenvironments to be set. Sorry i was carried away with something else.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

kumar_s wrote:BTW do we have dsenv in Server edition?
As noted, you have a dsenv file in both Server and PX... for UNIX installations. There is no such thing when dealing with Windows, however.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply