MSM_UpdateUofWFromEnvironment - Teradata Ecosystem Manager

Teradata Ecosystem Manager API Reference

Product
Teradata Ecosystem Manager
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
crq1488477755125.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)