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)