Verb "DSJOBS" is not in your VOC.
Moderators: chulett, rschirm, roy
Verb "DSJOBS" is not in your VOC.
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
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
-
- Premium Member
- Posts: 385
- Joined: Tue Oct 07, 2003 4:55 am
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 :
HTH,
Amos
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
-
- Premium Member
- Posts: 385
- Joined: Tue Oct 07, 2003 4:55 am
hi
Are you tring to execute this commend from uv ??
it's a regular exe, run it from cmd window, e.g
Again, it will be helpful if you supply the commend and the steps you did.
HTH,
Amos
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
HTH,
Amos
-
- Premium Member
- Posts: 385
- Joined: Tue Oct 07, 2003 4:55 am
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
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
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Verb "DSJOBS" is not in your VOC.
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.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
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Hi Amos,
Can we use
to run a routine. Is it possible to call routines through unix.
Can we use
Code: Select all
DSD.RUN routineName
Happy DataStaging
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
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.