You can change database parameter values. If you execute this DBM command, the system implicitly opens a parameter session. The parameter value is changed and checked against the properties, calculation formulas and conditions stored in the default parameter file. The change to the parameter value is then confirmed and entered into the parameter file.
The system rejects the change to the parameter if the entered value or the change is impermissible due to the parameter properties.
You can define whether the changes should be valid only for the current database session, only for all later database sessions, or for both the current and all later database sessions. You can only changes parameter values for the current database session if the database parameter has the property CHANGE=RUNNING.
If you want to change the values for several parameters, then it is best to first open a parameter session (see: param_startsession), then assign the new value to each parameter (param_put), have all new parameter values checked simultaneously (see: param_checkall), and then confirm all changes to the parameter file (see: param_commitsession).
See also:
param_getproperties(displays all properties for a database parameter)
Concepts of the Database System, Properties of Database Parameters
You have the server authorization ParamCheckWrite.
param_put [<durability>] <parameter_name> <new_value> [<comment>]
<durability>::= [-running] [-permanent]
Options
Option |
Description |
<durability> |
Durability of change, possible values are: -running: the change only lasts until the database instance is next put in the operational state OFFLINE, in other words, until the database is next restarted or transferred to the operational state ADMIN. Afterwards the parameter reverts to ist original value. -permanent: the change is only made in the database parameter file. It is not effective immediately, only on restart of the database instance. -running –permanent: the change is effective immediately and persists even after a restart. The system default is -permanent. |
<parameter_name> |
Name of database parameter |
<new_value> |
New Parameter Value |
<comment> |
Comment saved for the database parameter If the comment line contains spaces, you need to put the line in double quotation marks |
OK
In the event of errors, see Reply Format