1.First, convert both the files into Indexed Sequential with Empno as key.
2. Now ;
Perform Write-File-para thru Write-File-para-Exit until EOF = 'y'.
....
Write-File-para.
Move...