Hi,
You can always check the syntax:
db2 ? export
but if you like a simple example, here it is:
db2 export to MyFile.ixf of ixf select * from MyTable
or
db2 export to MyOtherFile.del of del select * from MyOtherTable
The extension is not mandatory; it serves as a reminder of what you have done.
cheers,
Rob.