This repository contains an example RPGLE
program that demonstrates reading data from an input file, processing it, and writing the results to an output file.
RPGLE
is a high-level programming language for business applications.- The program is written in
RPGLE
for the IBM i (AS/400) system. - The program is designed to be compiled and run on the IBM i (AS/400) system.
- Reads data from an input file (
INPUTFILE
) using theReadInput
procedure. - Processes each record to double the Quantity field and writes the result to an output file (
OUTPUTFILE
) using the WriteOutput procedure. - Illustrates basic file I/O operations, data manipulation, and modularization of code using procedures.
- Clone this repository to your local machine.
- Customize the program by specifying the correct file names for inputFile and outputFile.
- See process.rpgle as an example.
- Ensure you have access to the required input and output files.
- Compile and run the
RPGLE
program using anRPG
compiler (e.g., IBM Rational Development Studio, IBM i PDM, etc.). - Check the output file to view the processed data.
- This is a simplified example for demonstration purposes.
- The program assumes that the input and output files are defined and accessible on the IBM i (AS/400) system.
This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.
- The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
- For more details, see the LICENSE file in this repository.
Author: Scott Grivner
Email: [email protected]
Website: scottgrivner.dev
Reference: Main Branch