Showing posts with label ABEND. Show all posts
Showing posts with label ABEND. Show all posts

Shortest COBOL Program which ABENDs during execution

The shortest COBOL code that will compile successfully but ABEND during execution is of 3 lines. 






But if NOCMPR2 Compiler Option (obsolete with Enterprise COBOL) is used, the PROCEDURE DIVISION is not needed thus reducing it to 2 lines.