What is VOC? What is it used for?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

What is VOC? What is it used for?

Post 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.
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

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

Post by ray.wurlod »

Search on this forum will provide the answer! :roll:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
bharatagnihotri
Participant
Posts: 7
Joined: Thu Sep 30, 2004 5:22 am

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

Post 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!
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post 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.......
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

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

Post by ray.wurlod »

IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

Post by meena »

Hi,
From previous post
http://www-306.ibm.com/software/data/u2 ... v_101.html

check with UniVerse User Reference Guide.
rameshrr3
Premium Member
Premium Member
Posts: 609
Joined: Mon May 10, 2004 3:32 am
Location: BRENTWOOD, TN

Post by rameshrr3 »

To clear the confusion, better refer Universe 9.6 manuals rather than 10.x.

Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:D (My links were to the 9.6 manuals.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply