A little clarification: I am not sure why one message is an Error and the other is a Warning, I would expect the message to be the same.
Duplicates in the ouput? The output has 2 records are identical except that on is listed as a Warning and the other is an Error.
1 AESEQ, USUBJID 1, 10011001 SD1097 FDAC022 No Treatment Emergent info for Adverse Event Presence Warning
2 AESEQ, USUBJID 2, 10011001 SD1097 FDAC022 No Treatment Emergent info for Adverse Event Presence Error