Sweep Error
bResult = btsweep(ptrMyFile,SWPNEXT,myrecord);
if (bResult == 1) { End of File Processing } else if (bResult > zero) { error processing }