STDOUT output file locations

Database
Enthusiast

STDOUT output file locations

quick and hopefully easy question

I am trying to execute some BTEQ scripting and am using .SET ERROROUT STDOUT to capture any error messages. 

How do I designate the file that the error messages are logged into?

Is it .export (drive letter)\ (ext) \ (file) name  or something else?

Thanks

R

1 REPLY
Teradata Employee

Re: STDOUT output file locations

You use standard OS redirection on the command line to send STDOUT to a file, e.g.

bteq <myScriptFile.txt >myOutputFile.txt