BTEQ - SYSIN & SYSOUT in Teradata

SYSIN and SYSOUT are standard input and output streams of BTEQ. You can redirect them as the following example:
Start -> programs -> accessories -> command prompt

 c:\>cd  c:\program files\ncr\teradata client\bin 
c:\program files\ncr\teradata client\bin> bteq > result.txt 
 .logon teradata/forgetcode
 *******
 select * from students; 
 .exit 
  c:\program files\ncr\teradata client\bin >  bteq >  

In the above example, all output will be written into result.txt file but not to the terminal screen. If runfile.txt file is placed in the root directory C:\, we can redirect the standard input stream of BTEQ as the following example:
c:\>cd c:\program files\ncr\teradata client\bin 
c:\program files\ncr\teradata client\bin>bteq < c:\runfile.txt