I am working on file to idic scenario.
file has four types of lines :
Begin of file.
header.
items.
end of file.
each line has a element Record type and some other elements.for header record type is A , for item its B , for Begin of file its C and for end of file its D.
we have to check for every line that it should have record type as one of these four and if not so we have to send a mail through alert functionality.we have to send a mail which has all errors by checking the whole file for record types.we have to ignore these lines in the file and proceed with the rest.
how can we implement this?
regards,
rohit