John,
This generally happens when you have an object that was left 'open' on the form. Check to be sure that every object opened (by you AND by your framework if any) are correctly set to .Null. before the form is closed.
HTH
Barbara
>I am working on a project adding functioanlity to a program I do not have all the code to.
>
>One of the moduls using private data sessions, does not close all its tables at the end and the tables remain thru the rest of the session.
>
>Data session at end of module goes from osbatch(1) to unknown(1).
>
>I put a routine in using aused() to close the tables but how can I get rid of the datasession itself.
>
>Any help is appreciated.