Page 1 of 1

regarding universe command utility

Posted: Tue Dec 05, 2006 12:33 pm
by vijaykumar
Hi Gurus,
one of my team member is saying that using the command
SORT.DICT DSJOBS, we can extract the entire metadata of the objects in the universe.is that correct.

why is my command SORT.DICT DSJOBS returning error, comes up with the error message VERB SORT.DICT is not in your VOC.

i could understand that there is no corresponding entry in VOC FILE.

can anyone help me plz , is my syntax wrong or how to make corresponding entry in VOC FILE.

cheers;
vijay

Re: regarding universe command utility

Posted: Tue Dec 05, 2006 12:43 pm
by narasimha
vijaykumar wrote: one of my team member is saying that using the command
SORT.DICT DSJOBS , we can extract the entire metadata of the objects in the universe.is that correct.
Don't know about that but try without the .

Code: Select all

SORT DICT DS_JOBS
you get results. Is that what you want?

Posted: Tue Dec 05, 2006 1:17 pm
by I_Server_Whale
Well!

Code: Select all

LIST DICT DS_JOBS
or

Code: Select all

LIST.DICT DS_JOBS
or

Code: Select all

LIST.DICT
gives the same result as

Code: Select all

SORT DICT DS_JOBS
I wonder what's the difference :? .

May be Universe gurus can help.

Whale.

Posted: Tue Dec 05, 2006 1:25 pm
by narasimha
Ok I guess I did not make it clear there..
I wanted to rectify if the OP had used DSJOBS over DS_JOBS, which I did, but mentioned only the . :roll:

Posted: Tue Dec 05, 2006 1:33 pm
by I_Server_Whale
The syntax error that was corrected is lucid. But I was wondering about the differences in the commands that I listed and the usage/role of DICT (dictionary).

Thanks,
Whale.

Posted: Tue Dec 05, 2006 1:42 pm
by narasimha
Lucid for you, not for the OP, unless it is a typo ;)
Just put forward my two cents
I am wondering about the difference too, watching for Universe Gurus to share their universe of knowledge!

Posted: Tue Dec 05, 2006 1:52 pm
by DSguru2B
Never heard or saw SORT.DICT
I know there exists SORT.LABEL and SORT.ITEM which use the reserved word DICT but not SORT.DICT.
But then again i am not a Universe guru. Still learning :)

Posted: Tue Dec 05, 2006 1:57 pm
by ArndW
"LIST DICT" and "LIST.DICT" are synonyms. The default sort order for the DICT listing happens to be the same as a simple SORT command, so produce the same ordering.

Posted: Tue Dec 05, 2006 6:30 pm
by vijaykumar
hi gurus;
when i use the command LIST.DICT DS_JOBS;
iam getting the query o/p as

@id D 0
name D 0
readonly D 1
oletype D 2

i understood that its displaying the column names- metadata information.

but what does 'd ' mean and what does 0
here means.

plz help me
cheers;
vijaykumar

Posted: Tue Dec 05, 2006 7:27 pm
by ray.wurlod
LIST.DICT is a paragraph (macro, if you like) that invokes LIST DICT but prompts for the file name if you forgot it give it on the command line.

The default display for file dictionaries, governed by the @ phrase in the dictionary for dictionaries, specifies sorting by TYPE then by KEY.CODE, so that the SORT verb is redundant. And that's why there's no SORT.DICT.