Re: U2 Universe CREATE-FILE (Beginner)
- From: "Grant W. Boice, Jr." <GBoiceJr@xxxxxxxxxxx>
- Date: Tue, 29 Aug 2006 01:11:59 GMT
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.DATENew 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
.
- References:
- U2 Universe CREATE-FILE (Beginner)
- From: derek54h
- Re: U2 Universe CREATE-FILE (Beginner)
- From: Grant W. Boice, Jr.
- Re: U2 Universe CREATE-FILE (Beginner)
- From: JJ
- U2 Universe CREATE-FILE (Beginner)
- Prev by Date: Re: SYSTEM(14) with D3
- Next by Date: Re: SYSTEM(14) with D3
- Previous by thread: Re: U2 Universe CREATE-FILE (Beginner)
- Next by thread: mv.NET user forum?
- Index(es):
Relevant Pages
|