HistHookReportTriggerEndOfBatch
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookReportTriggerEndOfBatch function is called by the Batch Runtime when a batch status goes to Done or Aborted. It writes to the ReportQueue table to generate any configured End of Batch reports.
Syntax
char* HistHookReportTriggerEndOfBatch(char* szBatchServerName, char* szBatchKey, H_CLB* pCLB)
Parameters:
-
szBatchServerName
-
Type: char*
-
Description: Contains name of the batch server configured in system parameters
-
-
szBatchKey
-
Type: char*
-
Description: Contains the unique identification string for the batch
-
-
pCLB
-
Type: H_CLB*
-
Description: Points to the structure that contains the information of campaign, lot, and batch
-
Return Type: char*
This function returns an insert query for the ReportQueue table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).