16.20 - MSM_UpdateUofWFromEnvironment - 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:

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)