|
On Friday 08 October 2004 18:02, York, Albert wrote: > That's what I ended up doing. > > However, when I reprint the report I need to know the actual length. I > ended up using a small RPGLE program which rips through the file and > determines the longest record. Not fancy but it works. I realise it's done now but it just occurred to me that if you used 3000 byte VARLEN fields the record length would be irrelevant and, possibly, a logical file keyed on the 2 byte length field might tell you the longest record with one READ...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.