<?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: How to import this data in SAS by infile statement in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631793#M20991</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards truncover ;
input @;
if _infile_ in: (" " "'" "INFORMATION" "ENAME") then delete;
else input ENAME : $40. JOB : $40. SAL DEPTNO ;
cards;
INFORMATION ABOUT DEPTNO:10
'
ENAME JOB SAL DEPTNO
MILLER CLERK 2200.00 10
CLARK MANAGER 3350.00 10

'
INFORMATION ABOUT DEPTNO:20
'
ENAME JOB SAL DEPTNO
FORD ANALYST 4650.00 20
SCOTT ANALYST 4400.00 20

INFORMATION ABOUT DEPTNO:30
'
ENAME JOB SAL DEPTNO
JAMES CLERK 1587.50 30
BLAKE MANAGER 3962.50 30
;
proc print;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 13 Mar 2020 07:11:41 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-03-13T07:11:41Z</dc:date>
    <item>
      <title>How to import this data in SAS by infile statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631781#M20988</link>
      <description>&lt;P&gt;&lt;FONT&gt;HI,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;How do I import this .txt into SAS with no titles using infile statement?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;i.e I don't want ' &lt;FONT&gt;INFORMATION ABOUT DEPTNO:10&lt;/FONT&gt;' &amp;amp; '&lt;FONT&gt;ENAME JOB SAL DEPTNO&lt;/FONT&gt;' into SAS dataset (i need only the observations)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Thanxs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;INFORMATION ABOUT DEPTNO:10&lt;BR /&gt;'&lt;BR /&gt;ENAME JOB SAL DEPTNO&lt;BR /&gt;MILLER CLERK 2200.00 10&lt;BR /&gt;CLARK MANAGER 3350.00 10&lt;BR /&gt;&lt;BR /&gt;'&lt;BR /&gt;INFORMATION ABOUT DEPTNO:20&lt;BR /&gt;'&lt;BR /&gt;ENAME JOB SAL DEPTNO&lt;BR /&gt;FORD ANALYST 4650.00 20&lt;BR /&gt;SCOTT ANALYST 4400.00 20&lt;BR /&gt;&lt;BR /&gt;INFORMATION ABOUT DEPTNO:30&lt;BR /&gt;'&lt;BR /&gt;ENAME JOB SAL DEPTNO&lt;BR /&gt;JAMES CLERK 1587.50 30&lt;BR /&gt;BLAKE MANAGER 3962.50 30&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 04:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631781#M20988</guid>
      <dc:creator>swatiN</dc:creator>
      <dc:date>2020-03-13T04:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to import this data in SAS by infile statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631782#M20989</link>
      <description>&lt;P&gt;Here's some examples on how to do that&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a002001051.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a002001051.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 04:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631782#M20989</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-13T04:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import this data in SAS by infile statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631786#M20990</link>
      <description>&lt;P&gt;If the link&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;shared doesn't provide you enough guidance then please post an exact sample of your source data as a .txt attachment - or at least post it into a text window using the {i} icon here. Reason: Ensure that we get the exact layout without the forum pages altering anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also ensure that the sample data covers all possible cases. I.e. Is it possible that a source string for ENAME is made-up of more than one word like A. MILLER or MAC MILLER&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 05:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631786#M20990</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-03-13T05:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import this data in SAS by infile statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631793#M20991</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards truncover ;
input @;
if _infile_ in: (" " "'" "INFORMATION" "ENAME") then delete;
else input ENAME : $40. JOB : $40. SAL DEPTNO ;
cards;
INFORMATION ABOUT DEPTNO:10
'
ENAME JOB SAL DEPTNO
MILLER CLERK 2200.00 10
CLARK MANAGER 3350.00 10

'
INFORMATION ABOUT DEPTNO:20
'
ENAME JOB SAL DEPTNO
FORD ANALYST 4650.00 20
SCOTT ANALYST 4400.00 20

INFORMATION ABOUT DEPTNO:30
'
ENAME JOB SAL DEPTNO
JAMES CLERK 1587.50 30
BLAKE MANAGER 3962.50 30
;
proc print;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Mar 2020 07:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/631793#M20991</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-03-13T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to import this data in SAS by infile statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/632074#M21034</link>
      <description>&lt;P&gt;Thank you so much for this info.&lt;/P&gt;&lt;P&gt;I really appreciate it.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 21:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-import-this-data-in-SAS-by-infile-statement/m-p/632074#M21034</guid>
      <dc:creator>swatiN</dc:creator>
      <dc:date>2020-03-13T21:03:02Z</dc:date>
    </item>
  </channel>
</rss>

