16.10 - MSM_AddWDmlMode/MSM_AddODmlMode - Teradata Ecosystem Manager

Teradata Ecosystem Manager API Reference

prodname
Teradata Ecosystem Manager
vrm_release
16.10
created_date
June 2017
category
Programming Reference
featnum
B035-3204-067K

Prototype:

Adds Data Manipulation Language (DML) event parameter. DML 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 of this function. For multi-value events, call MSM_AddWDmlMode/MSM_AddODmlMode n number of times to add n number of DML modes.

Wide character:

error_code_t MSM_AddWDmlMode(TM_Context* pCtx, MSM_WEvent* pWEvent, wchar_t * dmlMode)

Narrow character:

error_code_t MSM_AddODmlMode(TM_Context* pCtx, MSM_OEvent* pOEvent, char * dmlMode)

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* dmlMode /char* dmlMode: Pointer to a string for dmlMode

Value of error_code_t:

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