Specifying the LRECL= parameter should address input data line truncation condition, although you must consider the input data record content itself.
Share what code you have for your DATA step to parse the HTML.
As far as generating HTML, you can use a SAS DATA _NULL_ step to generate the HTML tags, or consider how you might use ODS HTML possibly, depending on your requirements. I have pasted a link to one of many technical papers found on the SAS support website http://support.sas.com/ found using a search on related keywords with your post.
PROC IMPORT OUT= WORK.Html
This seems to work better than the infile statement. It creates 6 variables that I have to combine later. However, it still truncates the last var to 3 characters of which I cannot seem to control and so cuts off part of the output...
The next alternative:
length code $ 273;
input code $;
Does not work as well as it seems to cut off after it encounters a space;
Any help would be grateful.