BAPR gate, RUN_PROCESS function
The RUN_PROCESS function of the BAPR gate is used to execute the acquired process (invoke the root activity), either asynchronously or synchronously i.e. with a context switch.
Input Parameters
- MODE
- Indicates if the process should run asynchronously or synchronously.
- Values for the parameter are:
- ASYNC
- SYNC
- FACILITY_TOKEN
- Optional Parameter
- the 8-character facility token.
- INPUT_EVENT
- Optional Parameter
- the 16-character name of the input event.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- AUTOINSTALL_FAILED
- AUTOINSTALL_INVALID_DATA
- AUTOINSTALL_MODEL_NOT_DEF
- AUTOINSTALL_URM_FAILED
- AUTOSTART_DISABLED
- INVALID_EVENT
- INVALID_MODE
- JVM_PROFILE_NOT_FOUND
- JVM_PROFILE_NOT_VALID
- JVMPOOL_DISABLED
- OTHER_PROCESS_CURRENT
- PROCESS_NOT_FOUND
- PROCESS_SUSPENDED
- PROCESSTYPE_NOT_FOUND
- PROGRAM_NOT_AUTHORISED
- PROGRAM_NOT_DEFINED
- PROGRAM_NOT_ENABLED
- PROGRAM_NOT_LOADABLE
- RECORD_BUSY
- REMOTE_PROGRAM
- REMOTE_TRAN
- RUN_SYNC_ABENDED
- SECOND_H8_PROGRAM
- SECOND_JVM_PROGRAM
- SYSTEM_PROPERTIES_NOT_FND
- TRAN_NOT_AUTH
- USER_CLASS_NOT_FOUND
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.