Archives of the TeradataForum

Message Posted: Wed, 11 May 2011 @ 08:43:15 GMT

I want to get value from a table inside BTEQ session onto a variable. One approach is 1. Fire the query inside BTEQ , direct the output to a
file, exit BTEQ, read the file onto a variable and do the processing.

But I would prefer to read the variable inside BTEQ itself with out logging off. Could you please forward any code snippet which does the same
using OS feature provided by BTEQ.