Retrieves a unique ID for the agent running the benchmark.
Kernel.bdh
GetAgentId() : number;
Unique identification number for the agent running the benchmark. The ID is 0 for the first agent, 1 for the second agent, and n-1 for the nth agent.
dcltrans transaction TMain var nAgentId: number; begin nAgentId := GetAgentId(); write("agent ID = "); write(nAgentId); writeln; end TMain;