Page 1 of 1

Verb "DSJOBS" is not in your VOC.

Posted: Tue Dec 21, 2004 5:25 am
by akhiln
Hi All,

When i tried to run the job's from the command prompt, I am getting an error like this "Verb "DSJOBS" is not in your VOC".

Please suggest some way to rectify this issue.

Thanks & Regards,
Akhil

Posted: Tue Dec 21, 2004 5:37 am
by Amos.Rosmarin
Hi,

Gat you add the command you tried to execute ?
Are you doing this from the client or from the ds server machine.

in general the syntax is :

Code: Select all

dsjob -server localhost -user user -password pwd -run project_name job_name

HTH,
Amos

Posted: Tue Dec 21, 2004 5:44 am
by akhiln
Hi Amos,

I am trying to run from the server. I tried again to run the job but i am getting the same error.

Thanks,
Akhil

Posted: Tue Dec 21, 2004 6:30 am
by Amos.Rosmarin
hi

Are you tring to execute this commend from uv ??

it's a regular exe, run it from cmd window, e.g

Code: Select all

C:\Ascential\DataStage\Engine\bin\dsjob -run Proj Job
Again, it will be helpful if you supply the commend and the steps you did.


HTH,
Amos

Posted: Tue Dec 21, 2004 6:45 am
by akhiln
Hi,

I was earlier trying to run the job from the TELNET. Now from cmd

C:\Ascential\DataStage\Engine\bin\dsjob -run Proj Job

I ran the job.

Is it possible to run the jobs from the TELNET??

Thank you so much for information.

Thanks & Regards,
Akhil

Posted: Tue Dec 21, 2004 7:00 am
by ArndW
Yes, use "DSD.RUN".

Posted: Tue Dec 21, 2004 8:13 am
by Amos.Rosmarin
Why doing it in telnet anyway ?
If you insist on telnet do it to another port.

From DS7.1 you have dsjob in the client as well (under your ds client directory) so you can execute it from there without connecting to the server.
Another option is using rsh

DSD.RUN is not the best option since it harder to include it in a batch scheduler.

Amos

Re: Verb "DSJOBS" is not in your VOC.

Posted: Tue Dec 21, 2004 2:32 pm
by ray.wurlod
akhiln wrote:Hi All,

When i tried to run the job's from the command prompt, I am getting an error like this "Verb "DSJOBS" is not in your VOC".

Please suggest some way to rectify this issue.

Thanks & Regards,
Akhil
Please show us the command that used "DSJOBS" (which isn't a command in the DataStage environment (dssh or uvsh). We may then be able to offer more targeted advice.

Posted: Sat Dec 25, 2004 2:59 am
by dsxdev
From which directory on server do we run DSD.RUN
Can you tell more obout DSD.RUN what is it and its functionality.

Posted: Sat Dec 25, 2004 3:01 am
by dsxdev
Hi Amos,
Can we use

Code: Select all

DSD.RUN routineName  
to run a routine. Is it possible to call routines through unix.

Posted: Sat Dec 25, 2004 4:57 am
by ogmios
A little bit off-topic, but no you can't use DSD.RUN to execute routines, only jobs. What would be the point of executing a routine without a corresponding job?

You could write a DataStage job that calls the routine and returns the value of the routine, ... but usually this would be more nuisance than benefit (what if the job is in aborted state, ...).

For the DSD.RUN. Look in your crontab (crontab -l on UNIX) how DataStage jobs are scheduled. You will find a dsr_sched.sh script being used, this script uses DSD.RUN to run DataStage jobs which you could use for your own purpose.

Ogmios