<?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: How to output SAS dataset to csv files at Linux server in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405582#M12372</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2017 14:57:57 GMT</pubDate>
    <dc:creator>Jade_SAS</dc:creator>
    <dc:date>2017-10-19T14:57:57Z</dc:date>
    <item>
      <title>How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/403593#M12272</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am running SAS at Linux, I wonder whether there is a way to output the SAS dataset at Linux to CSV files at Local computer or shared drive. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/403593#M12272</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-10-12T15:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/403597#M12273</link>
      <description>&lt;P&gt;Yes, exactly the same methods can be used to output CSV as with any other operating system - e.g. datastep, proc export, proc print etc.&lt;/P&gt;
&lt;P&gt;CSV is just a text file with a delimiter of a comma, it is&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt; Excel!!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/403597#M12273</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-12T15:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/403598#M12274</link>
      <description>&lt;P&gt;Proc Export with DBMS=CSV should write anywhere you have write permissions from the Linux system. Or are you asking for a specific Data Integration approach?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/403598#M12274</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-10-12T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405520#M12364</link>
      <description>&lt;P&gt;I am trying the file transfer between PC and SAS server, it works for excel file. I am wondering whether there is some ways that work for CSV file.&lt;/P&gt;&lt;P&gt;Syntax work for excel file:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;import&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datafile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"C:\test.xlsx"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.TEST_server&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=excelcs &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;server&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'********'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion for similar coding works for CSV file? Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405520#M12364</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-10-19T13:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405526#M12366</link>
      <description>&lt;P&gt;Should be exactly the same:&lt;/P&gt;
&lt;PRE&gt;proc import datafile="c:\test.csv"  out=work.test_server
  dbms=csv replace;
  server='********';
run;&lt;/PRE&gt;
&lt;P&gt;Do note though that using proc import is not ideal as it will try to guess your data.&amp;nbsp; Use a datastep and specify each column, type, length, how to read it etc.&lt;/P&gt;
&lt;PRE&gt;data test_server;
  infile "c:\test.csv" dlm=",";
  length vara $10.
             ....;
  format vara $10
             ...;
  informat vara $10 
                ...;
  input vara $
           ...;
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:25:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405526#M12366</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-19T13:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405529#M12367</link>
      <description>&lt;P&gt;when I try the syntax of "proc import" with csv file, I got an error at the "server" statement said "ERROR 180-322: Statement is not valid or it is used out of proper order."&lt;/P&gt;&lt;P&gt;I wonder usually how people try to transfer csv file from PC to SAS grid server? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try the data step too.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:32:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405529#M12367</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-10-19T13:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405532#M12368</link>
      <description>&lt;P&gt;Ah, ok, I suppose that is PCFiles Server then.&amp;nbsp; As the file is plain text you should be able to ftp it directly across - I would generally use ftp for transferring any file.&amp;nbsp; Maybe check with your IT, because if you can access the file, then you should be able to link via network path to it and just access the file directly.&amp;nbsp; PCFiles server is used where one of the systems does not have Office installed, so needs some a sort of Office translator server to process.&amp;nbsp; CSV is plain text and doesn't need this.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405532#M12368</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-19T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405549#M12369</link>
      <description>&lt;P&gt;Yes, you are right, There is PCFiles server installed on my PC, and I am trying to transfer files between PC and SAS grid server. Somehow the ftp is not allowed in our SAS server for security purpose, it's really not convenient when I try to output my SAS data to CSV files.&lt;/P&gt;&lt;P&gt;are there any other options other than the ftp?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405549#M12369</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-10-19T14:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405552#M12370</link>
      <description>&lt;P&gt;Speak with your IT group, I can't tell without seeing the setup, should just be a networking mapping.&amp;nbsp; Don't know why ftp isn't allowed, ftp is a secure file transfer protocol.&amp;nbsp; But anyways to you should be able to read/write directly to areas.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:16:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405552#M12370</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-19T14:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to output SAS dataset to csv files at Linux server</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405582#M12372</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-output-SAS-dataset-to-csv-files-at-Linux-server/m-p/405582#M12372</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-10-19T14:57:57Z</dc:date>
    </item>
  </channel>
</rss>

