On systems where end users are likely to work with the same objects for long periods, consider using a Display File (DSPFIL) function as the driver program. This program displays existing objects and prompts the end user for action through subfile selection (except add which is F9). Using menu options, the application has to open and close files frequently, which slows performance. A DSPFIL provides a better performing solution.
Note: You can also use an Execute External Function (EXCEXTFUN), Execute User Program (EXCUSRPGM), or Prompt Record (PMTRCD); whichever is appropriate, as the driver program.
For more information on functions, see Function Types, Message Types, and Function Fields, in the chapter "Defining Functions."
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |