I'm moving a field which is in PIC 9(11) COMP-3 coming from an INPUT file to PIC 9(11). I'm getting S0C7 error or ABEND Bellow is my code:
10 FIELD-FROM PICTURE 9(11) OCCURS 012 TIMES COMPUTATIONAL-3.
01 FIELD-TO PICTURE 9(11).
Then:
INITIALIZE FIELD-TO
DISPLAY 'ST' FIELD-FROM (WS-CPT)
MOVE FIELD-FROM (WS-CPT) TO FIELD-TO
On "DISPLAY 'ST' FIELD-FROM (WS-CPT)", it shows numbers with spaces
Finally, it shows an ABEND S0C7 on the instruction 'MOVE'