CL Command Reference - CRTPGM

CL Command List > CRTPGM Reference

Description:

The Create Program (CRTPGM) command creates a bound program from a set of modules and binding directories.

Restrictions:

. You must have read (*READ) and add (*ADD) authorities for the library where the program is to be created.

. You must have use (*USE) authority to the specified modules, service programs, and binding directories.


Examples:

CRTPGM PGM(STAR)

This command creates a program object named STAR in the current library for the job, or library QGPL if there is no current library. The program will be created from one module object that is also named STAR and is located using the current library for the job.