xmi_advance
xmi_advance(xmi, &irec1);
for (; xmi_has_more_exchange_work(xmi); xmi_advance(xmi, irec1)) {
xmi_advance(xmi, irec1);