|
|
Archives of the TeradataForum
Message Posted: Wed, 11 May 2011 @ 08:43:15 GMT
Subj: | | Read a file inside BTEQ |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Wednesday, May 11, 2011 12:59 -->
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.
Thanks.
| |