if (trans_end<0)
break;
String onetransaction = oneinstrument.substring(trans_start, trans_end+9);
trans_start=trans_end+9;
Transaction transaction = new Transaction();
int link_start = onetransaction.indexOf(":16R:LINK");
if (link_start >=0) {
int link_end = onetransaction.indexOf(":16S:LINK", link_start);
if (link_end >= 0) {