bdfp1m0dProgramming Concepts and Reference

Using Extended Logical Records

In application programs, you can do the following with extended logical records (LRECs):

The TPFDF product adds each subLREC immediately after the control part of the extended LREC. If you add several subLRECs to the same extended LREC, the subLRECs appear in reverse order in the LREC. This is shown in Figure 1.

Figure 1. How SubLRECs Are Added to an Extended LREC


The subLRECs are numbered in the order they appear in the extended LREC (see Figure 2).

Figure 2. How subLRECs Are Numbered in an Extended LREC


See TPFDF Database Administration for more information about defining extended LRECs.