PCC-01005: PROCEDURE DIVISION not found

PCC-01005: PROCEDURE DIVISION not found

Cause: The precompiler could not find the PROCEDURE DIVISION header in a Pro*COBOL program. Some possible causes follow: o A keyword in the header is missing or misspelled. o There is an apostrophe in the REMARKS section (the precompiler mistook the apostrophe for the beginning of a string literal). o There is an unterminated literal in the WORKING-STORAGE SECTION. o The wrong value for the FORMAT option was specified.

Action: Check that the PROCEDURE DIVISION header is in place and spelled correctly, that there is no apostrophe in the REMARKS section, that all literals in the WORKING-STORAGE SECTION are terminated, and that the right value for the FORMAT option is specified.

No comments:

Post a Comment