/cobol-is-fun

This repository contains fun COBOL applications used in tutorials and code patterns on IBM Developer.

Primary LanguageCOBOLApache License 2.0Apache-2.0

cobol-is-fun

This repo houses small COBOL applications that can be used to learn COBOL if you don't already know it, or learn new features that you haven't seen before if you do.

json-parse

This simple COBOL application demonstrates how to parse JSON using IBM Enterprise COBOL. It is written to work in a standalone fashion so it can run without any input files. The JSON string is declared in memory, as are the resuts from the parse, and everything is printed out for clarity.

my-first-program

This application shows how well COBOL works with data. It reads lists from three input files, merges them all together, and sorts them. The application then writes the sorted list to an output file. All this in just a few COBOL statements.

License

This code pattern is licensed under the Apache License, Version 2. Separate third-party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 and the Apache License, Version 2.

Apache License FAQ