Skip to content

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.

License

Notifications You must be signed in to change notification settings

scottgriv/rpgle-data_processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


RPG Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


RPGLE Program: Data Processing Example

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.

Table of Contents

Features

  • Reads data from an input file (INPUTFILE) using the ReadInput 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.

Getting Started

Usage

  1. Clone this repository to your local machine.
  2. Customize the program by specifying the correct file names for inputFile and outputFile.
  3. See process.rpgle as an example.
  4. Ensure you have access to the required input and output files.
  5. Compile and run the RPGLE program using an RPG compiler (e.g., IBM Rational Development Studio, IBM i PDM, etc.).
  6. Check the output file to view the processed data.

Important Notes

  • 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.

Resources

License

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.

Credits

Author: Scott Grivner
Email: [email protected]
Website: scottgrivner.dev
Reference: Main Branch


About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages