I.B.M. Affirms Earnings Goal Despite Sales Slide