Program Structure Overview in Monarch Apps
IBM i Programs written in RPG and CL are Migrated as C# classes derived from ASNA.QSys.HostServices.Program
(which we will refer in this document as a QSys Program
- for short -).
In order for a QSys Program class to support the IBM i Developer’s model, it must rely on other classes such that it may :
- Use Display Pages.
- Perform record-at-time File Access logic: SetLL, Chain, Update, Delete, etc.
- Send and Receive Messages described externally.
- Condition logic based on Indicators.
- Deal with operations involving Fixed types.
- Belong to a stateful work environment or Job. Including Local Data Area.
In this section the Concepts behind the implementation of such framework will be presented.