- 论坛徽章:
- 0
|
To optimize operations, AS/400 doesn't update the screen until (or unless) you request a READ operation from the display file. In most cases, this is desirable behavior. If you "paint" the screen by writing several pieces one after another, the AS/400's default treatment makes the result appear all at once.
You need to defeat this feature with the DFRWRT parameter of either the Create Display File (CRTDSPF) command or the Change Display File (CHGDSPF) command. If you haven't already compiled the display file, run CRTDSPF with DFRWRT(*NO). If the display file already exists, use CHGDSPF DFRWRT(*NO).
Then you can use WRITE statement to display. |
|