Skip to content

ethanKletschke/CobReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CobReport

Compile CobReport

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


How to Use CobReport

  1. Decompress the .zip folder provided in the repo's latest release
  2. Run CobReport.exe
  3. Open SalesReport.txt to view the report.

About Sales.dat

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

About Cities.txt (If You Clone)

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.