The environment that is being used is Ubuntu 20.04 on Windows using WSL2. Once installed and running the virtual machine run the command sudo apt update and then sudo apt install gnucobol
Using VsCode with the following plugins for Cobol:
- COBOL
- COBOL Language Support
- Rech Cobol
- Rech Cobol Debugger
To compile a program run the command: cobc -x ./code/filename
To run program use the following command: ./compiled-programs/program_name