<?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 Specifying Informat on INPUT statement rather than INFORMAT statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Specifying-Informat-on-INPUT-statement-rather-than-INFORMAT/m-p/525124#M142872</link>
    <description>&lt;P&gt;I'm having issues with stating my informat on the input statment. If I just use an INFORMAT statement, it works and I get no errors/warnings. Does anybody know what the difference is in the following two statements?\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		DATA work.DATA1;
		INFILE "&amp;amp;Lnx_File"
			DELIMITER=','
			MISSOVER
			FIRSTOBS=2
			DSD
			LRECL=32767;

		INPUT
			Policy_Number	$
			Incurred_Date	
			Paid_Date	
			Amount_Paid_per_Claim
		;

		INFORMAT
			Incurred_Date	YYMMDD8.
			Paid_Date	YYMMDD8.
		;

		FORMAT
			Policy_Number	$9.
			Incurred_Date	MMDDYY10.
			Paid_Date	MMDDYY10.
			Amount_Paid_per_Claim	10.2
		;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The below code seems to be not reading in the data correctly and I get a ton of warnings and notes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		DATA work.DATA1;
		INFILE "&amp;amp;Lnx_File"
			DELIMITER=','
			MISSOVER
			FIRSTOBS=2
			DSD
			LRECL=32767;

		INPUT
			Policy_Number	$
			Incurred_Date	YYMMDD8.
			Paid_Date	YYMMDD8.
			Amount_Paid_per_Claim
		;

		FORMAT
			Policy_Number	$9.
			Incurred_Date	MMDDYY10.
			Paid_Date	MMDDYY10.
			Amount_Paid_per_Claim	10.2
		;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 07 Jan 2019 17:40:44 GMT</pubDate>
    <dc:creator>pchappus</dc:creator>
    <dc:date>2019-01-07T17:40:44Z</dc:date>
    <item>
      <title>Specifying Informat on INPUT statement rather than INFORMAT statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specifying-Informat-on-INPUT-statement-rather-than-INFORMAT/m-p/525124#M142872</link>
      <description>&lt;P&gt;I'm having issues with stating my informat on the input statment. If I just use an INFORMAT statement, it works and I get no errors/warnings. Does anybody know what the difference is in the following two statements?\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		DATA work.DATA1;
		INFILE "&amp;amp;Lnx_File"
			DELIMITER=','
			MISSOVER
			FIRSTOBS=2
			DSD
			LRECL=32767;

		INPUT
			Policy_Number	$
			Incurred_Date	
			Paid_Date	
			Amount_Paid_per_Claim
		;

		INFORMAT
			Incurred_Date	YYMMDD8.
			Paid_Date	YYMMDD8.
		;

		FORMAT
			Policy_Number	$9.
			Incurred_Date	MMDDYY10.
			Paid_Date	MMDDYY10.
			Amount_Paid_per_Claim	10.2
		;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The below code seems to be not reading in the data correctly and I get a ton of warnings and notes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		DATA work.DATA1;
		INFILE "&amp;amp;Lnx_File"
			DELIMITER=','
			MISSOVER
			FIRSTOBS=2
			DSD
			LRECL=32767;

		INPUT
			Policy_Number	$
			Incurred_Date	YYMMDD8.
			Paid_Date	YYMMDD8.
			Amount_Paid_per_Claim
		;

		FORMAT
			Policy_Number	$9.
			Incurred_Date	MMDDYY10.
			Paid_Date	MMDDYY10.
			Amount_Paid_per_Claim	10.2
		;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specifying-Informat-on-INPUT-statement-rather-than-INFORMAT/m-p/525124#M142872</guid>
      <dc:creator>pchappus</dc:creator>
      <dc:date>2019-01-07T17:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying Informat on INPUT statement rather than INFORMAT statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specifying-Informat-on-INPUT-statement-rather-than-INFORMAT/m-p/525128#M142875</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; Read about the colon format modifer for the INPUT statement. If you are going to specify an INFORMAT on your INPUT statement, you need the colon format modifier, such as:&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;input ID $ &lt;FONT color="#FF00FF"&gt;Date : mmddyy.&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specifying-Informat-on-INPUT-statement-rather-than-INFORMAT/m-p/525128#M142875</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-01-07T17:48:40Z</dc:date>
    </item>
  </channel>
</rss>

