Thanks to all of you who responded. I have it working as well as can be expected. Still think that maybe i need much longer between the close of the export ascii header record and the export ascii detail -a lines but time will tell.