import config argument: Import configuration parameter values (SQL administration API)

Use the import config argument with the admin() or task() function to import a file that contains one or more dynamically updatable configuration parameters and apply the new values.

Figure 1. Syntax

1  EXECUTE FUNCTION
2.1 admin
2.1 task  (  " import config "  , "file_path"  ) ;
Table 1. import config command elements
Element Description Key Considerations
file_path The full path name of the previously exported file that contains the names and values of one or more dynamically updatable configuration parameters

Usage

Dynamically updatable configuration parameters are those parameters that you can change for a session with an onmode -wf or onmode -wm command.

You must specify the full path name. You cannot specify a relative path.

This command is the equivalent of the onmode -wi commend.

Example

The following command imports a file named cfg_12 in the /tmp directory:

EXECUTE FUNCTION task("import config", "/tmp/cfg_12");