Usage Note 46128: Enable searching in double-byte character set (DBCS) output created by ODS PDF
PDF files that are created in double-byte character set (DBCS) SAS® sessions are not searchable by default. In order to make the Roman characters inside the PDF files searchable, a SAS registry change is necessary. The sample code below illustrates this.
/* Show the current setting */
proc registry startat="CORE\PRINTING\PDF\DBCS" list;
run;
filename source 'temp.sasxreg';
data _null_;
file source;
put '[CORE\PRINTING\PDF\DBCS]';
put ' "Searchable" = "Yes"';
run;
/* Change the SAS registry */
proc registry import=source; *usesashelp;
run;
/* Show the current setting */
proc registry startat="CORE\PRINTING\PDF\DBCS" list;
run;
Note: The REGISTRY procedure makes changes to the Sasuser registry file. In order to make these changes in the Sashelp library, create a backup of the REGSTRY.SAS7BITM file, and add the USESASHELP option in the PROC REGISTRY statement. The SAS session that runs code with the USESASHELP option must have administrative privileges and no other SAS sessions can be open.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS2M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | |
Microsoft® Windows® for x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | |
Microsoft Windows XP Professional | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 9.2 TS2M3 | |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 9.2 TS2M3 | |
Windows 7 Professional x64 | 9.2 TS2M3 | |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 9.2 TS2M3 | |
Windows Vista | 9.2 TS2M3 | |
Windows Vista for x64 | 9.2 TS2M3 | |
64-bit Enabled AIX | 9.2 TS2M3 | |
64-bit Enabled HP-UX | 9.2 TS2M3 | |
64-bit Enabled Solaris | 9.2 TS2M3 | |
HP-UX IPF | 9.2 TS2M3 | |
Linux | 9.2 TS2M3 | |
Linux for x64 | 9.2 TS2M3 | |
OpenVMS on HP Integrity | 9.2 TS2M3 | |
Solaris for x64 | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
By default, PDF files created on Chinese, Japanese, Korean, and UTF8 sessions are not searchable.
Date Modified: | 2012-05-23 15:24:15 |
Date Created: | 2012-03-26 11:41:20 |