<?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: ODS PDF Sharepoint &amp;quot;inconvenience&amp;quot; in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353437#M18430</link>
    <description>&lt;P&gt;Have you turned off View Results as they are generated option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 20:13:11 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-25T20:13:11Z</dc:date>
    <item>
      <title>ODS PDF Sharepoint "inconvenience"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353383#M18424</link>
      <description>&lt;P&gt;I've written a program that reads a files and creates multiple reports on a single PDF page.&amp;nbsp; It is macro driven, so that many separate report files can be generated at once.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked fine until I started to have the PDF file destination on a SharePoint site.&amp;nbsp; Now, instead of just writing each pdf, it opens Acrobat and asks me to respond to a prompt before it will generate the next PDF.&amp;nbsp; This would not be so bad if I were only generating a few PDFs, but with more than a hundred, responding to a prompt for each one gets old.&amp;nbsp; Thoughts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code and a screen print of the prompt are below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* clinic_report_printing.sas */&lt;BR /&gt;&lt;BR /&gt;footnote;&lt;BR /&gt;footnote2;&lt;BR /&gt;footnote3;&lt;BR /&gt;&lt;BR /&gt;option spool;&lt;BR /&gt;&lt;BR /&gt;proc sort data=clinic_score4;by location;run;&lt;BR /&gt;&lt;BR /&gt;*Options symbolgen mlogic nomprint nomfile bottommargin=.75in; &lt;BR /&gt;&lt;BR /&gt;/* Macro to SCAN through DATALOG */&lt;BR /&gt;%MACRO SCANLOOP(SCANFILE,field1,field2);&lt;BR /&gt;/* First obtain the number of */&lt;BR /&gt;/* records in DATALOG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;IF 0 THEN SET &amp;amp;SCANFILE NOBS=X;&lt;BR /&gt;CALL SYMPUT('RECCOUNT',X);&lt;BR /&gt;STOP;&lt;BR /&gt;RUN;&lt;BR /&gt;/* loop from one to number of */&lt;BR /&gt;/* records&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;%DO I=1 %TO &amp;amp;RECCOUNT;&lt;BR /&gt;/* Advance to the Ith record */&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;SET &amp;amp;SCANFILE (FIRSTOBS=&amp;amp;I);&lt;BR /&gt;/* store the variables */&lt;BR /&gt;/* of interest in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;/* macro variables&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;CALL SYMPUT('print_file',&amp;amp;field1);&lt;BR /&gt;CALL SYMPUT('location',&amp;amp;field2);&lt;BR /&gt;STOP;&lt;BR /&gt;RUN;&lt;BR /&gt;/* now perform the tasks that */&lt;BR /&gt;/* wish repeated for each&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;/* observation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;&lt;BR /&gt;title &amp;amp;monthtext ' Productivity for '&amp;nbsp; &amp;amp;location ;&lt;BR /&gt;&lt;BR /&gt;ods pdf file= &amp;amp;print_file; &lt;BR /&gt;&lt;BR /&gt;options orientation=landscape papersize=letter linesize=200 nocenter;&lt;BR /&gt;&lt;BR /&gt;ods graphics / reset=all scale&amp;nbsp; border=on;&lt;BR /&gt;&lt;BR /&gt;/* report #1 */&lt;BR /&gt;&lt;BR /&gt;ods escapechar = '^';&lt;BR /&gt;&lt;BR /&gt;ods layout start;&lt;BR /&gt;proc sort data=clinic_score4;by location;run;&lt;BR /&gt;&lt;BR /&gt;ods region x=.5in y=0in;&lt;BR /&gt;&lt;BR /&gt;proc report data=clinic_score4 nowd split="*"&lt;BR /&gt;style(report)=[background=white cellspacing=2 borderwidth=1pt bordercolor=black foreground=black]&lt;BR /&gt;style(header)=[background=#E6E6E6] &lt;BR /&gt;style(column)=[cellspacing=2 borderwidth=1pt bordercolor=black]&lt;BR /&gt;; &lt;BR /&gt;where location=&amp;amp;location and month=&amp;amp;currmonth;&lt;BR /&gt;&lt;BR /&gt;column ("This Month's Appointments"&amp;nbsp; allocated booked pct_book total_appts arrive npv_total bump cancel noshow&amp;nbsp; /*hrs_att svc_att*/);&lt;BR /&gt;define allocated / 'Hours Allocated' format=8. style(column)=[just=center background=lightyellow];&lt;BR /&gt;define booked&amp;nbsp; / 'Hours Booked' format=7. style(column)=[just=center background=lightyellow];&lt;BR /&gt;define pct_book / '% Hours Booked' format=percent7. style(column)=[just=center background=lightyellow];&lt;BR /&gt;define total_appts / '# Appts*Scheduled' f=6.0 style(column)=[just=center cellwidth=.8in background=lightyellow] ;&lt;BR /&gt;define arrive / '# Arrived*Appointments' format=8. style(column)=[just=center background=lightyellow];&lt;BR /&gt;define npv_total / '# NPV*Scheduled' f=6. style(column)=[ just=center cellwidth=.8in background=pink];&lt;BR /&gt;define cancel / '# Cancelled*Appointments' format=8. style(column)=[just=center background=#FFEBD6];&lt;BR /&gt;define noshow / '# No-Show*Appointments' format=8. style(column)=[just=center background=lightblue];&lt;BR /&gt;define bump / '# Bumped*Appointments' format=8. style(column)=[just=center background=#D4B8DC];&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods region x=.5in y=1.5in;&lt;BR /&gt;&lt;BR /&gt;proc report data=clinic_score4 nowd split='*'&lt;BR /&gt;style(report)=[background=white cellspacing=2 borderwidth=1pt bordercolor=black foreground=black]&lt;BR /&gt;style(header)=[background=#E6E6E6] &lt;BR /&gt;style(column)=[cellspacing=2 borderwidth=1pt bordercolor=black]&lt;BR /&gt;;&lt;BR /&gt;where location=&amp;amp;location and month=&amp;amp;currmonth;&lt;BR /&gt;column &lt;BR /&gt;("New Patient Visits"&amp;nbsp; pct_npv_7&lt;BR /&gt;pct_npv_14)&lt;BR /&gt;('Bumped Appts' pct_bmpd_rnd)&lt;BR /&gt;('Cancelled' pct_can_lt2)&lt;BR /&gt;('No-Shows'&lt;BR /&gt;pct_noshow&lt;BR /&gt;pct_fu_noshow&lt;BR /&gt;pct_npv_noshow_lt14&lt;BR /&gt;pct_npv_noshow_gt14)&lt;BR /&gt;;&lt;BR /&gt;define pct_npv_7/ '% NPV*Scheduled*&amp;lt;= 7 Days' f=percentn10. style(column)=[ just=center cellwidth=1in background=pink] ;&lt;BR /&gt;&lt;BR /&gt;define pct_npv_14 / '% NPV*Scheduled*&amp;lt; 14 Days' f=percentn10. style(column)=[ just=center cellwidth=1in background=pink] ;&lt;BR /&gt;define pct_bmpd_rnd / '% of Scheduled*That Were*Bumped' f=percentn10. style(column)=[ just=center cellwidth=1.3in background=#D4B8DC] ;&lt;BR /&gt;define pct_noshow /'% of Scheduled*That Were*No-Shows' f=percentn10. style(column)=[just=center cellwidth=1.3in background=lightblue];&lt;BR /&gt;define pct_can_lt2 / '% of Scheduled*That Cancel*within 2 days' f=percentn10. style(column)=[just=center cellwidth=1.3in background=#FFEBD6] ;&lt;BR /&gt;define pct_fu_noshow / '% of Scheduled*F/U Visits*that No-Show' f=percentn10. style(column)=[cellwidth=1.3in just=center background=lightblue] ;&lt;BR /&gt;define pct_npv_noshow_lt14 / '% NPV*F/U Sched*&amp;lt;=14 Days' f=percentn10. style(column)=[cellwidth=1in just=center background=lightblue] ;&lt;BR /&gt;define pct_npv_noshow_gt14 / '% NPV*F/U Sched*&amp;gt;14 Days' f=percentn10. style(column)=[cellwidth=1in just=center background=lightblue] ;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods graphics on / imagemap=on;&lt;BR /&gt;&lt;BR /&gt;proc sort data=clinic_score4;by location month;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods region x=.5in y=3.25in height=3.25in width=4.25in;&lt;BR /&gt;title;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=clinic_score4;&lt;BR /&gt;where location=&amp;amp;location and &amp;amp;bmonth &amp;lt;= month &amp;lt;= &amp;amp;emonth;&lt;BR /&gt;series x=month y=total_appts / legendlabel="Appts Scheduled" lineattrs=(color=blue) /* datalabel=a markers*/;&lt;BR /&gt;series x=month y=arrive / legendlabel="Appts Attended" lineattrs=(color=red) /*datalabel=p&amp;nbsp; markers*/ ;&lt;BR /&gt;series x=month y=cancel / legendlabel="Appts Cancelled" lineattrs=(color=green) /* datalabel=a markers*/;&lt;BR /&gt;series x=month y=noshow / legendlabel="Appts No-Showed" lineattrs=(color=black) /*datalabel=p&amp;nbsp; markers*/ ;&lt;BR /&gt;&lt;BR /&gt;xaxis type=discrete label="Month";&lt;BR /&gt;yaxis label="Appointments" /* values=(0 to 150 by 10)*/;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods region x=5.5in y=3.25in height=3.25in width=4.25in;&lt;BR /&gt;title;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=clinic_score4;&lt;BR /&gt;where location=&amp;amp;location and &amp;amp;bmonth &amp;lt;= month &amp;lt;= &amp;amp;emonth;&lt;BR /&gt;series x=month y=mean / legendlabel="Mean Days to Close Encounters" lineattrs=(color=red);&lt;BR /&gt;series x=month y=npv_sched_14 / legendlabel="NPV Scheduled w/in 14 Days" lineattrs=(color=purple) /* datalabel=a markers*/;&lt;BR /&gt;series x=month y=pct_npv_noshow_lt14 / legendlabel="NPV Follow-ups Scheduled w/in 14 Days that No-Show" lineattrs=(color=orange) /*datalabel=p&amp;nbsp; markers*/ ;&lt;BR /&gt;xaxis type=discrete label="Month";&lt;BR /&gt;yaxis label="Visits/Days" /* values=(0 to 150 by 10)*/;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods layout end;&lt;BR /&gt;ods pdf close;&lt;BR /&gt;&lt;BR /&gt;%END;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%MEND SCANLOOP;&lt;BR /&gt;&lt;BR /&gt;/* Call SCANLOOP */&lt;BR /&gt;&lt;BR /&gt;%SCANLOOP(clinic_score4,print_file,m_loc);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8545i1C08A520ACFCF30E/image-size/original?v=1.0&amp;amp;px=-1" alt="sas_adobe_sharepoint.JPG" title="sas_adobe_sharepoint.JPG" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 18:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353383#M18424</guid>
      <dc:creator>ljaeger</dc:creator>
      <dc:date>2017-04-25T18:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Sharepoint "inconvenience"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353396#M18425</link>
      <description>Hi:&lt;BR /&gt;  This web site &lt;A href="https://forums.adobe.com/thread/987927" target="_blank"&gt;https://forums.adobe.com/thread/987927&lt;/A&gt; and this one &lt;A href="https://social.technet.microsoft.com/Forums/office/en-US/00680e50-de5e-4d8c-b348-4ae9cecc3bad/pdf-documents-prompting-checkout-open-open-or-cancel-even-when-user-has-only-view-only?forum=sharepointadminprevious" target="_blank"&gt;https://social.technet.microsoft.com/Forums/office/en-US/00680e50-de5e-4d8c-b348-4ae9cecc3bad/pdf-documents-prompting-checkout-open-open-or-cancel-even-when-user-has-only-view-only?forum=sharepointadminprevious&lt;/A&gt;  implies that the behavior is between Adobe and Sharepoint -- not anything to do with SAS. &lt;BR /&gt;&lt;BR /&gt;  As a workaround, I would recommend writing to a non-sharepoint folder and then have some batch script copy from the non-sharepoint folder to the sharepoint location.&lt;BR /&gt;&lt;BR /&gt;You might also want to check with Tech Support, but the web sites I found seem to imply that it is not a SAS issue.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 25 Apr 2017 19:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353396#M18425</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-04-25T19:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Sharepoint "inconvenience"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353437#M18430</link>
      <description>&lt;P&gt;Have you turned off View Results as they are generated option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 20:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353437#M18430</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-25T20:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Sharepoint "inconvenience"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353474#M18440</link>
      <description>&lt;P&gt;IT WORKED!&amp;nbsp;&amp;nbsp; I am putting you in my will!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 21:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353474#M18440</guid>
      <dc:creator>ljaeger</dc:creator>
      <dc:date>2017-04-25T21:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Sharepoint "inconvenience"</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353528#M18448</link>
      <description>Ah, good call! I thought it was a Sharepoint error, not a SAS Open error.&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 26 Apr 2017 00:47:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Sharepoint-quot-inconvenience-quot/m-p/353528#M18448</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-04-26T00:47:05Z</dc:date>
    </item>
  </channel>
</rss>

