GetCancelAfterSimTime Function

Action

Retrieves the current setting for whether to abort the simulation when the simulation time exceeds. This setting only affects load tests with a steady-state workload.

Include file

Kernel.bdh

Syntax

GetCancelAfterSimTime(): boolean;

Return value

  • true if the simulation will be aborted when the simulation time exceeds

  • false otherwise

Example

dcltrans
transaction TMain
begin
if GetCancelAfterSimTime() then
write("simulation will be canceled "
"when simulation time exceeds")
else
write("simulation will be running until all "
"transaction have been executed");
end;
end TMain;