Hi...
I have a input file with LRECL 80 having 10 records and first 5 bites of each record contains different Dept Name and from 6th to 80 positon contains different
employee name ( say 6th to 15th one employee name and 16th to 25th another employee name) . now I want output file having each employee under one Dept Name.
EXP.
INPUT FILE
DEPT NAME EMP NAME
AAAAA XXXXXXXXXXXYYYYYYYYYYZZZZZZZZZZ
BBBBB PPPPPPPPPPQQQQQQQQQQRRRRRRRRRR
OUTPUT FILE
AAAAAXXXXXXXXXX
AAAAAYYYYYYYYYY
AAAAAZZZZZZZZZZ
BBBBBPPPPPPPPPP
BBBBBQQQQQQQQQ
BBBBBRRRRRRRRRR
Thanks in advance....