COBOL Messages


LNC0859

RECORD IS VARYING maximum length %1 longer than any record description. Accepted.

20

Cause . . . . . : The maximum record length you specified in the RECORD IS VARYING clause is longer than any of the record descriptions for the file. The longest record described is %2, which is %3 characters in length. If you have specified a DEPENDING ON data item and at run time this data item contains a value that is greater than the length of the longest data item but within the range specified in the RECORD IS VARYING clause, the DEPENDING ON value will be used as the record length for WRITE or REWRITE statements.

Recovery . . . : Change your program so that the maximum record size specified in the RECORD IS VARYING clause matches the length of the longest record description for the file.


[ Top of Page | Previous Page | Next Page | Table of Contents ]