<?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 CSV-Data showing blank in CSV file in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580903#M13617</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When you use a Stored Process to return results, you should be using %STPBEGIN and %STPEND for the required Stored Process Macro calls that are needed before and after any code that is going to generate streaming output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So your use of a physical name doesn't look quite right. Or, if you're not going to use %STPBEGIN/%STPEND, then you might use _webout. This previous forum posting in the Stored Process forum has an example of the code I've always used: &lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/How-do-I-export-sas-dataset-to-csv-using-stored-process/td-p/376152" target="_blank"&gt;https://communities.sas.com/t5/SAS-Stored-Processes/How-do-I-export-sas-dataset-to-csv-using-stored-process/td-p/376152&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Hope this helps. You might also want to post your question in the Stored Process Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 17:33:31 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-08-13T17:33:31Z</dc:date>
    <item>
      <title>ODS CSV-Data showing blank in CSV file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580730#M13600</link>
      <description>&lt;P&gt;Using ODS CSV, when I am running from a stored process program the data is not getting populated in the csv file. It is showing blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your reference, I used this ods csv code. I ran the stored process program from SAS 9.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods csv file="/trnapp/sas/dev/projects/so/sho/num_as_char28.csv" options(Prepend_Equals='Yes' quote_by_type="Yes" );&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc print data=adw_mwh_to;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods csv close;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 08:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580730#M13600</guid>
      <dc:creator>ssaha</dc:creator>
      <dc:date>2019-08-13T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: ODS CSV-Data showing blank in CSV file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580821#M13606</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/261907"&gt;@ssaha&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Using ODS CSV, when I am running from a stored process program the data is not getting populated in the csv file. It is showing blank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your reference, I used this ods csv code. I ran the stored process program from SAS 9.3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods csv file="/trnapp/sas/dev/projects/so/sho/num_as_char28.csv" options(Prepend_Equals='Yes' quote_by_type="Yes" );&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc print data=adw_mwh_to;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;ods csv close;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is there any LOG entry related to this? If so show the relevant part. Paste into a code box on the forum opened using the {I} icon to preserve formatting.&lt;/P&gt;
&lt;P&gt;From the path you show for the output it is not possible to tell if you path starts at a drive map point or not. If "trnapp" is not a mount point then the output may have been directed to the default SAS executing directory and assumed that you wanted the location subordinate to that location.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 14:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580821#M13606</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-13T14:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS CSV-Data showing blank in CSV file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580825#M13607</link>
      <description>&lt;P&gt;Please show example line(s) from the CSV file where the value is not what you expect. use the Insert Code {i} icon to pop-up a window where you can paste the lines of text from the CSV file. Do NOT open the CSV file using Excel. Open it with a text editor so you can see what is in the file instead of what Excel converts it into.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then show the values of the variables in the SAS dataset that you feel are not being represented properly in the CSV file.&amp;nbsp; Show the data type and any formats attached the variables in question.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 14:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580825#M13607</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-08-13T14:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS CSV-Data showing blank in CSV file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580903#M13617</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When you use a Stored Process to return results, you should be using %STPBEGIN and %STPEND for the required Stored Process Macro calls that are needed before and after any code that is going to generate streaming output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So your use of a physical name doesn't look quite right. Or, if you're not going to use %STPBEGIN/%STPEND, then you might use _webout. This previous forum posting in the Stored Process forum has an example of the code I've always used: &lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/How-do-I-export-sas-dataset-to-csv-using-stored-process/td-p/376152" target="_blank"&gt;https://communities.sas.com/t5/SAS-Stored-Processes/How-do-I-export-sas-dataset-to-csv-using-stored-process/td-p/376152&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Hope this helps. You might also want to post your question in the Stored Process Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 17:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-CSV-Data-showing-blank-in-CSV-file/m-p/580903#M13617</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-08-13T17:33:31Z</dc:date>
    </item>
  </channel>
</rss>

