MSM_UpdateUofWFromEnvironment - Teradata Ecosystem Manager

Teradata Ecosystem Manager Event System API Reference

Product
Teradata Ecosystem Manager
Release Number
15.11
Published
May 2016
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
nxw1467305977314.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3204
lifecycle
previous
Product Category
Analytical Ecosystem

Prototype:

Updates Unit of Work from environment variables which might be exported before the script executes. If the environment variables are not exported, calling this function does not update related MSM_UofW members. Relevant environment variables are:

  • TMSM_UOWID
  • TMSM_UOWCLASS
  • TMSM_UOWSOURCE
  • TMSM_UOWTS
  • TMSM_UOWFROMTS
error_code_t MSM_UpdateUofWFromEnvironment(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_CreateUOW

Value of error_code_t:

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