Mastering QSYS CL Programs
IBM i Command Language uses free-format syntax, similar to modern programming languages such as C#.
ASNA Monarch Cocoon migrates CL Programs as classes derived from QSys CLProgram
which is a specialized version of QSys Program
CL Program extends QSys Program
by adding support for:
- %Switch, *BCAT, *TCAT methods.
- Retrieve Job Attribute methods.
- Data-Area operation methods.
- File and Member (Add, Delete, Remove, Initialize, retrieve Member Description) methods.
- Library-list (Add, Remove) methods.
- File Override methods.
- Delay/Resume Job methods.
- Server Date Conversion methods.
Notes:
- CL Programs do not have an implicit logic cycle.
- CL Programs are de-activated when program completes. For information about Program Activation read this.