STOP Statement
This performs to stop or to halt the execution of the program.
Format:
STOP RUN/Lit.
NOTE:
- RUN is the instruction for the computer to run or execute the next possible program. This hands over the control to the operating system (O.S.) after its execution.
- Literal is any Numeric or Non-numeric. This form temporarily halts the program execution, the literal is communicated to the operator and operator intervention is required to resume program execution.
- The programmer should try to use STOP RUN instead of STOP (Lit.).
Examples:
-
- STOP 5.
- STOP "hellow".
- STOP RUN.

Input Outout Statements
PROCEDURE DIVISION Page