<?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 Proc GMAP Formats in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324363#M11355</link>
    <description>&lt;P&gt;Hello, I have the below program where I have created a map output.&amp;nbsp; I also created 4 patterns as well as 4 catagories in my Proc Format statement.&amp;nbsp; My question is, instead of assigning a pattern can I assign a color depending on the underlying value.&amp;nbsp; so for low - &amp;lt; .25 I would like this to always be green and so on, with the .75 - high always be red.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; WORK.MYMAP;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SET&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; MAPSGFK.US;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; STATECODE NOT IN (&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'AK'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'HI'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*create format for map output;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;FORMAT&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;VALUE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;low - &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.25&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'&amp;lt; 25%'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.25&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'25 - 49 %'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'50 - 74%'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - high = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'&amp;gt; 75%'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN1&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;c&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=green;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN2&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;c&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=yellow;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN3&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;C&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=blue;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN4&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;C&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Red;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN5&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=MS &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;c&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=lightgrey;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;GMAP&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=WORK.SALESKPI_APPLICATION_OUT1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;MAP&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=WORK.MYMAP &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ALL&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;BY&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; LVL1_SALES_CHANNEL;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ID&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; STATECODE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;BLOCK&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP_PD_PCT / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DISCRETE&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;WOUTLINE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;COUTLINE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CEMPTY&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=BLACK &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;cblock&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;blocksize&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;shape&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=cylinder&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;xview&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0.75&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;yview&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=-&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1.0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;zview&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP_PD_PCT = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ITP Past Due %'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;FORMAT&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP_PD_PCT &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;ITP.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 18:20:34 GMT</pubDate>
    <dc:creator>BLarson</dc:creator>
    <dc:date>2017-01-12T18:20:34Z</dc:date>
    <item>
      <title>Proc GMAP Formats</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324363#M11355</link>
      <description>&lt;P&gt;Hello, I have the below program where I have created a map output.&amp;nbsp; I also created 4 patterns as well as 4 catagories in my Proc Format statement.&amp;nbsp; My question is, instead of assigning a pattern can I assign a color depending on the underlying value.&amp;nbsp; so for low - &amp;lt; .25 I would like this to always be green and so on, with the .75 - high always be red.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; WORK.MYMAP;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SET&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; MAPSGFK.US;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; STATECODE NOT IN (&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'AK'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'HI'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*create format for map output;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;FORMAT&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;VALUE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;low - &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.25&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'&amp;lt; 25%'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.25&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'25 - 49 %'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - &amp;lt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'50 - 74%'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - high = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'&amp;gt; 75%'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN1&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;c&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=green;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN2&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;c&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=yellow;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN3&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;C&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=blue;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN4&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=S &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;C&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Red;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;PATTERN5&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;V&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=MS &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;c&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=lightgrey;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;GMAP&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=WORK.SALESKPI_APPLICATION_OUT1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;MAP&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=WORK.MYMAP &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ALL&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;BY&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; LVL1_SALES_CHANNEL;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ID&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; STATECODE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;BLOCK&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP_PD_PCT / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DISCRETE&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;WOUTLINE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;COUTLINE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CEMPTY&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=BLACK &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;cblock&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;blocksize&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;shape&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=cylinder&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;xview&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0.75&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;yview&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=-&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1.0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;zview&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP_PD_PCT = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ITP Past Due %'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;FORMAT&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ITP_PD_PCT &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;ITP.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 18:20:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324363#M11355</guid>
      <dc:creator>BLarson</dc:creator>
      <dc:date>2017-01-12T18:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GMAP Formats</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324400#M11361</link>
      <description>&lt;P&gt;What I think you are asking is similar to the ATTRMAP attribute dataset for variables for SG graphing procedures to keep characterstics that can be "automatically" applied without defining them in each procedure call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GMAP is basically the old device approach and does not support that approach. If the bounds don't change you can use the format you have already defined with multiple variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you always want to use 4 colors, a custom ODS style could be created to modify the default colors&amp;nbsp; and would be used in the order of the PATTERN statements that you are currently defining but not attached to a specific range of values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or are you trying to have the color for those ranges when you may have more or fewer response categories?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to be a bit more specific about what you are attempting to achieve.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 21:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324400#M11361</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-12T21:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GMAP Formats</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324411#M11362</link>
      <description>&lt;P&gt;Good Afternoon&lt;/P&gt;&lt;P&gt;Thank you for the feedback.&amp;nbsp; yes what I am trying to achieve is as you stated "trying to have the color for those ranges when you may have more or fewer response categories?".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 21:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324411#M11362</guid>
      <dc:creator>BLarson</dc:creator>
      <dc:date>2017-01-12T21:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GMAP Formats</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324412#M11363</link>
      <description>Good Afternoon&lt;BR /&gt;&lt;BR /&gt;Thank you for the feedback. yes what I am trying to achieve is as you stated "trying to have the color for those ranges when you may have more or fewer response categories?".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2017 21:36:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324412#M11363</guid>
      <dc:creator>BLarson</dc:creator>
      <dc:date>2017-01-12T21:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GMAP Formats</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324442#M11368</link>
      <description>&lt;P&gt;How many different combinations are you going to deal with? If it is only a few then you may be able to make a macro that that takes as one of the parameters the appropriate format, which you would still need for the grouping and include code to check the format and assign the matching legend values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Semi pseudocode of what I am thinking;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro mymap (dataset=, mapset=, mapvar=, mapvarfmt = );

%if %upcase(&amp;amp;Mapvarfmt) = ITP %then %do;
   PATTERN1 V=S c=green;
   PATTERN2 V=S c=yellow;
   PATTERN3 V=S C=blue;
   PATTERN4 V=S C=Red;
%end;

%if %upcase(&amp;amp;Mapvarfmt) = OTHFMT %then %do;
   PATTERN1 V=S c=green;
   PATTERN2 V=S c=yellow;
   PATTERN3 V=S C=Red;
%end;

/* the actual gmap code goes here*/
%mend;

/* call similar to */
%mymap (dataset=WORK.SALESKPI_APPLICATION_OUT1 , mapset=WORK.MYMAP , mapvar=ITP_PD_PCT , mapvarfmt = ITP)

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or maybe instead of the actual format name to assign the pattern statements a separate&amp;nbsp;NumLegendLines parameter&amp;nbsp;and have groups of pattern statements corresponding to 3, 4, 5, 6 or similar groups you might reuse. This would have the advantage of only needing to know the number breaks in your data to display if you use many formats with slightly different values between those upper and lower bounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 00:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324442#M11368</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-13T00:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc GMAP Formats</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324545#M11372</link>
      <description>&lt;P&gt;Thank you very much.&amp;nbsp; I will work with that and let you know how it turns out.&amp;nbsp; Again I greatly appreciate your guidance.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 13:29:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-GMAP-Formats/m-p/324545#M11372</guid>
      <dc:creator>BLarson</dc:creator>
      <dc:date>2017-01-13T13:29:01Z</dc:date>
    </item>
  </channel>
</rss>

