General COBOL Code Examples

>Micro Focus Acucobol Sample Programs
This is a collection of sample programs that help illustrate certain concepts integral to developing with ACUCOBOL-85 and ACUCOBOL-GT. 

>Bubble Sort in COBOL
This is an example of a COBOL II bubble sort. >COBOL Example Programs
This is a list of COBOL examples that demonstrate date routines, get free-form number routine, table sorts, and more. 

>COBOL Example Programs
These sample programs illustrate date routines, free-form extraction, loan amount calculation, money to text, validate/reverse name, and table sort. 

>COBOL Example for Beginner's
This example is for beginner's. 

>COBOL Programs for Beginner's
Here is a large number of examples for beginner's. 

>COBOL Programs for Beginner's
Here are sample COBOL programs that include hello word, accept number, and sales file processing. 

>COBOL Programs for Beginner's
This COBOL example calculates employee payroll information given the tax deduction table for the employee. 

>COBOL Programs for Beginner's
Here is collection of sample code for beginner's. 

>COBOL Reference, Syntax, and Examples
The COBOL samples here cover COBOL syntax for current-date function, evaluate statement, if and end-iIf statement, initialize statement, in-line perform, inspect statement, and reference modification 

>COBOL Sample Programs
These sample programs cover COBOL language elements, two and three files matching, random and sequential files, bubble sort, relative files, screen processing, variable length records, working with dates, object oriented programs, and data structures.

>Dateout COBOL II Procedure
This program outputs current date and time as DB2 timestamp to a file. 

>Editint COBOL Subroutine
This subroutine determines validity of input unsigned integer number and edits it in its place. 

>Fujitsu / Alchemy NetCOBOL Sample Programs
These samples were tested with Version 4 & 5 of the Fujitsu COBOL product set. 

>How to Write the Syntax of COBOL Programs
These are notes that have been obtained from various sources on how to write the syntax of COBOL programs. 

>HP COBOL II/XL Program Example
This example contains a complete COBOL program listing from the HP COBOL II/XL compiler. 

>General COBOL Sample Programs
This is a collection of COBOL examples that show sequential file program, balance sheet printing, calculating yearly depreciation, computing interest, and more 

>Micro Focus Sample Programs
Here are examples of integrating operating system functions into Micro Focus Net Express. 

>Source Entry Utility (SEU) Extensions
These examples show how to extend the functionality of SEU with your own line commands. 

>Structured COBOL
This is the source code from Murach's Structured COBOL book. 

>Towers of Hanoi
This program was developed with the Open COBOL compiler. 

This is a typical example of the type of COBOL programs in many mature installations.


This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

View e-Privacy Directive Documents

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.


Member Login