Previous Topic: Fine Tuning

Next Topic: Specifying the Right Level of Relations Checking

Selecting the Function Type

Edit Transaction (EDTTRN) and Display Transaction (DSPTRN) function types load the entire subfile within the limits of any restrictor parameters, if any. On the other hand, Edit File (EDTFIL) and Display File (DSPFIL) function types load one page at a time. If the relationships between detail and header records do not require the EDTTRN or DSPTRN function types, use an EDTFIL or a DSPFIL function type instead.

The PMTRCD function type has less in-built functionality than the Edit Record (EDTRCD) or Display Record (DSPRCD). If you do not require this functionality, PMTRCD is a better choice.