Add or Update a Global Variable
You can add a new global variable or update an existing entry by using the following command:
swadm SET_GLOBAL_VARIABLE<variable_name> <variable_value>
where:
| • | <variable_name> is the name of the global variable to be set. |
Note: Global Variable names can be up to 15 characters long and can contain letters, digits, underscore characters, and must start with an alphabet. Global Variable names are converted to uppercase irrespective of how they are originally entered.
| • | <variable_value> is the value for the specified global variable. |
Note: Global Variable value can be up to 511 characters long.
For example:
swadm SET_GLOBAL_VARIABLE DBNAME Oracle
Global variable DBNAME is added successfully with a value Oracle.
swadm SHOW_GLOBAL_VARIABLES
| Global Variable | Value |
|---|---|
| DBNAME | Oracle |