<?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: I want to use &amp;sqlobs, which code is better ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54335#M11521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use noprint and only use a select whatever, rather than either a create table as or an into :whatever, &amp;amp;sqlobs won't be updated.&amp;nbsp; However, since you were using an into :whatever clause, it should work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 18:13:33 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-04-03T18:13:33Z</dc:date>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54326#M11512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get &amp;amp;sqlobs, which code is more efficient? or any other suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - LInlin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Select&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; memname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :names separated &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 12pt;"&gt;' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; dictionary.tables &lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; libname=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 12pt;"&gt;'WORK'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;Proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;print&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; memname&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; dictionary.tables&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; libname=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 12pt;"&gt;'WORK'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; n=&amp;amp;sqlobs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &amp;amp;n;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;Proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;print&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Select&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; memname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :names separated &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 12pt;"&gt;' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; dictionary.tables &lt;/SPAN&gt;&lt;/P&gt;&lt;P&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; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; libname=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 12pt;"&gt;'WORK'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; n=&amp;amp;sqlobs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 12pt; background-color: white; font-family: 'Courier New';"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &amp;amp;n;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 14:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54326#M11512</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-04-03T14:46:07Z</dc:date>
    </item>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54327#M11513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other than the missing quit statement, I like the first method.&amp;nbsp; Why create a 2nd macro variable (i.e., &amp;amp;n)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54327#M11513</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-03T15:10:53Z</dc:date>
    </item>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54328#M11514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your intent here is to capture &amp;amp;SQLOBS, this alternative might do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; select count(memname) into : n from dictionary.tables where libname='WORK';&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you need the list of names as well, this variation won't do that.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is efficiency really a factor when reading from DICTIONARY.TABLES?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54328#M11514</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-04-03T15:16:17Z</dc:date>
    </item>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54329#M11515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Astounding,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need both the list of names and the number of the names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - Linlin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54329#M11515</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-04-03T15:25:44Z</dc:date>
    </item>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54330#M11516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, I vote for option #2.&amp;nbsp; My main consideration is that the definition of "efficiency" should include more than CPU time.&amp;nbsp; It should include maintenance time.&amp;nbsp; If you ever need to revise the code, or even review it 6 months later, it will take a little of your time to compare the two SELECT statements to verify that they retrieve the same records.&amp;nbsp; That maintenance time is more expensive than the extra CPU time it might take to run one variation or the other.&amp;nbsp; In fact, I would even consider making the program run a little longer by retrieving:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trim(memname)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will make long values for &amp;amp;NAMES easier to read if you ever need to examine it down the road.&amp;nbsp; And if you switch to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;distinct(trim(memname))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will take even longer, but will alphabetize the list of MEMNAMEs.&amp;nbsp; That would make it easier for you to find a particular data set name if you are visually searching for it within &amp;amp;NAMES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54330#M11516</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-04-03T15:43:16Z</dc:date>
    </item>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54331#M11517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Do I have to use quit after first proc sql? I don't think so. I am always confused by &amp;amp;sqlobs. there is no need to use %let n=&amp;amp;sqlobs to get rid of the spaces?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - Linlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54331#M11517</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-04-03T15:55:34Z</dc:date>
    </item>
    <item>
      <title>I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54332#M11518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I either don't understand the question or am missing something.&amp;nbsp; I thought you were showing three options.&amp;nbsp; Why not just use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp; select memname&amp;nbsp; into&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :names separated by ' '&lt;/P&gt;&lt;P&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;&amp;nbsp; from dictionary.tables&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where libname='WORK'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;%put &amp;amp;sqlobs.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 15:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54332#M11518</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-03T15:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54333#M11519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the impression from the discussion among you, Tom, Ksharp, FE &lt;A href="https://communities.sas.com/message/107334#107334"&gt;https://communities.sas.com/message/107334#107334&lt;/A&gt; that if you use &lt;SPAN style="color: red;"&gt;noprint&lt;/SPAN&gt;, &amp;amp;sqlobs will be 0. &lt;/P&gt;&lt;P&gt;I misunderstood the discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - Linlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 16:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54333#M11519</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-04-03T16:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54334#M11520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your needs (and on your version of SAS), you might be able to add these techniques to your toolkit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Using open-ended macro var ranges, and the TRIMMED option in SELECT INTO:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://blogs.sas.com/content/sasdummy/2012/03/23/improving-on-a-sas-programming-pattern/"&gt;http://blogs.sas.com/content/sasdummy/2012/03/23/improving-on-a-sas-programming-pattern/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Using the &amp;amp;SYSNOBS macro variable&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A class="active_link" href="http://blogs.sas.com/content/sasdummy/2012/03/15/how-many-obs-sysnobs/"&gt;http://blogs.sas.com/content/sasdummy/2012/03/15/how-many-obs-sysnobs/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 17:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54334#M11520</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-04-03T17:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54335#M11521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use noprint and only use a select whatever, rather than either a create table as or an into :whatever, &amp;amp;sqlobs won't be updated.&amp;nbsp; However, since you were using an into :whatever clause, it should work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 18:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54335#M11521</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-03T18:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: I want to use &amp;sqlobs, which code is better ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54336#M11522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your replies! At the time I posted the question I had the wrong impression that you can’t get automatic macro variable &amp;amp;sqlobs if you use “noprint” option in PROC SQL. As Art pointed out in his post, this is not always true.&amp;nbsp; - Linlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 18:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-use-sqlobs-which-code-is-better/m-p/54336#M11522</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-04-03T18:39:26Z</dc:date>
    </item>
  </channel>
</rss>

