OPEN "DICT","MY.FILE" TO @DICT ELSE STOP
(@DICT is required to work with virtual fields)

READ @RECORD FROM F.MY.FILE,KV.MY.FILE ELSE PRINT "ERROR F.MY.FILE: ID = 
":KV.MY.FILE
(@RECORD required.  Virtual fields are in MY.FILE)

CLIENT.NAME = {DONOR.NAME}
(Uses virtual field DONOR.NAME in MY.FILE)

HTH


JohnC
*************************************************************************
* John Christian                        DEC ALPHA 4100 5/400            *
* Lutheran Church-Missouri Synod (LCMS) Tru64 UNIX 4.0F      ENV 4.7.1  *
* St Louis MO                           UniData 5.2.16       BEN 5.1    *
*   [EMAIL PROTECTED]   314-317-4248   UNIX migration: 8/30/99         *
*************************************************************************

Hello all. Being new to UniData, I hope that maybe someone can help me.
How do you read an I descriptor in a UniBasic program? The IBM manual
gives me a hint (looking at the CALCULATE command), but the example
given uses a select on the entire file. I am looking for a way to read
the actual data and the I descriptor within a loop without using a
select. I'm familiar with opening, reading, updating, etc. the data
portion of a file, but not the dictionary.

Can anybody point me in the right direction?

Thanks
-------
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to