|Introduction to CL (Control Language)
Control Language (CL)
Control Language (CL) allows AS400 programmers or administrators to write CL programs using IBM i commands or other IBM-supplied commands. We can create user-defined CL commands too.
The control language is the set of all commands using which a user or programmer or system administrator can request IBM i operating system functions.
The control language is the primary interface to the AS400 operating system. CL can be used at different workstations by the user, program, or procedures or in batch or in interactive mode. A single CL statement is known as the CL command.
CL command can be entered and executed using the below ways:
Please note that all the commands have to prompt support with default values and validity checking for most parameters to ensure that the values are entered correctly before any command gets executed.
CL command names
Command = verb + object acted on
CL command verb abbreviations
List of CL commands with their abbreviations and meaning. There are many abbreviations out of which some of the most commonly used abbreviations are listed here.
CL command verbs
Parts of CL commands
It includes a command label(optional), command name (mnemonic), and one or more parameters (Keyword and value).
CL commands on IBM i object
CL command with IBM i objects
CL commands on multiple IBM i objects
Some of the CL commands are listed here.
CL command with multiple IBM i objects
|Display object description