There are many Free Mainframe Emulators available for Windows which can be used to write and learn simple COBOL programs. So just make use of it and enjoy your learning. Feel free to modify any example and execute it online.įor most of the examples given in this tutorial, you will find a Try it option in our website code sections at the top right corner that will take you to the online compiler. It gives you confidence in what you are reading and enables you to verify the programs with different options. We have set up the COBOL Programming environment online, so that you can compile and execute all the available examples online.