I'm working on a BSAM library that supports asynch READ / WRITE mixed with NOTE/POINT. So far so good, but I would like some advice from I/O gurus on the list.
One of the functions in write mode is "flush()", which CHECKs all of the outstanding WRITES. (and a "NOTE" in write mode automatically causes a flush()). What are the benefits of adding an option to do CLOSE TYPE=T after flush() and before the NOTE? How does this affect "restart" processing if the job abended and wanted to POINT to the last NOTE and restart? Do I always want to do CLOSE TYPE=T between flush() and NOTE or make it an option (is it expensive?) Thanks in advance for your kind advice. Kirk Wolf Dovetailed Technologies http://dovetail.com
