BAAC gate, RUN_ACTIVITY function

The RUN_ACTIVITY function of the BAAC gate is used to execute the named child activity or the acquired activity either asynchronously or synchronously i.e. with a context switch.

Input Parameters

INPUT_EVENT
the 16-character name of the input event.
MODE
Indicates if the activity should run asynchronously or synchronously.
Values for the parameter are:
  • ASYNC
  • SYNC
ACTIVITY_NAME
Optional Parameter
the 16-character activity name.
FACILITY_TOKEN
Optional Parameter
the 8-character facility token.

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • ACTIVITY_NOT_FOUND
  • ACTIVITY_SUSPENDED
  • INVALID_EVENT
  • INVALID_EVENT
  • INVALID_MODE
  • NO_COMPLETION_EVENT
  • NO_CURRENT_ACTIVITY
  • READ_FAILURE
  • RECORD_BUSY
  • REMOTE_PROGRAM
  • REMOTE_TRAN
  • RUN_SYNC_ABENDED
  • TRAN_NOT_AUTH
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


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