You can also create a command yourself to run an ILE COBOL program by using a command definition. A command definition is an object that contains the definition of a command (including the command name, parameter descriptions, and validity-checking information), and identifies the program that performs the function requested by the command. The system-recognized object type is *CMD.
For example, you can create a command, PAY, that calls a program, PAYROLL. PAYROLL is the name of an ILE COBOL program that is called and run. You can enter the command interactively, or in a batch job. See the CL Programming book for further information about using the command definition.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.