End of day processing
End of day processing on the Risk Management engine is driven by the Transaction Server. Configure the Transaction Server to send end of day messages to Risk. For more information about Transaction Server configuration, see Communicating with the Transaction Server. The Transaction Server sends different types of end of day messages - Query and Exec. The query is sent to check that it is all right to perform end of day processing. The exec is sent to perform the actual end of day processing.
On receipt of an end of day query message, the Risk Management engine checks if there are any batches (ICLs) or transactions for the specified business day that still need to be reviewed by the risk operator. When there are batches (ICLs) or transactions that still need to be reviewed, the engine informs the Transaction Server that end of day processing cannot be done. Risk Management also logs a message that indicates whether the end of day check passed or failed.
On receipt of an end of day exec message, the Risk Management engine first performs the end of day query logic described in this section, unless the user has specified the force option on the end-of-day command. If the user specifies the force option, the engine does not check whether it may perform end of day processing; it just does it. The Risk Management engine takes no action at end of day, it leaves the batches (ICLs) and transactions needing reviewed as is, and returns control to the Transaction Server. This means the business day will close with unhandled exceptions.