The program is compiled, and a load module is created with all the sub-programs for the execution of the COBOL program in batch mode using JCL (Job Control Language). The JCL uses this load module at the time of execution and not the actual program. The concatenated load libraries are given to the JCL at the time of execution using JCLLIB or STEPLIB. The load module of the program is produced as output by JCL, which is used as the input to the execution JCL.