Skip to content

Instantly share code, notes, and snippets.

@MMazoni
Last active November 10, 2019 22:34
Show Gist options
  • Select an option

  • Save MMazoni/658e6f2b8adb5399822067b15ee1a4e6 to your computer and use it in GitHub Desktop.

Select an option

Save MMazoni/658e6f2b8adb5399822067b15ee1a4e6 to your computer and use it in GitHub Desktop.
Creating a Cobol environment in Ubuntu 19.04
  1. Install Open-Cobol, the compiler:
sudo apt install open-cobol
  1. Install the vscode extension Cobol for highlighting cobol syntaxe and other things.

  2. Write a program in .cob or .cbl

  3. Compile the file

cobc -x -o filename filename.cbl
  1. Execute the binary
./filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment