Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 22 Jan 2003 @ 19:48:29 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: BTEQ logon
 
From:   David Wellman

Craig,

Create your "logon file" and call it "dblogon.txt" (as an example). It contains

.logon tdpid/userid,password;

at the beginning of each Bteq script, have the following code

.run file=dblogon.txt;

or in your shell script (you didn't say what you client platform/environment is) which runs bteq, add the following

cat dblogon.txt bteqscript.txt | bteq >.....

Either mechanism will cause the logon statement to be run first.

If that doesn't work, what errors are you getting?


Cheers,

Dave



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023