I am using rexx to calculate sum of numbers from input files. The input file have 8 digits and I have assigned a variable to get these numbers. So when I try to display this sum of numbers I am getting the error message saying that "IRX0041I Error running SMSNEW, line 50: Bad arithmetic conversion"
Actually my program struk in addition of below two numbers,
How to handle this? Is there any datatype in rexx to store big numbers instead of assigning to this in variables?
Joined: 03 Oct 2009 Posts: 1753 Location: Bloomington, IL
Rexx is a typeless language. Use the NUMERIC instruction to choose your desired form. Use TRACE I to examine the flow of execution and ensure that adding those two numbers is really the problem; I have my doubts.