<?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: Extract data from ASC file in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862233#M42464</link>
    <description>The file is Hcup dataset the name of the file is NIS_2017_Core.ASC and located at my desktop C:\Users\benkhaal\Desktop&lt;BR /&gt;And there are other two files one calle NIS_2017_Sensitivity.ASC and the other one call NIS_2017_hospital.ASC. I need to extract lyme disease data such as diagnosis, treatment, cost of staying. For each state</description>
    <pubDate>Fri, 03 Mar 2023 22:20:07 GMT</pubDate>
    <dc:creator>benkhalil_1976</dc:creator>
    <dc:date>2023-03-03T22:20:07Z</dc:date>
    <item>
      <title>Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862211#M42458</link>
      <description>I have I have been two weeks attempting to extract Lyme disease data from a ASC file but every time I receive error message any help please</description>
      <pubDate>Fri, 03 Mar 2023 20:52:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862211#M42458</guid>
      <dc:creator>benkhalil_1976</dc:creator>
      <dc:date>2023-03-03T20:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862213#M42459</link>
      <description>Do you have the SAS program to read the file from the provider? Is it a public file?&lt;BR /&gt;If so, please share the link.</description>
      <pubDate>Fri, 03 Mar 2023 21:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862213#M42459</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-03T21:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862214#M42460</link>
      <description>&lt;P&gt;You need to provide a few details. What does your file look like? When you say ASC, do you mean an ascii text file? Can you include a couple of lines of the file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 21:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862214#M42460</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2023-03-03T21:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862215#M42461</link>
      <description>&lt;P&gt;Provide an example of the file. &lt;BR /&gt;Open the file with a text editor, Copy a few lines and then paste them into a text box opened on the forum with the &amp;lt;/&amp;gt; icon above the message window.&lt;/P&gt;
&lt;P&gt;If you have any documentation about the data file then provide that information or a link to the description.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you trying to "extract data"? Use one of the tools to import the data? The tools generally are for simple well structured files. If you have a complex or non-standard file then those tools are likely going to have a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And 'receive error message' with no details of what specific task or the actual message is not very helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 21:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862215#M42461</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-03-03T21:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862233#M42464</link>
      <description>The file is Hcup dataset the name of the file is NIS_2017_Core.ASC and located at my desktop C:\Users\benkhaal\Desktop&lt;BR /&gt;And there are other two files one calle NIS_2017_Sensitivity.ASC and the other one call NIS_2017_hospital.ASC. I need to extract lyme disease data such as diagnosis, treatment, cost of staying. For each state</description>
      <pubDate>Fri, 03 Mar 2023 22:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862233#M42464</guid>
      <dc:creator>benkhalil_1976</dc:creator>
      <dc:date>2023-03-03T22:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862235#M42465</link>
      <description>The file is Hcup dataset the name of the file is NIS_2017_Core.ASC and located at my desktop C:\Users\benkhaal\Desktop&lt;BR /&gt;And there are other two files one calle NIS_2017_Sensitivity.ASC and the other one call NIS_2017_hospital.ASC. I need to extract lyme disease data such as diagnosis, treatment, cost of staying. For each state</description>
      <pubDate>Fri, 03 Mar 2023 22:21:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862235#M42465</guid>
      <dc:creator>benkhalil_1976</dc:creator>
      <dc:date>2023-03-03T22:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862236#M42466</link>
      <description>There should be a .sas file that comes with the ASC files that allows you to read those files into SAS. &lt;BR /&gt;&lt;BR /&gt;We can't see your computer, your monitor, your code, only what you post. You will need to provide more detailed specific information for help.&lt;BR /&gt;&lt;BR /&gt;The NIS data typically comes with user documentation that should have some basic instructions on how to load the data. Have you read and followed those instructions? Is something in them not working?</description>
      <pubDate>Fri, 03 Mar 2023 22:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862236#M42466</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-03T22:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862247#M42469</link>
      <description>Yes Reeza there are two files one ASC and the another is Excel</description>
      <pubDate>Sat, 04 Mar 2023 00:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862247#M42469</guid>
      <dc:creator>benkhalil_1976</dc:creator>
      <dc:date>2023-03-04T00:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862253#M42470</link>
      <description>&lt;P&gt;There should also be a .sas program file for each .ASC text file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will probably need to made a small edit to the program file before running it to make sure that the program has the name of where you stored the ASC file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just open the program file in your SAS editor and look for the INFILE statement.&amp;nbsp; In the programs I got they started with a PROC FORMAT step to define some format first so the DATA step that actual reads the file starts later in the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unless they have made changes since I last loaded HCUP_NIS data files.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 03:52:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862253#M42470</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-03-04T03:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862275#M42472</link>
      <description>Thank you Tom for answering. Yes I down loaded the data in the SAS file and it is ready for analysis, my question is it hudge data and I need to extract only the Lyme disease data in sime specific states</description>
      <pubDate>Sat, 04 Mar 2023 12:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862275#M42472</guid>
      <dc:creator>benkhalil_1976</dc:creator>
      <dc:date>2023-03-04T12:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862292#M42473</link>
      <description>&lt;P&gt;For that you need to understand what variables you have and what they mean.&lt;/P&gt;
&lt;P&gt;For example is there a variable that indicates a state? How is it coded?&lt;/P&gt;
&lt;P&gt;Is there a variable that indicates disease? How is it coded? Is Lyme Disease actually one of the diseases in the database?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 15:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862292#M42473</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-03-04T15:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862720#M42478</link>
      <description>The dataset is huge and it works with some abbreviations for example DX for diagnosis a n.v d there are DX1, DX2... DX40, and some codes like ICD-10 code for example Lyme disease has code A69.20..so it is sample as the normal variables</description>
      <pubDate>Tue, 07 Mar 2023 16:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862720#M42478</guid>
      <dc:creator>benkhalil_1976</dc:creator>
      <dc:date>2023-03-07T16:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from ASC file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862735#M42479</link>
      <description>Can you make some fake data that shows how your data is structured with the same variable names, You only need 5 or so diagnosis and show your expected output based on the input. And then we can help you write the code needed.</description>
      <pubDate>Tue, 07 Mar 2023 17:41:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Extract-data-from-ASC-file/m-p/862735#M42479</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-07T17:41:30Z</dc:date>
    </item>
  </channel>
</rss>

