I have a RPGILE which input X and Y and return Z as (X to the power of Y)
eg X = 2 and Y = 2 then Z = 4
I define X, Y and Z as 30P9
However when I can this function with parmeter X= 10 and Y = 10
Error occur like this :
Can anyone tell me how to fix it or why error come out ? Many thanks
ILE RPG/400 FORMATTED DUMP
Program Status Area:
Procedure Name . . . . . . . . . . . . : GETPOWERVL
Program Name . . . . . . . . . . . . . : GETPOWERVL
Library . . . . . . . . . . . . . . : PFTSTLIB
Module Name. . . . . . . . . . . . . . : GETPOWERVL
Program Status . . . . . . . . . . . . : 00202
The call to ended in error (C G D F).
Previous Status . . . . . . . . . . . : 00000
Statement in Error . . . . . . . . . . : 00006400
RPG Routine . . . . . . . . . . . . . : GETPOWER
Number of Parameters . . . . . . . . . :
Message Type . . . . . . . . . . . . . : MCH
Additional Message Info . . . . . . . : 1212
Message Data . . . . . . . . . . . . . : Invalid floating point format change detected
Software/Hardware used:
ASKED:
May 3, 2005 5:27 AM
UPDATED:
May 3, 2005 7:59 AM