The logs returned when setting the reader data policy to "controlled" consist of four fields (incorrect record, number of incorrect field, incorrect record, error message). Is there a quick way to return just the "incorrect_record" field. I'm having a hard time trying to parse the logs since each error record from the logs span multiple lines.
-
Can you clarify your problem? In the transformation downstream you can work with the field, that contains incorrect record, only, eg. in DataReader:
or in Reformat:fileURL=port:$0.offendingValue:discrete
function parseIncorectRecord(incValue){
......
}
// Transforms input record into output record.
function transform() {
parseIncorectRecord($offendingValue);
}
Please sign in to leave a comment.
Comments 1