<?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: Input Function in Macros variable conversion from character to numeric for automation prosective in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276312#M2444</link>
    <description>&lt;P&gt;Thank you, &amp;nbsp;I have cleared the issue after referring SAS Community Blog&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2016 16:43:09 GMT</pubDate>
    <dc:creator>RAMESH_KUMAR</dc:creator>
    <dc:date>2016-06-09T16:43:09Z</dc:date>
    <item>
      <title>Input Function in Macros variable conversion from character to numeric for automation prosective</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276302#M2442</link>
      <description>&lt;P&gt;%MACRO util_RESULTS();&lt;/P&gt;&lt;P&gt;%let EDERV= RAND.ABCD&amp;nbsp;&lt;BR /&gt;%let Var=input(ABCD,$20.);&lt;BR /&gt;%let Var2=%SYSFUNC(SCAn(&amp;amp;EDERV.,4,'.|'));&lt;/P&gt;&lt;P&gt;%put &amp;amp;EDERV. &amp;amp;VAR1. &amp;amp;var. &amp;amp;VAR2.;&lt;/P&gt;&lt;P&gt;/*: ABCD is the Numeric variable with character values, EFGCH is character variable with character values, but both of them are populated with Numeric values in backend&lt;BR /&gt;which is not know in front end,Now i want to give the front value or backend value to derive a new variable on condition stated as below;&lt;/P&gt;&lt;P&gt;Log ERROR: The INPUT function referenced in the %SYSFUNC or %QSYSFUNC macro function is not found....?&lt;BR /&gt;how to resolve this issue..! */&lt;BR /&gt;&lt;BR /&gt;data TWO;&lt;BR /&gt;set RAND;&lt;BR /&gt;ATTRIB &amp;amp;ENAME. Label="&amp;amp;label." Length=&amp;amp;length.;&lt;BR /&gt;If &amp;amp; Var. = "ABNORMAL" and &amp;amp;Var2. ne '' then NEW = &amp;amp;Var2.;&lt;BR /&gt;else If &amp;amp; Var. = "ABNORMAL" and &amp;amp;Var2. eq '' then NEW = "ABNORMAL";&lt;BR /&gt;else if &amp;amp; Var. in ('NOT DONE' , 'ND') then &amp;amp;ENAME. ='';&lt;BR /&gt;else NEW = &amp;amp; Var.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;%MEND util_RESULTS;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 16:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276302#M2442</guid>
      <dc:creator>RAMESH_KUMAR</dc:creator>
      <dc:date>2016-06-09T16:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Input Function in Macros variable conversion from character to numeric for automation prosective</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276306#M2443</link>
      <description>&lt;P&gt;The INPUT function is one of a short list of functions that cannot be used with %SYSFUNC.&amp;nbsp; You can use either INPUTN or INPUTC, whichever is appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at what might be appropriate, however, it is possible you don't need a function at all.&amp;nbsp; Could you not use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let var = &amp;amp;var1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not at all clear what you hope to accomplish when processing &amp;amp;VAR1 to get &amp;amp;VAR.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 16:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276306#M2443</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-06-09T16:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Input Function in Macros variable conversion from character to numeric for automation prosective</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276312#M2444</link>
      <description>&lt;P&gt;Thank you, &amp;nbsp;I have cleared the issue after referring SAS Community Blog&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 16:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Input-Function-in-Macros-variable-conversion-from-character-to/m-p/276312#M2444</guid>
      <dc:creator>RAMESH_KUMAR</dc:creator>
      <dc:date>2016-06-09T16:43:09Z</dc:date>
    </item>
  </channel>
</rss>

