@christinagting0
Do you want/need this free text data for futher analysis or could you just skip it?
There are always ways to read such free text fields. What works will depend how your source data really looks like. Post an example if you're after actual code.
The easiest case is, if your free text field is at the very end of a record as then the code could be as simple as below.
data test;
infile datalines4 dlm=',' truncover;
input (varA varB varC) ($) FreeText $200.;
datalines4;
aa,bb,cc,free text, can be anything, aa's,|[]OOP!@#$%^&*()_
;;;;
run;
Above works because once VarC is mapped, the input pointer is at the position+1 of the comma after the data for VarC.
The format $200. then instructs SAS to just read the next 200 characters - as a Format and not an Informat gets used, the commas are no more treated as field delimiters.
TRUNCOVER in the infile statement ensures that SAS also maps data against FreeText if the remaining input string is shorter than 200 characters.
... View more