FORMAT (Format) Keyword for Physical and Logical Files--Example

Figure 44 shows how to specify the FORMAT keyword for a logical file.

Figure 44. Specifying the FORMAT Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R RECORD                    PFILE(FILE2)
00020A                                      FORMAT(FILE1)
     A

The record format for this logical file is the same as the previously specified record format in file FILE1. The name of this record format (RECORD) must be the same as the name of the record format in FILE1.