aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

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.

请先 登录 后评论

1 个回答

小智
PCC-01005:未找到PROCEDURE DIVISION,
.原因:预编译器在Pro * COBOL程序中找不到PROCEDURE DIVISION头。一些可能的原因如下:,
.o标题中的关键字丢失或拼写错误。,
.,
.o在REMARKS部分中有一个撇号(预编译器错误地使用了一个字符串开头的撇号)。,
.,
.o工作储存部分有一个无终止的文字。,
.,
.o指定了FORMAT选项的错误值。,
.,
.操作:检查PROCEDURE DIVISION标题是否正确拼写,在REMARKS部分中没有撇号,“工作存储部分”中的所有文字都被终止,并且指定了FORMAT选项的正确值。,
.
请先 登录 后评论