AgentInstance agentInstance = getAgentRunningProcess(processID.toString());
if (agentInstance==null)
throw new Exception("Unknown processID");
String statusCode = agentInstance.CMDSTATUS(processID.toString());
setProperty(processStatus.toString(),statusCode);
// now print out a message if the status was timed out
int value = Integer.parseInt(statusCode);
if (value == qat.agent.ExecProcess.TIMEDOUT_STATE) {