venkat2003
Programmer
Hi,
Please clarify this doubt.
I define two variables like in Working storage section.
01 WS-X PIC 9999.
01 WS-Y PIC 9999.
MOVE LOW-VALUES TO WS-X
MOVE HIGH-VALUES TO WS-Y
I am trying to move low and high values in the ws-x,WS-Y fields I am getting problem i.e. violating move during the compile time. Please let me kow the reason. If I define ws-x and WS-Y as X(4) and move low and high values. it is taking. My question why it is not possible in case of numeric move and why it is possible in alphanumeric case.
How internally this values are stored in the WS-X AND WS-Y as defined as Alpha numeric.
Please let me know the solution.
Thanks
Venkat
Please clarify this doubt.
I define two variables like in Working storage section.
01 WS-X PIC 9999.
01 WS-Y PIC 9999.
MOVE LOW-VALUES TO WS-X
MOVE HIGH-VALUES TO WS-Y
I am trying to move low and high values in the ws-x,WS-Y fields I am getting problem i.e. violating move during the compile time. Please let me kow the reason. If I define ws-x and WS-Y as X(4) and move low and high values. it is taking. My question why it is not possible in case of numeric move and why it is possible in alphanumeric case.
How internally this values are stored in the WS-X AND WS-Y as defined as Alpha numeric.
Please let me know the solution.
Thanks
Venkat