Figure 82 shows how to specify the VARLEN keyword for a physical file.
Figure 82. Specifying the VARLEN Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R RECORD1 00020A FIELD1 100A VARLEN(30) 00030A FIELD2 200A VARLEN A
FIELD1 is defined as a variable-length field with a maximum length of 100 and an allocated length of 30. FIELD2 is defined as a variable-length field with a maximum length of 200 and no allocated length.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.