The CL Program or CL Procedures is a collection of CL Commands that are used on the AS400 system to get input, carry out the process and the final results will be obtained. The program or procedure is given a name (CL Program object with type * PGM and CLP attribute) and can be called in the AS400 comman line or can be used in other programs or procedures. Things that must be considered in making CL Program is the Source Program (Source Physical File), compile and bind the source according to the procedure.
If you enter CL Command separately from the Command Entry screen, each command is separately processed. With the CL Program, there is no need to input one by one so that the time needed can be faster. Plus, the CL procedure can be used in batch or interactive processes.(more…)