<?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 keep 1 record from multiple of pdbs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389602#M93416</link>
    <description>&lt;P&gt;What i want to do is get a value from a variable in multiple pdb's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;libname in0 '/aaa/bbb/ccc' ;&lt;/P&gt;&lt;P&gt;data temp0;&lt;BR /&gt;set&lt;BR /&gt;in0.z&lt;BR /&gt;in0.y&lt;BR /&gt;in0.x&lt;BR /&gt;in0.w&lt;BR /&gt;in0.v;&lt;BR /&gt;keep mmm;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=temp0 (obs=5);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i want to see the value of mmm from z,y,x,w,v. &amp;nbsp;Im trying to do this as efficently as possible. &amp;nbsp;Any pointers on how to do with without multiple libname statements? &amp;nbsp;thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Aug 2017 18:16:53 GMT</pubDate>
    <dc:creator>prolifious</dc:creator>
    <dc:date>2017-08-21T18:16:53Z</dc:date>
    <item>
      <title>keep 1 record from multiple of pdbs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389602#M93416</link>
      <description>&lt;P&gt;What i want to do is get a value from a variable in multiple pdb's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;libname in0 '/aaa/bbb/ccc' ;&lt;/P&gt;&lt;P&gt;data temp0;&lt;BR /&gt;set&lt;BR /&gt;in0.z&lt;BR /&gt;in0.y&lt;BR /&gt;in0.x&lt;BR /&gt;in0.w&lt;BR /&gt;in0.v;&lt;BR /&gt;keep mmm;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=temp0 (obs=5);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i want to see the value of mmm from z,y,x,w,v. &amp;nbsp;Im trying to do this as efficently as possible. &amp;nbsp;Any pointers on how to do with without multiple libname statements? &amp;nbsp;thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389602#M93416</guid>
      <dc:creator>prolifious</dc:creator>
      <dc:date>2017-08-21T18:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: keep 1 record from multiple of pdbs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389603#M93417</link>
      <description>&lt;P&gt;Do you mean:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname in0 '/aaa/bbb/ccc' ;
data temp0;
set
in0.z(obs=1)
in0.y(obs=1)
in0.x(obs=1)
in0.w(obs=1)
in0.v(obs=1)
;
keep mmm;
run;
proc print data=temp0 (obs=5);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389603#M93417</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-21T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: keep 1 record from multiple of pdbs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389604#M93418</link>
      <description>&lt;P&gt;Why yes...yes I do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-1-record-from-multiple-of-pdbs/m-p/389604#M93418</guid>
      <dc:creator>prolifious</dc:creator>
      <dc:date>2017-08-21T18:26:40Z</dc:date>
    </item>
  </channel>
</rss>

