BABR gate, INQUIRE_ACTIVITY function

The INQUIRE_ACTIVITY function of the BABR gate is used to obtain information about the specified activity.

Input Parameters

ACTIVITYID
Optional Parameter
the buffer containing the activity identifier.
RETURNED_ACTIVITYID
Optional Parameter
is a buffer containing the activity identifier.
RETURNED_PROCESS_NAME
Optional Parameter
is a buffer containing the returned process name.

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • ACTIVITY_NOT_FOUND
  • FILE_NOT_AUTH
  • NO_CURRENT_ACTIVITY
  • RECORD_BUSY
The following values are returned when RESPONSE is INVALID:
  • INVALID_ACTIVITYID_LEN
  • INVALID_BUFFER_LENGTH
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
ABEND_CODE
Optional Parameter
the 4-character abend code.
ABEND_PROGRAM
Optional Parameter
the 8-character name of the program which abended.
ACTIVITY_NAME
Optional Parameter
is the 16-character activity name.
COMPLETION_STATUS
Optional Parameter
is the completion status of the process.
Values for the parameter are:
  • ABENDED
  • FORCED
  • INCOMPLETE
  • NORMAL
EVENT_NAME
Optional Parameter
is the 16-character event name.
INIT_TRANSID
Optional Parameter
is the 4-character transaction identifier of the transaction under which the activity was initiated.
MODE
Optional Parameter
is the mode of the activity.
Values for the parameter are:
  • ACTIVE
  • CANCELLING
  • COMPLETE
  • DORMANT
  • INITIAL
PROCESS_TYPE
Optional Parameter
is the 8-character process type.
PROGRAM
Optional Parameter
is the 8-character program name.
SUSPENDED
Optional Parameter
indicates whether the process is suspended.
Values for the parameter are:
  • NO
  • YES
TRANSID
Optional Parameter
is the 4-character transaction identifier.
USERID
Optional Parameter
is the 8-character userid.


dfhs3_BABRinquire_activity.html | Timestamp icon Last updated: Monday, 5 June 2017