<?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: select into using sashelp.vcolumn, return a 0 record, why? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116976#M24152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL &lt;A __default_attr="149594" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;, tom, &lt;A __default_attr="468858" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it's a basic idea of negotiations:&lt;/P&gt;&lt;P&gt;"Hey, this is not my Have-To, Someone Else requires/expects this!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for keeping me up.to-date.&lt;/P&gt;&lt;P&gt;Yesterday's tests were run on earlier versions&lt;/P&gt;&lt;P&gt;and those busy beavers at SAS Institute keep on Changing Things!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 18:42:34 GMT</pubDate>
    <dc:creator>Ron_MacroMaven</dc:creator>
    <dc:date>2013-04-23T18:42:34Z</dc:date>
    <item>
      <title>select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116964#M24140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why following macro return 0 records? how do I fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;%macro&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; t (outlib=, dataset=, varname=);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%if&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%INDEX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;(&amp;amp;dataset,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;) eq &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;0&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%then&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; libname = WORK ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; setname = &amp;amp;dataset ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%else&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; libname = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%SUBSTR&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;(&amp;amp;dataset,1,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%INDEX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;(&amp;amp;dataset,.)-1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; setname = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%SUBSTR&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;(&amp;amp;dataset,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%INDEX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;(&amp;amp;dataset,.)+1) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;proc sql noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; select type into :vartype&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; from sashelp.vcolumn&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; where libname = upcase(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;libname"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; and memname = upcase(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;setname"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; and memtype = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;"data"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; and upcase(name) = upcase(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;"&amp;amp;varname"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;%mend&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;%&lt;STRONG&gt;&lt;EM&gt;t&lt;/EM&gt;&lt;/STRONG&gt;(outlib=sashelp, dataset=class, varname=age );&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 00:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116964#M24140</guid>
      <dc:creator>ZRick</dc:creator>
      <dc:date>2013-02-21T00:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116965#M24141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is OUTLIB for in the macro header?&lt;/P&gt;&lt;P&gt;Try calling it like this&lt;/P&gt;&lt;P&gt;%T(dataset=sashelp.class,varname=age);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 00:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116965#M24141</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-21T00:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116966#M24142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without spending anytime really looking at your code, you declare outlib as a named parameter in your macro, but never use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 01:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116966#M24142</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-21T01:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116967#M24143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to this macro:&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;%&lt;STRONG&gt;&lt;EM&gt;t&lt;/EM&gt;&lt;/STRONG&gt;(outlib=work, dataset=sashelp.class, varname=age);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still says:&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; background: white;"&gt;NOTE: No rows were selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 01:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116967#M24143</guid>
      <dc:creator>ZRick</dc:creator>
      <dc:date>2013-02-21T01:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116968#M24144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MEMTYPE will never equal 'data'.&amp;nbsp; It is uppercase.&lt;/P&gt;&lt;P&gt;But why would you care whether MEMTYPE = 'DATA' or 'VIEW'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for efficiency use %upcase("&amp;amp;libname") rather than upcase("&amp;amp;libname")&amp;nbsp; that way the upcase function is called once during macro processing rather than for every row examined from VCOLUMN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%macro t (dataset, varname);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%local libname setname ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%let libname=%upcase(%scan(&amp;amp;dataset,1,.));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%let setname=%upcase(%scan(&amp;amp;dataset,2,.));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%if &amp;amp;setname = %then %do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; %let setname=&amp;amp;libname;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; %let libname = WORK ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc sql noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%let vartype=;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; select type into :vartype&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; from dictionary.columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; where libname = "&amp;amp;libname"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and memname = "&amp;amp;setname"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and upcase(name) = %upcase("&amp;amp;varname")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%put &amp;amp;libname..&amp;amp;setname..&amp;amp;varname = &amp;amp;vartype ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%mend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%t(sashelp.class,age);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 01:43:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116968#M24144</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-21T01:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116969#M24145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;In your SAS Code, if you bother about selecting DATA or VIEW, then take it in a Macro Variable and note that these values are always in upparcase...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;See the modified code as foolow...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;%macro&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; t (dataset=, varname=, type =);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%if&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%INDEX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;(&amp;amp;dataset,&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: teal;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;) eq &lt;/SPAN&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: teal;"&gt;0&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%then&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; libname = WORK ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; setname = &amp;amp;dataset ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%else&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; libname = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%SUBSTR&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;(&amp;amp;dataset,1,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%INDEX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;(&amp;amp;dataset,.)-1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; setname = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%SUBSTR&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;(&amp;amp;dataset,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%INDEX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;(&amp;amp;dataset,.)+1) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;proc sql noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;select type into :vartype&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;from sashelp.vcolumn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;where libname = %upcase(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;libname"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;and memname = %upcase(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;setname"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;and memtype = &lt;STRONG&gt;%upcase(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: purple; background: white; font-family: 'Courier New';"&gt;"&amp;amp;type.")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;and upcase(name) = %upcase(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;varname"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;%mend&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%t(dataset=sashelp.class, varname=age, type =data);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;Urvish&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 07:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116969#M24145</guid>
      <dc:creator>UrvishShah</dc:creator>
      <dc:date>2013-02-21T07:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116970#M24146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;btw:&lt;/P&gt;&lt;P&gt;sashelp views are deprecated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;dictionary.columns&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;dictionary.tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql; describe view sashelp.vcolumn;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; describe view sashelp.vtable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;proc sql;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&amp;nbsp; !&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;describe view sashelp.vcolumn;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;NOTE: SQL view SASHELP.VCOLUMN is defined as:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;select *&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;from DICTIONARY.COLUMNS;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;describe view sashelp.vtable;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;NOTE: SQL view SASHELP.VTABLE is defined as:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;select *&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;from DICTIONARY.TABLES;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;quit;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 12:25:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116970#M24146</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2013-04-23T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116971#M24147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Ronald&amp;nbsp; Fehd wrote:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;btw:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;sashelp views are deprecated:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;Where is that documented?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 12:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116971#M24147</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-04-23T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116972#M24148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"I read it on the internet."&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0812B&amp;amp;L=sas-l&amp;amp;P=R3070" title="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0812B&amp;amp;L=sas-l&amp;amp;P=R3070"&gt;http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0812B&amp;amp;L=sas-l&amp;amp;P=R3070&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the difference in times needed to do the same process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;accessing sashelp views,&lt;/P&gt;&lt;P&gt;since they have to have the sql dictionary tables updated&lt;/P&gt;&lt;P&gt;before they can have something to view,&lt;/P&gt;&lt;P&gt;can take an order of magnitude longer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well, my post was written in 2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v9 has obviously had a great deal of improvement since then&lt;/P&gt;&lt;P&gt;as I see no consistent differences in times in this program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro copy1(data=class);&lt;/P&gt;&lt;P&gt;proc copy in = sashelp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out = work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memtype = data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select &amp;amp;data;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%copy1()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Macro select(data=);&lt;/P&gt;&lt;P&gt;proc sql; select * from &amp;amp;data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%select(data=sashelp.vtable)&lt;/P&gt;&lt;P&gt;%copy1(data=heart)&lt;/P&gt;&lt;P&gt;%select(data=dictionary.tables)&lt;/P&gt;&lt;P&gt;%copy1(data=zipcode)&lt;/P&gt;&lt;P&gt;%select(data=dictionary.tables)&lt;/P&gt;&lt;P&gt;%copy1(data=shoes)&lt;/P&gt;&lt;P&gt;%select(data=sashelp.vtable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for asking for a Reality Check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 17:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116972#M24148</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2013-04-23T17:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116973#M24149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Ron: is that the new definition of a self-fulfilling profecy? I wrote it, then read it, therefore it is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116973#M24149</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-04-23T18:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116974#M24150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://xkcd.com/978/"&gt;http://xkcd.com/978/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116974#M24150</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-04-23T18:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116975#M24151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2431" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: We really ought to go lite on this Ron guy .. after all he IS just a novice!&amp;nbsp; He'll learn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116975#M24151</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-04-23T18:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116976#M24152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL &lt;A __default_attr="149594" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;, tom, &lt;A __default_attr="468858" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it's a basic idea of negotiations:&lt;/P&gt;&lt;P&gt;"Hey, this is not my Have-To, Someone Else requires/expects this!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for keeping me up.to-date.&lt;/P&gt;&lt;P&gt;Yesterday's tests were run on earlier versions&lt;/P&gt;&lt;P&gt;and those busy beavers at SAS Institute keep on Changing Things!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116976#M24152</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2013-04-23T18:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116977#M24153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;sorry, but I think you might be wrong&lt;/P&gt;&lt;P&gt;If instead of using the COPY procedure you use SQL to access SASHELP.V{table} with some where filters, I think you'll change your opinion&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;hope your experience will not vary too much from mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you want to know why, respond with your metrics on SASHELP.V{table} in SQL, and I'll offer some more info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116977#M24153</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-04-23T18:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116978#M24154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would be interested in your research in this area I don't have a good notion of where performance differs with these seemingly similar objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 19:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116978#M24154</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-04-23T19:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116979#M24155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what results you see (you're holding your cards clase to your vest).&amp;nbsp; b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try what you suggest on AIX system using sas 9.2, I see not differences between dictionary and sashelp views.&amp;nbsp; I get the same results with pc-sas -- no measurable difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course this was q quick and dirty test using some code on which I am currently working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the log for everyone to examine and comment on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NOTE: Remote submit to MARYKAY commencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1301 proc sql stimer;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1302&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1303 create table work_peims_list as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1304 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1305 ,nobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1306 ,nvar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1307 from sashelp.vtable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1308 where libname = 'WORK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1309 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1310 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1311 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.WORK_PEIMS_LIST created, with 7 rows and 3 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.02 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.02 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1312 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1313 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1314 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1315&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1316 create table perm_peims_list as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1317 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1318 ,nobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1319 ,nvar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1320 from sashelp.vtable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1321 where libname = 'PERM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1322 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1323 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1324 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.PERM_PEIMS_LIST created, with 7 rows and 3 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.02 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1325&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1326 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1327 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1328 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1329&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1330 create table perm_drop_columns as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1331 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1332 ,name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1333 from sashelp.vcolumn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1334 where libname = 'PERM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1335 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1336 and upcase(name) in ('STUDENTID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1337 ,'SSN_ALTID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1338 ,'LOCALID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1339 ,'FNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1340 ,'MNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1341 ,'LNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1342 ,'GEN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1343 ,'BIRTHDATE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1344 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1345 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1346 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.PERM_DROP_COLUMNS created, with 14 rows and 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1347&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1348 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1349 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1350 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1351&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1352&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1353 create table work_peims_list as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1354 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1355 ,nobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1356 ,nvar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1357 from dictionary.tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1358 where libname = 'WORK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1359 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1360 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1361 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.WORK_PEIMS_LIST created, with 7 rows and 3 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.02 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1362 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1363 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1364 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1365&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1366 create table perm_peims_list as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1367 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1368 ,nobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1369 ,nvar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1370 from dictionary.tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1371 where libname = 'PERM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1372 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1373 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1374 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.PERM_PEIMS_LIST created, with 7 rows and 3 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1375&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1376 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1377 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1378 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1379&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1380 create table perm_drop_columns as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1381 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1382 ,name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1383 from dictionary.columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1384 where libname = 'PERM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1385 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1386 and upcase(name) in ('STUDENTID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1387 ,'SSN_ALTID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1388 ,'LOCALID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1389 ,'FNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1390 ,'MNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1391 ,'LNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1392 ,'GEN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1393 ,'BIRTHDATE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1394 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1395 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1396 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.PERM_DROP_COLUMNS created, with 14 rows and 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.02 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1397 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1398 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1399 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1401&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1402 create table work_peims_list as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1403 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1404 ,nobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1405 ,nvar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1406 from sashelp.vtable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1407 where libname = 'WORK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1408 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1409 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1410 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.WORK_PEIMS_LIST created, with 7 rows and 3 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1411 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1412 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1413 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1414&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1415 create table perm_peims_list as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1416 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1417 ,nobs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1418 ,nvar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1419 from sashelp.vtable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1420 where libname = 'PERM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1421 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1422 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1423 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.PERM_PEIMS_LIST created, with 7 rows and 3 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.02 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1424&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1425 create table class as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1426 select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1427 from sashelp.class ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.CLASS created, with 19 rows and 5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1428&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1429 create table perm_drop_columns as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1430 select memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1431 ,name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1432 from sashelp.vcolumn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1433 where libname = 'PERM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1434 and memname like 'PEIMS%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1435 and upcase(name) in ('STUDENTID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1436 ,'SSN_ALTID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1437 ,'LOCALID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1438 ,'FNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1439 ,'MNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1440 ,'LNAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1441 ,'GEN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1442 ,'BIRTHDATE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1443 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1444 order by memname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1445 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAS threaded sort was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Table WORK.PERM_DROP_COLUMNS created, with 14 rows and 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SQL Statement used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1446 quit ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Remote submit to MARYKAY complete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116979#M24155</guid>
      <dc:creator>LarryWorley</dc:creator>
      <dc:date>2013-04-23T20:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116980#M24156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rather than research history&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%macro testMAV( source, where= ) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc sql ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;create table _data_ as select * from &amp;amp;source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; where &amp;amp;where&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;quit ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%mend&amp;nbsp; testMAV ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%put %quote( %testMAV(&amp;nbsp;&amp;nbsp; sashelp.vcolumn, where= %str( libname= 'SASHELP' and memname like 'CL%' ) ) );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %testMAV(&amp;nbsp;&amp;nbsp; sashelp.vcolumn, where= %str( libname= 'SAMPSIO' and memname like 'EN%' ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %testMAV(dictionary.columns, where= %str( libname= 'SAMPSIO' and memname like 'EN%' ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %testMAV(dictionary.columns, where= %str( libname= 'SAMPSRC' and memname like 'EN%' ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %testMAV(&amp;nbsp;&amp;nbsp; sashelp.vcolumn, where= %str( libname= 'SAMPSRC' and memname like 'EN%' ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My log reported equivalent run and cpu-times after the first&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting effect in this data step (not expected to perform well)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;101&amp;nbsp; data cols;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;102&amp;nbsp;&amp;nbsp; set sashelp.vcolumn( where=( libname='work' and memname like 'T_%' )) ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;103&amp;nbsp; run ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: The map data sets in library MAPSGFK are based on the digital maps from GfK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeoMarketing and are covered by their Copyright. For additional information, see&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/mapsonline/gfklicense"&gt;http://support.sas.com/mapsonline/gfklicense&lt;/A&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: There were 0 observations read from the data set SASHELP.VCOLUMN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE (libname='work') and memname like 'T_%';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: The data set WORK.COLS has 0 observations and 18 variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: DATA statement used (Total process time):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 43.66 seconds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.34 seconds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.06 seconds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 839.26k&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OS Memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17864.00k&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;It reports trying to open&amp;nbsp; library MAPSGFK&lt;/P&gt;&lt;P&gt;indicating that to fill this SET statement, all known libraries were examined.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;I suggest using libraries SAMPSIO and SAMPSRC because although these are seldom assigned, they exist as environment variables pointing to folders hosting the SAS Sample libraries.&lt;/P&gt;&lt;P&gt;Even though no libname SAMPSIO was previously assigned, SQL or the dictionary engine,&amp;nbsp; will assign the libname to support the users request in the sql query&lt;/P&gt;&lt;P&gt;Before these queries these environment variables were not&amp;nbsp; assigned as libraries so a where= filter like&lt;/P&gt;&lt;P&gt;LIBNAME LIKE 'SAMPS%'&lt;/P&gt;&lt;P&gt;would return no rows&lt;/P&gt;&lt;P&gt;but the following is successful&lt;/P&gt;&lt;P&gt;LIBNAME EQ 'SAMPSIO'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:38:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116980#M24156</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-04-23T20:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116981#M24157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;his Larry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you prove the point&lt;/P&gt;&lt;P&gt;there is no need to deprecate the SASHELP views&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.&lt;/P&gt;&lt;P&gt;and it has been this way since SASv6.something&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Peter Crawford&#xD;
just had to add the postscript that this isn't some recent improvement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116981#M24157</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-04-23T20:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116982#M24158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only difference I see is the first time the "dictionary" is accessed the step takes a bit longer. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 21:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116982#M24158</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-04-23T21:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: select into using sashelp.vcolumn, return a 0 record, why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116983#M24159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;performance falls off the cliff when you use anything other than SQL (obviously then you need to use the SASHELP views) for catalogs or columns -- when many libraries are assigned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dictionary engine needs to fully populate the requested table - so all libraries/tables/catalogs are examined&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 22:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/select-into-using-sashelp-vcolumn-return-a-0-record-why/m-p/116983#M24159</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-04-23T22:14:26Z</dc:date>
    </item>
  </channel>
</rss>

