<?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: about sashelp.vcolumn in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/809891#M319407</link>
    <description>&lt;P&gt;How could anyone who is not running the SAS install user replace this? The whole installation tree should only be writable by the SAS installation user.&lt;/P&gt;
&lt;P&gt;And you NEVER (as in &lt;STRONG&gt;NEVER&lt;/STRONG&gt;) run SAS as the installation user.&lt;/P&gt;
&lt;P&gt;Since SASHELP.VCOLUMN is a SQL view of DICTIONARY.COLUMNS, you can recreate it like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create view vcolumn as select * from dictionary.columns;
quit;

proc compare
  base=sashelp.vcolumn
  compare=vcolumn
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(I used the PROC COMPARE to prove that it created a correct replica in SAS On Demand).&lt;/P&gt;
&lt;P&gt;By creating the view as SASHELP.VCOLUMN (after first removing the erroneous dataset), you should be able to recreate the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a default SAS installation, the .sas7bvew file is contained in the&lt;/P&gt;
&lt;PRE&gt;SASFoundation/9.4/sashelp&lt;/PRE&gt;
&lt;P&gt;subdirectory of your SAS installation tree.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 15:34:07 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-04-26T15:34:07Z</dc:date>
    <item>
      <title>about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743313#M232697</link>
      <description>&lt;P&gt;Hi,all&lt;/P&gt;
&lt;P&gt;I want to know how to resume the original view after&amp;nbsp;sashelp.vcolumn rewrited.&lt;/P&gt;
&lt;P&gt;I tried like this,but there was error "Could not be built sashelp.vcolumn.view,because sashelp.vcolumn.data is already exists." in the log .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create view sashelp.vcolumn as 
select * from DICTIONARY.COLUMNS;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 May 2021 08:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743313#M232697</guid>
      <dc:creator>HannaZhang</dc:creator>
      <dc:date>2021-05-24T08:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743328#M232705</link>
      <description>&lt;P&gt;In a properly set up SAS environment, you (as an "ordinary" user) cannot write anything in SASHELP.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 10:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743328#M232705</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-24T10:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743398#M232740</link>
      <description>&lt;P&gt;Dictionary.Columns is sashelp.vcolumn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SASHELP.vcolumn is a data view, not a data set, maintained by SAS. Views have different rules for creation than data sets, one of which is "if it exists you can't overwrite it". And you should not even try with any of the views in SASHELP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:05:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743398#M232740</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-24T17:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743483#M232793</link>
      <description>But I did update the sashelp.vcolumn by data step.Now the sashelp.vcolumn can not revert the origin version ,which is I am trying to do.</description>
      <pubDate>Tue, 25 May 2021 05:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743483#M232793</guid>
      <dc:creator>HannaZhang</dc:creator>
      <dc:date>2021-05-25T05:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743499#M232803</link>
      <description>Thanks for the reminder，I found a way of reverting the  sashelp.vcolumn to the original version.</description>
      <pubDate>Tue, 25 May 2021 07:24:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/743499#M232803</guid>
      <dc:creator>HannaZhang</dc:creator>
      <dc:date>2021-05-25T07:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/809845#M319376</link>
      <description>&lt;P&gt;Hi, how did you retrieve vcolumn. I've a similar issue where vcolumn got replaced by a dataset !!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 11:41:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/809845#M319376</guid>
      <dc:creator>aditya0907</dc:creator>
      <dc:date>2022-04-26T11:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: about sashelp.vcolumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/809891#M319407</link>
      <description>&lt;P&gt;How could anyone who is not running the SAS install user replace this? The whole installation tree should only be writable by the SAS installation user.&lt;/P&gt;
&lt;P&gt;And you NEVER (as in &lt;STRONG&gt;NEVER&lt;/STRONG&gt;) run SAS as the installation user.&lt;/P&gt;
&lt;P&gt;Since SASHELP.VCOLUMN is a SQL view of DICTIONARY.COLUMNS, you can recreate it like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create view vcolumn as select * from dictionary.columns;
quit;

proc compare
  base=sashelp.vcolumn
  compare=vcolumn
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(I used the PROC COMPARE to prove that it created a correct replica in SAS On Demand).&lt;/P&gt;
&lt;P&gt;By creating the view as SASHELP.VCOLUMN (after first removing the erroneous dataset), you should be able to recreate the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a default SAS installation, the .sas7bvew file is contained in the&lt;/P&gt;
&lt;PRE&gt;SASFoundation/9.4/sashelp&lt;/PRE&gt;
&lt;P&gt;subdirectory of your SAS installation tree.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 15:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-sashelp-vcolumn/m-p/809891#M319407</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-26T15:34:07Z</dc:date>
    </item>
  </channel>
</rss>

