Archives of the TeradataForum
Message Posted: Sun, 29 Aug 2004 @ 09:40:40 GMT
I have never brought a data defined as a FLOAT into a Cobol program.
The data will never be a larger number than 999. Anyway. I am expecting data like to format like 98.6
I have tried the following as Cobol pictures:
05 WS01-TEMPERATURE PIC S9(010)V99 VALUE +0 COMP. PP2 said unusable host variable 05 WS01-TEMPERATURE PIC S9(018)V99 VALUE +0 COMP. "" WS01-TEMPERATURE PIC S9(009)v99 VALUE +0 COMP. "" 05 WS01-TEMPERATURE PIC S9(009) VALUE +0 COMP. PP2 warned about an overlfow but compiled.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|