A fixed-format COBOL app that merges pre-defined files.
- Author: Ethan Kletschke
- Version:
1.0.0 - Developed and Tested On: Windows 11
- Targeted Platform(s): Windows 10 and above
- License: MIT
- Project Metadata File:
project.yaml
This program sorts the user's input .csv files (as per COBOL's merging
requirements), then merges them into a new Output.csv file.
All you have to do is run the .exe in the compressed folder provided, and
follow the prompts. Note that the CSV data files will be overwritten when
sorted.
If you have cobc and GnuCOBOL's runtime on your system, you can
clone the app and compile it from source.
This is done by:
- Cloning the app with
git clone - Navigating into the cloned project folder
- Navigating into
scripts - Running
build.cmd
For Linux users, run the following in the project root folder:
cobc -I ./src -x ./src/**.cbl -o ./bin/CobMerge -w -q
./bin/CobMergeNOTE: The app has NOT been tested on Linux. Proceed with caution and make a GitHub issue for me to fix whatever the problem is.
The repo's provided .csv data may include duplicate user IDs but with
different data. This is due to how I generated the data (it is
randomly generated by a Visual Studio Code extension, specifically
jrebocho.vscode-random).
If you want to use your own data with my program, follow the guidelines specified below:
The format of the CSV data has to be as follows, without headers:
- User Number (3 digits, including leading zeros)
- User ID (6-character alphanumeric string, with letters and/or digits)
- A 25-character user name and surname