DSExecute fails; Verb "DSJOB" 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
reddyla
Charter Member
Charter Member
Posts: 7
Joined: Fri Sep 02, 2005 9:31 am

DSExecute fails; Verb "DSJOB" is not in your VOC

Post by reddyla »

Hello, I've searched past posts but can't find an explanation for this VOC msg. (I'm pretty confused by the VOC in general so if someone knows of a good post or area of the documentation I could reference would appreciate that too!)

My issue:

From within my unix shell I can successfully kick off a job. Ex:
/Ascential/DataStage/DSEngine/bin/dsjob -run -mode NORMAL -wait -jobstatus BBN_DWDB_UAT BBN_JOB1

However, when I try to do the same thing from within the Job Control of another job's (BBN_JOB0) Job Properties, using this code:

Call DSExecute("UV","/Ascential/DataStage/DSEngine/bin/dsjob -run -mode NORMAL -wait -jobstatus BBN_DWDB_UAT BBN_JOB1",SystemOutput,SystemReturnCode)

the SystemOutput tells me:
JobControl (): Verb "/ASCENTIAL/DATASTAGE/DSENGINE/BIN/DSJOB" is not in your VOC

I'm using the same username in both cases. Thanks in advance for any tips or links to pasts posts that might help.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's not a UV command. :wink:

Code: Select all

Call DSExecute("UNIX","/Ascential/DataStage/DSEngine/bin/dsjob -run -mode NORMAL -wait -jobstatus BBN_DWDB_UAT BBN_JOB1",SystemOutput,SystemReturnCode)
-craig

"You can never have too many knives" -- Logan Nine Fingers
reddyla
Charter Member
Charter Member
Posts: 7
Joined: Fri Sep 02, 2005 9:31 am

Post by reddyla »

Wow, that was a softball, eh Craig? Thanks very much. I'll try tomorrow and close out. The documentation seemed to say (to my novice eyes) that the only valid values were NT or UV. I should have tried other values. Thanks!

chulett wrote:It's not a UV command. :wink:

Code: Select all

Call DSExecute("UNIX","/Ascential/DataStage/DSEngine/bin/dsjob -run -mode NORMAL -wait -jobstatus BBN_DWDB_UAT BBN_JOB1",SystemOutput,SystemReturnCode)
Post Reply