Prototype:
Updates event with Ecosystem Manager environment variables exported before script execution.
Wide character:
error_code_t MSM_UpdateWEventFromEnvironment(TM_Context* pCtx, MSM_WEvent* pWEvent)
Narrow character:
error_code_t MSM_UpdateOEventFromEnvironment(TM_Context* pCtx, MSM_OEvent* pOEvent)
Export Variables | MSM_WEvent/MSMOEvent Structure Members |
---|---|
TMSM_PROCESSID | szResourceId |
TMSM_JOBNAME | szJobName |
TMSM_APPLICATIONID | szApplicationId |
TMSM_LOGFILE | szLogFile |
TMSM_OPTIONAL1 | szOptional1 |
TMSM_OPTIONAL2 | szOptional2 |
TMSM_OPTIONAL3 | szOptional3 |
TM_Context* pCtx: Pointer to TM_Context returned by TM_Init
MSM_WEvent* pWEvent / MSM_OEvent* pOEvent: Pointer to MSM_WEvent/MSM_OEvent returned by MSM_CreateWEvent/ MSM_CreateOEvent
Value of error_code_t:
- (ERROR_OK) (success)
- Non-zero value (failure)