|
Archives of the TeradataForumMessage Posted: Sun, 29 Aug 2004 @ 14:03:42 GMT
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 CAST(TEMPERATURE AS DECIMAL(7,2)). Or you could assign the value directly to one of the COBOL floating-point numeric types, e.g. COMP-1 or COMP-2.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||