16.20 - MSM_AddWHealthString/MSM_AddOHealthString - 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:

Adds Healthstring as an event parameter. Healthstring is not added if status (member of MSM_WEvent/ MSM_OEvent) is non-zero before this method is called or set to non-zero during execution. For multi-value events, call MSM_AddWHealthString/MSM_AddOHealthString n number of times to add n number of health strings.

Wide character:

error_code_t MSM_AddWHealthString(TM_Context* pCtx, MSM_WEvent* pWEvent,wchar_t * healthString)

Narrow character:

error_code_t MSM_AddOHealthString(TM_Context* pCtx, MSM_OEvent* pOEvent,char * healthString)

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

wchar_t* healthString /char* healthString: Pointer to a string for healthString name

Value of error_code_t:

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