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.

Read syntax diagramSkip visual syntax diagram

>>-EXECUTE FUNCTION--+-admin-+--(--"--import config--"---------->


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  


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.


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

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

Copyright© 2018 HCL Technologies Limited