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.
Kernel.bdh
GetCancelAfterSimTime(): boolean;
true if the simulation will be aborted when the simulation time exceeds
false otherwise
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;