CL Command Reference - CRTSRVPGM
CL Command List > CRTSRVPGM Reference
Description:
The Create Service Program (CRTSRVPGM) command creates a bound service program from a set of modules and binding directories.
Restrictions:
. You must have read (*READ) and add (*ADD) authorities to the library where the service program is to be created.
. You must have use (*USE) authority to the specified modules, service programs, and binding directories.
. You must have object operation (*OBJOPR) and *READ authorities to the file specified for the Source file (SRCFILE) parameter.
Examples:
CRTSRVPGM SRVPGM(WORKDOC)
This command creates the service program object named WORKDOC in the current library. The service program will be created from one module object that is also named WORKDOC and is located using the current library for the job.