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.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top