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

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)