<?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: html output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591806#M169603</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset output is difference&amp;nbsp;&lt;/P&gt;&lt;P&gt;File print out is quite different&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i want both outputs are should be same&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2019 10:23:02 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2019-09-26T10:23:02Z</dc:date>
    <item>
      <title>html output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591772#M169582</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sat_2019;
file print ;
do saturdays_of_2019='1-Jan-19'd to '31-Dec-19'd;
    if weekday(saturdays_of_2019)=7 then output;
					end;
put saturdays_of_2019=;
				format  saturdays_of_2019 date9.;
stop;
run;													&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the above i could not get complete dates output&amp;nbsp; but&amp;nbsp; in dataset i got perfect output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;file print output like as following&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;saturday_of_2019 =01-Jan-2020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advised me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 04:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591772#M169582</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-09-26T04:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: html output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591796#M169598</link>
      <description>&lt;P&gt;If you apply some visual formatting to your code, you'll find the answer immediately:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sat_2019;
file print;
do saturdays_of_2019 = '1-Jan-19'd to '31-Dec-19'd;
  if weekday(saturdays_of_2019) = 7 then output;
end;
put saturdays_of_2019=;
format saturdays_of_2019 date9.;
stop;
run;		&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Your put statement comes after the end of the loop and is excuted only once, with the value that caused the iterative do loop to end.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 08:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591796#M169598</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-26T08:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: html output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591799#M169600</link>
      <description>&lt;P&gt;Not understand&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your anawer&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 09:18:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591799#M169600</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-09-26T09:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: html output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591800#M169601</link>
      <description>&lt;P&gt;Compare your code (in the version I posted) with this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sat_2019;
file print;
do saturdays_of_2019 = '1-Jan-19'd to '31-Dec-19'd;
  if weekday(saturdays_of_2019) = 7 then output;
  put saturdays_of_2019=;
end;
format saturdays_of_2019 date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and you'll understand the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 09:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591800#M169601</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-26T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: html output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591806#M169603</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset output is difference&amp;nbsp;&lt;/P&gt;&lt;P&gt;File print out is quite different&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i want both outputs are should be same&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 10:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591806#M169603</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-09-26T10:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: html output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591815#M169611</link>
      <description>&lt;P&gt;You can't make it "the same". The display of the file viewer window is dependent on the interface used. It's different between Display Manager, Enterprise Guide and SAS Studio. And with Studio, you have differences caused by the browser used.&lt;/P&gt;
&lt;P&gt;Using file and put in a data step will create pure text, with no formatting whatsoever. If you want something fancy, use ODS and proc print or proc report.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 11:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/html-output/m-p/591815#M169611</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-26T11:17:30Z</dc:date>
    </item>
  </channel>
</rss>

