I have a field in a Physical file,
MILLPR defined as 9P 9
I am trying to move it to a display file,
SCMILLPR defined as 66.666
In RPG, if I multiple the MILLPR field by 100, I can successfully make the move if the field contains .250000000, .500000000, .750000000
However, if the MILLPR field contains .000000000, this is supposed to be 1.000000000.
Since the data is .000000000, I have tried:
EVAL SCMILLPR=1 and
I am getting an error when trying to run this program, stating that the target filed isn't big enough.
I realize this is probably a simplistic question, but as you can probably tell, I am a new to RPG and SDA. Any assistance with this problem is greatly appreciated.
January 11, 2005 12:52 PM
January 13, 2005 10:45 AM