dsjob command not working

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
datastagenewbie
Participant
Posts: 64
Joined: Tue Sep 23, 2008 9:54 am

dsjob command not working

Post by datastagenewbie »

My dsjob command is not working. This is what I get.


$ dsjob -run project_name job_name
ERROR: Failed to open project

Status code = -1002



Thanks in advance
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Fully qualify the hostname/userid/password and see if that works...
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

From what we've seen here, you may need to add the user credentials to the command line, and also with 8.x add in the -domain option as well.
-craig

"You can never have too many knives" -- Logan Nine Fingers
datastagenewbie
Participant
Posts: 64
Joined: Tue Sep 23, 2008 9:54 am

Post by datastagenewbie »

Added the hostname, user, password still the same problem exists.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

And domain?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
JRodriguez
Premium Member
Premium Member
Posts: 425
Joined: Sat Nov 19, 2005 9:26 am
Location: New York City
Contact:

Re: dsjob command not working

Post by JRodriguez »

datastagenewbie,

It worked OK for me

$ dsjob -run project_name job_name

Status code = 0

The command should be executed from below folder C:\IBM\InformationServer\Server\DSEngine\bin ( Default install folder )

Looks like a typo in your project name/ job name
Julio Rodriguez
ETL Developer by choice

"Sure we have lots of reasons for being rude - But no excuses
datastagenewbie
Participant
Posts: 64
Joined: Tue Sep 23, 2008 9:54 am

Post by datastagenewbie »

Thanks guys! Apparently , some environment was not set up for me. Hence it did not work
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

But it does now because you did what? Please post the exact resolution in order to help future searchers. Thanks!
-craig

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