There are APIs that would give you the record length.

You could also use DSPFD to an *OUTFILE, then read the file...

Albert York wrote:
Is there an easy way to retrieve the record length of a file from
within a C/L program?

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact