17.10 - variable=setting - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Configuration
Publication ID
B035-1102-171K
Language
English (United States)

For a specified variable or field, this command either gives it a specified value or displays information about its valid values.

Syntax

variable = { setting | ? }

Syntax Elements

variable
Name of variable or name or identifier of field.
If you have used the SCREEN command to display a group of related control fields, modifiable fields are prefaced by alphanumeric identifiers. You can use either those identifiers or the exact field names with the variable = setting command to change the field values.
setting
Value to give variable.
The setting must be an appropriate type for the variable being assigned, or an error is reported.
1, yes, and true can be used as synonyms for on.
0, no, and false can be used as synonyms for off.
Entering an empty string for string variables can cause the current value to be replaced by an empty string.
?
Displays information about valid values for variable.

Usage Notes

  • Changes to the configuration settings are logged automatically. A history of the changes made to the GDO can be viewed using the gdomview command-line tool from the system console. The gdomview online documentation is accessible from a system console using the man and pdehelp commands.

Example: Setting a ctl field value

> scr dbs 

(0) Minimum Node Action:        Clique-Down
(1) Minimum Nodes Per Clique:   1               (2) FSG cache Percent:  0
(3) Clique Failure:             Clique-Down     (4) Cylinder Read:      On
(5) Restart After DAPowerFail:  On              (6) Cylinder Read Ageing Threshold:  0
(7) Maximum Fatal AMPs:         0

> minimum nodes per clique=?
CTL: Minimum Nodes Per Clique
Default value is 1. Valid range is from 1 to 2147483646.
> minimum nodes per clique=3
> screen

(0) Minimum Node Action:        Clique-Down
(1) Minimum Nodes Per Clique:   3               (2) FSG cache Percent:  0
(3) Clique Failure:             Clique-Down     (4) Cylinder Read:      On
(5) Restart After DAPowerFail:  On              (6) Cylinder Read Ageing Threshold:  0
(7) Maximum Fatal AMPs:         0

> 1=2
> screen

(0) Minimum Node Action:        Clique-Down
(1) Minimum Nodes Per Clique:   2               (2) FSG cache Percent:  0
(3) Clique Failure:             Clique-Down     (4) Cylinder Read:      On
(5) Restart After DAPowerFail:  On              (6) Cylinder Read Ageing Threshold:  0
(7) Maximum Fatal AMPs:         0