Identify Header, Detail and Trailer Records

Identify Header, Detail and Trailer records in the incoming file and verifying whether trailer count is equal to total number of detail records.
My input is
Header Columnname
Detail row 1
Detail row 2
Detail row 3
Trailer 3
Here I want to see whether total number of detail records is equal to total number of trailer record.
If so proceed otherwise pass it to reject link. And also Identify Header, Detail and Trailer record and pass it to 3 different files if it processed.

Showing Answers 1 - 3 of 3 Answers

Ram

  • Jun 30th, 2016
 

You need to do file validation part using shell or any other scripting as before subroutines.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions