Moving Alphanumeric to COMP
Posted: Tue Oct 13, 2015 11:13 am
Hi
My input field is X(10) and im trying to move it to a COMP field of S9(9).
I/P
0444444444
1444444444
2444444444
9777778888
In output COMP field, its getting written as
0444444444
1444444444
1850522852
1187844296
When it works fine for input starting with 0 and 1, its writing random values for others. i tried few options like func NUMVAL, writing the input to numeric first then moving it to COMP etc, but none worked. Please help me how to move the correct values to S9(9) COMP field.
My input field is X(10) and im trying to move it to a COMP field of S9(9).
I/P
0444444444
1444444444
2444444444
9777778888
In output COMP field, its getting written as
0444444444
1444444444
1850522852
1187844296
When it works fine for input starting with 0 and 1, its writing random values for others. i tried few options like func NUMVAL, writing the input to numeric first then moving it to COMP etc, but none worked. Please help me how to move the correct values to S9(9) COMP field.