Floating Point Problem With MLOAD

Tools & Utilities
Fan

Floating Point Problem With MLOAD

I'm having a problem with a COBOL created COMP-1 column from a MF flat file. I've defined the column as float (in both the input and the target table. The processing works fine (target result value is as expected) until it encounters an input value of all zeros. This is HEX '00000000'on the MF. The MLOAD errors the row out with a "2680 Numeric processor operand error." I've tried using a case statement within the VALUES to check for the 4 byte HEX value in 's and in "s but it doesn't recognize the last ' or " and the SQL errors out. Any ideas??? Thank You
1 REPLY
Fan

Re: Floating Point Problem With MLOAD

For anyone interested: I solved this problem by changing the COBOL definition to COMP-2.