<?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: proc template with layout gridded in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/709254#M218063</link>
    <description>I am trying to resolve value for age. For example subject age is 29 then i want that ZVAR to resolved into "29".</description>
    <pubDate>Mon, 04 Jan 2021 17:41:32 GMT</pubDate>
    <dc:creator>unnati</dc:creator>
    <dc:date>2021-01-04T17:41:32Z</dc:date>
    <item>
      <title>proc template with layout gridded</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/708103#M217534</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;In following code I am trying to resolve ZVAR(age)value directly from dataset just the way I am able&lt;BR /&gt;to do XVAR and YVAR by using them in dynamic statement.&lt;/P&gt;&lt;P&gt;Can someone help me to understand why ZVAR is not resolve from entry halign&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph regfit;
    dynamic XVAR YVAR ZVAR;
    mvar STUDY SYSDATE sex;
    begingraph;
      entrytitle "Scatter plot of " YVAR " = " XVAR;
      entryfootnote halign=left STUDY halign=right SYSDATE;
      layout overlay;
        scatterplot X=XVAR Y=YVAR;
layout gridded / opaque=true backgroundcolor=CXECECEC border=false rows=4 columns=2 border=false autoalign=(topright topleft bottomright bottomleft);

						/*- Line 1-2 -*/
						entry halign=left "subject gender=zvar" ;
						entry halign=left zvar;
					endlayout;
      endlayout;
    endgraph;
  end;
run;

%let study=CLASS dataset;
proc sgrender data=sashelp.class template=regfit;
  dynamic xvar="height" yvar="weight" zvar="age";
  where name='Alfred';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 16:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/708103#M217534</guid>
      <dc:creator>unnati</dc:creator>
      <dc:date>2020-12-24T16:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc template with layout gridded</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/708943#M217911</link>
      <description>&lt;P&gt;It would help if show what you expect or want to appear in the Entry result in the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any text in quotes is going to be literal.&lt;/P&gt;
&lt;P&gt;So when you use&lt;/P&gt;
&lt;PRE&gt;entry halign=left "subject gender=zvar" ;&lt;/PRE&gt;
&lt;P&gt;That is exactly what you get.&lt;/P&gt;
&lt;P&gt;The combination of that line an the next:&lt;/P&gt;
&lt;PRE&gt;entry halign=left "subject gender=zvar" ;&lt;BR /&gt;entry halign=left zvar;
&lt;/PRE&gt;
&lt;P&gt;uses the resolved value of ZVAR to create&lt;/P&gt;
&lt;P&gt;"subject gender=zvar age"&lt;/P&gt;
&lt;P&gt;because the resolved text of zvar is "age"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't really go much further as I have no clue what you are actually attempting to place into the entry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 20:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/708943#M217911</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-31T20:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc template with layout gridded</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/709254#M218063</link>
      <description>I am trying to resolve value for age. For example subject age is 29 then i want that ZVAR to resolved into "29".</description>
      <pubDate>Mon, 04 Jan 2021 17:41:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-template-with-layout-gridded/m-p/709254#M218063</guid>
      <dc:creator>unnati</dc:creator>
      <dc:date>2021-01-04T17:41:32Z</dc:date>
    </item>
  </channel>
</rss>

