<?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 add a title in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563511#M157991</link>
    <description>&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ods&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;csvall&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2019 13:10:23 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-06-04T13:10:23Z</dc:date>
    <item>
      <title>ODS CSV add a title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563374#M157932</link>
      <description>&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get each one of these print in a separate tab? The data contain a lot of rows and ods excel is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_all_&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;csv&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:/users/Mauri.Esfandiari/Documents/missing_ipac_odn_acc_tas.csv"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = work.missing_ipac_may18 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Cases with missing ALCs"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = work.missing_odn_may18 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Cases with missing Obligating Document Numbers"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = work.PSEUDO_ALCS_may18 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Cases with Pseudo ALCs"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;csvall&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;When I run the code the title don't show up and the print statements are concatenated in one csv file.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 19:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563374#M157932</guid>
      <dc:creator>mauri0623</dc:creator>
      <dc:date>2019-06-03T19:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS CSV add a title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563379#M157934</link>
      <description>&lt;P&gt;CSV files do not have any concept of "tab". If you mean to open them in a spreadsheet that may not be a good idea if you mean by "lot of rows and ods excel is not possible" that there are too many rows to fit in Excel. Opening a CSV file with more rows than Excel wants to use the overage are discarded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CSV files are intended for data interchange and as such "Titles" are not actually part of the content. A row of column headers and then the body of the data is the basic structure of a CSV file. Also a single CSV file basically assumes you know what you are doing when combining proc output as the result will be the output concatenated into a single file as you have found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that you need to very clearly define what you want for output and possibly indicate how many records are in each of your data sets.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 19:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563379#M157934</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-03T19:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODS CSV add a title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563385#M157937</link>
      <description>Hi:&lt;BR /&gt;  You open the ODS CSV destination, but you close the ODS CSVALL destination. I would expect this to cause problems because ODS CSV is still open. &lt;BR /&gt;&lt;BR /&gt;  To capture ALL titles in your CSV file (which may not be a good idea if you have a LOT of rows) you have to open ODS CSVALL and then close ODS CSVALL. However, a CSV file does not allow for the creation of multiple sheets in a single workbook. Only ODS TAGSETS.EXCELXP or ODS EXCEL will create multiple sheets in one workbook. I am not sure why ODS EXCEL is not possible unless you are not running SAS 9.4M2 or higher. But ODS TAGSETS.EXCELXP should be accessible as long as you have SAS 9 or higher.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 03 Jun 2019 20:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563385#M157937</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-06-03T20:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS CSV add a title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563511#M157991</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ods&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;csvall&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 13:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-CSV-add-a-title/m-p/563511#M157991</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-04T13:10:23Z</dc:date>
    </item>
  </channel>
</rss>

