WAIT
Choose the WAIT keyword when one or more of the
following symptoms appear:
- The IBM Z Workload Scheduler program, or any program that services this program, has suspended activity while waiting for a condition to be satisfied without issuing a message to indicate why it is waiting.
- The console operator cannot enter commands or otherwise communicate with IBM Z Workload Scheduler, and IBM Z Workload Scheduler does not appear to be in a loop.
- If the last instruction executed was not a WAIT SVC instruction (X'0A01'), you might not be in a true wait state. You should then analyze the problem further to determine whether you are in a loop or executing code as expected.
See WAIT to describe the problem.