FILE1
2917,065A,RDF1+TDEV,2917_3RAID5,05E:0_10E:0,BL_lmwsp02,0345,xxx,3452(DR)
2917,03EA,RDF1+TDEV,2917_3RAID5,03E:0_12E:0,BL_tv00p02,0455,xxx,3ee4(DR)
2917,03EB,RDF1+TDEV,2917_3RAID5,03E:0_12E:0,BL_tv00p02,0345,xxx,2d34(DR)
2917,04FE,RDF1+TDEV,2917_3RAID5,05E:0_10E:0,BC_ht00p01,2e22,xxx,3456(DR)
OUTPUT FILE 2
0345,RL_lmwsp02
0455,RL_tv00p02
0345,RL_tv00p02
2e22,RC_ht00p01
In file 2 1st column is the 7th column of file 1 and the 2nd column is 6th column of
file 1 with first alphabet replaced by "R"
OUTPUT FILE 3
05E:0_10E:0,RL_lmwsp02
03E:0_12E:0,RL_tv00p02
03E:0_12E:0,RL_tv00p02
05E:0_10E:0,RL_ht00p01
In file 3 1st column is the 5th column of file 1 and the 2nd column is 6th column of
file 1 with first alphabet replaced by "R"
OUTPUT FILE 4
3452,DL_lmwsp02
3ee4,DL_tv00p02
2d34,DL_tv00p02
3456,DC_ht00p01
In file4 1st column is the column in file 1 which contains "(DR)" ,which may not always be $9 and the 2nd column is 6th column of
file 1 with first alphabet replaced by "D"
Thanks