I have a requirement of copying 2 files having different lrecls. We are taking a daily backup of files. We need to add the date at the beginning of the file before taking a backup. The date will be received in another file. I need to merge both the files so that the date will be added at the beginning of the backup file.
I have to do this for 5 files which has different lrecls ie, 550,650,717,800 etc.
I tried the below SYNCTOOL and it worked fine. But i need a generic sort tool so that i don't need to specify the lrecls everytime i copy the files.