Hi All,
Could you please help me out on the below issue. I need a matching logic between two files and write the matched record in the output file.
File 1: Record Length - 5270 --> VB file--> Position 59th (2bytes) --> Only the 59th pos in header as a single record
File 2 : Record Length - 80 --> FB File --> Position 1th (2 bytes) --> Has multiple records
I need to create the matching logic in such a way that from File1 pos59th data (single record) needs to be matched to the multiple records of the File2.
Sample Data:
File 1: .............................................................................................................AB(59th position)
File 2: ZX
YE
AB
BG
XX
Output :
AB
Need to match the AB (File 1 ) to the AB in File 2