<?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 New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681145#M24021</link>
    <description>&lt;P&gt;There is no YYMM7. informat. There is a &lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=p13mkc7m059u4kn1knl9nzpliaat.htm&amp;amp;locale=en" target="_self"&gt;YYMMN.&lt;/A&gt; informat that you can use, but you have to remove the letter M from the text string, as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
x='2017M08';
x2=input(compress(x,'M'),yymmn6.);
format x2 yymm7.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 19:45:10 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-09-02T19:45:10Z</dc:date>
    <item>
      <title>input function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681141#M24020</link>
      <description>&lt;P&gt;Здравствуйте, я новый пользователь и хочу, чтобы кто-нибудь помог мне с моей проблемой. Извините, если мой вопрос простой, но я не могу этого понять. У меня есть символьная переменная, которая выглядит так, как показано ниже, я пытаюсь преобразовать, но, к сожалению, у меня отсутствует значение.&lt;/P&gt;&lt;P&gt;data one;&lt;/P&gt;&lt;P&gt;x='2017M08';&lt;/P&gt;&lt;P&gt;x2=input(strip(x),yymm7.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Я пробую несколько других способов, как показано ниже: но все еще отсутствуют значения data one;&lt;/P&gt;&lt;P&gt;x='2017M08';&lt;/P&gt;&lt;P&gt;x2=input(x,anydtdte.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Я пытаюсь найти решение моей проблемы с функцией сжатия, и я конвертировал, но не уверен, что этот метод правильный&lt;/P&gt;&lt;P&gt;data one;&lt;/P&gt;&lt;P&gt;x='2017M08';&lt;/P&gt;&lt;P&gt;x1=compress(x,'M');&lt;/P&gt;&lt;P&gt;x2=input(x1,6.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Может ли кто-нибудь объяснить мне, какую информацию я должен нам использовать для преобразования символьного значения в числовое, если символьное значение представляет собой '2019M09'? Я готовлюсь к экзамену и хочу знать и понимать как можно больше. Спасибо.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 19:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681141#M24020</guid>
      <dc:creator>kate-1mr</dc:creator>
      <dc:date>2020-09-02T19:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: input function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681145#M24021</link>
      <description>&lt;P&gt;There is no YYMM7. informat. There is a &lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=p13mkc7m059u4kn1knl9nzpliaat.htm&amp;amp;locale=en" target="_self"&gt;YYMMN.&lt;/A&gt; informat that you can use, but you have to remove the letter M from the text string, as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
x='2017M08';
x2=input(compress(x,'M'),yymmn6.);
format x2 yymm7.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 19:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681145#M24021</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-02T19:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: input function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681147#M24022</link>
      <description>&lt;P&gt;ok. I understood. Thank you so much:).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 19:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/input-function/m-p/681147#M24022</guid>
      <dc:creator>kate-1mr</dc:creator>
      <dc:date>2020-09-02T19:52:22Z</dc:date>
    </item>
  </channel>
</rss>

