BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello,

I have one huge Enterprise Guide (version 4.1) project where each "branch" ends with a graph or table. These are all PDF outputs.

I then want to automatically send an email to x people. However, I would like to concatenate all PDFs into ONE PDF that I could email, instead of emailing one PDF for each branch.

I'm a fairly novice user, so any guidence would be helpful. If it is possible to do in the actual GUI of EG, that would be of great help to. The Document builder seems to work only for HTML files...
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
If you do this in a code node:
[pre]
ods pdf file='all_in_one.pdf';
** proc or analysis 1; run;

** proc or analysis 2; run;

** proc or analysis 3; run;
ods pdf close;
[/pre]

You will get the results of all 3 procedures in one PDF file. I suspect that EG is isolating each task within a separate ODS PDF "sandwich" and so, if you had 3 procedures or tasks, you would get 3 separate PDF files.

If you do not use the above technique (putting all your procedure code within one ODS PDF "sandwich" in a code node, then you would need to use an Adobe product (Adobe Acrobat, PageMaker, FrameMaker, etc) or some third-party PDF builder in order to concatenate multiple PDF files together into one file.

The good news is that EG will let you export the code from your project and then you can grab that code and insert it into one ODS PDF sandwich,instead of the way that EG is doing it now.

cynthia
deleted_user
Not applicable
I agree with Cynthia's solution of sandwiching the procs in one "ods pdf" code note. Also, for my particular situation I still needed a third-party PDF builder to combine various PDFs using my BY variable. I used something called PDF Split-Merge with had both GUI and command line support so I can process it in a batch file. It was also very inexpensive.
http://www.verypdf.com/pdfpg/index.html

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 641 views
  • 0 likes
  • 2 in conversation