<?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: Trying to transpose  a dataset . in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748144#M234929</link>
    <description>&lt;P&gt;Your output implies that the Procmod value of ER is on a record with Sequence=10. But that is not the case in the data. Linenum is missing for that record. So, how are we supposed to know that Linenum=10 should be used in this case? Or any of the cases where Sequence is actually missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hint: sequence numbers that are not actually numeric can be a bit difficult to work with at times.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2021 14:52:03 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-06-15T14:52:03Z</dc:date>
    <item>
      <title>Trying to transpose  a dataset .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748122#M234919</link>
      <description>&lt;P&gt;I have trying to transform a dataset which is in raw format.&lt;/P&gt;&lt;P&gt;I need the data to be transposed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sequence and linenum in both the datasets is same.&lt;/P&gt;&lt;P&gt;Attaching the screenshots of the raw and requires transposed dataset.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raw_procmod.PNG" style="width: 323px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60407i989E000EAAB9A0FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="raw_procmod.PNG" alt="raw_procmod.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="transformed_procmod.PNG" style="width: 614px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60408iC860F0F5DA433EA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="transformed_procmod.PNG" alt="transformed_procmod.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:55:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748122#M234919</guid>
      <dc:creator>khandelwalanmol</dc:creator>
      <dc:date>2021-06-15T13:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to transpose  a dataset .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748141#M234926</link>
      <description>&lt;P&gt;Can you please post your data as datelines and post your code that you tried?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748141#M234926</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-06-15T14:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to transpose  a dataset .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748143#M234928</link>
      <description>It looks like you're using EG. Have you tried the Transpose GUI task or are you looking for code? &lt;BR /&gt;&lt;BR /&gt;proc transpose data=have out=want prefix = _procmod;&lt;BR /&gt;by eobkey;&lt;BR /&gt;id sequence;&lt;BR /&gt;var procmod;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;If this doesn't work for some reason, please explain how and provide details.</description>
      <pubDate>Tue, 15 Jun 2021 14:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748143#M234928</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-15T14:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to transpose  a dataset .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748144#M234929</link>
      <description>&lt;P&gt;Your output implies that the Procmod value of ER is on a record with Sequence=10. But that is not the case in the data. Linenum is missing for that record. So, how are we supposed to know that Linenum=10 should be used in this case? Or any of the cases where Sequence is actually missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hint: sequence numbers that are not actually numeric can be a bit difficult to work with at times.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:52:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748144#M234929</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-15T14:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to transpose  a dataset .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748152#M234934</link>
      <description>yes, the procmod belongs to the next sequence number in the sequence row.&lt;BR /&gt;for eg, LT belongs to sequence 6, Sequence 10 has two iterations ER and 25.&lt;BR /&gt;The sequence comes in the next row for every procmod.</description>
      <pubDate>Tue, 15 Jun 2021 15:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-transpose-a-dataset/m-p/748152#M234934</guid>
      <dc:creator>khandelwalanmol</dc:creator>
      <dc:date>2021-06-15T15:11:47Z</dc:date>
    </item>
  </channel>
</rss>

