<?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: ERROR: The informat DATEZ was not found or could not be loaded. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838497#M331521</link>
    <description>&lt;P&gt;No such informat exists in SAS, as you can see at this link. So you can't use it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/allprodslang/syntaxByType-informat.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Alphabetical list of all SAS informats&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please tell us what you are trying to do. What do you want this informat to do? Please give an example.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 19:18:17 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-10-13T19:18:17Z</dc:date>
    <item>
      <title>ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838496#M331520</link>
      <description>&lt;P&gt;Good day Expects.&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;ERROR: The informat DATEZ was not found or could not be loaded.&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 DATEZ was not found or could not be loaded.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;PROC SQL;
	CREATE TABLE INSTA_A AS
		SELECT INPUT(PUT(COMPRESS(INPUT(PUT(ACC_NO,13.),$13.)||PUT(SERIAL_NO,Z3.)),$16.),16.) AS ACCOUNT
			,A_COMM_DT AS COMM_DT
			,A_EXP_DT AS EXP_DT
			,'A' AS INSTRUCTION
		FROM VBM.INST_A
		WHERE INPUT(PUT(A_COMM_DT,Z8.),DATEZ8.) &amp;gt; TODAY() + 365

		;
QUIT;&lt;/CODE&gt;&lt;/PRE&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;</description>
      <pubDate>Thu, 13 Oct 2022 19:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838496#M331520</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2022-10-13T19:16:45Z</dc:date>
    </item>
    <item>
      <title>ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838494#M331525</link>
      <description />
      <pubDate>Thu, 13 Oct 2022 19:14:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838494#M331525</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2022-10-13T19:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838495#M331526</link>
      <description>&lt;P&gt;No such informat exists in SAS, as you can see at this link. So you can't use it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/allprodslang/syntaxByType-informat.htm" target="_self"&gt;Alphabetical list of all SAS informats&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please tell us what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 19:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838495#M331526</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-10-13T19:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838497#M331521</link>
      <description>&lt;P&gt;No such informat exists in SAS, as you can see at this link. So you can't use it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/allprodslang/syntaxByType-informat.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Alphabetical list of all SAS informats&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please tell us what you are trying to do. What do you want this informat to do? Please give an example.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 19:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838497#M331521</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-10-13T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838501#M331524</link>
      <description>i am trying to change the format of the date field from YYMMDD88 to dateZ8</description>
      <pubDate>Thu, 13 Oct 2022 19:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838501#M331524</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2022-10-13T19:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838502#M331527</link>
      <description>&lt;P&gt;But there's no such things as DATEZ8, so I don't know what you mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show us the value in the date field, and show us the desired appearance once you format it.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 19:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838502#M331527</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-10-13T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838503#M331528</link>
      <description>FYI - I merged your posts.</description>
      <pubDate>Thu, 13 Oct 2022 19:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838503#M331528</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-10-13T19:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838509#M331533</link>
      <description>&lt;P&gt;Show a value of 1) what PUT(A_COMM_DT,Z8.) will look like for one or more values&lt;/P&gt;
&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) show what the expected DATE that is generated from that should be in basic words, do not apply "datez." just show us the words like 4 July 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would say that roughly 80% of the cases where I see Input (put(somevariable) , formats) related to created dates, times or datetimes involve someone that does not know just how many SAS date related informats there are and typically are abusing one that they learned without someone explaining there are several dozen informats available. And possibly that a function like MDY might be more appropriate.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 20:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838509#M331533</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-10-13T20:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838550#M331550</link>
      <description>&lt;P&gt;You have another problem here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT INPUT(PUT(COMPRESS(INPUT(PUT(ACC_NO,13.),$13.)||PUT(SERIAL_NO,Z3.)),$16.),16.) AS ACCOUNT&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You are trying to convert a 16 character string into a numeric. SAS can't store 16 digit numbers accurately and there is no need to convert to a number in the first place - leave account as character:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT COMPRESS(PUT(ACC_NO,13.))||PUT(SERIAL_NO,Z3.) AS ACCOUNT&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2022 01:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838550#M331550</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-14T01:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The informat DATEZ was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838563#M331552</link>
      <description>&lt;P&gt;What types of numbers do you have have in the variable&amp;nbsp;A_COMM_DT?&lt;/P&gt;
&lt;P&gt;Are they numbers like 20,221,013&amp;nbsp; ? If so then use the YYMMDD8. informat.&lt;/P&gt;
&lt;P&gt;Or numbers like 13,102,022 ? If so then use the DDMMYY8. informat.&lt;/P&gt;
&lt;P&gt;Or number like 10,132,022 ? Is do the use the MMDDYY8. informat.&lt;/P&gt;
&lt;P&gt;Something else?&amp;nbsp; Then show some of the values and explain what date you think they represent.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 03:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-informat-DATEZ-was-not-found-or-could-not-be-loaded/m-p/838563#M331552</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-10-14T03:12:09Z</dc:date>
    </item>
  </channel>
</rss>

