uvsh not working

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
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

uvsh not working

Post by zulfi123786 »

I am trying to run this at unix ==> uvsh "select * from DS_JOBS where NAME like 'djpXFMAcctArr'" but getting this error message

Could not load program uvsh:
Dependent module libgciudt6.so could not be loaded.
Could not load module libgciudt6.so.
System error: No such file or directory

do i need to configure something before running this??? please help....
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Re: uvsh not working

Post by zulfi123786 »

By the way for what stuff is this uvsh???? Is it only to run the queries on UV tables???
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

uvsh - or its synonym dssh - is for executing commands in the DataStage shell. These include SQL statements, but include other statement types as well. When modules can not be loaded it usually means that your shared library search path (LD_LIBRARY_PATH environment variable) is not correctly set or that you do not have execute privilege to the library in question.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to start by 'sourcing' your dsenv file first to set the environment properly:

Code: Select all

cd $DSHOME
. ./dsenv
If $DSHOME isn't set, you may be able to get there this way:

Code: Select all

cd `cat /.dshome`
Or just cd to your DSEngine directory.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

You need to source your dsenv by executing . ./dsenv
Rest of the commands should be fired in the same session

Regards
Sreeni
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

To avoid running this every time you open a new telnet session, add these lines to your .profile
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sreenivasulu wrote:You need to source your dsenv by executing . ./dsenv
I'm always curious why someone would feel the need to come in later and post the exact same advice as someone else. :?
-craig

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