Bill Stinocher wrote:

> 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?

Take a look at ITYPE()

However... I usually just rewrite the logic in UniBasic.  I have no
control over the dictionaries and don't want to risk one of the report
writers changing a dictionary item and breaking one of my programs.

If it's complicated, then it probably belongs in a subroutine that gets
called from both the I-Descriptor and the UniBasic program.

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

Reply via email to