Validating the BTEQ Installation|Gateway Mediated (MF-GTW)|TDP - Validating the BTEQ Installation - Teradata Tools and Utilities

Teradata® Tools and Utilities for IBM z/OS Installation Guide - Gateway Mediated (MF-GTW) - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
September 2022
Language
English (United States)
Last Update
2023-08-30
dita:mapPath
isa1662531073388.ditamap
dita:ditavalPath
mub1662573138926.ditaval
dita:id
B035-3513
Product Category
Teradata Tools and Utilities
Refer to Basic Teradata® Query Reference, B035-2414 for detailed information on how to use BTEQ.
  1. Invoke BTEQ interactively.
    Output similar to the following appears:
    Teradata BTEQ 17.20.00.00 for platform.
    Copyright 1984-2022, Teradata Corporation. ALL RIGHTS RESERVED.
    Enter your logon or BTEQ command:
  2. Log on to Analytics Database:

    .logon dbcpath/username

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

  3. When prompted, enter the password.
    For example, if Analytics Database 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 17.20.00.00
    *** Teradata Database Version is 17.20.00.00
    *** Transaction Semantics are BTET.
    *** Session Character Set Name is 'EBCDIC'. 
    
    *** Total elapsed time was 2.78 seconds. 
                        
    BTEQ -- Enter your SQL request or BTEQ command:
    For information about security and connecting to Analytics Database, see Teradata Vantage™ - Analytics Database Security Administration, B035-1100.
  4. 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
  5. 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 17.20.00.00 for platform
     CLIV2      : 17.20.00.00
     COPERR.H   : 17.20.00.00
     COPTYPES.H : 17.20.00.00
     DBCAREA.H  : 17.20.00.00
     DBCERR.H   : 17.20.00.00
     DBCHQEP.H  : 17.20.00.00
     MOSIIF.H   : 17.20.00.00
     PARCEL.H   : 17.20.00.00
     TERAGSS    : 17.20.00.00
     PIOM       : 17.20.00.00
     TDICU      : 17.20.00.00
     TDWALLET   : 17.20.00.00
     Database   : 17.20.00.00
      
  6. Log off of Analytics Database and exit BTEQ.