Hi BillyBoyo,
First, Sorry for my late reply.
My problem was:
Suppose i have 3 VSAM files F1, F2 and F3. These files F1,F2 is of 145 LRECL and F3 is of 1201.
First i have copied first record from F1 to F2. Now i have to overlay 19 bytes from the first record of F3(starting from position 82 to position 100 from F3 file) to the F2 file(position starting from 127 to 145).
Well, I have done this using SAS and IDCAMS. First i wrote a SAS for these positions then repro that file to the VSAM file.
If I am doing some mistakes in SORT, Please let me know.
Record from F1 looks like this(HEX is on):
--7--- -+----8----+----9----+----0----+----1----+----2----+----3----+----4----+
********************************* TOP OF DATA **********************-CAPS OFF-*
2013070804422222
000000 00000000000000000000000000000000000000000000000000000079FFFFFFFFFFFFFFFF
000000 0000000000000000000000000000000000000000000000000000068C2013070804493500
Record from F3 looks like this(HEX is on):
-- +----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0-
********************************* TOP OF DATA **********************-CAPS OFF-*
2013070804493500
00 000000000000000000000000000000000000000000000000000000000079FFFFFFFFFFFFFFFF
00 02020000000000000000000000000000000000000000000000000000068C2013070804493500
Desired output:
Record from F2 looks like this(HEX is on):
--7--- -+----8----+----9----+----0----+----1----+----2----+----3----+----4----+
********************************* TOP OF DATA **********************-CAPS OFF-*
2013070804493500
000000 00000000000000000000000000000000000000000000000000000079FFFFFFFFFFFFFFFF
000000 0000000000000000000000000000000000000000000000000000068C2013070804493500