If we are reading two work files which are not in sorted order, we need to write the matching records into third file. What is the efficient way to do that?
I only have one approach -
Read work file 1
Read work file 2
If work file 1 policy = work file 2 policy
write work file 3
escape bottom
End-if
End-work
End-work
This approach seems to have performance issue. Please let me know if there is any efficient approach.
Giles! You are right…
I got many solutions but just waiting for trying everything. Unfortunately not having any platform to try them… I love discussing on this forum… will have many more topics to discuss once system is in my hand…