<?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: Is there anyway to prevent UNBUFFERED note when writing to RECFM=N in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-anyway-to-prevent-UNBUFFERED-note-when-writing-to-RECFM/m-p/901742#M356358</link>
    <description>&lt;P&gt;use option nonotes.&lt;BR /&gt;This will suppress notes being written to the log.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 15:01:57 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2023-11-06T15:01:57Z</dc:date>
    <item>
      <title>Is there anyway to prevent UNBUFFERED note when writing to RECFM=N</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-anyway-to-prevent-UNBUFFERED-note-when-writing-to-RECFM/m-p/900372#M355833</link>
      <description>&lt;P&gt;When using the FILE statement option RECFM=N SAS will put a note into the SAS log.&lt;/P&gt;
&lt;PRE&gt;6    options generic; resetline;
1    filename text temp;
2    data _null_;
3      file text dsd recfm=N ;
4      put "Some text";
5    run;

NOTE: UNBUFFERED is the default with RECFM=N.
NOTE: The file TEXT is:
      (system-specific pathname),
      (system-specific file attributes)
&lt;/PRE&gt;
&lt;P&gt;You get a similar message when your read from the file:&lt;/P&gt;
&lt;PRE&gt;6    data want;
7      infile text recfm=N;
8      input text $10.;
9    run;

NOTE: UNBUFFERED is the default with RECFM=N.
NOTE: The infile TEXT is:
      (system-specific pathname),
      (system-specific file attributes)

NOTE: The data set WORK.WANT has 1 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.02 seconds
      cpu time            0.01 seconds
&lt;/PRE&gt;
&lt;P&gt;Which you can prevent by adding the UNBUF option.&lt;/P&gt;
&lt;PRE&gt;10   data want;
11     infile text unbuf recfm=N;
12     input text $10.;
13   run;

NOTE: The infile TEXT is:
      (system-specific pathname),
      (system-specific file attributes)

NOTE: The data set WORK.WANT has 1 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;
&lt;P&gt;But the FILE statement does not accept this option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know if there is some way to prevent that NOTE?&lt;/P&gt;
&lt;P&gt;It doesn't really cause any trouble, I just don't like it cluttering the SAS log.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 17:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-anyway-to-prevent-UNBUFFERED-note-when-writing-to-RECFM/m-p/900372#M355833</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-10-27T17:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there anyway to prevent UNBUFFERED note when writing to RECFM=N</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-anyway-to-prevent-UNBUFFERED-note-when-writing-to-RECFM/m-p/901742#M356358</link>
      <description>&lt;P&gt;use option nonotes.&lt;BR /&gt;This will suppress notes being written to the log.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 15:01:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-anyway-to-prevent-UNBUFFERED-note-when-writing-to-RECFM/m-p/901742#M356358</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-11-06T15:01:57Z</dc:date>
    </item>
  </channel>
</rss>

