This article needs additional citations for verification. (October 2017) |
Paradigm | imperative |
---|---|
Designed by | IBM |
Developer | IBM |
First appeared | 1978 |
OS | Control Program Facility, IBM i |
License | Proprietary |
Influenced by | |
Job Control Language, PL/I | |
Influenced | |
Windows PowerShell |
The Control Language (CL) is a scripting language originally created by IBM for the System/38 Control Program Facility[1] and later used in OS/400 (now known as IBM i). It bears a resemblance to the IBM Job Control Language and consists of a set of command objects (*CMD) used to invoke traditional programs or get help on what those programs do. CL can also be used to create CL programs (congruent to shell scripts) where there are additional commands that provide program-like functionality (IF/ELSE, variable declaration, file input, etc.)
Although CL is a scripting language for system administration, it is used mainly to create compiled programs. The use of interpreted CL scripts through the SBMDBJOB command [2] is in fact extremely limited.
While thousands of commands were written by IBM developers to perform system level tasks like compiling programs, backing up data, changing system configurations, displaying system object details, or deleting them, commands are not limited to systems level concerns and can be drafted for user applications as well.