I am using a variable with a sign bit and zero suppression on it.
But the sign is not moving towards the value of the variable after the calculation is done along with zero suppression
The declaration I gave in the program is:
DCL ABCD PIC'S(10)Z9.V99 init(0);
After the calculation is done and when I display the value in the spool,
I could see the sign present in the first position and then spaces and then the calculated value is printed. You can check the values with the negative sign in the screen shot. The declaration I gave is same for the last two variables.
Could any one tell me how to move the sign bit next to the value ?
Any help or reference is appreciated. Thank you[img][$1FCBF1CC68586345.jpg] [/img]