CL Command Reference - STRPJ

CL Command List > STRPJ Reference

Description:

The Start Prestart Jobs (STRPJ) command starts jobs for a prestart job entry in an active subsystem when there are no currently active prestart jobs for the prestart job entry.

This command is valid after an ENDPJ command is complete, or when all prestart jobs have been ended by the system due to an error or were never started during subsystem start up due to STRJOBS (*NO) on the ADDPJE command. The number of jobs started is determined by the INLJOBS value on the prestart job entry.

Restrictions:

1. To use this command, you must have:
. job control (*JOBCTL) special authority.
. use (*USE) authority to the subsystem description.
. execute (*EXECUTE) authority to the library that contains the program.



Examples:

STRPJ SBS(SBS1) PGM(PJLIB/PJPGM)

This command starts prestart jobs for prestart job entry PJPGM in subsystem SBS1. Subsystem SBS1 must be active when this command is issued. The number of jobs started is the number specified in the INLJOBS value of prestart job entry PJPGM. The subsystem starts program PJPGM in library PJLIB.