<?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: why the text 'This will go to the default output destination' can't be appear in log in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743411#M232752</link>
    <description>&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 17:49:49 GMT</pubDate>
    <dc:creator>tianerhu</dc:creator>
    <dc:date>2021-05-24T17:49:49Z</dc:date>
    <item>
      <title>why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743393#M232736</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   file print;
   put 'This will go to the default output destination';
   
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 May 2021 16:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743393#M232736</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-24T16:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743394#M232737</link>
      <description>&lt;P&gt;When you provide a file then then the PUT output is directed to the file, i.e. File Print.&lt;/P&gt;
&lt;P&gt;To "force" text to the log only use Putlog instead of Put.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 16:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743394#M232737</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-24T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743395#M232738</link>
      <description>&lt;P&gt;Because you told it not to.&lt;/P&gt;
&lt;P&gt;If you want some messages written to the log while also writing some information to a file use the PUTLOG statement instead.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   put 'PUT before FILE statement will go to the SAS log.';
   file print;
   put 'This will go to the open output destination(s).';
   putlog 'This will go to the SAS log.';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 May 2021 18:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743395#M232738</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-24T18:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743401#M232742</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Females;
   input @14 Gender $1.;
   put 'After first input ' _all_;
   
   if Gender ne 'F' then delete;
   put 'After delete ' _all_;
   input @1 Subj $3.
         @4 DOB mmddyy10.
         @15 Balance 7.;
   put 'After second Input ' _all_;
datalines;
00110/21/1955M   1145
00211/18/2001F  18722
00305/07/1944M 123.45
00407/25/1945F -12345
;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but&amp;nbsp; the text of the 'put statement' in this program can appear in log&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:11:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743401#M232742</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-24T17:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743407#M232748</link>
      <description>&lt;P&gt;Because in this data step you did NOT tell it to route the output to the PRINT file instead of the LOG file.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743407#M232748</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-24T17:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743410#M232751</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743410#M232751</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-24T17:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: why the text 'This will go to the default output destination' can't be appear in log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743411#M232752</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/why-the-text-This-will-go-to-the-default-output-destination-can/m-p/743411#M232752</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-24T17:49:49Z</dc:date>
    </item>
  </channel>
</rss>

