<?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: concatenate my Test name to format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457347#M115946</link>
    <description>&lt;P&gt;Then you need to move the code which creates out macro variable to the main program also??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More to the point what is this "&amp;amp;out._visit1" anyways?&amp;nbsp; Looks like you are trying to merge two variables which is a really bad idea.&amp;nbsp; Keep visit as a visit variable, then put this "&amp;amp;out." in another variable.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2018 15:14:42 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-04-25T15:14:42Z</dc:date>
    <item>
      <title>concatenate my Test name to format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457340#M115941</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello all ,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;I am working on a graph and I formatting Visit variable (numeric )&amp;nbsp; something like this&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;proc format ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Value&amp;nbsp; custom_visit ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;0 = "&amp;amp;out._Visit1"&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1 = "&amp;amp;out._Visit2"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2 = "&amp;amp;out._Visit3"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3 = "&amp;amp;out._Visit4"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and using it as&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;data test ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;set final ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;format&amp;nbsp; &amp;nbsp;visit2&amp;nbsp; custom_visit. ;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;run;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;amp;out.&amp;nbsp; &amp;nbsp;would resolve to Test name . This is working fine for my need .&lt;/DIV&gt;&lt;DIV&gt;My problem is that I can't have proc format within the table program , but it has to be in a one central&amp;nbsp; program . For that &amp;amp;out. can't be used as that is ran way before program . Is there a way to concatenate my Test name to format without changing the Numerical nature of the Visit2 ( as I need it for sorting the order )&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;kumar&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457340#M115941</guid>
      <dc:creator>_user</dc:creator>
      <dc:date>2018-04-25T15:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate my Test name to format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457347#M115946</link>
      <description>&lt;P&gt;Then you need to move the code which creates out macro variable to the main program also??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More to the point what is this "&amp;amp;out._visit1" anyways?&amp;nbsp; Looks like you are trying to merge two variables which is a really bad idea.&amp;nbsp; Keep visit as a visit variable, then put this "&amp;amp;out." in another variable.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457347#M115946</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-25T15:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate my Test name to format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457354#M115950</link>
      <description>&lt;P&gt;Well moving my graph program to formats program is not feasible .&amp;nbsp; Regarding your question&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More to the point what is this "&amp;amp;out._visit1" anyways?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am grading my visit as per order needed on X-axis&amp;nbsp; &amp;nbsp;and using the Numerical value . Then using the&amp;nbsp;format&amp;nbsp;of the Visit2&amp;nbsp; as the Label of Tick mark&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457354#M115950</guid>
      <dc:creator>_user</dc:creator>
      <dc:date>2018-04-25T15:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate my Test name to format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457629#M116039</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Well moving my graph program to formats program is not feasible ." - I am not talking about moving your graph program anywhere, I am talking about moving the code which creates the Out macro variable to the format program, i.e. define the macro before it is used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"I am grading my visit as per order needed on X-axis&amp;nbsp; &amp;nbsp;and using the Numerical value . Then using the&amp;nbsp;format&amp;nbsp;of the Visit2&amp;nbsp; as the Label of Tick mark " - possible a mis-understanding here.&amp;nbsp; The value in the dataset should be numeric, so you get the correct ordering, then you have the formatted data in the output per the format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Its really hard to follow what you want.&amp;nbsp; As a note, for lab graph outputs, normally it would look something like, visit (i.e. visit 1, visit 2 etc.) on the xaxis, value on the y axis, and a sub-header showing the parameter, unit, gender, normal range etc.&amp;nbsp; So have one graph per by group so the axis ranges are smaller and easier to see points.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 08:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatenate-my-Test-name-to-format/m-p/457629#M116039</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-26T08:23:08Z</dc:date>
    </item>
  </channel>
</rss>

