Unix script for Checking sequence

Hello,

I need Unix script for Checking sequence and get output in a file for missing sequences information.
We are moving archive log to a server for DR .if any files miss from sequence DR will fails. so we need script to monitor sequence of files which are FTP from the Production servers .
Some plz provide me script for the same .

Thanks in Advance

Raj

Please give sample filenames and define what "sequence" means

File name : CHXArch_XXXXX.dbf(i.e XXXX-200878) and sequence 2000878,2000879....