Professional Documents
Culture Documents
2. Two windows will appear. We will use the window with blue box.
3. Then, type (non-case sensitive) “MOUNT drive:\ drive:” Then type the ‘drive:’
Note: The “drive” specified where your COBOL compiler saved.
4. Type the directory/folder where your COBOL compiler found. CD stands for change
directory/folder. Then type EDIT
5. The blue screen will appear. The screen is the EDITOR of COBOL where you can type your
program. Start coding your program at column 8. Then save as “filename.COB”. COBOL program
is case sensitive.
Note: You can use NOTEPAD or NOTEPAD++ as your editor.
6. After saving the program, click File and choose Exit. From this window, you can now compile
your program.
2. If your program is an error-free, type ”LINK filename.OBJ” then press ENTER key. Just press
ENTER key until “Libraries and Paths: ” appeared then type REALDOS and press ENTER key.
3. This time you can execute your program by typing “filename” only or “filename.EXE”. The
“HELLO.COB” will only display “HELLO WORLD!”.