Most often when you develop a CL program, it is in order to use it as a ‘driver’ program for a RPG/ILE RPG/COBOL/C program. In order to make sure that the RPG/ILE RPG/COBOL/C program is called correctly you have to add the library containing the CL and RPG/ILE RPG program in question, or you can hard-code the library on the CALL command.
This is, however, not a flexible solution, as the CL and RPG/ILE RPG program cannot be copied to other libraries because the CL program will always call the RPG/ILE RPG program in the library hard-coded on the CALL command :-
Fortunately help is on it’s way 🙂 Continue reading