tibemsErrorContext_Create

Function

Purpose

Create a new error context object.

C Declaration

tibems_status tibemsErrorContext_Create(
    tibemsErrorContext* errorContext);

COBOL Call

CALL "tibemsErrorContext_Create"
   USING BY REFERENCE errorContext,
   RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
errorContext Store the new error context.

Remarks

Create a new error context object and enables detailed error information and stack tracing for the thread that calls this function.

Return TIBEMS_OK, TIBEMS_INVALID_ARG, or TIBEMS_NO_MEMORY.