Using the Wait State Macro (LOADWAIT)

Through the LOADWAIT macro, you specify the following wait state information:
  • Wait state type - This must be either restartable or non-restartable.
  • Wait state code - This is the wait state code you must assign for the error.
  • Reason code - This is the reason code you can assign for further information about the wait state.
  • Action code location - This is a 1-byte area to receive information that the operator can supply to the calling program.
  • Additional information to be made available to the operator - This could be a system ID or a pointer to a data area for further information about the wait state. For more information about action codes, see the specific wait state codes in z/OS MVS System Codes.