Skip to main content

add of 2 fields is giving wrong answer

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

field A pic s9(11)v99 added to B pic s9(11)v99

A=  780.10

B= 4354.34

sum = 5134.50   should be 5134.44

Resolution:

the problem in this case was the input was using an ebcdic sign

doing

$set sign"ebcdic"     corrected the problem

Old KB# 5218

0 replies

Be the first to reply!