<?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 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21874#M4720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to add the MOD option to the FILE statement in the last data step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Oct 2011 14:07:32 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2011-10-02T14:07:32Z</dc:date>
    <item>
      <title>ftp</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21873#M4719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two datasets which im writing it into two diiferent external files which is initially being created on the mainframe.After that i FTP those files into CSV formatted files on to Windows. The above scenario works pretty much fine but the issue im facing here is only when i want to write those 2 datasets into a single file(rathr than 2 diffrent files) and FTP it into a CSV file, shockingly im able to see only the contents of the second dataset overwritting the first dataset contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data tst1;&lt;/P&gt;&lt;P&gt;input name$;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;joy&lt;/P&gt;&lt;P&gt;anne&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data tst2;&lt;/P&gt;&lt;P&gt;input id;&lt;/P&gt;&lt;P&gt;101&lt;/P&gt;&lt;P&gt;103&lt;/P&gt;&lt;P&gt;105&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;set tst1;&lt;/P&gt;&lt;P&gt;file ex1 dlm=',';&lt;/P&gt;&lt;P&gt;put name;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;set tst2;&lt;/P&gt;&lt;P&gt;file ex1 dlm=',';&lt;/P&gt;&lt;P&gt;put #10 id;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*ftp step */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when i specify the tst2 dataset contents to be printed from 10th row num position, im able to see only the &lt;/P&gt;&lt;P&gt;tst2 contents in the final created CSV file.!!...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has got a solution to this?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2011 14:05:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21873#M4719</guid>
      <dc:creator>newbie</dc:creator>
      <dc:date>2011-10-02T14:05:13Z</dc:date>
    </item>
    <item>
      <title>ftp</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21874#M4720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to add the MOD option to the FILE statement in the last data step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2011 14:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21874#M4720</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-10-02T14:07:32Z</dc:date>
    </item>
    <item>
      <title>ftp</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21875#M4721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the option MOD onto the 2nd file statement.&amp;nbsp; Otherwise, you are overwriting the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2011 14:10:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ftp/m-p/21875#M4721</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-10-02T14:10:34Z</dc:date>
    </item>
  </channel>
</rss>

