<?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 ERROR: The informat YYMMDDN8 was not found or could not be loaded. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461467#M117406</link>
    <description>&lt;P&gt;Dear Mentors,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a piece of code vis shell script through putty which uses the below line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INPUT(PUT(DATEPART(A1.Date), YYMMDD8.), YYMMDDN8.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I am getting error as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The informat YYMMDDN was not found or could not be loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when i ran the same code in SAS Studio, it runs smoothly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2018 04:24:49 GMT</pubDate>
    <dc:creator>samgautam007</dc:creator>
    <dc:date>2018-05-11T04:24:49Z</dc:date>
    <item>
      <title>ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461467#M117406</link>
      <description>&lt;P&gt;Dear Mentors,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a piece of code vis shell script through putty which uses the below line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INPUT(PUT(DATEPART(A1.Date), YYMMDD8.), YYMMDDN8.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I am getting error as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The informat YYMMDDN was not found or could not be loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when i ran the same code in SAS Studio, it runs smoothly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 04:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461467#M117406</guid>
      <dc:creator>samgautam007</dc:creator>
      <dc:date>2018-05-11T04:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461469#M117408</link>
      <description>&lt;P&gt;There is not &lt;SPAN&gt;YYMMDDN&lt;/SPAN&gt; informat supplied by SAS.&lt;/P&gt;
&lt;P&gt;Maybe is it a user-created informat that is available in one environment..&lt;/P&gt;
&lt;P&gt;Either way just remove the n and your code should run fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 04:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461469#M117408</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-05-11T04:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461470#M117409</link>
      <description>&lt;P&gt;The PUT and INPUT functions appear to be redundant as DATEPART creates a SAS data to start with. Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATEPART(A1.Date) format = YYMMDD8.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 May 2018 04:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461470#M117409</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-05-11T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461471#M117410</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;lol you are right. Time to go home!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 04:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461471#M117410</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-05-11T04:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461473#M117411</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;- too right. I'm out the door too!&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 04:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461473#M117411</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-05-11T04:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461485#M117416</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;for your inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have executed below command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;z=input(put(today(),yymmddn8.),yymmddn8.);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data b;&lt;BR /&gt;z=input(put(today(),yymmddn8.),yymmdd8.);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table c as&lt;BR /&gt;select *,input(put(today(),yymmddn8.),yymmddn8.) as v from a&lt;BR /&gt;;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I am surprised why Proc sql is not throwing error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 06:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461485#M117416</guid>
      <dc:creator>samgautam007</dc:creator>
      <dc:date>2018-05-11T06:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat YYMMDDN8 was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461488#M117418</link>
      <description>&lt;UL&gt;
&lt;LI&gt;there is no informat yymmddn8. in default SAS, period.&lt;/LI&gt;
&lt;LI&gt;your code is equivalent to&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
z=today();
run;

data b;
z=today();
run;

proc sql;
create table c as
select *, today() as v from a
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The whole put/input thing makes no sense, as it does not change values in any way.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 06:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-YYMMDDN8-was-not-found-or-could-not-be-loaded/m-p/461488#M117418</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-05-11T06:44:34Z</dc:date>
    </item>
  </channel>
</rss>

