COBOL Messages


LNC2537

FORMAT and USAGE not compatible for data item %1. USAGE clause ignored.

30

Cause . . . . . : An incorrect combination of FORMAT category and USAGE, or FORMAT literal and USAGE, encountered. An item with a FORMAT phrase can only have an explicit USAGE of DISPLAY or PACKED-DECIMAL. A FORMAT literal may have been implicit (from SPECIAL-NAMES) or explicitly specified. USAGE PACKED-DECIMAL can only be specified for a FORMAT literal containing numeric conversion specifiers.

Recovery . . . : Ensure that a correct USAGE was specified with a FORMAT phrase. Ensure the FORMAT literal contains only conversion specifiers, and that the conversion specifiers result in digits; or remove the USAGE clause.


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