PFILE (Physical File) Keyword for Logical Files--Examples

Figure 59, Figure 60, and Figure 61 show how to specify the PFILE keyword.

Figure 59. Specifying the PFILE Keyword (Example 1)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R LOGRCD1                   PFILE(PF1)
     A

In Figure 59, LOGRCD1 can use fields only in PF1.

Figure 60. Specifying the PFILE Keyword (Example 2)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R LOGRCD2                   PFILE(PF1 PF2)
A               :
A               :
00020A          R LOGRCD3                   PFILE(PF1 PF2 PF3)
A               :
A               :
A

In Figure 60, LOGRCD2 must use fields common to PF1, and PF2, and LOGRCD3 must use fields common to PF1, PF2, and PF3.

Figure 61. Specifying the PFILE Keyword (Example 3)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R LOGRCD4                   PFILE(PF1)
     A               :
     A               :
00020A          R LOGRCD5                   PFILE(PF2)
     A               :
     A               :
00030A          R LOGRCD6                   PFILE(LIB1/PF6)
     A

In Figure 61, LOGRCD4, LOGRCD5, and LOGRCD6 can have unique fields. LOGRCD6 specifies a qualified physical-file name.