Auto refresh Display file record format
Page 1 of 1
Auto refresh Display file record format
Using this technique, we can make AS/400 screen to automatically refresh , without any keyboard input. This technique has been around for a long period and to do that we need to do the following:
Display file Source
RPG Source
- Specify INVITE File Level keyword in the display file source
- Do a compiler override when you creat a the display file ( i.e CRTDSPF and press F4) so that you can specify WAITRCD parameter in terms of seconds for autofresh the screen
- When you declare the display file in RPG specify MAXDEV(*FILE) keyword in the File specification
- Write the desired display file record format ( Do not use EXFMT as this will not do auto refresh)
- READ the Display File name with error indicator / with operation extender to trap the time out error
Display file Source
RPG Source
Similar topics
» Do the multi format logical file need to have same key field attributes for each record format? what is the significance of K *None in such Logical files?
» Read using record format or File name
» Display file field display and Color Attribute and Hex Values
» Display File
» Display file - Sign of the numeric value
» Read using record format or File name
» Display file field display and Color Attribute and Hex Values
» Display File
» Display file - Sign of the numeric value
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum