<?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 using SAS FTP functionality fb and vb in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16209#M2259</link>
    <description>This is the code I used;&lt;BR /&gt;
&lt;BR /&gt;
FILENAME f ftp "BCNE.BRYAN.FCBTEST" &lt;BR /&gt;
host='10.33.255.17' user='PASS' pass='XXXXXX'/*cd='..'*/ debug RECFM=fb lrecl=80;&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
%let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;BR /&gt;
%let _EFIREC_ = 0;     /* clear export record count macro variable */&lt;BR /&gt;
file f  RECFM=FB LRECL=80;;&lt;BR /&gt;
&lt;BR /&gt;
set  T03   end=EFIEOD;&lt;BR /&gt;
format col1 $80. ;&lt;BR /&gt;
do;&lt;BR /&gt;
EFIOUT + 1;&lt;BR /&gt;
put col1 $ ;&lt;BR /&gt;
;&lt;BR /&gt;
end;&lt;BR /&gt;
if _ERROR_ then call symputx('_EFIERR_',1);  /* set ERROR detection macro variable */&lt;BR /&gt;
if EFIEOD then call symputx('_EFIREC_',EFIOUT);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Can anyone see any issues with it?</description>
    <pubDate>Thu, 14 Oct 2010 05:34:22 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-10-14T05:34:22Z</dc:date>
    <item>
      <title>Issues using SAS FTP functionality fb and vb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16207#M2257</link>
      <description>When FTPing files using SAS it successfully transfer the files but the file is transferred as vb (variable block) even if I specify fb (fixed block).&lt;BR /&gt;
&lt;BR /&gt;
Any ideas or suggestions how to fix it?</description>
      <pubDate>Wed, 13 Oct 2010 15:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16207#M2257</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-10-13T15:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using SAS FTP functionality fb and vb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16208#M2258</link>
      <description>Perhaps you could show your code.  FB and VB are attributes for mainframes, so I suspect the target needs to be a mainframe for this option to work.  One example I found uses the RCMD= to send it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/18/665.html" target="_blank"&gt;http://support.sas.com/kb/18/665.html&lt;/A&gt;</description>
      <pubDate>Wed, 13 Oct 2010 16:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16208#M2258</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-10-13T16:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using SAS FTP functionality fb and vb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16209#M2259</link>
      <description>This is the code I used;&lt;BR /&gt;
&lt;BR /&gt;
FILENAME f ftp "BCNE.BRYAN.FCBTEST" &lt;BR /&gt;
host='10.33.255.17' user='PASS' pass='XXXXXX'/*cd='..'*/ debug RECFM=fb lrecl=80;&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
%let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;BR /&gt;
%let _EFIREC_ = 0;     /* clear export record count macro variable */&lt;BR /&gt;
file f  RECFM=FB LRECL=80;;&lt;BR /&gt;
&lt;BR /&gt;
set  T03   end=EFIEOD;&lt;BR /&gt;
format col1 $80. ;&lt;BR /&gt;
do;&lt;BR /&gt;
EFIOUT + 1;&lt;BR /&gt;
put col1 $ ;&lt;BR /&gt;
;&lt;BR /&gt;
end;&lt;BR /&gt;
if _ERROR_ then call symputx('_EFIERR_',1);  /* set ERROR detection macro variable */&lt;BR /&gt;
if EFIEOD then call symputx('_EFIREC_',EFIOUT);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Can anyone see any issues with it?</description>
      <pubDate>Thu, 14 Oct 2010 05:34:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16209#M2259</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-10-14T05:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using SAS FTP functionality fb and vb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16210#M2260</link>
      <description>Doc's RCMD suggestion is worth following. Try to pass both STATUS and LOCSTAT commands to the FTP process in order to have both the server and client settings displayed.&lt;BR /&gt;
&lt;BR /&gt;
(At least that's what I would try next. Not having used SAS's FTP access method I don't know whether you will get the messages though.)</description>
      <pubDate>Thu, 14 Oct 2010 08:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issues-using-SAS-FTP-functionality-fb-and-vb/m-p/16210#M2260</guid>
      <dc:creator>Robert_Bardos</dc:creator>
      <dc:date>2010-10-14T08:12:57Z</dc:date>
    </item>
  </channel>
</rss>

