Prototype:
Sends an END event to Ecosystem Manager. If the pCtx parameter is null, the function returns immediately and no event is sent.
Wide character:
void MSM_WSendEnd(TMContext* pCtx, MSM_UOW* pUOW, wchar_t *szTDPID, wchar_t *szResourceId, wchar_t *szResourceType, wchar_t *szJobStep, long lActivityCount );
Narrow character:
void MSM_OSendEnd(TMContext* pCtx, MSM_UOW* pUOW,char *szTDPID, char *szResourceId, char *szResourceType, char *szJobStep, long lActivityCount );
TMContext* pCtx: Messaging context pointer returned by TM_Init.
MSM_UOW* pUOW: Unit of work pointer returned from MSM_OCreateUOW( );.
wchar_t *szTDPID: TDPID of the Teradata system where the utility is logged on.
wchar_t *szResourceId: Identifies the Ecosystem Manager Resource identifier that specifies the job.
wchar_t *szResourceType: Type of job.
wchar_t *szJobStep: Optional. Uniquely identifies the processing step for the utility.
long lActivityCount: Total number of rows applied to the table in the specified DML mode.
Void