Start of Content Area

Object documentation OS/400 Wait States  Locate the document in its SAP Library structure

Definition

When a job is waiting for a resource, it may wait in main storage or else be removed from main storage until the resource becomes available. A job waiting for a system resource may have the following wait states:

Short Wait (OS/400 Wait States)

A job in this wait state holds an available activity level while waiting for an activity to occur. A job can remain in short wait for a maximum of two seconds. Actions that cause short waits include:

When using remote lines, avoid actions that cause short waits since they can cause the wait time in main storage to be much longer for a job than if the job was waiting for resources at a local workstation.

 

Short Wait Extended (OS/400 Wait States)

A job moves to this wait state after being in a short wait for the maximum two seconds. If no activity occurs within this time, the system cancels the short wait, removes the job from the activity level, and puts the job into a long wait. In the performance reports, this job state transition is called a short wait extended.

 

Long Wait (OS/400 Wait States)

A job that immediately leaves the activity level is in what is called a long wait. During a long wait, the job leaves the activity level.

Examples of long waits are:

 

See also:

 

Activity Level (OS/400)