16.20 - MSM_UpdateWEventFromEnvironment/MSM_UpdateOEventFrom Environment - Teradata Ecosystem Manager

Teradata® Ecosystem Manager API Reference

Product
Teradata Ecosystem Manager
Release Number
16.20
Published
December 2020
Language
English (United States)
Last Update
2020-12-23
dita:mapPath
loa1512743917841.ditamap
dita:ditavalPath
ft:empty

Prototype:

Updates event with Ecosystem Manager environment variables exported before script execution.

Wide character:

error_code_t MSM_UpdateWEventFromEnvironment(TM_Context* pCtx, MSM_WEvent* pWEvent)

Narrow character:

error_code_t MSM_UpdateOEventFromEnvironment(TM_Context* pCtx, MSM_OEvent* pOEvent)
Export Variables MSM_WEvent/MSMOEvent Structure Members
TMSM_PROCESSID szResourceId
TMSM_JOBNAME szJobName
TMSM_APPLICATIONID szApplicationId
TMSM_LOGFILE szLogFile
TMSM_OPTIONAL1 szOptional1
TMSM_OPTIONAL2 szOptional2
TMSM_OPTIONAL3 szOptional3

TM_Context* pCtx: Pointer to TM_Context returned by TM_Init

MSM_WEvent* pWEvent / MSM_OEvent* pOEvent: Pointer to MSM_WEvent/MSM_OEvent returned by MSM_CreateWEvent/ MSM_CreateOEvent

Value of error_code_t:

  • (ERROR_OK) (success)
  • Non-zero value (failure)