dtrecs = new TDataType();
} else {
dtrecs = new TDataType(actionItems);
}
String dname = "/" + context + "/CAS/" + server;
TLink tl = new TLink(dname,"ACTION.DB",null,dtrecs,TAccess.CA_WRITE);
int cc = tl.executeAndClose(2000);
if (cc == TErrorList.connection_timeout || cc == TErrorList.link_timeout)
throw new IOException(tl.getLastError());
return cc;
}