PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Auto refresh Display file record format

View previous topic View next topic Go down

Auto refresh Display file record format

Post  maran on Wed Jun 26, 2013 1:32 am

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:

  1. Specify INVITE File Level keyword in the display file source
  2. 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
  3. When you declare the display file in RPG specify  MAXDEV(*FILE) keyword in the File specification
  4. Write the desired display file record format ( Do not use EXFMT as this will not do auto refresh)
  5.  READ the Display File name with error indicator / with operation extender to trap the time out error



Display file Source





RPG Source

avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum