|
Douglas, For some reason though, it does not update the display file until after all > records have been processed. By default, DSPFs will be compiled with DFRWRT(*YES), which optimizes 5250 data streams by not sending output operations until you also do an input. You can override that behavior with one of two ways: - Use DFTWRT(*NO) on the CRTDSPF (or OVRDSPF), which affects all formats in the display file - Add keyword FRCDTA (force data) to the record format(s) which you want output immediately I prefer the second method since: - It leaves other formats optimized - It is more self documenting in the source - You don't need to remember to specify anything special on the CRTDSPF (or use a tool to do it for you) Doug
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.