| Archives of the TeradataForumMessage Posted: Thu, 27 Mar 2003 @ 22:17:30 GMT
 
 
  
| Subj: |  | Re: How to print messages from BTEQ Script? |  |  |  | From: |  | Venkata Panabakam |  
 |  | Can use BTEQ REMARK within the script. |  | 
 
 
 
 
 |  | .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. 
 
 |