transaction handling for creating insitu datafiles