<?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 read and create new variable between two specific character variable values in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-read-and-create-new-variable-between-two-specific/m-p/209326#M4848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have txt files, Which has indexes and description, So i want to create index as variable and description as a variable value, i have same indexes on all txt files but different descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is Sample txt file,&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-size: 12pt;"&gt;&lt;STRONG&gt;Profile Information&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is demo line to show the idea of my data&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data,demo demo demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data,demo demo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-size: 12pt;"&gt;&lt;STRONG&gt;Work Information &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data,demo demo demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;how the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;---------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;My Output should be like this&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="font-size: 16px;"&gt;Profile Information&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; Work Information&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Description of profile information)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; | &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.6666669845581px;"&gt;(Description of work information) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 08:26:51 GMT</pubDate>
    <dc:creator>KaushalP</dc:creator>
    <dc:date>2015-08-28T08:26:51Z</dc:date>
    <item>
      <title>How to read and create new variable between two specific character variable values</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-read-and-create-new-variable-between-two-specific/m-p/209326#M4848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have txt files, Which has indexes and description, So i want to create index as variable and description as a variable value, i have same indexes on all txt files but different descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is Sample txt file,&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-size: 12pt;"&gt;&lt;STRONG&gt;Profile Information&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is demo line to show the idea of my data&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data,demo demo demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data,demo demo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-size: 12pt;"&gt;&lt;STRONG&gt;Work Information &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data,demo demo demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;how the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line to show the idea of my data&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is demo line &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;---------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;My Output should be like this&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="font-size: 16px;"&gt;Profile Information&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; Work Information&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Description of profile information)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; | &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.6666669845581px;"&gt;(Description of work information) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 08:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-read-and-create-new-variable-between-two-specific/m-p/209326#M4848</guid>
      <dc:creator>KaushalP</dc:creator>
      <dc:date>2015-08-28T08:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and create new variable between two specific character variable values</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-read-and-create-new-variable-between-two-specific/m-p/209327#M4849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plain text isn't really a SAS killer app, unless you are into text mining.&lt;/P&gt;&lt;P&gt;Your sample data is quite confusing.&lt;/P&gt;&lt;P&gt;And what is your output? A database table or a report?&lt;/P&gt;&lt;P&gt;Do you consider all lines of data as one block of information (variable in SAS), or is each line a separate item.&lt;/P&gt;&lt;P&gt;If the later, you need some measure to match the profile line with its corresponding Work line...or...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-read-and-create-new-variable-between-two-specific/m-p/209327#M4849</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-08-28T15:41:50Z</dc:date>
    </item>
  </channel>
</rss>

