Validating the BTEQ Installation - Teradata Tools and Utilities

Teradata® Tools and Utilities for Apple macOS Installation Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2025-08-12
dita:mapPath
exm1691664675935.ditamap
dita:ditavalPath
wkd1465132352043.ditaval
dita:id
ffn1464394373782
Product Category
Teradata Tools and Utilities
See the Basic Teradata® Query Reference, B035-2414 for detailed information on how to use BTEQ.
  1. Open the terminal.
  2. Change directory to the BTEQ directory.
  3. Start BTEQ:

    bteq

    Output similar to the following appears:
    Teradata BTEQ 20.00.00.00 for platform.
    Copyright 1984-2023 Teradata. All rights reserved.
    Enter your logon or BTEQ command:
  4. Log on to Database Engine 20:

    .logon dbcpath/username

    Enter the BTEQ logon command with a logon ID. Include the dbcpath if the Database Engine 20 dbcpath is not the default i_dbcpath specified in clispb.dat.

  5. When prompted, enter the password.
    For example, if Database Engine 20 has a dbcpath of Finance, the username is fml, and the password is fml, type:
    • .logon Finance/fml
    • Password: fml
    If the logon is successful, output similar to the following appears:
    *** Logon successfully completed.
    *** Teradata Database Release is 20.00.00.00
    *** Teradata Database Version is 20.00.00.00
    *** Transaction Semantics are BTET.
    *** Session Character Set Name is 'ASCII'. 
    
    *** Total elapsed time was 1 second. 
                        
    BTEQ -- Enter your DBC/SQL request or BTEQ command:
    For information about security and connecting to an Database Engine 20, see Teradata Vantage™ - Analytics Database Security Administration, B035-1100.
  6. Submit a sample Teradata SQL query:

    SELECT time;

    If the test passes, output similar to the following appears.
    *** Query completed. One row found. One column returned.    
    *** Total elapsed time was 1 second.                      
                        Time                   
                      --------                  
                      11:09:11
  7. To see the version numbers for BTEQ and the key Teradata software it depends on:

    .SHOW VERSIONS

    which produces output similar to the following:
    .SHOW VERSIONS
     BTEQ Version 20.00.00.00 for platform
     CLIV2      : 20.00.00.00
     COPERR.H   : 20.00.00.00
     COPTYPES.H : 20.00.00.00
     DBCAREA.H  : 20.00.00.00
     DBCERR.H   : 20.00.00.00
     DBCHQEP.H  : 20.00.00.00
     MOSIIF.H   : 20.00.00.00
     PARCEL.H   : 20.00.00.00
     TERAGSS    : 20.00.00.00
     PIOM       : 20.00.00.00
     TDICU      : 20.00.00.00
     TDWALLET   : 20.00.00.00
     Database   : 20.00.00.00
      
      BTEQ linking date is Jun 29, 2023
  8. Log off Database Engine 20 and exit BTEQ.