A special format of the DATAEXTRACT statement can be used if you want to write the data of a table into an external file and make this file be usable as a command file for reloading the table as well.
See also:
DATAEXTRACT FOR DATALOAD
DATAEXTRACT FOR DATAUPDATE