Perfecting DDS Windows in Modular Programs.
Here are some tips
To make WINDOW work across display files and programs, do the following:
o Compile all but the last display file with RSTDSP(*YES). If the display files used are A, B and C (in that order), then you must compile A and B with RSTDSP(*YES). Com-pile C either way (with *YES or *NO).
o Every display file but the first one must contain a dummy record including the ASSUME keyword. In the same example, this means that display files B and C need to have this keyword. Display file A doesn’t.
o Every display file but the first one should have the KEEP keyword in the record format which contains the WINDOW keyword. This prevents the screen from blinking when the windows are removed.