


EXPORT extracts a user's own stored commands into a host file. This file can be reloaded into the database using the IMPORT command.

Examples
EXPORT command.fil
EXPORT t* command.fil
EXPORT rep??? command .il
Comments
1. If no command name is specified, all stored commands are written into the file; otherwise, the specified command or all commands which match the pattern.
2. The specified commands are provided with headings which contain the command names, and then they are written into the file.
Heading : COMMAND <command name>
3. At the end of the file, after the keyword USERPRIV, all privileges currently granted for the extracted commands are output in form of GRANT commands.
4. The file, in the format generated by EXPORT, can be reloaded with the IMPORT command at any time.


