BookmarkSubscribeRSS Feed
Nehemiah
Calcite | Level 5

Hi All

 

    Please find the attached pdf output generated by SAS Studio version 3.6 and the code used is given below.

 

 

data one;
set sashelp.cars (keep= Model Type Origin);
run;

 

ods pdf file= "xxx/test.pdf" ;
proc print data=one;
run;

ods pdf close;

 

 

the problem i faced was the pdf generated was not searchable .so please give a solution to this problem.

 

thanks in advance.

 

Regards,

Nehemiah

2 REPLIES 2
Cynthia_sas
Diamond | Level 26

Hi:

  That is not what I observe. When I run your code, in SAS 9.4M5, the PDF file that I get is searchable using the Ctrl+F function in Acrobat Reader:

1) looking for string RS 6 string is found on obs 21

search_1.png

 

2) looking for string Park Avenue string is found on obs 54

search_2.png

 

As you can see, in both searches, the string I was looking for was found and the first instance highlighted.

 

Cynthia

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1456 views
  • 0 likes
  • 3 in conversation