passing negative values means
you want to enter the values through the map or you want to display the values in the map for the purpopse you have specify in the map field definaion as PIC IN specify the input data tyupe.
and specify PIC OUT to the output data tuype.
default is alphanumeric
It is best to avoid having to accept negative values. If it is not possible, the folliwing methods can be used.
1. Have a separate filed for sign and value. Get the sign and values into two variables to your program and handle them. This is the most simple way to handle the situation. (A similar method can be used to accept integer and decimal values.)
2. Accept the value with a '-' sign and use INSPECT caluse to get the ...