Data Movement Utilities Guide and Reference

Using Import

Before Using Import

Before invoking the import utility, you must be connected to (or be able to implicitly connect to) the database into which the data will be imported. Since the utility will issue a COMMIT or a ROLLBACK statement, you should complete all transactions and release all locks by performing either a COMMIT or a ROLLBACK before invoking import.

Invoking Import

The import utility can be invoked through:

Using Import in a Client/Server Environment

When you import a file to a remote database, a stored procedure can be called to perform the import on the server. A stored procedure will not be called when:

When import uses a stored procedure, messages are created in the message file using the default language installed on the server. The messages are in the language of the application if the language at the client and the server are the same.

The import utility creates two temporary files in the tmp subdirectory of the sqllib directory (or the directory indicated by the DB2INSTPROF registry variable, if specified). One file is for data, and the other file is for messages generated by the import utility.

If you receive an error about writing or opening data on the server, ensure that:


[ Top of Page | Previous Page | Next Page ]