<?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: File and put Statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199430#M266688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not tested, but can you just add a line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;filename&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; out &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #800080;"&gt;"/home/mm14532/sasuser.v92/FRAUDEEM.txt"&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #000080;"&gt;data&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;set&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; ABECS_V4;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;file&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; out ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;if _n_=1 then put &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em; font-family: 'Courier New'; font-style: inherit; font-weight: inherit; color: #800080;"&gt;"/home" &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-family: 'Courier New'; background-color: transparent;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;else &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;put&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; @&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #008080;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; POS_MODE_OLA @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; DOM_INT @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; PAIS @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;54&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; OLA_MIS_MERCH_CAT @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;58&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; QUANTIDADE @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;70&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; VALOR @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;85&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;TIP_PESS @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;87&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; FORM_PAG @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;88&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; ANO @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;92&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; MES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #000080;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 21:12:00 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2015-08-14T21:12:00Z</dc:date>
    <item>
      <title>File and put Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199428#M266686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Guys, i need to create a external txt file with finame and file statements as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #0000ff;"&gt;filename&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; out &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #800080;"&gt;"/home/mm14532/sasuser.v92/FRAUDEEM.txt"&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt;;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #000080;"&gt;data&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #0000ff;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt;; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #0000ff;"&gt;set&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; ABECS_V4;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #0000ff;"&gt;file&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; out ; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New; color: #0000ff;"&gt;put&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; &lt;SPAN style="color: #800080; font-family: 'Courier New'; font-size: 13.3333330154419px;"&gt;"/home" #2&lt;/SPAN&gt; @&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; POS_MODE_OLA @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; DOM_INT @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; PAIS @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;54&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; OLA_MIS_MERCH_CAT @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;58&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; QUANTIDADE @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;70&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; VALOR @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;85&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; TIP_PESS @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;87&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; FORM_PAG @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;88&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; ANO @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #008080;"&gt;92&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; MES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New; color: #000080;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt;;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is working well, but i need a way to put at the first line of this external file a string or a title.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using #2 to go to the second line but it didn't worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you before anything&lt;/P&gt;&lt;P&gt;Rodrigo Elias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 20:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199428#M266686</guid>
      <dc:creator>DartRodrigo</dc:creator>
      <dc:date>2015-08-14T20:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: File and put Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199429#M266687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="1408756717.0" style="color: #0000ff; font-family: Courier New;"&gt;filename&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; out &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="color: #800080; font-family: Courier New;"&gt;"/home/mm14532/sasuser.v92/FRAUDEEM.txt"&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN id="1408756717.0" style="color: #000080; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="color: #0000ff; font-family: Courier New;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="color: #0000ff; font-family: Courier New;"&gt;set&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; ABECS_V4;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN id="1408756717.0" style="color: #0000ff; font-family: Courier New;"&gt;file&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt; out ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="1408756717.0" style="font-family: Courier New;"&gt;&lt;/SPAN&gt;if _n_ = then put "stuff here will be the first line in the output file";&lt;BR /&gt;&lt;SPAN id="1408756717.0" style="color: #0000ff; font-family: Courier New;"&gt;put&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; &lt;SPAN style="color: #800080; font-family: 'Courier New'; font-size: 13.33px;"&gt;"/home" &lt;/SPAN&gt; @&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; POS_MODE_OLA @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; DOM_INT @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; PAIS @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;54&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; OLA_MIS_MERCH_CAT @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;58&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; QUANTIDADE @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;70&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; VALOR @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;85&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; TIP_PESS @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;87&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; FORM_PAG @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;88&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; ANO @&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #008080; font-family: Courier New;"&gt;92&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt; MES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN id="1408756732.0" style="color: #000080; font-family: Courier New;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The automatic variable _n_ relates to the record currently being read from the dataset on the set statement.&lt;/P&gt;&lt;P&gt;You could use it for all kinds of conditional processing for old school output like this.&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if mod(_n_,80) = 0 then put "this is a multiple of 80 lines in the file";&lt;/P&gt;&lt;P&gt;or put the values of some specific variables, possibly you've been accumulating totals...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 21:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199429#M266687</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-14T21:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: File and put Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199430#M266688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not tested, but can you just add a line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;filename&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; out &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #800080;"&gt;"/home/mm14532/sasuser.v92/FRAUDEEM.txt"&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #000080;"&gt;data&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;; &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;set&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; ABECS_V4;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;file&lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; out ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;if _n_=1 then put &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em; font-family: 'Courier New'; font-style: inherit; font-weight: inherit; color: #800080;"&gt;"/home" &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-family: 'Courier New'; background-color: transparent;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;else &lt;/SPAN&gt;&lt;SPAN id="1408756717.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #0000ff;"&gt;put&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; @&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #008080;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; POS_MODE_OLA @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; DOM_INT @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; PAIS @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;54&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; OLA_MIS_MERCH_CAT @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;58&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; QUANTIDADE @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;70&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; VALOR @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;85&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;TIP_PESS @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;87&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; FORM_PAG @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;88&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; ANO @&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #008080;"&gt;92&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt; MES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New'; color: #000080;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN id="1408756732.0" style="font-weight: inherit; font-style: inherit; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 21:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-and-put-Statement/m-p/199430#M266688</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2015-08-14T21:12:00Z</dc:date>
    </item>
  </channel>
</rss>

