16.20 - MSM_CreateWEvent/MSM_CreateOEvent - 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:

This function creates an MSM_WEvent/MSM_OEvent structure. If initialization is successful, a pointer to MSM_WEvent/MSM_OEvent is returned. This pointer is used in the majority of API calls (MSM_AddW*/MSM_AddO*) to fill up the event structure and to finally send the event. The pointer to MSM_WEvent/MSM_OEvent should be obtained by calling this function only.

Wide character:

MSM_WEvent* MSM_CreateWEvent(TM_Context* pCtx, MSM_UofW* pUOW)

Narrow character:

MSM_OEvent* MSM_CreateOEvent(TM_Context* pCtx, MSM_UofW* pUOW)

TM_Context* pCtx: Pointer to TM_Context returned by TM_Init

MSM_UofW* pUOW: Pointer to MSM_UofW returned by MSM_UofW

Pointer to MSM_WEvent

  • Not NULL (success)
  • NULL (failed)

Pointer to MSM_OEvent

  • Not NULL (success)
  • NULL (failed)