Page 1 of 1

Error in dsjob command

Posted: Tue Mar 29, 2005 12:49 am
by ath_khan
Hi

I am running the dsjob command in unix to get the job information.

dsjob -jobinfo /backups/Projects/Test LkpProvEast1

I am getting the following error message in unix.

ERROR: Failed to open project

Status code = -1006?

Last recorded error message =
Failed to attach to '/backups/Projects/Test'.??Record /backups/Projects/Test in file UV.ACCOUNT does not exist.



Please advice.

Posted: Tue Mar 29, 2005 1:16 am
by ArndW
Hello ath_khan,

in this case you do not specify the path to the project, but only the project name itself; DataStage knows where the project is located and doesn't need a fully qualified path. So just execute the command:

Code: Select all

dsjob -jobinfo Test LkpProvEast1
and it should work just fine.

Posted: Tue Mar 29, 2005 1:18 am
by dhiraj
Hello,

What is '/backups/Projects/Test ' ?

The syntax for using DSJOb is

dsjob -jobinfo <projectname> <jobname>

If Test is your project name then it should look like

dsjob -jobinfo Test LkpProvEast1


Regards

Dhiraj

Posted: Tue Mar 29, 2005 1:22 am
by ath_khan
Hi ArndW/dhiraj

Thanks for your help. It is working now.