Error in dsjob command

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
ath_khan
Participant
Posts: 5
Joined: Fri Dec 05, 2003 5:40 am

Error in dsjob command

Post 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.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
dhiraj
Participant
Posts: 68
Joined: Sat Dec 06, 2003 7:03 am

Post 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
ath_khan
Participant
Posts: 5
Joined: Fri Dec 05, 2003 5:40 am

Post by ath_khan »

Hi ArndW/dhiraj

Thanks for your help. It is working now.
Post Reply