I have two files file 1 (LRECL 325) and file 2(LRECL 177)
I have to replace the 1st record starting from postion 2 to 10 in file 1 with file 2 data only from postion 9 to 16 i.e the date part from file 2 has to be taken and replace the date part in file 1 without any change in the remaining data .I will be doing it manually when ever it is required .can some one suggest me how to solve this
File1:
201201035438
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
File :2
C5035A0120120118R726701000000000000000000000000000000000005035503550350000000000
EXPECTED OUT PUT :
2012011895438
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000
AHDHKADH46465AHHIHAKH445500000000000000000000000000