Dear all: I just joined the community and I hope to learn and share with you as much as possible. I have one question to start: I need to create as many reports as categories are in the BY statement of a PROC FREQ (there will be around 30), and export the PDF output as an individual PDF file (this is, one PDF file for each category in the BY statement). So far, I've come to this syntax, which exports only an aggregated file instead of for each category in the BY statement: ODS PDF STYLE=Styles.SASweb FILE='C:\S1_out.pdf'; PROC FREQ DATA=WORK.Labels_Export_CMS; TITLE "Finalized Cases"; TABLES IntervierName*DispositionCode / nocol nopercent; WHERE status=2; BY Supervisor; RUN; ODS PDF CLOSE; Ideally, I would need to do this as efficient as possible (hopefully, not making one syntax as the one above for each of the 30 cases), since I'll need to generate this information from the same database (same structure, new information), weekly. Thank you very much. Rafa
... View more