*CMD objects are run, while *PGM objects are called. For example, to run HELLO *CMD, type HELLO on a command line and press Enter. To run HELLO *PGM, type CALL HELLO on the QCMD line and press Enter.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.