Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Sep 2004 @ 08:27:11 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   BTEQ Format for Column Heading
 
From:   Capp.Luckett

Hello again.

After trying many combinations of BTEQ options, I could sure use a few pointers for placing the column name above the column data. I looked at the BTEQ manul and the posts/respones in the Forum but I am still missing something. (I did get the mainframe batch job/query to run successfully.)

Suggestions Please. Thanks.


Results Example:

     emp_id
     - - - - - -
     140495

BTEQ Commands:

     .LOGON TDPD/abcd,test
     .EXPORT DATA ddname=outfile   ;
     .FORMAT ON                    ;
     .SET HEADING                  ;
     .SET UNDERLINE ON             ;
     .SET WIDTH 254                ;
     .SET sidetitles off           ;
           SELECT  CAST(CAST(emp_id
                              AS FORMAT 'z(18)') AS CHAR(18))
                   FROM emp_table;
     .EXPORT RESET;
     .LOGOFF
     .EXIT

Capp Luckett



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016