我对COBOL相当陌生,正试图实现一个涉及基本算术运算的程序。在一个声明中所产生的错误对我来说是:为变量赋值
Move (MULTIPLY UPrice BY OrdAmt) TO OrdCost
使我有以下错误:
Move (MULTIPLY UPrice BY OrdAmt) TO OrdCost.
........^
%COBOL-W-BLKPREEND, Unreachable statement
at line number 36 in file USR$ROOT3B:[GPY]CLASS5A.COB;13
Move (MULTIPLY UPrice BY OrdAmt) TO OrdCost.
.............^
%COBOL-F-SYN7, Missing literal or data-name
at line number 36 in file USR$ROOT3B:[GPY]CLASS5A.COB;13
Move (MULTIPLY UPrice BY OrdAmt) TO OrdCost.
.......................................^
%COBOL-F-MISSING, "." required at this point
这种说法就在于,如果报表的结构中。 Missing literal or data-name
是什么意思?
欢迎来到Stack Overflow!我编辑了你的问题以匹配你所问的确切的错误信息。 –