<?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 YEARCUTOFF option setting for SAS Viya 3.5 and older SAS 9.4 releases in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/YEARCUTOFF-option-setting-for-SAS-Viya-3-5-and-older-SAS-9-4/m-p/981430#M30558</link>
    <description>&lt;P&gt;As described in this &lt;A title="KB article about YEARCUTOFF" href="https://service.sas.com/csm/en/the-default-value-for-the-yearcutoff-system-option-has-changed-in-sas-9-4?id=kb_article&amp;amp;sysparm_article=KB0041792" target="_self"&gt;SAS Knowledge Base article&lt;/A&gt;, the default setting for the YEARCUTOFF option in most SAS environments is&amp;nbsp;&lt;STRONG&gt;1940&lt;/STRONG&gt;. (As a reminder, &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n0yt2tjgsd5dpzn16wk1m3thcd3c.htm" target="_self"&gt;the YEARCUTOFF option influences the behavior of how SAS calculates date values&lt;/A&gt; that have only a two-digit year.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SAS Viya 3.5 (and some older SAS 9.4 releases), the YEARCUTOFF default value is still&amp;nbsp;&lt;STRONG&gt;1926&lt;/STRONG&gt;. As we are now in 2026 (happy new year!), this setting can cause issues for SAS programs that access data with date values that rely on two-digit years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can change the value of YEARCUTOFF by adding an option to your SAS config file (affecting all users and programs), or by using an OPTIONS statement in your affected SAS program. SAS recommends setting the value to 1940 (to be consistent with the shipped default value), but you can decide the best value to use for your situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To affect just the current program, add this statement at the beginning of your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;options yearcutoff=1940;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To affect all programs and users in the SAS environment, add this setting to the SAS config file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;-yearcutoff 1940&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To check the&amp;nbsp;&lt;STRONG&gt;current value&lt;/STRONG&gt; of YEARCUTOFF, use this SAS program code:&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;proc options option=yearcutoff; run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In SAS 9.4M7 and later, the YEARCUTOFF option is set to 1940 as a default.&lt;/LI&gt;
&lt;LI&gt;In SAS Viya 4 (any version), the YEARCUTOFF option is set to 1940 as a default.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 05 Jan 2026 14:47:08 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2026-01-05T14:47:08Z</dc:date>
    <item>
      <title>YEARCUTOFF option setting for SAS Viya 3.5 and older SAS 9.4 releases</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/YEARCUTOFF-option-setting-for-SAS-Viya-3-5-and-older-SAS-9-4/m-p/981430#M30558</link>
      <description>&lt;P&gt;As described in this &lt;A title="KB article about YEARCUTOFF" href="https://service.sas.com/csm/en/the-default-value-for-the-yearcutoff-system-option-has-changed-in-sas-9-4?id=kb_article&amp;amp;sysparm_article=KB0041792" target="_self"&gt;SAS Knowledge Base article&lt;/A&gt;, the default setting for the YEARCUTOFF option in most SAS environments is&amp;nbsp;&lt;STRONG&gt;1940&lt;/STRONG&gt;. (As a reminder, &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n0yt2tjgsd5dpzn16wk1m3thcd3c.htm" target="_self"&gt;the YEARCUTOFF option influences the behavior of how SAS calculates date values&lt;/A&gt; that have only a two-digit year.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SAS Viya 3.5 (and some older SAS 9.4 releases), the YEARCUTOFF default value is still&amp;nbsp;&lt;STRONG&gt;1926&lt;/STRONG&gt;. As we are now in 2026 (happy new year!), this setting can cause issues for SAS programs that access data with date values that rely on two-digit years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can change the value of YEARCUTOFF by adding an option to your SAS config file (affecting all users and programs), or by using an OPTIONS statement in your affected SAS program. SAS recommends setting the value to 1940 (to be consistent with the shipped default value), but you can decide the best value to use for your situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To affect just the current program, add this statement at the beginning of your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;options yearcutoff=1940;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To affect all programs and users in the SAS environment, add this setting to the SAS config file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;-yearcutoff 1940&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To check the&amp;nbsp;&lt;STRONG&gt;current value&lt;/STRONG&gt; of YEARCUTOFF, use this SAS program code:&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;proc options option=yearcutoff; run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In SAS 9.4M7 and later, the YEARCUTOFF option is set to 1940 as a default.&lt;/LI&gt;
&lt;LI&gt;In SAS Viya 4 (any version), the YEARCUTOFF option is set to 1940 as a default.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 05 Jan 2026 14:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/YEARCUTOFF-option-setting-for-SAS-Viya-3-5-and-older-SAS-9-4/m-p/981430#M30558</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2026-01-05T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: YEARCUTOFF option setting for SAS Viya 3.5</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/YEARCUTOFF-option-setting-for-SAS-Viya-3-5-and-older-SAS-9-4/m-p/981469#M30562</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;- Thanks for the post Chris! Given we are still running on SAS 9.4M2 I realised this issue also affects us so this is timely indeed. I've implemented the recommended change and it fixes an error in our business-critical processing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 03:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/YEARCUTOFF-option-setting-for-SAS-Viya-3-5-and-older-SAS-9-4/m-p/981469#M30562</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2026-01-05T03:35:15Z</dc:date>
    </item>
  </channel>
</rss>

