Queueing or rejecting program start requests

If a program start request arrives when the current number of prestart jobs is less than the number specified in the MAXJOBS attribute on the prestart job entry, and none of the prestart jobs are available to handle the program start request, you have the option to have this new request rejected or queued.

To reject or queue the program start request, use the WAIT attribute on the prestart job entry.
WAIT(*NO) means that if no prestart job is available immediately, the program start request is rejected.

WAIT (*YES) means that if no prestart job is available immediately and no prestart job can be started due to MAXJOBS to service the program start request, the program start request is rejected. If no prestart job is available immediately, but additional prestart jobs can be or have been started, the program start request is queued.