<?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: Internationell formatvariant av YYQ in SAS Community Nordic</title>
    <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409749#M113</link>
    <description>det skal være DATETYPE= ikke datatype= &lt;BR /&gt;&lt;BR /&gt;Undskyld&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Nov 2017 09:52:31 GMT</pubDate>
    <dc:creator>jmic_nyk</dc:creator>
    <dc:date>2017-11-02T09:52:31Z</dc:date>
    <item>
      <title>Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409741#M111</link>
      <description>&lt;P&gt;YYQ ger ett kvartal i formatet 2017Q3. I Sverige tenderar vi skriva 2017K3 istället.&lt;/P&gt;
&lt;P&gt;Finns det ett format för det i SAS?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 09:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409741#M111</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2017-11-02T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409748#M112</link>
      <description>&lt;P&gt;Det findes ikke i SAS så vidt jeg ved&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Men du kan lave dit eget PICTURE format i Proc Format&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;jeg vil tro at dette virker&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc format;&lt;/P&gt;
&lt;P&gt;Picture YYK low-high = '%YK%q' datatype=DATE;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p0n990vq8gxca6n1vnsracr6jp2c.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=da#p0n1r81ipjuupin12z0o1z8rmhco" target="_blank"&gt;http://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p0n990vq8gxca6n1vnsracr6jp2c.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=da#p0n1r81ipjuupin12z0o1z8rmhco&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 09:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409748#M112</guid>
      <dc:creator>jmic_nyk</dc:creator>
      <dc:date>2017-11-02T09:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409749#M113</link>
      <description>det skal være DATETYPE= ikke datatype= &lt;BR /&gt;&lt;BR /&gt;Undskyld&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Nov 2017 09:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409749#M113</guid>
      <dc:creator>jmic_nyk</dc:creator>
      <dc:date>2017-11-02T09:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409751#M114</link>
      <description>&lt;P&gt;Rätt kod skall vara,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;library&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; YYK (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;default&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;) low-high = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'%YK%q'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datatype&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=DATE);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;utan default=6 blir resultatet 2017K.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Det skall vara datatype= som du skrev först.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:05:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409751#M114</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2017-11-02T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409752#M115</link>
      <description>&lt;P&gt;Tack för hjälpen.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409752#M115</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2017-11-02T10:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409755#M116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Super god question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another solution is to use the NLDATEYQ8. format. It gives you almost what you want.&lt;/P&gt;
&lt;P&gt;This code will give you K4 2017.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; test; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;dag = today();&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; dag &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;nldateyq8.&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:33:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409755#M116</guid>
      <dc:creator>GeorgMorsing</dc:creator>
      <dc:date>2017-11-02T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409756#M117</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;it give 2017 K3 with a space between&amp;nbsp;7 och K. An interesting alternative.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409756#M117</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2017-11-02T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409781#M119</link>
      <description>&lt;P&gt;Du har sikkert hvad du skal bruge nu - hos mig har jeg dog ikke problemer med mellemrum mellem 7 og K&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; yyk low - high =&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'%YK%q'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;datatype&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=DATE) ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; a;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dag=today();&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; dag &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;yyk6.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; dag &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;yyk5.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; dag &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;yyk6.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt; dag &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;yyk7.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOG:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;106 proc format;&lt;/P&gt;
&lt;P&gt;107 picture yyk low - high ='%YK%q' (datatype=DATE) ;&lt;/P&gt;
&lt;P&gt;NOTE: Format YYK is already on the library WORK.FORMATS.&lt;/P&gt;
&lt;P&gt;NOTE: Format YYK has been output.&lt;/P&gt;
&lt;P&gt;108 run;&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE FORMAT used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 0.00 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;109&lt;/P&gt;
&lt;P&gt;110 data a;&lt;/P&gt;
&lt;P&gt;111 dag=today();&lt;/P&gt;
&lt;P&gt;112 format dag yyk6.;&lt;/P&gt;
&lt;P&gt;113 put dag yyk5./&lt;/P&gt;
&lt;P&gt;114 dag yyk6./&lt;/P&gt;
&lt;P&gt;115 dag yyk7.;&lt;/P&gt;
&lt;P&gt;116 run;&lt;/P&gt;
&lt;P&gt;NOTE: Compression was disabled for data set WORK.A because compression overhead&lt;/P&gt;
&lt;P&gt;would increase the size of the data set.&lt;/P&gt;
&lt;P&gt;2017K&lt;/P&gt;
&lt;P&gt;2017K4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;2017K4&lt;/P&gt;
&lt;P&gt;NOTE: The data set WORK.A has 1 observations and 1 variables.&lt;/P&gt;
&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 0.03 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.03 seconds&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:22:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409781#M119</guid>
      <dc:creator>jmic_nyk</dc:creator>
      <dc:date>2017-11-02T11:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internationell formatvariant av YYQ</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409792#M120</link>
      <description>Båda formaten är användbara. Fast vid olika tillfällen.</description>
      <pubDate>Thu, 02 Nov 2017 12:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Internationell-formatvariant-av-YYQ/m-p/409792#M120</guid>
      <dc:creator>AndersBergquist</dc:creator>
      <dc:date>2017-11-02T12:05:23Z</dc:date>
    </item>
  </channel>
</rss>

