iRPGenie
Learning CenterLog inStart Learning Free
← Learning Center

IBM i Fundamentals

An ordered path through the foundational IBM i concepts every beginner and working developer benefits from knowing.

Showing 17 of 288 lessons
  1. 8Introduction to CLLELog in to accessWhat CLLE is, how it's used to control and coordinate IBM i processes, and how it differs from RPGLE.
  2. 49When to Use CLLE vs RPGLELog in to accessPractical situations where CLLE is a natural fit for orchestration, compared to where RPGLE is the better tool.
  3. 50CLLE Program StructureLog in to accessThe main parts of a simple CLLE program: PGM/ENDPGM boundaries, variable declarations, and commands.
  4. 51CL Commands and ParametersLog in to accessHow CL command parameters work as keyword-value pairs inside a CLLE program, using literals or variables.
  5. 52Variables in CLLELog in to accessHow to declare a CL variable with DCL, common CL data types, and how to change a value with CHGVAR.
  6. 53IF, DO, and Basic Control Flow in CLLELog in to accessHow to read and write IF / THEN / ELSE and DO / ENDDO groups in CLLE, using CL comparison operators.
  7. 54Calling RPGLE Programs from CLLELog in to accessHow to use CALL and PARM to run an RPGLE program from a CLLE program and pass values to it.
  8. 55MONMSG and Basic Error Handling in CLLELog in to accessWhy error handling matters in CLLE, and how to use MONMSG to catch an error from a command or program call.
  9. 56SBMJOB and Batch Job BasicsLog in to accessThe difference between interactive and batch work, and how SBMJOB submits a command to run as a job on a job queue.
  10. 57Passing Parameters to CLLE ProgramsLog in to accessHow a CLLE program receives its own parameters using PARM on the PGM statement, matched with DCL.
  11. 58Calling RPGLE Programs with Parameters from CLLELog in to accessHow a value can flow both ways between CLLE and a called RPGLE program, and why matching data types matters.
  12. 59Working with IBM i Job Attributes in CLLELog in to accessHow to use RTVJOBA to retrieve basic attributes of the job a CLLE program is running in.
  13. 60Checking Objects with CHKOBJLog in to accessHow to use CHKOBJ to confirm an object exists before acting on it, combined with MONMSG to handle a missing object.
  14. 61Sending and Receiving Messages in CLLELog in to accessWhat a message queue is at a basic level, and how to use SNDPGMMSG to send a message and RCVMSG to receive one.
  15. 62Data Areas in CLLELog in to accessWhat a data area is, and how to use RTVDTAARA and CHGDTAARA to read and update one from a CLLE program.
  16. 63Using CLLE for Batch Job OrchestrationLog in to accessHow a CLLE program combines checking objects, calling programs, error handling, and SBMJOB into one coordinated sequence.
  17. 64Common CLLE Mistakes and Best PracticesLog in to accessCommon beginner mistakes in CLLE programs, such as missing MONMSG, unqualified names, and unclear variable names.