IBM i Developer Reference

Home › IBM i Developer Reference

This index shows where each common IBM i command, RPGLE built-in function, opcode, and SQL feature is explained on AS400Decoded today. Dedicated quick-reference entries will be added over time.

For complete syntax, the official IBM documentation remains the authoritative source.

Sections on this page: RPGLE Built-in Functions, RPGLE Opcodes, RPGLE ILE Modules, Service Programs and Binding, IBM i Commands, CL Programming Commands, SQL and Db2 for i, DDS and Display Files, Administration, Troubleshooting.

RPGLE Built-in Functions

Built-in functions start with a percent sign and return a value you can use in an expression, such as converting, searching, or measuring data.

Quick-reference pages:

RPGLE Opcodes

Operation codes are the statements of an RPGLE program: reading and writing records, handling errors, and controlling loops.

  • CHAIN: Reads the record that matches a key. Explained in RPGLE Indicators and Status Flags.
  • SETLL: Positions a file at the first record whose key is greater than or equal to a value. Explained in RPGLE Input and Output Specifications Explained.
  • READ: Reads the next record from a file. No dedicated guide yet.
  • READE: Reads the next record with an equal key. Explained in RPGLE Input and Output Specifications Explained.
  • WRITE: Adds a new record to a file. No dedicated guide yet.
  • UPDATE: Changes the last record read. No dedicated guide yet.
  • DELETE: Removes a record from a file. No dedicated guide yet.
  • MONITOR: Starts a group of statements whose errors are handled by ON-ERROR. Explained in Error handling in RPG.
  • FOR: Repeats a group of statements with an index and a limit. No dedicated guide yet.
  • DOW: Repeats a group while a condition is true, testing before each pass. Explained in RPGLE DOW Loops Explained.
  • DOU: Repeats a group until a condition is true, testing after each pass. Explained in RPGLE DOU Loops Explained.

Quick-reference pages:

RPGLE ILE Modules, Service Programs and Binding

How RPGLE source becomes modules, programs and service programs, and how binding and activation groups are controlled.

Quick-reference pages:

IBM i Commands

Commands you type at a command line or call from a program to inspect and manage jobs, objects, libraries, and the system.

Quick-reference pages:

CL Programming Commands

Commands used inside CL programs to control flow, handle messages, submit work, and share data between programs.

SQL and Db2 for i

SQL statements, functions, and services in Db2 for i.

DDS and Display Files

Keywords used in DDS to define 5250 display files and subfiles.

Administration

Day-to-day system administration: work management, spooled output, scheduling, backups, journaling, fixes and authority.

Troubleshooting

Start from the symptom and follow the article that explains the cause.

Quick-reference pages:

Careers and Official Documentation

Scroll to Top