I want to compare FILE-1 & FILE-2 and compare matching records from FILE-2 to output file.
FILE-1: RECFM=FB, LRECL=80
TBIG100
TBIG200
TBIG980
TBIG200
TBIG980
FILE-2: RECFM=FB, LRECL=88
XMART_C%F#N_TBIG800_FINTE%AM
PRIN%CE%TON_FINTEAM_BAR%^*&SA_TBIG200
OVERLAY*&_COMPO%$%ITT_TBIG100
XMART_CAPT#*_09900_TBIG910
JUMPR%&_TBIG980_RSECUR@@_FIN
PRIN%CE%TON_FINTEAM_BAR%^*&SA_TBIG200
OVERLAY*&_COMPO%$%ITT_TBIG100
XMART_CAPT#*_09900_TBIG910
JUMPR%&_TBIG980_RSECUR@@_FIN
Expected Output:
OVERLAY*&_COMPO%$%ITT_TBIG100
PRIN%CE%TON_FINTEAM_BAR%^*&SA_TBIG200
JUMPR%&_TBIG980_RSECUR@@_FIN
PRIN%CE%TON_FINTEAM_BAR%^*&SA_TBIG200
JUMPR%&_TBIG980_RSECUR@@_FIN
Please let me know how to do it.
Thanks.