Hi All,
I have to compare 2 files which are having each record counts of 9 digits.
file1 count i am calculating at end my while posting to requests message to outside application. file2 count is coming from outside application with direct count how many they processed.
i searched the web site and gone thorough multiple posting. but in all cases file with total records passing to sort and calculating the counts. in my case direct count coming in file.
Infile1 : 80 bytes file size
000088888 - Count size - 9 bytes
infile2 : 80 bytes file size
000099999 - Count size - 9 bytes
There are multiple condition to check
if file1 count > file2 count - means all requests are not processed. - if difference greater than some 10-15 I want RC 16 and will catch RC in next step of JOB to abend.
if file1 count = file2 count - no issue so RC=0
if file1 count < FIle2 count - duplicate responses - If difference greater than 10-15 than RC= 8