16.20 - MSM_UpdateWEventFromEnvironment/MSM_UpdateOEventFrom Environment - Teradata Ecosystem Manager

Teradata® Ecosystem Manager API Reference

prodname
Teradata Ecosystem Manager
vrm_release
16.20
created_date
December 2020
category
Programming Reference
featnum
B035-3204-107K

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)