Joined: 06 Jun 2008 Posts: 8231 Location: Dubuque, Iowa, USA
Could any one suggest right solution
Probably not, since there is no one way to do this. You could pass the three values in DFHCOMMAREA, add the three values and pass the total in DFHCOMMAREA, write a TSQ record with the values (or just their total), just for starters. All of them are equally "right" in that, provided your code is correct, will produce the same results.