BookmarkSubscribeRSS Feed
padmakumariMiriyala
Calcite | Level 5
I have one pdf file , I want to split that pages based on title page content and also need to merge multiple files in to single PDF . How to do in SAS
6 REPLIES 6
SASKiwi
PROC Star

A combination of ODS DOCUMENT and the DOCUMENT procedure may do what you require. Check out the examples in this link:

https://documentation.sas.com/?docsetId=odsproc&docsetTarget=n0lzw11swn9gm8n1g6rof0r360wr.htm&docset...

Reeza
Super User

Install Adobe Professional and then use SAS to generate the commands needed. 

You may be able to use scripting commands as well, depending on which OS and what applications you have. 

 

It also depends on where the PDF files originate from. For example, if it's from SAS processes, you could find a way to restructure those so that the files are created consistently. 

 

I did this for some very complicated reporting that required inserting maps, table of contents pages, glossaries etc into automated reports. 

Reports are here, for example. 

 

Here are the instructions on how to handle the PDF combinations. 

https://analytics.ncsu.edu/sesug/2011/BB15.Welch.pdf

 


@padmakumariMiriyala wrote:
I have one pdf file , I want to split that pages based on title page content and also need to merge multiple files in to single PDF . How to do in SAS

 

ChrisNZ
Tourmaline | Level 20

I did this for some very complicated reporting that required inserting maps, table of contents pages, glossaries etc into automated reports. 

Reports are here, for example. 

That's one impressive report! Very impressive!   bow down!.gif

 

 

Reeza
Super User
Thanks!!! The maps and text is also fully automated using SAS and ArcGIS. Developing this reporting methodology eventually changed how all reports were developed allowing the team to move onto modelling instead of constantly generating these types of reports manually.
ChrisNZ
Tourmaline | Level 20

I don't doubt that once this documentation-writing logic was finally in place, the efficiency gains were huge.

Documentation writing is very time-consuming and very error-prone.

Kudos on you for doing this, and on your employer for giving you the time to do something better than the usual urgent, cheap, quick-and-dirty, good-enough-and-let's-move-on job that most employers seem to favour these days.

Reeza
Super User
Yeah, the documentation step was a bit of a pain but I'm pretty militant on that 🙂
And fairly good at documenting my code for something that large because I know I won't remember it in a years time.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

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
  • 6 replies
  • 1376 views
  • 7 likes
  • 4 in conversation