Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Sun, 29 Aug 2004 @ 14:03:42 GMT

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

Subj:   Re: Converting Float In Cobol
From:   Fred Pluebell

If you want to convert to packed decimal and assign the value to a

     PIC S9(5)V99 COMP-3

item in COBOL, the corresponding SQL expression would be


Or you could assign the value directly to one of the COBOL floating-point numeric types, e.g. COMP-1 or COMP-2.

  <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: 15 Jun 2023