<?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 metadata with variables and then want to append it with my final data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/metadata-with-variables-and-then-want-to-append-it-with-my-final/m-p/778098#M247661</link>
    <description>&lt;P&gt;I have&amp;nbsp;metadata with variables and then want to append it with my final data and only keep variables which are in final data and drop the remaining. when i do proc contents on metadata and transpose then all the variables are becoming numeric and i couldnt merge it with my final data. can you please help on how to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents
	data = sashelp.class
	noprint
	out = tmp (keep = name);
run;

proc transpose data=tmp out=tmp1(drop=_name_);
	id name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Nov 2021 07:57:09 GMT</pubDate>
    <dc:creator>noda6003</dc:creator>
    <dc:date>2021-11-03T07:57:09Z</dc:date>
    <item>
      <title>metadata with variables and then want to append it with my final data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/metadata-with-variables-and-then-want-to-append-it-with-my-final/m-p/778098#M247661</link>
      <description>&lt;P&gt;I have&amp;nbsp;metadata with variables and then want to append it with my final data and only keep variables which are in final data and drop the remaining. when i do proc contents on metadata and transpose then all the variables are becoming numeric and i couldnt merge it with my final data. can you please help on how to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents
	data = sashelp.class
	noprint
	out = tmp (keep = name);
run;

proc transpose data=tmp out=tmp1(drop=_name_);
	id name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Nov 2021 07:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/metadata-with-variables-and-then-want-to-append-it-with-my-final/m-p/778098#M247661</guid>
      <dc:creator>noda6003</dc:creator>
      <dc:date>2021-11-03T07:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: metadata with variables and then want to append it with my final data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/metadata-with-variables-and-then-want-to-append-it-with-my-final/m-p/778224#M247708</link>
      <description>&lt;P&gt;Perhaps you should show use YOUR metadata data set and a small example of your "final data" and then what you expect for a result given those two example sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am afraid that I can't guess what you actually want. Your example doesn't attempt to match or drop anything so it isn't clear what you mean by " keep variables which are in final data and drop the remaining" or why you think transpose is needed/wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240711"&gt;@noda6003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have&amp;nbsp;metadata with variables and then want to append it with my final data and only keep variables which are in final data and drop the remaining. when i do proc contents on metadata and transpose then all the variables are becoming numeric and i couldnt merge it with my final data. can you please help on how to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents
	data = sashelp.class
	noprint
	out = tmp (keep = name);
run;

proc transpose data=tmp out=tmp1(drop=_name_);
	id name;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 14:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/metadata-with-variables-and-then-want-to-append-it-with-my-final/m-p/778224#M247708</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-11-03T14:58:44Z</dc:date>
    </item>
  </channel>
</rss>

