The length of the input file is 80 bytes and I want to copy a particular field from position 17 to 20 which is in Binary format to the first four bytes of the output file in the same Binary format.
And I want to keep all the remaining 76 bytes as spaces.
Joined: 15 Feb 2005 Posts: 7130 Location: San Jose, CA
Krisprems,
That won't work. 80:X in OVERLAY will just put a blank in position 80 - it will not put blanks in positions 5-80 as you seem to be assuming (overlay only changes the positions you tell it to change). 17-20 will have the original value instead of blanks.