CL (programming language)

from Wikipedia, the free encyclopedia

CL ( Control Language German: control language ) is a batch- oriented programming language for the IBM operating systems CPF and later OS / 400 .

use

CL was designed for automating system processes, controlling the configuration or starting RPG programs with parameters . It is not a suitable language for programming applications whose complexity goes beyond a display screen.

Function overview

The control language CL includes the following functions:

  • Commands for the program call
  • Logical functions for branches
  • Message control
  • Parameter control device for exchanging variables with other programs

development

As early as 1979, the IBM System / 38 with the control program CPF also contained the control language CL. More than 250 commands gave users of this system access to most of the system's functions. The CL commands can be used both interactively and in batch mode.

In the OS / 400 release version V5R3, it enables loops and switch cases for the first time .

Procedural programming is also possible since V5R4. With this you can create quite complex programs with CL, even if that is not the main purpose of this language.

literature

  • IBM System / 38 Control Program Facility (CPF) Control Language (CL) Manual - 1981 IBM