>THANK YOU THANK YOU!!
Welcome anytime.
>>Loop through all data sessions and within each, through all open aliases (using asessions() then aused()) and tablerevert() each cursor which has buffering, then close it. Tablrevert() all records, not just the current one. You may be stuck because it's trying to release a datasession in which there's an alias with dirty buffers, and it may be trying to complain about it but can't, because you're shutting down.