ENABLE LOGONS/ ENABLE ALL LOGONS - Teradata Database

Database Utilities

Product
Teradata Database
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata® Database

ENABLE LOGONS/ ENABLE ALL LOGONS

Purpose  

Allows any new users to log on to the system.

Syntax  

Usage Notes  

ENABLE LOGONS and ENABLE ALL LOGONS are synonymous.

To use this command, the current logon state must be one of the following:

  • Logons are disabled - The system is quiescent.
  • Only user DBC logons are enabled - 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.

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

    Both commands (ENABLE LOGONS or ENABLE ALL LOGONS) 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 Chapter 7: “Control GDO Editor (ctl).”

    Example  

    The following example shows the current logon status is enabled for new users.

    enable logons
     
    12/02/12 10:04:29 Logons enabled.