: dsjob command issue

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
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

: dsjob command issue

Post by dr.murthy »

When I execute the dsjob command from command line its showing the warning like
[dsadm@krkdatastage4 bin]$ dsjob -lprojects
-bash: dsjob: command not found
Dsengine dir is /opt/IBM/InformationServer/Server/DSEngine/bin

Can any one help out me on this please..
D.N .MURTHY
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

cd /opt/IBM/InformationServer/Server/DSEngine

. ./dsenv

cd bin

After that execute the command ..
Nag
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Probably won't help. This is bog standard Command Line 101 stuff which an exact search for "command not found" should turn up if you're patient and weed through the other crap it will find.

Try what Nagarjuna posted and if that doesn't help, for the 'after that' part add a dot-slash to the command to mean 'run it from here':

./dsjob -lprojects

Then spend some time learning about relative versus absolute paths and how the PATH environment variable affects your ability to run 'commands' from the command line.
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

you can also include execution os dsenv in your users' .profile so that you don't have to do it every time,
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Post by dr.murthy »

hi chulett,

./dsjob -lprojects is working thanks for your solution
D.N .MURTHY
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Please make sure you understand why it is working, it will stand you in good stead for the future. And please mark your post as Resolved using the button at the top of the page.
-craig

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