<?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: Problem with sashelp.vcolumn in SAS EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333863#M22194</link>
    <description>&lt;P&gt;What is:&amp;nbsp;&lt;SPAN&gt;RTMSASHP.VCOLUMN?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and, while that probably should be sashelp.vcolumn, since you're using proc sql why access the view, just use:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; from dictionary.columns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Art, CEO, AnalystFinder.com&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2017 17:47:24 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2017-02-17T17:47:24Z</dc:date>
    <item>
      <title>Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333834#M22192</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I try to obtain information about my sas data that are stored on a SAS server. I cannot understand what I am doing wrong. When I use the following code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sql&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; create table mytable as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from sashelp.vcolumn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where libname="RMTWORK";&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;*it worked;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I use the custom libname, the same code does not work. It appears to me that SAS EG cannot access see my library even it was successfully assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname SOD "/sas/sasusers/LLOUKINE/Sodium/Sodium 2016_2017/SASNielsenData/Nielsen 2016";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*NOTE: Libref SOD was successfully assigned as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V9&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Physical Name: /sas/sasusers/LLOUKINE/Sodium/Sodium 2016_2017/SASNielsenData/Nielsen 2016&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sql&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; create table mytable1 as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from RTMSASHP.VCOLUMN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where libname="SOD";&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;*it does not work. Table mytable1 is empty;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why it did not work in SAS EG?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Any idea why it does not work?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 16:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333834#M22192</guid>
      <dc:creator>Lida</dc:creator>
      <dc:date>2017-02-17T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333863#M22194</link>
      <description>&lt;P&gt;What is:&amp;nbsp;&lt;SPAN&gt;RTMSASHP.VCOLUMN?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and, while that probably should be sashelp.vcolumn, since you're using proc sql why access the view, just use:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; from dictionary.columns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Art, CEO, AnalystFinder.com&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 17:47:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333863#M22194</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-02-17T17:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333879#M22195</link>
      <description>&lt;P&gt;I guess that rtmsashp is a SAS/CONNECT remote reference to the server's sashelp?&lt;/P&gt;
&lt;P&gt;I'm not surprised that the dynamically created dictionary tables don't work across that connection.&lt;/P&gt;
&lt;P&gt;Run the query in an rsubmit and then download the resulting table.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 18:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333879#M22195</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-17T18:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333884#M22196</link>
      <description>&lt;P&gt;sorry, I menat to sent this;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt; SOD &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"/sas/sasusers/LLOUKINE/Sodium/Sodium 2016_2017/SASNielsenData/Nielsen 2016"&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;*NOTE: Libref SOD was successfully assigned as follows:&lt;/P&gt;
&lt;P&gt;Engine: V9&lt;/P&gt;
&lt;P&gt;Physical Name: /sas/sasusers/LLOUKINE/Sodium/Sodium 2016_2017/SASNielsenData/Nielsen 2016&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;create&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="4"&gt;table&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt; mytable1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;as&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt; * &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt; sashelp.vcolumn&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt; libname=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"SOD"&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;*it does not work. table mytable1 is empty. Why it did not work in SAS EG?;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;at some point I noticed that SAS EG creates a libname called &lt;SPAN&gt;RTMSASHP, so itried to replace sashelp by RTMSASHP but it did not work anyway.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;What I am trying to do is actually to read the names of files I have stored on a remote server, from the directory I point with the libname&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 18:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333884#M22196</guid>
      <dc:creator>Lida</dc:creator>
      <dc:date>2017-02-17T18:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333901#M22197</link>
      <description>&lt;P&gt;how exactly canI do it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 19:15:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333901#M22197</guid>
      <dc:creator>Lida</dc:creator>
      <dc:date>2017-02-17T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333905#M22198</link>
      <description>&lt;P&gt;Out of curiosity, did you try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql;
  create table mytable1 as
    select * from dictionary.columns
      where libname="SOD"
  ;
quit;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 19:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333905#M22198</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-02-17T19:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333909#M22199</link>
      <description>&lt;P&gt;yes,&amp;nbsp;I did, the file comes empty..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;8070 GOPTIONS ACCESSIBLE;&lt;/P&gt;
&lt;P&gt;8071&lt;/P&gt;
&lt;P&gt;8072 proc sql;&lt;/P&gt;
&lt;P&gt;8073 create table mytable1 as&lt;/P&gt;
&lt;P&gt;8074 select * from dictionary.columns&lt;/P&gt;
&lt;P&gt;8075 where libname="SOD"&lt;/P&gt;
&lt;P&gt;8076 ;&lt;/P&gt;
&lt;P&gt;NOTE: Table WORK.MYTABLE1 created, with 0 rows and 18 columns.&lt;/P&gt;
&lt;P&gt;8077 quit;&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 0.01 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 19:40:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333909#M22199</guid>
      <dc:creator>Lida</dc:creator>
      <dc:date>2017-02-17T19:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sashelp.vcolumn in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333950#M22201</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/7670"&gt;@Lida&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;sorry, I menat to sent this;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt; SOD &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"/sas/sasusers/LLOUKINE/Sodium/Sodium 2016_2017/SASNielsenData/Nielsen 2016"&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;not work anyway.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;What I am trying to do is actually to read the names of files I have stored on a remote server, from the directory I point with the libname&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From a SAS veiwpoint LIBRARIES contain SAS files such as data sets, views and catalogs. If the file is not used by SAS then access through a LIBRARY statement in SAS does not exist.&lt;/P&gt;
&lt;P&gt;You could use a directory listing command referenced as a FILENAME to pipe the results of LS or DIR or whichever and read that as if it were text file to import into a SAS data set.&lt;/P&gt;
&lt;P&gt;There are also a number of SAS external file functions to explore such as DOPEN, DINFO, DREAD and such related to directory (folder) information.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 20:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-sashelp-vcolumn-in-SAS-EG/m-p/333950#M22201</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-02-17T20:57:20Z</dc:date>
    </item>
  </channel>
</rss>

