And how about this job:
:FCOPY FROM=;TO=ksam-nm-file
:EOD
this will overwrite all existing data in the file.
-dh-