ENABLE DBC LOGONS - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ynh1604715438919.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

Purpose

Allows only new DBC users to log on to the system.

Syntax

ENABLE DBC LOGONS

Usage Notes

To use this command, the current logon state must be one of the following:
  • Logons are enabled - The system is quiescent.
  • Logons are disabled - The system is quiescent.
To see the current logon state, use one of the following commands:
  • from DBW: QUERY STATE
  • from a Teradata Command Prompt: pdestate -a

Teradata Database must be running for the change to be applied. A database restart is not required for the new setting to take effect.

New non-DBC users cannot log on to the system after the ENABLE DBC LOGONS command is executed.

Users, other than the DBC, logged on to the system before the ENABLE DBC LOGONS command is executed remain logged on, and their jobs continue to run. All sessions are reconnected if the system is restarted.

The ENABLE DBC LOGONS command update the Start With Logons value in the PDE Control GDO, which is viewable using the Control GDO Editor (ctl) utility. For more information, see Control GDO Editor (ctl).

Example: Enabling DBC logons

The following example shows the current logon status is enabled for DBC users only. Non-DBC users cannot log on to the current system.

enable dbc logons

12/02/12 10:05:02 DBC Logons enabled.