I am getting the below error while trying to remove all the html elements using regex in SAS. Can you please let me know what is the issue ?
Data HTMLData;
filename INDEXIN URL "http://www.google.com/";
input;
textline = _INFILE_;
/*-- Clear out the HTML text --*/
re1 = prxparse("s/<(.|\n)*?>//");
call prxchange(re1, -1, textline);
run;
ERROR: No DATALINES or INFILE statement. ERROR: The INFILE variable has been referenced, but no DATALINES or INFILE statement was found.