Hi: I agree with Reeza that this seems unlikely. You might investigate whether there is an Adobe product that will open an HTML file, render it and then save as PDF. The issue I think you're going to run into is that SAS does not "own" HTML -- so internally, there is nothing in SAS that knows how the HTML would be rendered by a browser, so that SAS could "translate" that look and feel into PDF. According to the rules of HTML, the file you have violates the rule that you have only 1 <!DOCTYPE> tag in the document, only 1 <html> tag, only 1 <body> tag -- so I am not actually sure that your HTML file would be rendered in a browser. Also, your DOCTYPE doesn't look entirely correct. And it looks like your <head> doesn't have any <style>, so it is an odd file. The fact that you have an INPUT statement with ID and SAVEDBY as variables looks almost like you are trying to save an entire <HTML> document for every SAVEDBY person -- and that is a bit odd to want to put into PDF because every SAVEDBY person could have different text in their paragraphs and their formatting on their HTML page might be different from SAVEDBY person to SAVEDBY person. SAS is not a browser. The HTML tags you are sending are just text strings. So you would have to build any "intelligence" for the rendering of the HTML in your data by yourself -- that means, you have to essentially tell SAS how YOU wanted EACH and EVERY HTML tag to be sent to PDF. PDF is not a browser. So if an Adobe product can read an HTML file and create a PDF file, then you would have to investigate whether an Adobe product could read multiple, different HTML files and create 1 PDF file from multiple HTML files (this seems possible, but I am guessing that Adobe might charge $$ for a product like this). For the definitive answer about whether what you want to do is possible my recommendation is that you open a track with Tech Support. cynthia
... View more