BAPR gate, CHECK_PROCESS function

The CHECK_PROCESS function of the BAPR gate is used to establish how the acquired process completed.

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • PROCESS_NOT_FOUND
  • RECORD_BUSY
ABEND_CODE
the 4-character abend code.
ABEND_PROG
the 8-character name of the program which abended.
ACTMODE
the active mode of the process.
Values for the parameter are:
  • ACTIVE
  • CANCELLING
  • COMPLETE
  • DORMANT
  • INITIAL
COMPLETION_STATUS
is the completion status of the process.
Values for the parameter are:
  • ABENDED
  • FORCEDCOMPLETE
  • INCOMPLETE
  • NORMAL
RESPONSE
is the domain's response to the call.
Values for the parameter are:
  • OK
  • EXCEPTION
  • DISASTER
  • INVALID
  • KERNERROR
  • PURGED
SUSPENDED
indicates whether the process is suspended.
Values for the parameter are:
  • NO
  • YES