Company System is a demo application that works with three build tools:
- GNU Make
- ibmi-bob
- ARCAD Builder from IBM i Modernization Engine for Lifecycle Integration (Merlin)
| Object | Type | Description |
|---|---|---|
| employee | PF | An SQL table to hold the employee records |
| departmnet | PF | An SQL table to hold the department records |
| popdept | SQLPRC | An SQL Stored procedure to auto populate department records |
| popemp | SQLPRC | An SQL Stored procedure to auto populate employee records |
| emps | DSPF | Display file for Employee maintenance |
| depts | DSPF | Display file for Department maintenance |
| depts | SQLRPGLE | Department maintenance program |
| employees | SQLRPGLE | Employee maintenance program |
- Open the SHELL and Install IBMi Repos & BOB
yum install ibmi-repos bob
- Create a library to save the build
cl "CRTLIB LIB(CMPSYS) TEXT('Better Object Builder test project')"
- Clone the repository
git clone https://github.com/IBM/ibmi-company_system
- Navigate to the cloned repo directory & set the environment variable to point the library that we just created
cd cmpsys && export CURLIB=CMPSYS
- Run the build using
makei build
- GNU Make
- ibmi-bob
- Project build
makei build - Compile of files
makei compile -f {files}
- Project build
- ARCAD Builder
- Project build
/QOpenSys/pkgs/bin/elias compile {branch} - Compile of files
/QOpenSys/pkgs/bin/elias compile {branch} -f {files}
- Project build