>Checked code through and through no delete statement
>in code.Before exiting out of .exe command given
>
> close database mrp
> open database mrp exclusive
> pack database mrp
>
>Pack is given as the database file keeps on increasing after
>running the .exe a number of times.But Pack should not delete the .dbc file
Could you be running out of disk space during the PACK? The way pack works, it it renames your file, and copies to a new file with the old name. If there isn't enough space, you may lose your oldfile.