CL Programming


Sample CL Programs

The following sample programs demonstrate the flexibility, simplicity, and versatility of CL programs. The following programs are described by their function and probable user.

Note:
Code generated by the ILE CL compiler in V4R3 and later releases is threadsafe. However, many commands are not threadsafe. Therefore, do not consider a CL procedure as threadsafe unless all the commands the CL procedure uses are threadsafe. You can use the Display Command (DSPCMD) command to determine if a command is threadsafe. For additional information on threads, please access the iSeries Information Center and open the topics under the Programming category of information.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]