I have 2 input file and a output file and all uses same copybook.There is a field ABC which is of length 10 and I need last 5 characters of it from both the input file.So,The move statement I used is :
Move ABC(5:5) OF IP1 TO WS-IP1-ABC
Move ABC(5:5) OF IP2 TO WS-IP2-ABC
But on compiling its giving error saying the field ABC is not a uniquely defined field.
Would anyone help me out to sort out this error.Please