We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [cobol]

COBOL (COmmon Business Oriented Language) was the product of a US Department of Defense initiative to develop a standard and portable programming language for business applications.

Filter by
Sorted by
Tagged with
3
votes
1answer
733 views

COBOL layout parser in Python

I don't know anything about parsers but I had to write something to read COBOL for a work project. What are some things that I could improve with my Python coding and parser design? Note: This isn't ...
7
votes
1answer
78 views

Database for storing exam results

I've been getting into COBOL lately, and I find it a very peculiar and interesting language that can still hold up to this day. The reason I'm uploading this is mostly to get some feedback in code ...
6
votes
2answers
140 views

Fizzbuzz some Fibonacci numbers

I was teaching some new people in office a bit of COBOL, so I threw together this exercise where they had to write a program that would generate the first 10 numbers of a Fibonacci suite and then test ...
14
votes
3answers
889 views

Circumference and Area of a Circle in COBOL

I recently started Learning COBOL from Lynda and this is my code for the first challenge . The Objective is that the user will provide the radius and we have to calculate the Circumference and the ...
7
votes
5answers
731 views

Fizzbuzz in COBOL, Verbose dinosaur style

I was long a professional in COBOL, but noone ever dared comment my style. As the FizzBuzz seems fashion here, I made one. Verbose, of course, we're speaking about COBOL. I know I could have made in ...
9
votes
2answers
323 views

Hangman in COBOL

Whenever I learn a new (or an old :)) programming language, I implement Hangman in it. This time it's with COBOL. ...
12
votes
2answers
22k views

Trim Functions in COBOL

A coworker, from a past programming life, called me up last week and asked about Trim Functions in COBOL. I sent her these PEFORMed "functions", which I've had lying about and without any professional ...
22
votes
4answers
572 views

Current and estimated arrival times

This is my first COBOL program, and I'd like to get a critique as I am unfamiliar with best practices. Particularly, I'd like to know how to get the input and output to be more elegant and less ...