Which of the following set of statements is correct as per standards?
-
MOVE 1 TO A.
-
MOVE 1 TO A
-
Both of the above.
-
None of the above
B
Correct answer
Explanation
The correct COBOL statement is MOVE 1 TO A without a period at the end (B). The period in option A makes it a complete sentence, which is incorrect when it is part of a larger paragraph or procedure. COBOL sentences end with periods, but individual statements within a sentence do not.