A COBOL app that generates a textfile report from a pre-defined .dat file.
- Author: Ethan Kletschke
- Version:
1.0.0 - Developed on: Windows 11
- License: MIT
- Project Metadata: project.yaml
- Decompress the
.zipfolder provided in the repo's latest release - Run
CobReport.exe - Open
SalesReport.txtto view the report.
Sales.dat is the data file used by CobReport to generate the report file
SalesReport.txt. The data within has to follow the format specified below:
| Column | Content |
|---|---|
| 1 | 5-digit sales ID, including leading zeros |
| Delimiter | 4 spaces |
| 2 | Profit for this quarter. Must be in the format 9999999.99, where "9" is a digit from 0 to 9. |
| Delimiter | 4 spaces |
| 3 | A city name, up to 20 characters |
When you clone the repository for CobReport, you will notice a data folder.
With in the data folder is a copy of Sales.dat, as well as Cities.txt.
Cities.txt is merely a note for whoever clones the repository about what cities
were used for the sample data, as well as a note specifying that you can use your
own cities when making your own data. It is not used by the app at runtime.