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

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

Join the forum, it's quick and easy

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

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Auto refresh Display file record format

Go down

file - Auto refresh Display file record format  Empty Auto refresh Display file record format

Post  maran 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
file - Auto refresh Display file record format  Autore11




RPG Source
file - Auto refresh Display file record format  Autore12
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top

- Similar topics

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