<?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: Four level SAS name (libref/cat/dataset/etc). in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227246#M40915</link>
    <description>Proc report data=c_sample.rwa_p&amp;amp;pp.&amp;amp;yy_live completerows completecols out=test (drop=_break_);</description>
    <pubDate>Fri, 25 Sep 2015 12:04:19 GMT</pubDate>
    <dc:creator>iyerkaren</dc:creator>
    <dc:date>2015-09-25T12:04:19Z</dc:date>
    <item>
      <title>Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227234#M40911</link>
      <description>Hi, I am confused about four level SAS names.&lt;BR /&gt;&lt;BR /&gt;I have a program than runs proc report on a four level SAS name.&lt;BR /&gt;&lt;BR /&gt;I read online four level SAS names are libref.catalog.entryname.entrytype.&lt;BR /&gt;&lt;BR /&gt;I don't understand what entry name and type are, can anyone help?&lt;BR /&gt;&lt;BR /&gt;Also, where does the dataset name come into it?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 25 Sep 2015 11:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227234#M40911</guid>
      <dc:creator>iyerkaren</dc:creator>
      <dc:date>2015-09-25T11:02:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227237#M40913</link>
      <description>&lt;P&gt;Please post the code using the four level name.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 11:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227237#M40913</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2015-09-25T11:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227246#M40915</link>
      <description>Proc report data=c_sample.rwa_p&amp;amp;pp.&amp;amp;yy_live completerows completecols out=test (drop=_break_);</description>
      <pubDate>Fri, 25 Sep 2015 12:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227246#M40915</guid>
      <dc:creator>iyerkaren</dc:creator>
      <dc:date>2015-09-25T12:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227247#M40916</link>
      <description>Sorry I meant to type&lt;BR /&gt;&lt;BR /&gt;c_sample.rwa_p&amp;amp;pp.&amp;amp;yy._live&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Sep 2015 12:05:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227247#M40916</guid>
      <dc:creator>iyerkaren</dc:creator>
      <dc:date>2015-09-25T12:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227254#M40919</link>
      <description>&lt;P&gt;What software are you running, this doesn't look like base SAS, perhap Enterprise Guide or something else? &amp;nbsp;Does the code work? &amp;nbsp;In base SAS it is always &amp;lt;library&amp;gt;.&amp;lt;dataset&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 12:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227254#M40919</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-09-25T12:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227272#M40931</link>
      <description>Ah that's probably why I'm confused. I didn't realise the base SAS/enterprise guide difference. I am new to enterprise guide. Still, does anyone know what the code refers to? Thanks.</description>
      <pubDate>Fri, 25 Sep 2015 14:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227272#M40931</guid>
      <dc:creator>iyerkaren</dc:creator>
      <dc:date>2015-09-25T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227274#M40933</link>
      <description>&lt;P&gt;That is not a 4 level name. Since there are macro variables involved (the &amp;amp;&amp;amp; bits) the "." is a concatenator.&lt;/P&gt;&lt;P&gt;If there were two dots ".." in the code then the macro processor would resolve that to a . separating the names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something, possibly a prompt(?) or menu selection is building a name for you if you didn't create that code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With c_sample.rwa_p&amp;amp;pp.&amp;amp;yy_live&amp;nbsp;&lt;/P&gt;&lt;P&gt;if there is something set so that a macro variable PP = DOG and a variable YY_LIVE=SHOE this would resolve to&lt;/P&gt;&lt;P&gt;c_sample.rwa_pDOGSHOE.&amp;nbsp; The first do does not have a possible macro variable before it but the second does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227274#M40933</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-09-25T14:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227285#M40935</link>
      <description>&lt;P&gt;The periods are part of the macro code, not part of the name.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;c_sample.rwa_p&amp;amp;pp.&amp;amp;yy._live&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;amp;pp. will resolve to the value of the PP macro variable&lt;/P&gt;&lt;P&gt;&amp;amp;yy. will resolve to the value of the YY macro variable.&lt;/P&gt;&lt;P&gt;So this code&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let PP=ABC ;
%let YY=15 ;
%put c_sample.rwa_p&amp;amp;pp.&amp;amp;yy._live ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;willl write&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;c_sample.rwa_pABC15_live&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to the log. &amp;nbsp;There is only one period in the resulting value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The period is needed on the &amp;amp;YY reference to mark where the end of the macro name is. &amp;nbsp;Otherwise the macro processor would look for a macro variable named YY_LIVE instead of YY. &amp;nbsp; It is not required&amp;nbsp;on the reference to PP since the &amp;amp; following PP will signal the end of the macro variable name.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 15:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227285#M40935</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-25T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Four level SAS name (libref/cat/dataset/etc).</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227364#M40957</link>
      <description>Thank you so much. No it's not my code I'm picking out data sources for work. Thanks!</description>
      <pubDate>Fri, 25 Sep 2015 21:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Four-level-SAS-name-libref-cat-dataset-etc/m-p/227364#M40957</guid>
      <dc:creator>iyerkaren</dc:creator>
      <dc:date>2015-09-25T21:06:02Z</dc:date>
    </item>
  </channel>
</rss>

