<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error Searchable ODS PDF EG 8.2 and SAS 9.4 in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636573#M23909</link>
    <description>&lt;P&gt;Why not use a temporary file in the WORK location?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename source temp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Apr 2020 14:28:29 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-01T14:28:29Z</dc:date>
    <item>
      <title>Error Searchable ODS PDF EG 8.2 and SAS 9.4</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636564#M23908</link>
      <description>&lt;P&gt;When I attempt to use the code below, I receive an insufficient authorization to access error the first time. But when ran a second time it processes with no errors. I applied ods listing close as other posts indicated, but&amp;nbsp; this does not help. Suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Show the current setting */&lt;BR /&gt;proc registry startat="CORE\PRINTING\PDF\DBCS" list;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;filename source 'temp.sasxreg';&lt;FONT size="4" color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;-this is where the error occurs&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;file source;&lt;BR /&gt;put '[CORE\PRINTING\PDF\DBCS]';&lt;BR /&gt;put ' "Searchable" = "Yes"';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Change the SAS registry */&lt;BR /&gt;proc registry import=source; *usesashelp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* Show the current setting */&lt;BR /&gt;proc registry startat="CORE\PRINTING\PDF\DBCS" list;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636564#M23908</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2020-04-01T14:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error Searchable ODS PDF EG 8.2 and SAS 9.4</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636573#M23909</link>
      <description>&lt;P&gt;Why not use a temporary file in the WORK location?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename source temp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636573#M23909</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-01T14:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Searchable ODS PDF EG 8.2 and SAS 9.4</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636574#M23910</link>
      <description>&lt;P&gt;And please post the complete log from both tries, using the &amp;lt;/&amp;gt; button (7th icon).&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636574#M23910</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-01T14:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error Searchable ODS PDF EG 8.2 and SAS 9.4</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636577#M23911</link>
      <description>&lt;P&gt;Attempt #1&lt;/P&gt;&lt;P&gt;0 /******************************pdf formatting options*************************/&lt;BR /&gt;31 ods listing close;&lt;BR /&gt;32 /* Show the current setting */&lt;BR /&gt;33 proc registry startat="CORE\PRINTING\PDF\DBCS" list;&lt;BR /&gt;34 run;&lt;/P&gt;&lt;P&gt;NOTE: Contents of SASHELP REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="No"&lt;BR /&gt;NOTE: Contents of SASUSER REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="Yes"&lt;BR /&gt;NOTE: PROCEDURE REGISTRY used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;35&lt;BR /&gt;36 filename source 'temp.sasxreg';&lt;BR /&gt;37&lt;BR /&gt;38 data _null_;&lt;BR /&gt;39 file source;&lt;BR /&gt;40 put '[CORE\PRINTING\PDF\DBCS]';&lt;BR /&gt;41 put ' "Searchable" = "Yes"';&lt;BR /&gt;42 run;&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access I:\BIConfig\Lev1\SASApp\temp.sasxreg.&lt;BR /&gt;2 The SAS System Wednesday, April 1, 2020 09:42:00 AM&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;43&lt;BR /&gt;44 /* Change the SAS registry */&lt;BR /&gt;45 proc registry import=source; *usesashelp;&lt;BR /&gt;46 run;&lt;/P&gt;&lt;P&gt;NOTE: Parsing REG file and loading the registry please wait....&lt;BR /&gt;NOTE: Registry IMPORT is now complete.&lt;BR /&gt;NOTE: PROCEDURE REGISTRY used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;47&lt;BR /&gt;48 /* Show the current setting */&lt;BR /&gt;49 proc registry startat="CORE\PRINTING\PDF\DBCS" list;&lt;BR /&gt;50 run;&lt;/P&gt;&lt;P&gt;NOTE: Contents of SASHELP REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="No"&lt;BR /&gt;NOTE: Contents of SASUSER REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="Yes"&lt;BR /&gt;NOTE: PROCEDURE REGISTRY used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I cannot replicate the issue with running it a second time. Your suggestion for using "temp" instead produced&amp;nbsp; no errors. As long as it does not cause issues in the SAS registry I'm good with that (see below):&lt;/P&gt;&lt;P&gt;Attempt #2 using work area instead:&lt;/P&gt;&lt;P&gt;29 /******************************pdf formatting options*************************/&lt;BR /&gt;30 ods listing close;&lt;BR /&gt;31 /* Show the current setting */&lt;BR /&gt;32 proc registry startat="CORE\PRINTING\PDF\DBCS" list;&lt;BR /&gt;33 run;&lt;/P&gt;&lt;P&gt;NOTE: Contents of SASHELP REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="No"&lt;BR /&gt;NOTE: Contents of SASUSER REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="Yes"&lt;BR /&gt;NOTE: PROCEDURE REGISTRY used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;34&lt;BR /&gt;35 filename source 'temp';&lt;BR /&gt;36&lt;BR /&gt;37 data _null_;&lt;BR /&gt;38 file source;&lt;BR /&gt;39 put '[CORE\PRINTING\PDF\DBCS]';&lt;BR /&gt;40 put ' "Searchable" = "Yes"';&lt;BR /&gt;41 run;&lt;/P&gt;&lt;P&gt;NOTE: The file SOURCE is:&lt;BR /&gt;Filename=I:\BIConfig\Lev1\SASApp\temp,&lt;BR /&gt;2 The SAS System Wednesday, April 1, 2020 09:42:00 AM&lt;/P&gt;&lt;P&gt;RECFM=V,LRECL=32767,File Size (bytes)=0,&lt;BR /&gt;Last Modified=01Apr2020:09:47:37,&lt;BR /&gt;Create Time=01Apr2020:09:42:29&lt;/P&gt;&lt;P&gt;NOTE: 2 records were written to the file SOURCE.&lt;BR /&gt;The minimum record length was 21.&lt;BR /&gt;The maximum record length was 24.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;/P&gt;&lt;P&gt;42&lt;BR /&gt;43 /* Change the SAS registry */&lt;BR /&gt;44 proc registry import=source; *usesashelp;&lt;BR /&gt;45 run;&lt;/P&gt;&lt;P&gt;NOTE: Parsing REG file and loading the registry please wait....&lt;BR /&gt;NOTE: Registry IMPORT is now complete.&lt;BR /&gt;NOTE: PROCEDURE REGISTRY used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;46&lt;BR /&gt;47 /* Show the current setting */&lt;BR /&gt;48 proc registry startat="CORE\PRINTING\PDF\DBCS" list;&lt;BR /&gt;49 run;&lt;/P&gt;&lt;P&gt;NOTE: Contents of SASHELP REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="No"&lt;BR /&gt;NOTE: Contents of SASUSER REGISTRY starting at subkey [CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;[ CORE\PRINTING\PDF\DBCS]&lt;BR /&gt;Searchable="Yes"&lt;BR /&gt;NOTE: PROCEDURE REGISTRY used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636577#M23911</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2020-04-01T14:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error Searchable ODS PDF EG 8.2 and SAS 9.4</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636578#M23912</link>
      <description>&lt;P&gt;As I expected, the ERROR does not occur at the filename statement, but when you try to write to the file reference.&lt;/P&gt;
&lt;P&gt;The clue to the cause is this:&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;I:\BIConfig\Lev1\SASApp\&lt;/STRONG&gt;temp.sasxreg&lt;/PRE&gt;
&lt;P&gt;Since you did not give an absolute file path, starting at a drive letter, SAS tried to write the file in its Current Working Directory, which lies in the configuration tree and where you do not have write permissions.&lt;/P&gt;
&lt;P&gt;Always supply an absolute path pointing to a location where you are allowed to write, or use a temporary file reference.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:55:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-Searchable-ODS-PDF-EG-8-2-and-SAS-9-4/m-p/636578#M23912</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-01T14:55:50Z</dc:date>
    </item>
  </channel>
</rss>

