Re: U2 Universe CREATE-FILE (Beginner)



Thanks for the info JJ. I completely forgot PRIME. (Silly me!) I have
not see this type of format in UniData. I try it as an experiment for
myself.

"JJ" <readyjj@xxxxxxxxx> wrote in message
news:1156448582.108409.224740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Grant W. Boice, Jr. wrote:
Derek,

You might want to also check the UniVerse manual because the UniVerse and
UniData dictionaries have a slightly different look to them than what JJ
told you. I think what JJ told is correct for other favorites of PICK,
but
I'm not sure if it will work for UniVerse, because I have never seen a
UniVerse (or UniData) dictionary take on what JJ wrote to you.

<If it does, I sure someone in this group will correct me.>

Having said that here's how the dictionary entry would look like in
UniVerse
or UniData...

DICT<1> -- "D", "I", "V" (for UniData), "X" or "PH"
DICT<2> -- position in the dictionary
DICT<3> -- output masks like "MD2" or "D4/"
DICT<4> -- heading/column name on report
DICT<5> -- length of output. E.g. "10L", "5R"
DICT<6> -- "S" for single value or "M" for multivalue

So, if I was creating a dictionary for INVOICES,

ED DICT INVOICES INV.DATE
New record.

----: I
0001= D
0002= 1
0003= D4/
0004= Invoice^253 Date
0005= 10L
0006= S
Bottom at line 6.
FI

Like I stated, look over the manual and I think this will give you some
better guidance. Also, I would suggest look at an existing dictionary
to
give you more insight.

Hope this helps! Good Luck, Good Hunting!

-- Grant


<derek54h@xxxxxxxxx> wrote in message
news:1156278619.472149.71760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How do you specify a files columns/fields? I can create files using
the CREATE.FILE command but only the @ID field is created by doing
this. How can I add new fields and give them a name?



Grant and Derek:

Yes there are PRIME style and PICK style dictionaries and both can be
utilized in Universe as we have both in use here. I assume Unidata
works same way as well.

Both styles are covered in the link I sent to Derek..

The descriptions you use above as examples appear to be PRIME style and
the one I sent is PICK style..

I do not believe it matters which he uses as programmers here use both
styles and whatever they are comfortable with is what they stick with.

Enjoy!, Jay



.



Relevant Pages

  • Re: A Tale of Two Unis
    ... Does Unidata have ... We publish our credit software on several flavors, Universe and ... UV dictionaries will do most ...
    (comp.databases.pick)
  • Re: U2 Universe CREATE-FILE (Beginner)
    ... You might want to also check the UniVerse manual because the UniVerse and ... UniData dictionaries have a slightly different look to them than what JJ ... Grant and Derek: ...
    (comp.databases.pick)
  • Re: Long text fields
    ... filename in the database. ... > I have worked with a UniData product that has long text fields (such as ... > single-valued field instead to eliminate the need for that. ... > like it to be compatible with the others -- UniVerse, Revelation, ...
    (comp.databases.pick)
  • Re: How Our Brains Ignore Unpleasant Facts was: Re: The Reasonable
    ... The universe I inhabit requires the trays to be then put ... We have dictionaries that we use to get the correct spelling and basic ... whether or not you hae read anything by Francis Collins.- Hide quoted text - ... Tis a fine Scottish word is it nae. ...
    (talk.origins)
  • Re: How Our Brains Ignore Unpleasant Facts was: Re: The Reasonable
    ... The universe I inhabit requires the trays to be then put ... We have dictionaries that we use to get the correct spelling and basic ... I "hae" read The Language of God" last week. ...
    (talk.origins)