REF (Reference) Keyword for Intersystem Communications Function Files --Example

Figure 419 and Figure 420 show how to specify the REF keyword.

Figure 419. Specifying the REF Keyword (Example 1)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      REF(FILE1)
A          R RECORD
A            FLD1      R
A

FLD1 has the same attributes as the first (or only) FLD1 in the file, FILE1.

Figure 420. Specifying the REF Keyword (Example 2)

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      REF(LIB1/FILE1 RECORD2)
A          R RECORD
A            FLD1      R
A

FLD1 has the same attributes as FLD1 in RECORD2 in FILE1 in LIB1.