CLP
From MidrangeWiki
CLP = Control Language Programming Language.
Much of what we find in CLP programs are IBM Commands. [1] Also see CLP Coding Rules.
As with many other languages, there are multiple versions in popular usage, such as CLP/400 and ILE-CLP.
In some realities, this is comparable to software that is the "glue" connecting higher level language programs like RPG; data base files and their over-rides; screen and print "files" and their over-rides; and other objects with Menus ... typically when we take a menu option, we are launching a CLP program.
CLP Unique Commands
Some 400 Commands [2] can ONLY be executed from within a CLP program, not from Command Line. In other programming languages, these might be called OP CODES.
- PGM (Program)
- ENDPGM
- DCL (Declare Variable)
- IF
- ELSE
- DO
- ENDDO
- GOTO