Page 1 of 1

dsjob command not working

Posted: Mon Apr 13, 2009 4:57 pm
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

Posted: Mon Apr 13, 2009 5:01 pm
by kcbland
Fully qualify the hostname/userid/password and see if that works...

Posted: Mon Apr 13, 2009 5:39 pm
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.

Posted: Mon Apr 13, 2009 6:15 pm
by datastagenewbie
Added the hostname, user, password still the same problem exists.

Posted: Mon Apr 13, 2009 7:24 pm
by ray.wurlod
And domain?

Re: dsjob command not working

Posted: Thu Apr 16, 2009 11:42 am
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

Posted: Fri Apr 17, 2009 7:53 am
by datastagenewbie
Thanks guys! Apparently , some environment was not set up for me. Hence it did not work

Posted: Fri Apr 17, 2009 8:14 am
by chulett
But it does now because you did what? Please post the exact resolution in order to help future searchers. Thanks!