It is a % value that could be negative or positive.
My program receives this variable in the Transaction Linkage area in a PIC X(20) variable, aligned to the rigth.
I need to be able to move that variable to a PIC S9(4)V9(8) variable, in order to perform some calculations, and finally, i have to move it to a PIC X(20) varibale and pass it to a routine, which needs it to be formated like (-9999,99999999) format, aligned to the right. The sign could be optional if the value es positive.
I've been trying to move the input variable to edit variables, like this:
Bill and Terry, Thanks for the reply. I Haven't looked at the NUMVAL function, but I'm pretty much sure that I won't be able to use it in this installation since there are a lot of instructions that are "forbidden" just for that, resource intensive usage.
Also, yes, the program has DECIMAL POINT IS COMMA.