Hi,
Would you like to help me on below logic
I want to merge the records from 3 input files into 1 output file alternetevely using sort. Below are the details
Input File1 :--
Rec1 ABBBB
BCCCC
DEEEE
Rec2 BDDDD
DFFFF
RTTTT
Input File2 :--
Rec1 SGGHH
YTTTT
DWWWW
Rec2 QEEEE
DRRRR
RYYYY
Input File3 :--
Rec1 URTRT
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
There is no key here. All records having record length 133.
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