<?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: Use of dattrmap in batch mode in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856991#M23474</link>
    <description>&lt;P&gt;Here's another way to help us diagnose the issue:&lt;/P&gt;
&lt;P&gt;Put a PROC PRINT of the attrmap data set right after the data step and run it both interactively and in batch. This will help tell if the data is generated correctly in both situations.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 05:24:32 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2023-02-03T05:24:32Z</dc:date>
    <item>
      <title>Use of dattrmap in batch mode</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856870#M23470</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using a dattrmap dataset to set line colors in SGPLOT. When I run&amp;nbsp;the program interactively, everything works fine, but when I run it in batch mode, I get the warning 'Invalid attrid "POOL" specified' and the color is not changed according to the value of POOL. Can anyone help?&lt;SPAN&gt;&amp;nbsp;I need to run it in batch mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Host information:&amp;nbsp;X64_10PRO WIN 10.0.19041 Workstation.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 15:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856870#M23470</guid>
      <dc:creator>SusanneWB</dc:creator>
      <dc:date>2023-02-02T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use of dattrmap in batch mode</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856875#M23471</link>
      <description>&lt;P&gt;Without seeing your code, my guess would be that there is an issue in your data step specification for the image map. Can you post any of your code?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 16:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856875#M23471</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-02-02T16:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use of dattrmap in batch mode</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856956#M23472</link>
      <description>&lt;P&gt;This is the code I use to make the attribute map:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data attrmap;&lt;BR /&gt;length linecolor $ 10 markercolor $ 10;&lt;BR /&gt;input id $ value linecolor markercolor;&lt;BR /&gt;datalines;&lt;BR /&gt;pool 1 red red&lt;BR /&gt;pool 2 blue blue&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 21:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856956#M23472</guid>
      <dc:creator>SusanneWB</dc:creator>
      <dc:date>2023-02-02T21:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use of dattrmap in batch mode</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856987#M23473</link>
      <description>&lt;P&gt;Can you show the SAS log?&lt;/P&gt;
&lt;P&gt;In the text file containing the SAS code you run in batch on Unix, are there any leading spaces? Does the file have any DOS cr/lf at the end of the lines?&lt;/P&gt;
&lt;P&gt;Try adding a proc print of the dataset after creating it, so you can verify it contains what you think it contains.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:09:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856987#M23473</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2023-02-03T04:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use of dattrmap in batch mode</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856991#M23474</link>
      <description>&lt;P&gt;Here's another way to help us diagnose the issue:&lt;/P&gt;
&lt;P&gt;Put a PROC PRINT of the attrmap data set right after the data step and run it both interactively and in batch. This will help tell if the data is generated correctly in both situations.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 05:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856991#M23474</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-02-03T05:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use of dattrmap in batch mode</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856998#M23475</link>
      <description>&lt;P&gt;Thanks, that solved it!&lt;/P&gt;&lt;P&gt;I could see there were leading spaces in the dataset from the batch run. I got rid of them, and now it works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 08:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Use-of-dattrmap-in-batch-mode/m-p/856998#M23475</guid>
      <dc:creator>SusanneWB</dc:creator>
      <dc:date>2023-02-03T08:06:46Z</dc:date>
    </item>
  </channel>
</rss>

