Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 27 Mar 2003 @ 22:17:30 GMT


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


Subj:   Re: How to print messages from BTEQ Script?
 
From:   Venkata Panabakam

  Can use BTEQ REMARK within the script.  


  ex:  


  .run file = script1.bteq
.REMARK "script2"
.run file = script2.bteq
 



Hi,

.REMARK "script2"


writes the message to STDOUT. But i want a command to write messages to STDERR.

Rignt now i am doing following. I will delete non existing files from run_file.bteq, between each run file. it will write messages to STDERR, saying that file the couldn't found. now I have pre known error messages between each actual run file errors.

file name : run_file.bteq
----------------------------
.logon demo1099/dbc,dbc;
.run file = script1.bteq
.OS delete script1
.run file = script2.bteq
.OS delete script2
.run file = script3.bteq
.OS delete script3
.run file = script4.bteq
.OS delete script4
.logoff;
--------------------------


and i will run following

bteq err.txt >out.txt


Is there any bteq command to write messages to STDERR.



     
  <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