Table of contents
GO MAJOR
or F4 on empty command line → Major Command Groups
GO CMD<keyword>
→ search a command
https://www.ibm.com/docs/en/i/7.6.0?topic=language-cl-command-finder
Control language programming allows us to automate and control the launch of commands, with variable usage and error handling.
<aside> 💡
CL programs can perform extra functions outside the scope of CL commands (programs can as example communicate with workstations or database files)
CL programs can use variables to store values for computation, evaluation, and insertion into parameters of other commands and programs
Variables are defined and used by the program while the program is running. They are stored temporarily. When the program stops, the variables and its values are lost
</aside>
The CL program is stored in a source physical file. Inside the SRCPF, we will have the members that are storing the program source code
QTXTSRC for text QCSRC for C programs QCLSRC for CL programs (there is also QCLLESRC) QRPGSRC for RPG III programs QRPGLESRC for RPG IV and RPG Free programs QDDSSRC for database, screen and print files developed with DDS (Data Definition Specifications)
CRTSRCPF FILE(MYLIB/QCLLESRC) RCDLEN(112) TEXT('Source - CLLE')
→ Create Source Physical File (to store CLP members)
<aside> ⛔
The recommended record length for the converted source physical file is 112 characters
</aside>
STRPDM
→ Start Programming Development Manager