Input File1 :--
Rec1 ABBBB
BCCCC
DEEEE
Rec2 BDDDD
DFFFF
RTTTT
BCCCC
DEEEE
Rec2 BDDDD
DFFFF
RTTTT
Input File2 :--
Rec1 SGGHH
YTTTT
DWWWW
Rec2 QEEEE
DRRRR
RYYYY
YTTTT
DWWWW
Rec2 QEEEE
DRRRR
RYYYY
Input File3 :--
Rec1 URTRT
ATTTT
DSSSS
Rec2 REEEY
DIYUU
REDER
ATTTT
DSSSS
Rec2 REEEY
DIYUU
REDER
Output File :--
Rec1 ABBBB
BCCCC
DEEEE
Rec1 SGGHH
YTTTT
DWWWW
Rec1 URTRT
ATTTT
DSSSS
Rec2 BDDDD
DFFFF
RTTTT
Rec2 QEEEE
DRRRR
RYYYY
Rec2 REEEY
DIYUU
REDER
BCCCC
DEEEE
Rec1 SGGHH
YTTTT
DWWWW
Rec1 URTRT
ATTTT
DSSSS
Rec2 BDDDD
DFFFF
RTTTT
Rec2 QEEEE
DRRRR
RYYYY
Rec2 REEEY
DIYUU
REDER
I tried the some sort cards for merge alternately but its merging record after record. However I want to merge 1st few records from 1st files and then from 2nd and then from 3rd (as explained above example).
Please help me in this (asap).
Thanks,
MFUSERVDC
Code'd