That would be very helpful if you could post some real or dummy data and the desired output.
This issue I think is vey easy to address by SAS.
Here is an example:
data _null_;
infile cards truncover ;
input;
if mod(countc(_infile_,'"'),2)=1 then put "Found unbanlanced double quote:" _infile_;
cards;
1,"sdee,ere","sdfpereu"
2,"sdfsds","sdsds"sdfsf"
3,sdfsd"sdsds,"sdfsds"
4,sdsdfs,"dssds,"
;
1 data _null_;
2 infile cards truncover ;
3 input;
4 if mod(countc(_infile_,'"'),2)=1 then put "Found unbanlanced double quote:" _infile_;
5 cards;
Found unbanlanced double quote:2,"sdfsds","sdsds"sdfsf"
Found unbanlanced double quote:3,sdfsd"sdsds,"sdfsds"
... View more