<?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 format table confusion in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/format-table-confusion/m-p/217271#M53465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following format table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start label fmtname type &lt;/P&gt;&lt;P&gt;dev_cumul1 1.43167 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul2 0.9861 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul3 0.98054 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul4 0.99966 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul5 1.0261 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul6 1.03256 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul7 1.00784 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul8 1.00418 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul9 1.01717 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul10 1.02158 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul11 1.01234 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul12 1.01011 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul13 0.98893 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul14 0.96408 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul15 0.97264 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul16 0.96371 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul17 0.97068 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul18 0.983 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul19 1.00195 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul20 1.00208 devfactors I &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was testing whether I could read in the values from this table and I included one value not listed in the 'start' column of the format table (dev_cumul100). However, the dataset test1 reads in a value for this? The output is given below the code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test; &lt;BR /&gt;input flag1 $14.;&lt;BR /&gt;datalines;&lt;BR /&gt;dev_cumul1&lt;BR /&gt;dev_cumul4&lt;BR /&gt;dev_cumul8&lt;BR /&gt;dev_cumul16&lt;BR /&gt;dev_cumul100&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data test1;&lt;BR /&gt;set test;&lt;BR /&gt;dev_factor = input(flag1,devfactors.);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag1 dev_factor&lt;/P&gt;&lt;P&gt;dev_cumul1 1.431666437&lt;/P&gt;&lt;P&gt;dev_cumul4 0.99965594&lt;/P&gt;&lt;P&gt;dev_cumul8 1.004175057&lt;/P&gt;&lt;P&gt;dev_cumul16 0.96371087&lt;/P&gt;&lt;P&gt;dev_cumul100 1.02158079&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have thought the value for dev_cumul100 would be . since it's not on the format table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 15:14:37 GMT</pubDate>
    <dc:creator>brophymj</dc:creator>
    <dc:date>2015-08-05T15:14:37Z</dc:date>
    <item>
      <title>format table confusion</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/format-table-confusion/m-p/217271#M53465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following format table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start label fmtname type &lt;/P&gt;&lt;P&gt;dev_cumul1 1.43167 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul2 0.9861 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul3 0.98054 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul4 0.99966 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul5 1.0261 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul6 1.03256 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul7 1.00784 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul8 1.00418 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul9 1.01717 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul10 1.02158 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul11 1.01234 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul12 1.01011 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul13 0.98893 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul14 0.96408 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul15 0.97264 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul16 0.96371 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul17 0.97068 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul18 0.983 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul19 1.00195 devfactors I &lt;/P&gt;&lt;P&gt;dev_cumul20 1.00208 devfactors I &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was testing whether I could read in the values from this table and I included one value not listed in the 'start' column of the format table (dev_cumul100). However, the dataset test1 reads in a value for this? The output is given below the code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test; &lt;BR /&gt;input flag1 $14.;&lt;BR /&gt;datalines;&lt;BR /&gt;dev_cumul1&lt;BR /&gt;dev_cumul4&lt;BR /&gt;dev_cumul8&lt;BR /&gt;dev_cumul16&lt;BR /&gt;dev_cumul100&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data test1;&lt;BR /&gt;set test;&lt;BR /&gt;dev_factor = input(flag1,devfactors.);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag1 dev_factor&lt;/P&gt;&lt;P&gt;dev_cumul1 1.431666437&lt;/P&gt;&lt;P&gt;dev_cumul4 0.99965594&lt;/P&gt;&lt;P&gt;dev_cumul8 1.004175057&lt;/P&gt;&lt;P&gt;dev_cumul16 0.96371087&lt;/P&gt;&lt;P&gt;dev_cumul100 1.02158079&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have thought the value for dev_cumul100 would be . since it's not on the format table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 15:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/format-table-confusion/m-p/217271#M53465</guid>
      <dc:creator>brophymj</dc:creator>
      <dc:date>2015-08-05T15:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: format table confusion</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/format-table-confusion/m-p/217272#M53466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is the default W(idth) of the user defined informat.&amp;nbsp; Notice that the value for dev_cuml100 is the same as dev_cuml10.&amp;nbsp; Add w value to devfactors that is ge to the length of longest flag1, 11 I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 15:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/format-table-confusion/m-p/217272#M53466</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-08-05T15:47:06Z</dc:date>
    </item>
  </channel>
</rss>

