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