<?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: Issues with SAS Import/Export from Linux to PC File server and PC to Linux in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271773#M18829</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've had similar issues where we tried to SAS Import from PC to Linux. I found that the PC File Server is not very reliable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround,&amp;nbsp;First importing the file into Linux, and then importing is&amp;nbsp;more reliable. I first upload the file into Linux, and then run an import code to bring into SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="/LINUX_FILE_PATH_HERE/CREPI.csv"&lt;BR /&gt;out=temp.CREPI dbms=CSV replace; run;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 16:55:55 GMT</pubDate>
    <dc:creator>Terho</dc:creator>
    <dc:date>2016-05-19T16:55:55Z</dc:date>
    <item>
      <title>Issues with SAS Import/Export from Linux to PC File server and PC to Linux</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271606#M18820</link>
      <description>&lt;P&gt;Hello Friends,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am trying to import excel file from 9.4 SAS Grid control node to PC File server,I tried various to import the file but the none of the code is&amp;nbsp;working.Its giving so many issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried &amp;nbsp;below code to import, I would really appreciate if anyone can assist me in regards to this&lt;/P&gt;
&lt;P&gt;please send me &amp;nbsp;the correct code for exporting file from PC file server to Grid control node also.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried all the codes given in the support websites also but none of them worked,not sure where its going wrong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC IMPORT DBMS=EXCELCS&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA=&lt;/STRONG&gt; '&lt;STRONG&gt;D:\pcfile\Demo.xls’&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUTFILE= \tmp REPLACE;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT=xxxx;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER='xxxxxxxxxx';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHEET='yoursheet';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thank you&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 05:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271606#M18820</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2016-05-19T05:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAS Import/Export from Linux to PC File server and PC to Linux</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271613#M18821</link>
      <description>&lt;P&gt;Without the log, there is nothing we can do to help you.&lt;/P&gt;
&lt;P&gt;"It does not work" provides NO clue at all about your problem(s)!&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 06:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271613#M18821</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-05-19T06:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAS Import/Export from Linux to PC File server and PC to Linux</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271773#M18829</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've had similar issues where we tried to SAS Import from PC to Linux. I found that the PC File Server is not very reliable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround,&amp;nbsp;First importing the file into Linux, and then importing is&amp;nbsp;more reliable. I first upload the file into Linux, and then run an import code to bring into SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="/LINUX_FILE_PATH_HERE/CREPI.csv"&lt;BR /&gt;out=temp.CREPI dbms=CSV replace; run;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 16:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271773#M18829</guid>
      <dc:creator>Terho</dc:creator>
      <dc:date>2016-05-19T16:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAS Import/Export from Linux to PC File server and PC to Linux</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271774#M18830</link>
      <description>Thank you so much for your prompt reply

When I used below code for import from grid node to pc file server by launching sas on node,am getting below error

proc import dbms=excelcs
  data='D:\pcfile\Demo.xls' 
  outfile=\tmp REPLACE;
port=xxxx;
server="xxxxxxxxxxx";
  sheet=sheet1; 
run; 


Proc import dbms=excelcs
data='D:\pcfile\Demo.xls'
----
22
76

Error 22-322 Syntax error,expecting onc eof the following: ;,DATAFILE,DATATABLE,DBMS,DEBUG,FILE
Error 76-322 Syntax error,statement will be ignored

outfile=\tmp REPLACE;
port=xxxx;
server="xxxxxxx";
run;



when am using below export code am getting below error

proc export 
  data= sashelp.prdsale; 
  dbms=xls;
  file="D:\pcfile\prdsale.xls";
  port=xxxx;
  server="xxxxxxxxxxx";
  sheet=sheet1; 
run;



proc export
data=sashelp.prdsale;
Error:FILE or TABLE is required and must be specified.


dbms=xls;
file="D:\pcfile\prdsale.xls";
port=xxxx;
server="xxxxxx";
sheet=sheet1;
run;


am not sure where its going wrong,would appreciate if you can suggest</description>
      <pubDate>Thu, 19 May 2016 16:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271774#M18830</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2016-05-19T16:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAS Import/Export from Linux to PC File server and PC to Linux</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271779#M18831</link>
      <description>Thank you Terho,

I want to import file from PC file server to Grid node

In the code provided you have not mentioned the pc file server port and server name.

and also does import works in this case for csv file..I believe it works only with excel and access files.</description>
      <pubDate>Thu, 19 May 2016 17:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271779#M18831</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2016-05-19T17:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAS Import/Export from Linux to PC File server and PC to Linux</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271827#M18838</link>
      <description>&lt;P&gt;To correct the first syntax error use OUT = DatasetName not OUTFILE. = . To fix the second syntax error add OUT = .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 19:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Issues-with-SAS-Import-Export-from-Linux-to-PC-File-server-and/m-p/271827#M18838</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-05-19T19:39:04Z</dc:date>
    </item>
  </channel>
</rss>

