What if Stop Run is missing in COBOL program?

Stop Run is last command in COBOL program.
But if it is missing, will the program abend?

Showing Answers 1 - 4 of 4 Answers

"Stop Run" and "Go Back" both indicate to the program to end processing and in the latter case to transfer control to the calling program.


If you dont specify either of these in your program the behaviour might be unpredictable. Most probably your program will not end execution and an out of time error (S322) will be thrown...

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions