The execution duration of a Uproc is monitored by the launcher and can be defined in two ways:
This is set in the "Dollar Universe – Alert Settings": U_EXEC_DURATION_WPR.
Any review of a Uproc’s run as well as any action performed is recorded in the History Trace.
Monitor excessively short execution: Check this box if you want an action to be performed when the execution of a Uproc is shorter than the input value. This control is achieved when the Uproc finishes (Completed, Aborted or Refused).
Time based on: Choose one of the following controls:
Statistical Runtime: The average percentage of execution statistics obtained from implementation of this Uproc/MU.
Absolute duration: Minimum time in hours, minutes and seconds.
Action: Choose one of the following actions, to perform if the execution time of the Uproc is less than the time indicated.
Restart Uproc: Restart the Uproc (including control over launch formula and other pre-requisites).
Execute script: Enter the name and path of the script to run (neither command nor parameters).
Monitor excessively long execution: Check this box if you want an action performed if a Uproc's execution lasts longer than the entered value.
Time based on: Choose one of the following controls:
Statistical runtime: The average percentage of execution statistics obtained from implementation of this Uproc/UG.
Absolute duration: Maximum time in hours, minutes and seconds.
Action: Choose one of the following actions to perform if the Uproc’s execution time is greater than the time indicated.
Kill Uproc: Stop Uproc: its status will be aborted.
Kill Uproc and force completed status: Stop the Uproc but force its status to “Completed” and execute completion orders.
Execute script: Enter the name and path of the script to run (neither command nor parameters).
Monitor excessively long Event Wait or Pending statuses: Check this box if you want an action performed when the Event wait of a Uproc (Pending and Event Wait event) is greater than the indicated value.
Time based on: Choose one of the following controls:
Statistical runtime: Percentage of average waiting time obtained from the execution statistics of this Uproc/MU.
Absolute duration: Maximum time in hours, minutes and seconds.
Action: Choose one of the following actions to perform if the Uproc’s wait time exceeds the time indicated.
Set Uproc Aborted: The status of the Uproc becomes “aborted”.
Set Uproc Completed: The status becomes “Uproc Completed”, completion instructions are executed.
Execute script: Enter the name and path of the script to run (neither command nor parameters).
If a script is executed, it will be done asynchronously. If the script submission fails, a message is inserted into the History Trace and in Dollar Universe’s log file.