<?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 how to reader header from rawdata in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900481#M355880</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;A1234567BC012,A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;15/FEB/1980,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Y,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Male,Married,3,FT,55000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;3/JUN/1982,&lt;/SPAN&gt;&lt;SPAN class=""&gt;N,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Female,Married,3,UE,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;24/JAN/2005,&lt;/SPAN&gt;&lt;SPAN class=""&gt;N,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Male,Unknown,2,NA,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;D135EG023456789,B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;19/OCT/1950,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Y,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Female,Divorced,0,PT,5000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;X123A567F9,A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;B2345234CC,A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;21/MAY/1975,&lt;/SPAN&gt;&lt;SPAN class=""&gt;N,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Male&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Married,2,FT,30000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;30/JUN/1978,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Y,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Female&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;M&lt;/SPAN&gt;&lt;SPAN class=""&gt;arried&lt;/SPAN&gt;&lt;SPAN class=""&gt;,1,PT,10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I&lt;/SPAN&gt;&lt;SPAN class=""&gt;t&lt;/SPAN&gt; &lt;SPAN class=""&gt;consists of a header record for a household and&lt;/SPAN&gt; &lt;SPAN class=""&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;immediately&lt;/SPAN&gt; &lt;SPAN class=""&gt;followed by one record&lt;/SPAN&gt; &lt;SPAN class=""&gt;(row)&lt;/SPAN&gt; &lt;SPAN class=""&gt;for each household&lt;/SPAN&gt; &lt;SPAN class=""&gt;member&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;if applicable&lt;/SPAN&gt;&lt;SPAN class=""&gt;. For&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;example, a household&lt;/SPAN&gt; &lt;SPAN class=""&gt;of&lt;/SPAN&gt; &lt;SPAN class=""&gt;three&lt;/SPAN&gt; &lt;SPAN class=""&gt;members will have&lt;/SPAN&gt; &lt;SPAN class=""&gt;three&lt;/SPAN&gt; &lt;SPAN class=""&gt;records exactly&lt;/SPAN&gt; &lt;SPAN class=""&gt;after its header&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;record&lt;/SPAN&gt;&lt;SPAN class=""&gt;. How can i read the header only&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2023 11:00:13 GMT</pubDate>
    <dc:creator>ericykc</dc:creator>
    <dc:date>2023-10-29T11:00:13Z</dc:date>
    <item>
      <title>how to reader header from rawdata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900481#M355880</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;A1234567BC012,A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;15/FEB/1980,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Y,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Male,Married,3,FT,55000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;3/JUN/1982,&lt;/SPAN&gt;&lt;SPAN class=""&gt;N,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Female,Married,3,UE,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;24/JAN/2005,&lt;/SPAN&gt;&lt;SPAN class=""&gt;N,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Male,Unknown,2,NA,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;D135EG023456789,B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;19/OCT/1950,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Y,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Female,Divorced,0,PT,5000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;X123A567F9,A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;B2345234CC,A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;21/MAY/1975,&lt;/SPAN&gt;&lt;SPAN class=""&gt;N,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Male&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Married,2,FT,30000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;30/JUN/1978,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Y,&lt;/SPAN&gt;&lt;SPAN class=""&gt;Female&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;M&lt;/SPAN&gt;&lt;SPAN class=""&gt;arried&lt;/SPAN&gt;&lt;SPAN class=""&gt;,1,PT,10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I&lt;/SPAN&gt;&lt;SPAN class=""&gt;t&lt;/SPAN&gt; &lt;SPAN class=""&gt;consists of a header record for a household and&lt;/SPAN&gt; &lt;SPAN class=""&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;immediately&lt;/SPAN&gt; &lt;SPAN class=""&gt;followed by one record&lt;/SPAN&gt; &lt;SPAN class=""&gt;(row)&lt;/SPAN&gt; &lt;SPAN class=""&gt;for each household&lt;/SPAN&gt; &lt;SPAN class=""&gt;member&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;if applicable&lt;/SPAN&gt;&lt;SPAN class=""&gt;. For&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;example, a household&lt;/SPAN&gt; &lt;SPAN class=""&gt;of&lt;/SPAN&gt; &lt;SPAN class=""&gt;three&lt;/SPAN&gt; &lt;SPAN class=""&gt;members will have&lt;/SPAN&gt; &lt;SPAN class=""&gt;three&lt;/SPAN&gt; &lt;SPAN class=""&gt;records exactly&lt;/SPAN&gt; &lt;SPAN class=""&gt;after its header&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;record&lt;/SPAN&gt;&lt;SPAN class=""&gt;. How can i read the header only&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 11:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900481#M355880</guid>
      <dc:creator>ericykc</dc:creator>
      <dc:date>2023-10-29T11:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to reader header from rawdata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900486#M355882</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
infile "path_to_your_file" dsd;
input household :$15. type :$1.;
if "A" le substr(household,1,1) le "Z";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 29 Oct 2023 13:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900486#M355882</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-10-29T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to reader header from rawdata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900490#M355885</link>
      <description>&lt;P&gt;thanks for helping me on pervious question. May I ask that how to let the programme know how many&amp;nbsp;&lt;SPAN&gt;record under the Header? Thank a lot!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 14:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900490#M355885</guid>
      <dc:creator>ericykc</dc:creator>
      <dc:date>2023-10-29T14:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to reader header from rawdata</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900507#M355893</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/459684"&gt;@ericykc&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thanks for helping me on pervious question. May I ask that how to let the programme know how many&amp;nbsp;&lt;SPAN&gt;record under the Header? Thank a lot!&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You should probably start a new thread:&amp;nbsp; "how to read a hierarchical file, with household ID and number of household members".&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 17:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-reader-header-from-rawdata/m-p/900507#M355893</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2023-10-29T17:51:31Z</dc:date>
    </item>
  </channel>
</rss>

