05-07-2015 01:45 PM
I have created PDF report with using ODS and another PDF file for Report Glossary PDF file which is saved in shared drive.
Trying to make one pdf file with two sections of report.
This is what I used 35375 - How to append to a PDF file created by ODS
ODS listing close;
ODS PDF file="Final_report.pdf";
ODS PDF(a) file="a.pdf"; <-----------Report
ODS pdf(a) close;
ODS pdf(b) file="b.pdf"; <---------------Glossary
ODS pdf(b) close;
But final result is two separate PDF files, not one. Please correct me where I am doing wrong.
05-07-2015 01:59 PM
ods listing close;
ods PDF file="Las Vegas Summary.pdf" startpage= never;
ods PDF(a) file="a.pdf";
ods layout start;
ods layout end;
ods PDF (a) close;
ods PDF(b) file=\\lasnas01\mktg$\aaaprojects\SEO Glossary.pdf;
ods pdf(b) close;
ods PDF Close;
Here is what I have. but still getting two report files and one glossary file separately.
05-07-2015 02:08 PM
Are both files coming from SAS or is one a pre-generated PDF?
If one is a pre-generated PDF you can use the techniques here which I believe require an Acrobat Professional edition installed on your computer and a Windows machine.
05-07-2015 02:11 PM
To use the technique you've linked to, yes, both have to be generated from SAS.
The method I reference doesn't, but it looks like you're on Unix so I'm not sure. There may be other unix commands that can be used.