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.
10 questions
10
votes
1
answer
3k
views
COBOL Database Program
For a school project I've created a database program in COBOL and now that I'm finished, I have to write a report on the project.
As one aspect of the report, we have to discuss whether the product (...
2
votes
1
answer
1k
views
Basic COBOL Calculator
Small Calculator I made for myself while trying to learn COBOL for fun. Compiler used is GNUCOBOL. Just asks for input and will either do multiplication, subtraction, or addition. Completes run after ...
4
votes
1
answer
4k
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
1
answer
130
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
2
answers
179
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
3
answers
2k
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 ...
9
votes
5
answers
2k
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 ...
10
votes
2
answers
518
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.
...
14
votes
2
answers
29k
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
4
answers
632
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 ...