Hi Guy,
Thanks to any help. I produced multiple patient profiles already, but they are separate file. my boss want them in one pdf file right now. How could I solve this problem by SAS?
If the reports were done is SAS then sandwich the code that created them in ONE ODS sandwich:
ods pdf file="yourpathandfilenamegohere.pdf" <other ods options>;/* or RTF*/ <All of the code that created the reports goes here> ods pdf close; /*or rtf*/
None of the code in the <all of the code> bit above can contain any ods PDF Close or it will close the document before completion. However if there are ODS RTF that would be okay though that likely will overwrite your existing rtf files.
@ballardw Thank you, but my PDF files are external. ods pdf could not import pdf file.
If SAS didn't create the report files then why ask here? Then your question belongs on a PDF forum, not SAS.
If SAS did create the files then rerun the code with a different ODS statement to combine the reports.
ODS PDF is for creating PDFs not importing them. You could easily do this manually in MS Word or Adobe Acrobat. For a few PDFs a manual solution is a lot more efficient than programmed approach.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.