Verb "DSJOBS" is not in your VOC.

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
akhiln
Participant
Posts: 32
Joined: Fri May 07, 2004 6:46 am
Location: Bangalore

Verb "DSJOBS" is not in your VOC.

Post 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
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post 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
akhiln
Participant
Posts: 32
Joined: Fri May 07, 2004 6:46 am
Location: Bangalore

Post 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
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post 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
akhiln
Participant
Posts: 32
Joined: Fri May 07, 2004 6:46 am
Location: Bangalore

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

Post by ArndW »

Yes, use "DSD.RUN".
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post 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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

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

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dsxdev
Participant
Posts: 92
Joined: Mon Sep 20, 2004 8:37 am

Post 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.
Happy DataStaging
dsxdev
Participant
Posts: 92
Joined: Mon Sep 20, 2004 8:37 am

Post 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.
Happy DataStaging
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Post 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
In theory there's no difference between theory and practice. In practice there is.
Post Reply