"NOT IN VOC" Error

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
koti9
Participant
Posts: 52
Joined: Wed Nov 09, 2005 10:51 am

"NOT IN VOC" Error

Post by koti9 »

Hi all,

We get 'Job not in VOC Error' on our unix box once in a while. The same job runs perfectly alright most of the days...Did anyone get this even after DSHOME is set up perfectly...Unix was up and running perfectly when it failed. Please let me know. Thanks in Advance.

Thanks
Koti
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Can you please post the full, unedited error? And explain when/where exactly it is that you get this error 'once in a while'?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you perhaps mis-type (mis-spell or mis-case) the job name in dsjob commands? Job names are not recorded in VOC in any case, so we really do need to know the exact error message.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
koti9
Participant
Posts: 52
Joined: Wed Nov 09, 2005 10:51 am

"NOT IN VOC" Error

Post by koti9 »

chulett wrote:Can you please post the full, unedited error? And explain when/where exactly it is that you get this error 'once in a while'?
Hi all,

Sorry it wasn't the job, it couldn't find the dsproject home.Though the file .dsproject is available. Here is the error below.

Cannot find DataStage project directory.Unmatched quotation marks.
Verb "/unixbox/ASCENTIAL/DATASTAGE/DSENGINE/.DSPROJECT"" is not in your VOC.



Thanks
Koti
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I think we are still unclear as to where this is happening and what is triggering it. It seems to be a executing a TCL shell command but using a UNIX type path.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

We are still unclear as to the where and what. Is this coming from a script, custom routine, TCL command, something else entirely?? Can you post it, whatever it is?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The reference to VOC may be a complete "red herring". If there were a SH verb followed by a command with mismatched quotes, or containing the same quote character as the one with which the command were delimited, then this error might arise. If this is in your software, then you need to fix it; if it is in IBM's, you need to generate a support call with them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
koti9
Participant
Posts: 52
Joined: Wed Nov 09, 2005 10:51 am

Post by koti9 »

ArndW wrote:I think we are still unclear as to where this is happening and what is triggering it. It seems to be a executing a TCL shell command but using a UNIX type path. ...
Hi all,
Sorry for not being clear, the very first time.
I am running the batch job control. Inside the batch i am using the DSExecute to execute the OS Command. Thats where its faling mentioning the below in my job log.

Cannot find DataStage project directory.Unmatched quotation marks.
Verb "/unixbox/ASCENTIAL/DATASTAGE/DSENGINE/.DSPROJECT"" is not in your VOC.

Thanks
Koti
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Post your code.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Yes, please post your code. Somewhere you have a badly formed EXECUTE or PERFORM command.
jgreve
Premium Member
Premium Member
Posts: 107
Joined: Mon Sep 25, 2006 4:25 pm

unmatched quote?

Post by jgreve »

The unmatched quote part caught my eye.
koti9 wrote:Cannot find DataStage project directory.Unmatched quotation marks.
Verb "/unixbox/ASCENTIAL/DATASTAGE/DSENGINE/.DSPROJECT"" is not in your VOC.
Koti
Possible that you have a typo on your path setup?
It looks like there is a trailing quote on the 'verb' thing.

Are you declaring /unixbox/ASCENTIAL/DATASTAGE/DSENGINE/.DSPROJECT
as a string value anywhere in your scripts?
Look to see if you have a trailing quote one it.
I do that in windows batch files once in a while, e.g. set x="foo"
forgetting that unix shell scripting is smarter about quotes (e.g. windos
batch assigns x a 5 char string, including the quote-values, whereas
unix shells like bash would only do 3 chars, the foo part).

Anyway, whatever you're scripting in seems unhappy about quoting.
Good luck.
Post Reply