<?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: Extracting records with in particular string in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447186#M112275</link>
    <description>&lt;P&gt;Show what you output should look like.&lt;/P&gt;
&lt;P&gt;It really helps to provide an example of actual data in the form of a data step. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 16:28:44 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-03-20T16:28:44Z</dc:date>
    <item>
      <title>Extracting records with in particular string</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447172#M112269</link>
      <description>&lt;P&gt;Could somebody please give me some thoughts what do loop I should code to extract the data between String PROF so basically the output dataset should have records which are between "PROF" string as many time as it appear until it reach End of file..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TESTING DATA WHICH IS NOT VALID&lt;BR /&gt;TESTING DATA WHICH IS NOT VALID&lt;/P&gt;
&lt;P&gt;TESING DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROF&lt;BR /&gt;YES THIS IS A RECORD&lt;BR /&gt;YES THIS IS ANOTHER RECORD&lt;BR /&gt;DXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXX&lt;/P&gt;
&lt;P&gt;TESTING DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROF&lt;BR /&gt;YES THIS IS A RECORD&lt;BR /&gt;YES THIS IS ANOTHER RECORD&lt;BR /&gt;DXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXX&lt;/P&gt;
&lt;P&gt;TESTING DATA WHICH IS NOT VALID&lt;BR /&gt;TESTING DATA WHICH IS NOT VALID&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 15:33:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447172#M112269</guid>
      <dc:creator>rkumar23</dc:creator>
      <dc:date>2018-03-20T15:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting records with in particular string [how to improve your question]</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447181#M112273</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37961"&gt;@rkumar23&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 229px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Tue, 20 Mar 2018 15:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447181#M112273</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2018-03-20T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting records with in particular string</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447186#M112275</link>
      <description>&lt;P&gt;Show what you output should look like.&lt;/P&gt;
&lt;P&gt;It really helps to provide an example of actual data in the form of a data step. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-records-with-in-particular-string/m-p/447186#M112275</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-20T16:28:44Z</dc:date>
    </item>
  </channel>
</rss>

