How to Get Rid of Numbers in COBOL
Every line of code in COBOL has a a string of numbers before it. This is normal and you should leave the numbers in place. However, sometimes the numbers appear twice. If this happens in your COBOL program, you can't compile the program; when your try to compile you will receive an "ENTER JOBNAME CHARACTER(S)" error. To fix this you need to remove the extra numbers.
Instructions
-
-
1
Press a few random keys on your keyboard and press "Enter." Press "Enter" again to clear the next two messages so that you get back to the command prompt.
-
2
Type "UNNUM" and press "Enter."
-
-
3
Type "NUM OFF" and press "Enter." This removes the extra numbers and leaves spaces in their place.
-
4
Delete the spaces manually as you would edit any line of code. Once the spaces are all deleted, you can compile your COBOL program.
-
1