<?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: proc export doesn't work in a cgi application in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121178#M33401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for persisting, Doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm, this may be more serious than I thought, and I now think that this problem&lt;STRONG&gt; is&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OS-related and specific to proc export; nothing to do with running this under a&lt;/P&gt;&lt;P&gt;cgi application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, SAS 9.2 installs and runs under ubuntu or debian just as well as as under a supported linux distro.&amp;nbsp; At least is has in everything I've done up to now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried running proc export directly as my normal user, and got the same behavior:&lt;/P&gt;&lt;P&gt;a 0-length log file, and no output.&lt;/P&gt;&lt;P&gt;--- export-test.sas ---&lt;/P&gt;&lt;P&gt;proc export data=sasuser.class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile="class.csv"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=csv;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2012 22:17:14 GMT</pubDate>
    <dc:creator>michael_friendly</dc:creator>
    <dc:date>2012-11-08T22:17:14Z</dc:date>
    <item>
      <title>proc export doesn't work in a cgi application</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121174#M33397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a legacy web application run by my sascgi script,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.datavis.ca/online/sascgi/index.html" title="http://www.datavis.ca/online/sascgi/index.html"&gt;sascgi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application, &lt;A href="http://www.datavis.ca/online/paivio/" title="http://www.datavis.ca/online/paivio/"&gt;Word List Generator&lt;/A&gt;, runs a SAS program, taking input from variables placed in the&lt;/P&gt;&lt;P&gt;environment, and writing results back to the browser via STDOUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently tried to update this to also write a .csv file to the /www/tmp directory using PROC EXPORT.&lt;/P&gt;&lt;P&gt;However, SAS seems to hang at the point that PROC EXPORT is invoked in my program.&lt;/P&gt;&lt;P&gt;That is, when I run the script in debug mode, I can see output up to the point where&lt;/P&gt;&lt;P&gt;PROC EXPORT is called, but then nothing --- and no errors in the SAS .log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a work-around, I can get what I want using an old %sas2csv macro, but I'm curious why&lt;/P&gt;&lt;P&gt;PROC EXPORT fails here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW, below is the SAS program, getlist1.sas which is run under control of sascgi.&lt;/P&gt;&lt;P&gt;The PROC EXPORT step is now commented out at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title 'getlist.sas';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt; This program gets HTML form input passed via the environment from sascgi.&lt;/P&gt;&lt;P&gt;&amp;nbsp; It selects random word list(s) as specified by these parameters,&lt;/P&gt;&lt;P&gt;&amp;nbsp; and formats it (via the htmltab macro), printing results to STDOUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is intended as a demonstration of the sascgi protocol, but may&lt;/P&gt;&lt;P&gt;&amp;nbsp; be useful in its own right.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%global nobs;&lt;/P&gt;&lt;P&gt;%include '/home/friendly/sasuser/pools/select.sas';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let tmp=/tmp; *--relative to server root;&lt;/P&gt;&lt;P&gt;%let sasfilename = %sysget(SASFILENAME);&lt;/P&gt;&lt;P&gt;%let items = %sysget(ITEMS);&lt;/P&gt;&lt;P&gt;%let lists = %sysget(LISTS);&lt;/P&gt;&lt;P&gt;%put SASFILENAME: &amp;amp;sasfilename;&lt;/P&gt;&lt;P&gt;%put ITEMS: &amp;amp;items;&lt;/P&gt;&lt;P&gt;%put LISTS: &amp;amp;lists;&lt;/P&gt;&lt;P&gt;%select(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=sample,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outstat=stats,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; items=&amp;amp;items,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lists=&amp;amp;lists,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let_min=%sysget(LET_MIN),&amp;nbsp;&amp;nbsp;&amp;nbsp; let_max=%sysget(LET_MAX),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; syl_min=%sysget(SYL_MIN),&amp;nbsp;&amp;nbsp;&amp;nbsp; syl_max=%sysget(SYL_MAX),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq_min=%sysget(FREQ_MIN),&amp;nbsp;&amp;nbsp;&amp;nbsp; freq_max=%sysget(FREQ_MAX),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; imag_min=%sysget(IMAG_MIN),&amp;nbsp;&amp;nbsp;&amp;nbsp; imag_max=%sysget(IMAG_MAX),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; conc_min=%sysget(CONC_MIN),&amp;nbsp;&amp;nbsp;&amp;nbsp; conc_max=%sysget(CONC_MAX),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mean_min=%sysget(MEAN_MIN),&amp;nbsp;&amp;nbsp;&amp;nbsp; mean_max=%sysget(MEAN_MAX),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print=NO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;%put NOBS = &amp;amp;nobs were selected in %sysget(LISTS) lists;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro var;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp; &amp;lt;tr&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Variable&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;K-F Word frequency&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Imagery&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Concreteness&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Meaningfulness&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;# Syllables&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;# Letters&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp; &amp;lt;/tr&amp;gt;";&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro min;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp; &amp;lt;tr&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Minimum&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(FREQ_MIN)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(IMAG_MIN)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(CONC_MIN)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(MEAN_MIN)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(SYL_MIN)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(LET_MIN)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp; &amp;lt;/tr&amp;gt;";&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro max;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp; &amp;lt;tr&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Maximum&amp;lt;/th&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(FREQ_MAX)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(IMAG_MAX)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(CONC_MAX)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(MEAN_MAX)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(LET_MAX)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;%sysget(SYL_MAX)&amp;lt;/td&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;nbsp; &amp;lt;/tr&amp;gt;";&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file STDOUT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;lt;h2&amp;gt;Selection parameters:&amp;lt;/h2&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;lt;table&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %var;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %min;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %max;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;lt;/table&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;%sas2csv(data=sample, out=&amp;amp;sasfilename..csv, quote=CHAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; keep=list word freq imag conc meaning syl let);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file STDOUT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;lt;h3&amp;gt;Download CSV file&amp;lt;/h3&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "&amp;lt;a href='&amp;amp;tmp/&amp;amp;sasfilename..csv'&amp;gt;Download CSV file containing your word lists&amp;lt;/a&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;*ods listing close;&lt;/P&gt;&lt;P&gt;ods html body=stdout (no_bottom_matter no_top_matter) style=styles.default;&lt;/P&gt;&lt;P&gt;*ods html body='getlist1.html' style=styles.minimal;&lt;/P&gt;&lt;P&gt;proc print data=sample label;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; id list Word;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by list;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var freq imag conc meaning syl let;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; label word='Word' list='List';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; title "&amp;lt;h3&amp;gt;&amp;amp;lists lists of &amp;amp;items items selected from Paivio Word Pool&amp;lt;/h3&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;proc print data=stats label;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id _label_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var mean std min max;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; title "&amp;lt;h3&amp;gt;Summary statistics for all &amp;amp;lists list(s)&amp;lt;/h3&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt; *-- Also produce a .csv file, but proc export doesnt run under sascgi; &lt;/P&gt;&lt;P&gt;proc export data=sample&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile="&amp;amp;sasfilename..csv"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=csv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 15:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121174#M33397</guid>
      <dc:creator>michael_friendly</dc:creator>
      <dc:date>2012-11-08T15:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc export doesn't work in a cgi application</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121175#M33398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of SAS?&amp;nbsp; UNC naming support was spotty prior to 9.3; sometimes it worked and others it didn't.&amp;nbsp; The usage notes mostly refer to UNC names with spaces in them as being the root cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 17:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121175#M33398</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-11-08T17:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc export doesn't work in a cgi application</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121176#M33399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for omitting my environment: &lt;/P&gt;&lt;P&gt;Running SAS 9.2 (TS2M3) under Kubuntu 12.04 linux on my server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm just using an ordinary path name in PROC EXPORT, of the form&amp;nbsp; outfile="&amp;amp;sasfilename..csv"&lt;/P&gt;&lt;P&gt;to write in the current directory, which is like /www/tmp, and is world-writable on my server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 19:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121176#M33399</guid>
      <dc:creator>michael_friendly</dc:creator>
      <dc:date>2012-11-08T19:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc export doesn't work in a cgi application</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121177#M33400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The plot thickens.&amp;nbsp; Kubuntu is not a supported OS for SAS 9.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 20:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121177#M33400</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-11-08T20:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc export doesn't work in a cgi application</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121178#M33401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for persisting, Doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm, this may be more serious than I thought, and I now think that this problem&lt;STRONG&gt; is&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OS-related and specific to proc export; nothing to do with running this under a&lt;/P&gt;&lt;P&gt;cgi application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, SAS 9.2 installs and runs under ubuntu or debian just as well as as under a supported linux distro.&amp;nbsp; At least is has in everything I've done up to now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried running proc export directly as my normal user, and got the same behavior:&lt;/P&gt;&lt;P&gt;a 0-length log file, and no output.&lt;/P&gt;&lt;P&gt;--- export-test.sas ---&lt;/P&gt;&lt;P&gt;proc export data=sasuser.class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile="class.csv"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=csv;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 22:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121178#M33401</guid>
      <dc:creator>michael_friendly</dc:creator>
      <dc:date>2012-11-08T22:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc export doesn't work in a cgi application</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121179#M33402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can try add an option REPLACE in proc export.&lt;/P&gt;&lt;P&gt;proc export data=sample&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile="&amp;amp;sasfilename..csv"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=csv &lt;STRONG&gt;replace&lt;/STRONG&gt; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have some experience about this .When there is already a file with the same name, proc expand will shut down, But SAS will give you the information in LOG window, so I am curious that you got nothing of LOG information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 02:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export-doesn-t-work-in-a-cgi-application/m-p/121179#M33402</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-11-09T02:40:46Z</dc:date>
    </item>
  </channel>
</rss>

