To Whom It May Concern:
I have 2 flat files RECFM=FB,LRECL=130. 1st file has 4 records & the 2nd file has 20 records.
1st file
09 Apr 09 BRXGL23V - STARTED - TIME=06.02 ENDED - TIME=06.03 TERMINATED UNSUCCESSFULL
08 Apr 09 BRXG47ZZ - STARTED - TIME=20.28 ENDED - TIME=20.29 TERMINATED UNSUCCESSFULL
10 Apr 09 BRXGL96W - STARTED - TIME=18.45 ENDED - TIME=18.47 TERMINATED UNSUCCESSFULL
09 Apr 09 BRXG58ZZ - STARTED - TIME=19.43 ENDED - TIME=19.48 TERMINATED UNSUCCESSFULL
2nd file
09 Apr 09 BRXGL23V - STARTED - TIME=06.02 ENDED - TIME=06.03
08 Apr 09 BRXG47ZZ - STARTED - TIME=20.28 ENDED - TIME=20.29
10 Apr 09 BRXGL96W - STARTED - TIME=18.45 ENDED - TIME=18.47
09 Apr 09 BRXG58ZZ - STARTED - TIME=19.43 ENDED - TIME=19.48
10 Apr 09 BRXG59ZZ - STARTED - TIME=19.40 ENDED - TIME=19.43
10 Apr 09 BRXG60ZZ - STARTED - TIME=17.51 ENDED - TIME=17.53
10 Apr 09 BRXG46ZZ - STARTED - TIME=19.40 ENDED - TIME=19.44
10 Apr 09 BRXG14ZZ - STARTED - TIME=16.38 ENDED - TIME=16.43
10 Apr 09 BRXG42ZZ - STARTED - TIME=16.55 ENDED - TIME=16.58
10 Apr 09 BRXG29ZZ - STARTED - TIME=17.00 ENDED - TIME=17.03
10 Apr 09 BRXG40ZZ - STARTED - TIME=17.14 ENDED - TIME=17.17
11 Apr 09 BRXG15ZZ - STARTED - TIME=06.01 ENDED - TIME=06.01
10 Apr 09 BRXG22ZZ - STARTED - TIME=19.40 ENDED - TIME=19.44
10 Apr 09 BRXG23ZZ - STARTED - TIME=17.53 ENDED - TIME=17.55
10 Apr 09 BRXG20ZZ - STARTED - TIME=19.40 ENDED - TIME=19.45
*******************************************************************************************************
I want to copy / overlay the records in the 1st file with the matching records in the 2nd file based on the job name.
I need to keep the remaining records in the 2nd file that don't have a matching record in the 1st file.
Output file will look like this
09 Apr 09 BRXGL23V - STARTED - TIME=06.02 ENDED - TIME=06.03 TERMINATED UNSUCCESSFULL
08 Apr 09 BRXG47ZZ - STARTED - TIME=20.28 ENDED - TIME=20.29 TERMINATED UNSUCCESSFULL
10 Apr 09 BRXGL96W - STARTED - TIME=18.45 ENDED - TIME=18.47 TERMINATED UNSUCCESSFULL
09 Apr 09 BRXG58ZZ - STARTED - TIME=19.43 ENDED - TIME=19.48 TERMINATED UNSUCCESSFULL
10 Apr 09 BRXG59ZZ - STARTED - TIME=19.40 ENDED - TIME=19.43
10 Apr 09 BRXG60ZZ - STARTED - TIME=17.51 ENDED - TIME=17.53
10 Apr 09 BRXG46ZZ - STARTED - TIME=19.40 ENDED - TIME=19.44
10 Apr 09 BRXG14ZZ - STARTED - TIME=16.38 ENDED - TIME=16.43
10 Apr 09 BRXG42ZZ - STARTED - TIME=16.55 ENDED - TIME=16.58
10 Apr 09 BRXG29ZZ - STARTED - TIME=17.00 ENDED - TIME=17.03
10 Apr 09 BRXG40ZZ - STARTED - TIME=17.14 ENDED - TIME=17.17
11 Apr 09 BRXG15ZZ - STARTED - TIME=06.01 ENDED - TIME=06.01
10 Apr 09 BRXG22ZZ - STARTED - TIME=19.40 ENDED - TIME=19.44
10 Apr 09 BRXG23ZZ - STARTED - TIME=17.53 ENDED - TIME=17.55
10 Apr 09 BRXG20ZZ - STARTED - TIME=19.40 ENDED - TIME=19.45
*******************************************************************************************************************************
I'm not sure if Syncsort can create this type of output. Any help is greatly appreciated.