Page 1 of 1

What is VOC? What is it used for?

Posted: Tue Oct 24, 2006 2:58 pm
by splayer
What is VOC? What is it used for? Is it a concept for Datastage server version or parallel as well? Which PDF file it will be documented in? Is it 'Accessing Universe and UniData Databases from DataStage'?

I already did a search on this forum. I would appreciate any responses. Thanks.

Posted: Tue Oct 24, 2006 3:17 pm
by meena
Hi,
I think VOC stands for vocabulary file. I am not sure how exactly VOC is related to Universe or UniData but heard of Universal Voc Files. Probably search on google may help you to know more on VOC file.

Posted: Tue Oct 24, 2006 3:48 pm
by ray.wurlod
Search on this forum will provide the answer! :roll:

Re: What is VOC? What is it used for?

Posted: Wed Oct 25, 2006 12:53 am
by bharatagnihotri
Good Old C days!! VOC is all about pointers .. The concept of VOC holds quiet good in server edition especially with HASH files.. As you know in case of Hash files the pointers are kept and are stored... That is one of reasons when people clean up their disk space and delete hash file directories along with all its contents, they start getting VOC errors while re-creating the same hash file with delete option!

Posted: Wed Oct 25, 2006 4:42 am
by Nageshsunkoji
Hi,

UNIVERSE.VOCLIB is a hashed system file. It is used to store long commands
delivered as standard UniVerse commands that would otherwise appear in the
VOC file, to keep the size of the VOC file down and the size of VOC entries relatively
uniform. Entries in the VOC file point to paragraphs or procs in the
UNIVERSE.VOCLIB file.

Hope It will helpful.......

Posted: Wed Oct 25, 2006 7:34 am
by ray.wurlod
There are no pointers - as understood in C - in the VOC file. There are pathnames to files and to routines/commands. There are lots of other things as well - every word/token that you can use in a TCL command (other than field/column names, etc.) exist as entries in the VOC file which, as others have pointed out, contains the vocabulary for DataStage commands.

Posted: Wed Oct 25, 2006 8:44 am
by splayer
I was looking for a source, preferably a PDF file, that I can read in detail about. I did a search in this forum and went through the posts. No luck.

Posted: Wed Oct 25, 2006 9:08 am
by ray.wurlod

Posted: Wed Oct 25, 2006 9:14 am
by meena
Hi,
From previous post
http://www-306.ibm.com/software/data/u2 ... v_101.html

check with UniVerse User Reference Guide.

Posted: Wed Oct 25, 2006 10:20 am
by rameshrr3
To clear the confusion, better refer Universe 9.6 manuals rather than 10.x.

Thanks

Posted: Wed Oct 25, 2006 11:34 am
by ray.wurlod
:D (My links were to the 9.6 manuals.)