I am working on an OLD RPGLE program that uses a DSPF that uses the ERRMSG keyword to display error messages. In my program, I modify some of the other i/O fields on the DSPF and re-display the record format whenever the ERRMSG keyword has been activated, For some reason the changes I make to the i/o fields are not recognized/displayed. This only happens when ERRMSG has been activated and the record format has been re-displayed. If no errors occurred and ERRMSG keyword has not been activated, no problem, the i/o changes are displayed. So, this seems to be tied to the use of ERRMSG.
Is there a way around this other than changing the error handling to use a message subfile.
Is there a way around this other than changing the error handling to use a message subfile.
Comment