Sign in

docs RPG Guide

Interacting with the System

Interacting with the System

You can manipulate the IBM i system using Command Language (CL). You interact with the system by entering or selecting CL commands. The system often displays a series of CL commands or command parameters appropriate to the situation on the screen. You then select the desired command or parameters.

Commonly Used Control Language Commands

The following table lists some of the most commonly used CL commands, their function, and the reasons you might want to use them.

Table 1. Commonly Used CL Commands

ActionCL command Result
Using System MenusGO MAIN Display main menu GO INFO Display help menu GO CMDRPG List commands for RPG GO CMDCRT List commands for creating GO CMDxxx List commands for ‘xxx’
CallingCALL program-name Runs a program
CompilingCRTxxxMOD Creates xxx Module CRTBNDxxx Creates Bound xxx Program
BindingCRTPGM Creates a program from ILE modules CRTSRVPGM Creates a service program UPDPGM Updates a bound program object
DebuggingSTRDBG Starts ILE source debugger ENDDBG Ends ILE source debugger
Creating FilesCRTPRTF Creates Print File CRTPF Creates Physical File CRTSRCPF Creates Source Physical File CRTLF Creates Logical File