Validate No of Records
Posted: Sun Aug 12, 2007 7:31 pm
Hi,
I am reading a fixed width sequential file with a header and footer....The footer gives the number of rows in the file.
I would like the first step of the job to validate if the number of rows of data in the file match the number of rows in the footer...If it is correct I would like it to process and if it fails I would like it to abort.
Is there a way to do this ? if so please elaborate...thank you.
I am reading a fixed width sequential file with a header and footer....The footer gives the number of rows in the file.
I would like the first step of the job to validate if the number of rows of data in the file match the number of rows in the footer...If it is correct I would like it to process and if it fails I would like it to abort.
Is there a way to do this ? if so please elaborate...thank you.