Hi, I am using embedded SQL in COBOL to do a sum as follows: EXEC SQL SELECT SUM(Amount1), SUM(Amount2) INTO :w-amount1, :w-amount2 FROM FORMTAB WHERE Company = :FORMTAB-COMP AND SubComp = :FORMTAB-SubComp AND Policy = :FORMTAB-Policy AND Reg = :FORMTAB-Reg AND Sequence = :FORMTAB-Sequence AND FormID = :FORMTAB-FormID AND FormSeq = :FORMTAB-FormSeq END-EXEC. In some cases, there are no rows that meet the criteria, and I would expect the SQLCODE to be 1403, however it is returning -1405 (fetched row returned nulls). Is this correct? If so, why - when no rows are returned? Thanks.