To run a COBOL program, set environment variables, run the program, and correct any runtime errors.
For example, if the program uses an environment variable name to assign a value to a system file-name, set that environment variable.
For example, if the command cob2 alpha.cbl beta.cbl is successful, you can run the program by entering alpha.
For example, you can use the debugger to examine the program state at the time of the errors.
Tip: If runtime messages are abbreviated or incomplete, the environment variables LANG or NLSPATH or both might be incorrectly set.
related tasks
Setting environment variables
Setting environment variables for COBOL for Windows
Using the debugger
related references
Runtime environment variables
Appendix I. Runtime messages