Suppressing column names in Reports
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Suppressing column names in Reports Expand / Collapse
Author
Message
Posted 8/19/2009 1:40:09 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/20/2009 5:51:14 AM
Posts: 4, Visits: 8
I regularly use DATA format to produce ouput files from BTEQ running in TSO on an IBM mainframe.

I'm trying to do something similar using BTEQ running on Windows.

I'm finding that the only output type that appears to work well is the REPORT format.
DATA seems to introduce odd characters, wrap lines, etc.

REPORT format is almost fine for me, but I really do NOT want the column headings.
I've read the manual, found that I can turn off the dashes under the column heading, but cannot find a way of getting rid of the column heading itself. Is it possible?

If not, can anybody point me to some advice on how to make the DATA output type work better in Windows?

Thanks,

T
Post #16586
Posted 8/19/2009 4:30:19 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 3:55:54 AM
Posts: 111, Visits: 263
You have to do it for every column by giving each column a title of:

(Title '')

If you want to output data instead, then bteq will output a two byte length for every varchar field output. (Dont forget a literal is always treated as a varchar unless you explicitly say it is Char with a length.)
Also, there are two bytes on the front giving the overall length of the record, if there are any varchar fields.

Post #16591
Posted 8/20/2009 5:52:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/20/2009 5:51:14 AM
Posts: 4, Visits: 8
Jimm - thanks, (TITLE '') did the trick.
Thanks for the other tips as well. Appreciated.

Cheers,

T
Post #16596
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 5:48pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.047. 9 queries. Compression Disabled.