<?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 FTP help - EG 4.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16338#M3059</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Need some help. I'm using the below code to send a file to an FTP server. What I need to do is to send the data TAB delimited. Is this possible?&lt;BR /&gt;
&lt;BR /&gt;
An alternative, is to export the data to a tab delimited file to my C:\ drive, and then send that file in the FTP transfer? Is this possible, and if so, what is the correct syntax to reference an external file to be sent?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
filename CUSTDATA  ftp 'PREV_WK_CUST_DATA.csv' cd='/VINData'         &lt;BR /&gt;
         host='9999999'           &lt;BR /&gt;
         user='xxxxx'  pass='xxxxxx'        &lt;BR /&gt;
         recfm=s                                     &lt;BR /&gt;
         DEBUG;&lt;BR /&gt;
run; &lt;BR /&gt;
ODS LISTING CLOSE;&lt;BR /&gt;
&lt;BR /&gt;
		 ODS CSV body=CUSTDATA trantab=ascii;&lt;BR /&gt;
&lt;BR /&gt;
		 proc print data=WORK.PREV_WK_CUST_DATA noobs;&lt;BR /&gt;
		 run;&lt;BR /&gt;
&lt;BR /&gt;
		 ODS CSV CLOSE;	&lt;BR /&gt;
		 run;&lt;BR /&gt;
ODS LISTING;&lt;BR /&gt;
run;</description>
    <pubDate>Wed, 05 May 2010 15:51:08 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-05-05T15:51:08Z</dc:date>
    <item>
      <title>FTP help - EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16338#M3059</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Need some help. I'm using the below code to send a file to an FTP server. What I need to do is to send the data TAB delimited. Is this possible?&lt;BR /&gt;
&lt;BR /&gt;
An alternative, is to export the data to a tab delimited file to my C:\ drive, and then send that file in the FTP transfer? Is this possible, and if so, what is the correct syntax to reference an external file to be sent?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
filename CUSTDATA  ftp 'PREV_WK_CUST_DATA.csv' cd='/VINData'         &lt;BR /&gt;
         host='9999999'           &lt;BR /&gt;
         user='xxxxx'  pass='xxxxxx'        &lt;BR /&gt;
         recfm=s                                     &lt;BR /&gt;
         DEBUG;&lt;BR /&gt;
run; &lt;BR /&gt;
ODS LISTING CLOSE;&lt;BR /&gt;
&lt;BR /&gt;
		 ODS CSV body=CUSTDATA trantab=ascii;&lt;BR /&gt;
&lt;BR /&gt;
		 proc print data=WORK.PREV_WK_CUST_DATA noobs;&lt;BR /&gt;
		 run;&lt;BR /&gt;
&lt;BR /&gt;
		 ODS CSV CLOSE;	&lt;BR /&gt;
		 run;&lt;BR /&gt;
ODS LISTING;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 05 May 2010 15:51:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16338#M3059</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-05T15:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: FTP help - EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16339#M3060</link>
      <description>Are you asking whether your current program approach will work when run within Enterprise Guide?  It should...&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Sat, 08 May 2010 01:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16339#M3060</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-05-08T01:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTP help - EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16340#M3061</link>
      <description>no, i know the above works. What i need to do is to create a TAB delimited file OR FTP an file that resides on my C drive. Is this possible, and if so how?</description>
      <pubDate>Mon, 10 May 2010 14:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16340#M3061</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-10T14:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: FTP help - EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16341#M3062</link>
      <description>To create the TAB delimited ODS CSV output requires changing the ODS Template for CSV.  You should find instructions here&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/index.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/index.html&lt;/A&gt;&lt;BR /&gt;
(I've not tried it).&lt;BR /&gt;
&lt;BR /&gt;
To directly FTP a file requires that you use the 'x' command and use the operating system FTP; the 'x' command is disabled by default in EGuide.  Your administrator would have to enable that for you.  There are a number of discussions of 'x' elsewhere on this forum.</description>
      <pubDate>Mon, 10 May 2010 15:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16341#M3062</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-05-10T15:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP help - EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16342#M3063</link>
      <description>Hi:&lt;BR /&gt;
  ODS CSV (in some versions) does have the delimiter= suboption:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods csv file=fileref_out options(delimiter='*' doc="Help");&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                      &lt;BR /&gt;
For more information, see&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=5414" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=5414&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I believe that on Windows systems, the tab character (in hex) is '09'x...so the appropriate ODS CSV statement would be:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods csv file=fileref_out options(delimiter='09'x doc="Help");&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                  &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 10 May 2010 15:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/FTP-help-EG-4-1/m-p/16342#M3063</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-10T15:38:20Z</dc:date>
    </item>
  </channel>
</rss>

