Common COBOL Errors

Errors can be roughly divides into 3 types:
TypeDescriptionHow to fix some common Errors
Pre-compilerProblems that prevent the job from being submitted to the complier, usually bad JCL
CompilerProblems with your COBOL code
Run-timeYour program complied and ran, but did something illegal Methods for fixing run-time errors
3 Types of Errors

Pre-compilation Errors

Pre-compilation errors are sometimes hard to solve because you do not get a descriptive message. You may find a clue in the messages file of your output. There are some basic things to look for:

Compiler Errors

Run-time Errors


Please select one of the errors from the pull-down menu. You selecetd an invalid option.

Back to the Top