Figure 366 and Figure 367 show how to specify the REF keyword.
Figure 366. Specifying the REF Keyword (Example 1)
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A REF(FILE1)
00020A R RECORD
00030A FLD1 R 2 2
A
FLD1 has the same attributes as the first (or only) FLD1 in FILE1.
Figure 367. Specifying the REF Keyword (Example 2)
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A REF(LIB1/FILE1 RECORD2)
00020A R RECORD
00030A FLD1 R 2 2
A
FLD1 has the same attributes as FLD1 in RECORD2 in FILE1 in LIB1.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.