You've spotted the problem, which was that you were copying the same data (1,12) twice. So it was the same.

Since you want the data formatted like that, and since you can't include constants in a REFORMAT statement, you can do something like this:

Code:

...
* put a nice comment as to why, 1,1 at position 13 will be changed to a blank
REFORMAT FIELDS=(F1:1,12,F1:1,1,F2:1,12)
OPTION COPY
INREC OVERLAY=(13:X)

And then use SORTOUT.

I'm suggesting that because you have an eight-byte binary sequence number, which implies a considerable amount of data. If you do have a considerable amount of data, you don't want to toss it around more than necessary - so let the REFORMAT do what it can (positions of the data you need) and then just OVERLAY the blank on the unnecessary data.