<?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: ODS HTML output has new Proc Print results but on older SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML-output-has-new-Proc-Print-results-but-on-older-SGPLOT/m-p/470186#M16201</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/46599"&gt;@DougZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm running on Linux 64, 9.4 (TS1M3).&amp;nbsp; I can produce an SGPLOT vbar chart and do a Proc Print of a Proc Means... but the output for the SGPLOt is an hour older than that of the Print.&amp;nbsp; See attachment.&amp;nbsp; Can't find anything on this in the SAS documentation.&amp;nbsp; I really don't understand ODS and am just copying things that I've seen others do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS HTML PATH = "&amp;amp;outdir/" (url=none);
    **ods graphics /imagemap=on;

    ods html file="&amp;amp;report_file..html";
    title "BRI Jobs Linux Space - &amp;amp;Server,  %sysfunc(today(),weekdate3. -r)%str(,) %sysfunc(today(),worddate15. -l) %sysfunc(time(),tod5. -l)";
    footnote h=3pt "%sysfunc(getoption(sysin)), &amp;amp;sysmacroname";

    proc means data=work.bri_space_report nway noprint;
        class user;
        var SizeMB;
        output out=work.bri_space_sums sum(SizeMB)=;
    run;

    *****************************************************;
    * Generate the vertical bar plot by user;
    *****************************************************;
    proc sgplot data=work.bri_space_sums;
      vbar user / response=sizeMB;
    run;

    proc sort data=work.bri_space_sums;
        by descending SizeMB;
    run;

    proc print data=work.bri_space_sums noobs;
        format _numeric_ comma10.;
        var user _freq_ sizemb;
    run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;All output goes to the destination until you close it. Destinations with specific file references are usually used to create reports you need saved or shared, not for development process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can search on lexjansen.com for basic tutorials on ODS.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2018 04:01:32 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-06-14T04:01:32Z</dc:date>
    <item>
      <title>ODS HTML output has new Proc Print results but on older SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML-output-has-new-Proc-Print-results-but-on-older-SGPLOT/m-p/470160#M16200</link>
      <description>&lt;P&gt;I'm running on Linux 64, 9.4 (TS1M3).&amp;nbsp; I can produce an SGPLOT vbar chart and do a Proc Print of a Proc Means... but the output for the SGPLOt is an hour older than that of the Print.&amp;nbsp; See attachment.&amp;nbsp; Can't find anything on this in the SAS documentation.&amp;nbsp; I really don't understand ODS and am just copying things that I've seen others do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS HTML PATH = "&amp;amp;outdir/" (url=none);
    **ods graphics /imagemap=on;

    ods html file="&amp;amp;report_file..html";
    title "BRI Jobs Linux Space - &amp;amp;Server,  %sysfunc(today(),weekdate3. -r)%str(,) %sysfunc(today(),worddate15. -l) %sysfunc(time(),tod5. -l)";
    footnote h=3pt "%sysfunc(getoption(sysin)), &amp;amp;sysmacroname";

    proc means data=work.bri_space_report nway noprint;
        class user;
        var SizeMB;
        output out=work.bri_space_sums sum(SizeMB)=;
    run;

    *****************************************************;
    * Generate the vertical bar plot by user;
    *****************************************************;
    proc sgplot data=work.bri_space_sums;
      vbar user / response=sizeMB;
    run;

    proc sort data=work.bri_space_sums;
        by descending SizeMB;
    run;

    proc print data=work.bri_space_sums noobs;
        format _numeric_ comma10.;
        var user _freq_ sizemb;
    run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 00:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML-output-has-new-Proc-Print-results-but-on-older-SGPLOT/m-p/470160#M16200</guid>
      <dc:creator>DougZ</dc:creator>
      <dc:date>2018-06-14T00:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML output has new Proc Print results but on older SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML-output-has-new-Proc-Print-results-but-on-older-SGPLOT/m-p/470186#M16201</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/46599"&gt;@DougZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm running on Linux 64, 9.4 (TS1M3).&amp;nbsp; I can produce an SGPLOT vbar chart and do a Proc Print of a Proc Means... but the output for the SGPLOt is an hour older than that of the Print.&amp;nbsp; See attachment.&amp;nbsp; Can't find anything on this in the SAS documentation.&amp;nbsp; I really don't understand ODS and am just copying things that I've seen others do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS HTML PATH = "&amp;amp;outdir/" (url=none);
    **ods graphics /imagemap=on;

    ods html file="&amp;amp;report_file..html";
    title "BRI Jobs Linux Space - &amp;amp;Server,  %sysfunc(today(),weekdate3. -r)%str(,) %sysfunc(today(),worddate15. -l) %sysfunc(time(),tod5. -l)";
    footnote h=3pt "%sysfunc(getoption(sysin)), &amp;amp;sysmacroname";

    proc means data=work.bri_space_report nway noprint;
        class user;
        var SizeMB;
        output out=work.bri_space_sums sum(SizeMB)=;
    run;

    *****************************************************;
    * Generate the vertical bar plot by user;
    *****************************************************;
    proc sgplot data=work.bri_space_sums;
      vbar user / response=sizeMB;
    run;

    proc sort data=work.bri_space_sums;
        by descending SizeMB;
    run;

    proc print data=work.bri_space_sums noobs;
        format _numeric_ comma10.;
        var user _freq_ sizemb;
    run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;All output goes to the destination until you close it. Destinations with specific file references are usually used to create reports you need saved or shared, not for development process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can search on lexjansen.com for basic tutorials on ODS.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 04:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML-output-has-new-Proc-Print-results-but-on-older-SGPLOT/m-p/470186#M16201</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-14T04:01:32Z</dc:date>
    </item>
  </channel>
</rss>

