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 The function stores the new error context in this location. Remarks Create a new error context object and enables detailed error information and stack tracing for the thread that calls this function. Returns TIBEMS_OK, TIBEMS_INVALID_ARG, or TIBEMS_NO_MEMORY. See Also tibemsErrorContext_Close on page 563