I have two input files with two variables A & B so my requirement is when ever it is A then that needs to be converted to B and then read the values of B and while writing it should write the same value to A.
So is it possible to change the control to B so that it can read the complete record of B and write the same to A?
Sorry guys for not giving the complete info...Please find the requirement below
IF VEND = 12345
MOVE 88888 TO VEND
PERFORM READ FILE2
MOVE VEND TO VEND1
The problem i am facing is when passing the 88888 to vend,program is trying to read the values for vend 12345 only. So my requirement is after moving 88888 to vend then program needs to read the values of 88888 vend only. And while writing it should write the same values to vend 12345.Please help me in this and let me know if i am not clear on this.