<?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: HOW CAN I GET F_NAME M_NAME AND L_NAME ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624273#M183883</link>
    <description>&lt;P&gt;Quick fix&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want(drop=name);
   set have;
   f_name = scan(name, 1);
   m_name = scan(name, 2);
   if countw(name) = 2 then do;
      call missing(m_name);
      l_name = scan(name, 2);
   end;
   else l_name = scan(name, 3);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Feb 2020 18:21:25 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2020-02-12T18:21:25Z</dc:date>
    <item>
      <title>HOW CAN I GET F_NAME M_NAME AND L_NAME ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624262#M183876</link>
      <description>&lt;P&gt;DATA HAVE;&lt;/P&gt;&lt;P&gt;INPUT NAME$30.;&lt;/P&gt;&lt;P&gt;CARDS;&lt;/P&gt;&lt;P&gt;SAI KIRAN PATEL&lt;/P&gt;&lt;P&gt;UMA&amp;nbsp;&lt;/P&gt;&lt;P&gt;RAVI KIRAN&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I WANT DATA LIKE THIS WITHOUT USING ARRAYS&lt;/P&gt;&lt;P&gt;F-NAME&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;M-NAME&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; L-NAME&lt;/P&gt;&lt;P&gt;SAI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KIRAN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PATEL&lt;/P&gt;&lt;P&gt;UMA&lt;/P&gt;&lt;P&gt;RAVI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KIRAN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CAN I GET CODE PLEASE?&amp;nbsp; THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 18:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624262#M183876</guid>
      <dc:creator>Saikiran_Mamidi</dc:creator>
      <dc:date>2020-02-12T18:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I GET F_NAME M_NAME AND L_NAME ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624263#M183877</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want(drop=name);
   set have;
   f_name = scan(name, 1);
   m_name = scan(name, 2);
   l_name = scan(name, 3);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Feb 2020 17:53:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624263#M183877</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-02-12T17:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I GET F_NAME M_NAME AND L_NAME ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624266#M183879</link>
      <description>&lt;P&gt;EDITED DATA ABOVE PLEASE CHECK AGAIN?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 18:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624266#M183879</guid>
      <dc:creator>Saikiran_Mamidi</dc:creator>
      <dc:date>2020-02-12T18:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I GET F_NAME M_NAME AND L_NAME ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624273#M183883</link>
      <description>&lt;P&gt;Quick fix&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want(drop=name);
   set have;
   f_name = scan(name, 1);
   m_name = scan(name, 2);
   if countw(name) = 2 then do;
      call missing(m_name);
      l_name = scan(name, 2);
   end;
   else l_name = scan(name, 3);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Feb 2020 18:21:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-CAN-I-GET-F-NAME-M-NAME-AND-L-NAME/m-p/624273#M183883</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-02-12T18:21:25Z</dc:date>
    </item>
  </channel>
</rss>

