EVENT-PROCEDURE-CONTEXT attribute

The procedure handle of the active procedure context where the event procedure is defined for an asynchronous request.

Note: Applies only if the ASYNCHRONOUS attribute is TRUE.

Data type: HANDLE

Access: Read-only

Applies to: Asynchronous request object handle, Call object handle

This procedure handle is the same as the handle specified by the EVENT-PROCEDURE...IN procedure-context option of the RUN statement that executes this request. If the EVENT-PROCEDURE...IN option is not specified (the default), this attribute is set to the value of the THIS-PROCEDURE system handle at the time the RUN statement was executed.