I'd stick with the API's versus
- DSPDIRE to an outfile
- hacking into system supplied files
or you may be in for unpleasant surprises when you upgrade your OS.
Granted, if you use SQL instead of RLA in RPG to access the files you'll
have less of a chance of record level checks. Then again, who's to say
that IBM wouldn't change from using a DB2 file to a stream file or
This mailing list archive is Copyright 1997-2019 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