16.10 - variable = setting - Teradata Database

Teradata Database Utilities

Product
Teradata Database
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
zll1480972831047.ditamap
dita:ditavalPath
changebar_rev_16_10_exclude_audience_ie.ditaval
dita:id
vkz1472241255652

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



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