variable=setting - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-15
dita:mapPath
boh1556732696163.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

Purpose

The variable=setting command changes the value of the specified variable to the value of setting. The setting must be an appropriate type for the variable being assigned, or an error is reported.

Syntax

variable = { setting | ? }

Usage Notes

  • 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.
  • Entering the variable name or identifier followed by =? displays information on the valid values for that variable.
  • 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.
  • 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