Skip to main content
Dominique Sacre
Rocketeer
Feb 15, 2013 10:31 PM UTC

1006 COBOL word contains more than 31 characters. Word truncated

Problem:

This error occurs during compile after upgrading to new release. Previous release truncated to 30 characters.

Resolution:

To be compatible with the earlier versions of COBOL, code the compiler directive MF.  If MF"10" or lower is specified, data names are truncated to 30 characters.

-C MF=10

Old KB# 2106