<?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 any difference between style and style/replace of call define? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742496#M25008</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;To find out when style/replace was introduced, you would need to examine the past documentation. There was a major rewrite of Style syntax for Style templates in SAS 9.2; and also PROC REPORT was enhanced in SAS 9.2, as I remember. &lt;BR /&gt;&lt;BR /&gt;In the What's New for SAS 9.2, they only refer to STYLE/MERGE, here: &lt;A href="https://support.sas.com/documentation/cdl/en/whatsnew/62580/PDF/default/whatsnew.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/documentation/cdl/en/whatsnew/62580/PDF/default/whatsnew.pdf&lt;/A&gt; page 29-30. But do not list STYLE/REPLACE. However, in the PROC REPORT documentation for 9.2 on page 1030, it shows: &lt;A href="https://support.sas.com/documentation/cdl/en/proc/61895/PDF/default/proc.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/documentation/cdl/en/proc/61895/PDF/default/proc.pdf&lt;/A&gt; STYLE/REPLACE.&lt;BR /&gt;&lt;BR /&gt;This paragraph implies that STYLE and STYLE/REPLACE work the same way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1621451258721.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59582i8B10A9D6DA1DA257/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1621451258721.png" alt="Cynthia_sas_0-1621451258721.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Then when I looked in the 9.1 documentation for PROC REPORT here: &lt;A href="https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_proc_6982.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_proc_6982.pdf&lt;/A&gt; and do not see STYLE/REPLACE listed on page 892.&lt;BR /&gt;&lt;BR /&gt;STYLE/REPLACE could have been introduced in one of the maintenance releases, like 9.1.2 or 9.1.3 but it was first in the 9.2 documentation so saying that it was available in 9.2 seems to be supported by doc. If you need more certainty that what the documentation shows, you will need to check with Tech Support.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 19:08:35 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2021-05-19T19:08:35Z</dc:date>
    <item>
      <title>Is there any difference between style and style/replace of call define?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/741396#M24998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can understand that first something needs to be defined in order to be replaced&lt;/P&gt;&lt;P&gt;but I cannot figure out a case where there would be a difference in the output of a &lt;CODE&gt;call define&lt;/CODE&gt; based on the used of &lt;CODE&gt;style&lt;/CODE&gt; instead of &lt;CODE&gt;style/replace&lt;/CODE&gt; making &lt;CODE&gt;style/replace&lt;/CODE&gt; an alias of &lt;CODE&gt;style&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know any cases where the output would be different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 12:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/741396#M24998</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-05-14T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between style and style/replace of call define?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742039#M25005</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is this related to your previous posting here: &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/style-calldef-unexpected-impact-on-call-define-style-merge/m-p/739444#M24992" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/style-calldef-unexpected-impact-on-call-define-style-merge/m-p/739444#M24992&lt;/A&gt;&amp;nbsp;about using STYLE/REPLACE and STYLE/MERGE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When you use ODS Destinations that support style -- there is ALWAYS a style attribute being used -- it comes from the style template that is either used by default or is specified in the style=.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Most often, I see the simple STYLE and STYLE/REPLACE in a CALL DEFINE do generate the same results. When if I am setting styles using CALL DEFINE, I tend to "over code" and specify really explicit IF statements instead&amp;nbsp; of fiddling with STYLE/REPLACE and STYLE/MERGE to control my style overrides.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It is my memory that STYLE and STYLE/REPLACE in a CALL DEFINE will work much the same way because of this note: "Keep in mind that the styles are replaced rather than concatenated when they are applied from a CALL DEFINE statement. In SAS 9.2, a new attribute called STYLE/MERGE will concatenate the styles." (from page 8 of this document &lt;A href="https://support.sas.com/resources/papers/stylesinprocs.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/stylesinprocs.pdf&lt;/A&gt; ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's the documentation example on STYLE/REPLACE: &lt;A href="https://go.documentation.sas.com/doc/ja/pgmsascdc/9.4_3.5/proc/p0934x0xj13fm9n1l164y36xttk1.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/ja/pgmsascdc/9.4_3.5/proc/p0934x0xj13fm9n1l164y36xttk1.htm&lt;/A&gt; and here's the documentation example on STYLE/MERGE: &lt;A href="https://go.documentation.sas.com/doc/ja/pgmsascdc/9.4_3.5/proc/p112rxxyjcv5ryn119is0iouzfus.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/ja/pgmsascdc/9.4_3.5/proc/p112rxxyjcv5ryn119is0iouzfus.htm.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you are having trouble with CALL DEFINE and using STYLE or STYLE/REPLACE or STYLE/MERGE with a CALL DEFINE with PROC REPORT you may want to open a track with Tech Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 00:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742039#M25005</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-05-18T00:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between style and style/replace of call define?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742440#M25007</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My question is not directly related to the other topic.&lt;/P&gt;&lt;P&gt;I'm preparing a presentation for SAS users and try to avoid mistakes.&lt;/P&gt;&lt;P&gt;'style/merge' is clear to me. I didn't even mentioned it in this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From all the reading I've done, I couldn't see&amp;nbsp; any difference between 'style' and 'style/replace'. They both provide the same output.&lt;/P&gt;&lt;P&gt;In the documentation one example uses 'style' in a first call define and 'style/replace' in the next one.&lt;/P&gt;&lt;P&gt;But if you test it with 'style' attribute in both routines, you get the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I guess if there is a difference, only the developer knows it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although it is clearly indicated that 'style/merge' was introduced with SAS 9.2 &lt;A href="https://support.sas.com/kb/43/758.html" target="_blank"&gt;https://support.sas.com/kb/43/758.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I didn't see any similar statement for style/replace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my expectation is to read somewhere something like this 'style/replace' was introduced with SAS 9.2; it is an alias of 'style' or to find an example showing a real difference between the two.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 15:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742440#M25007</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-05-19T15:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between style and style/replace of call define?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742496#M25008</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;To find out when style/replace was introduced, you would need to examine the past documentation. There was a major rewrite of Style syntax for Style templates in SAS 9.2; and also PROC REPORT was enhanced in SAS 9.2, as I remember. &lt;BR /&gt;&lt;BR /&gt;In the What's New for SAS 9.2, they only refer to STYLE/MERGE, here: &lt;A href="https://support.sas.com/documentation/cdl/en/whatsnew/62580/PDF/default/whatsnew.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/documentation/cdl/en/whatsnew/62580/PDF/default/whatsnew.pdf&lt;/A&gt; page 29-30. But do not list STYLE/REPLACE. However, in the PROC REPORT documentation for 9.2 on page 1030, it shows: &lt;A href="https://support.sas.com/documentation/cdl/en/proc/61895/PDF/default/proc.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/documentation/cdl/en/proc/61895/PDF/default/proc.pdf&lt;/A&gt; STYLE/REPLACE.&lt;BR /&gt;&lt;BR /&gt;This paragraph implies that STYLE and STYLE/REPLACE work the same way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1621451258721.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59582i8B10A9D6DA1DA257/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1621451258721.png" alt="Cynthia_sas_0-1621451258721.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Then when I looked in the 9.1 documentation for PROC REPORT here: &lt;A href="https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_proc_6982.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_proc_6982.pdf&lt;/A&gt; and do not see STYLE/REPLACE listed on page 892.&lt;BR /&gt;&lt;BR /&gt;STYLE/REPLACE could have been introduced in one of the maintenance releases, like 9.1.2 or 9.1.3 but it was first in the 9.2 documentation so saying that it was available in 9.2 seems to be supported by doc. If you need more certainty that what the documentation shows, you will need to check with Tech Support.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 19:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742496#M25008</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-05-19T19:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between style and style/replace of call define?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742624#M25010</link>
      <description>Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;</description>
      <pubDate>Thu, 20 May 2021 10:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/742624#M25010</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-05-20T10:36:59Z</dc:date>
    </item>
  </channel>
</rss>

