我對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!我編輯了你的問題以匹配你所問的確切的錯誤信息。 –