Footer validation

I

id4dsc

Guest
I have text file as below.

20120304
QWERTT||SDFG
QWERTT||SDFG
QWERTT||SDFG
QWERTT||SDFG
QWERTT||SDFG
5

Hi,

My requirement is as below.
First line should match with today's Date. If it matches it should check for the number of records except footer and header and this count should match with footer. If it matches the data should be moved to DB table(oracle) ,otherwise it should not load data to DB table.

Kindly assist.

Thanks,
Saty.
 

Members online


Top