![using cl to chain records from file](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0OUIEuaUlp8vxTSDPVd90Iszax8fotBKevZ835dYNEzJcIr7fvkYP4jC7q44p6VszCVDb-CrUONFlAROvHq6VTuW6ac-lFRILTkraz8HfxH4DlLeMwybUGb_Bmg9OP2GfrVdxz221kRiM/s200/cl.png)
I have been receiving a lot of messages asking for more examples using the CL programming language. For those of you who have been asking I hope you find this useful.
A few weeks ago I received a request for help from a reader, just a beginner in the IBM i world, with an assignment he had to accomplish just using CL. He needed to write a program, or programs, that would allow the entry an employee id, and the program would retrieve information from the employee file and pass it to the display file for display. For anyone with a little RPG experience this is a very simple task, and we could all write a RPG program to do this in a few minutes. Many IBM i programmers balk to do anything like this in CL, but programming is programming, and the same steps you would perform in RPG can be duplicated in CL.