The record length must be defined before the file declaration.
20
Cause . . . . . : If the record length is a named constant or built-in function, it must be fully defined before the file declaration. The record length defaults to 32766.
Recovery . . . : Specify the record length as a literal, or move the definitions related to the record length so that they appear before the file declaration. Compile again.