<?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 Remove password on view in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879325#M20783</link>
    <description>&lt;P&gt;Hi there, my SAS dataset has a password on it and I have a view of that dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I remove the password from the view and not the main dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried the below however when I try opening the file it gives an error message:&lt;/P&gt;
&lt;PRE&gt;proc datasets library= mylib;

modify dataset1 (pw=mypw/);

run;

quit;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Error:&lt;/P&gt;
&lt;P&gt;SQL View mylib.dataset1 could not be processed because at least one of the data sets, or views, referenced directly (or indirectly) by it could not be located, or opened successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, I can create the view again but I don't want it to create with a password. it is very important that the main dataset has the password.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 12:47:21 GMT</pubDate>
    <dc:creator>Citrine10</dc:creator>
    <dc:date>2023-06-06T12:47:21Z</dc:date>
    <item>
      <title>Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879312#M20757</link>
      <description>&lt;P&gt;Hi there, my SAS dataset has a password on it and I have a view of that dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I remove the password from the view and not the main dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried the below however when I try opening the file it gives an error message:&lt;/P&gt;
&lt;PRE&gt;proc datasets library= mylib;

   modify dataset1 (pw=mypw/);

   run;

quit;&lt;/PRE&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;P&gt;SQL View mylib.dataset1 could not be processed because at least one of the data sets, or views, referenced directly (or indirectly) by it could not be located, or opened successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, I can create the view again but I don't want it to create with a password.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 11:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879312#M20757</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T11:07:04Z</dc:date>
    </item>
    <item>
      <title>Remove password on view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879325#M20783</link>
      <description>&lt;P&gt;Hi there, my SAS dataset has a password on it and I have a view of that dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I remove the password from the view and not the main dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried the below however when I try opening the file it gives an error message:&lt;/P&gt;
&lt;PRE&gt;proc datasets library= mylib;

modify dataset1 (pw=mypw/);

run;

quit;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Error:&lt;/P&gt;
&lt;P&gt;SQL View mylib.dataset1 could not be processed because at least one of the data sets, or views, referenced directly (or indirectly) by it could not be located, or opened successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, I can create the view again but I don't want it to create with a password. it is very important that the main dataset has the password.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 12:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879325#M20783</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879327#M20758</link>
      <description>&lt;P&gt;Can you make a little example of what you mean?&amp;nbsp; &amp;nbsp; If you have a dataset that is password-protected, and want to create a view which allows a user of the view to use read data from the dataset without specifying a password, then you can provide the password for the dataset when you create the view, e.g. :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data employee (pw=orange);
  name='foo' ;
  salary=1000 ;
run ;

data v_employee / view=v_employee;
   set employee(pw=orange drop=salary);
run;

*password required ;
proc print data=employee ;
run ;

*no password required ;
proc print data=v_employee ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That is discussed in the docs in&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/lrcon/9.4/n1wvhtsgtqf581n1pmxhenhzzkjj.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/lrcon/9.4/n1wvhtsgtqf581n1pmxhenhzzkjj.htm&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;Is that what you mean?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's also possible to create a view that has a password, independent of the password for the dataset that it accesses.&amp;nbsp; In that cases, you can use PROC DATASETS to remove the password from the view.&amp;nbsp; So below I create a view with a password, and then use PROC DATASETS to remove the password from the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class (pw=foo1) ;
  set sashelp.class ;
run ;

proc sql ;
  create view v_class(pw=foo2) as select * from class(pw=foo1) ;
quit ;

*password for the view required ;
proc print data=v_class ;
run ;

proc datasets library=work ;
  modify v_class(pw=foo2/);
quit ;

*no password reqeuired;
proc print data=v_class ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 12:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879327#M20758</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-06-06T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879329#M20759</link>
      <description>hi there,&lt;BR /&gt;So I have a dataset with a password on it.&lt;BR /&gt;When I create the view, I don't want any password on it. &lt;BR /&gt;I have tried your suggestion of:&lt;BR /&gt;proc datasets library=work ;&lt;BR /&gt;  modify v_class(pw=foo2/);&lt;BR /&gt;quit ;&lt;BR /&gt;&lt;BR /&gt;however when I use your suggestion and open the view in another SAS session I still get the same error message: SQL View mylib.dataset1 could not be processed because at least one of the data sets, or views, referenced directly (or indirectly) by it could not be located, or opened successfully.&lt;BR /&gt;&lt;BR /&gt;I want the password to be completely removed from the view no matter how I open the view and at any time. This is so multiple users can use the view instead of the main dataset.</description>
      <pubDate>Tue, 06 Jun 2023 12:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879329#M20759</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T12:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879330#M20760</link>
      <description>&lt;P&gt;Are you sure this issue is the password and not just that the view doesn't work the way you are trying to use it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example if the view references a libref named MYLIB but the current session has no libref named MYLIB the view will not work.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879330#M20760</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-06-06T13:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879331#M20761</link>
      <description>yes the issue is the password. I have correctly assigned the libref in a new session and the view doesn't open. Thus my reason for asking for assistance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:07:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879331#M20761</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T13:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879332#M20762</link>
      <description>&lt;P&gt;I think maybe you have something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class (pw=foo1) ;
  set sashelp.class ;
run ;

proc sql ;
  create view v_class(pw=foo2) as select * from class ; *the view was created without specifying password for work.class;
quit ;

proc datasets library=work ;
  modify v_class(pw=foo2/);
quit ;

proc print data=v_class ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In that case work.class has a password.&amp;nbsp; When you created the view v_class you did not specify the password for work.class.&amp;nbsp; So even if you remove the password for v_class, you still need to specify the password for work.class when you use the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running the above code replicates your error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1
2    data class (pw=XXXX) ;
3      set sashelp.class ;
4    run ;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.CLASS has 19 observations and 5 variables.

5
6    proc sql ;
7      create view v_class(pw=XXXX) as select * from class ;
NOTE: SQL view WORK.V_CLASS has been defined.
7  !                                                         *the view was created without specifying

7  ! password for work.class;
8    quit ;

9
10   proc datasets library=work nolist;
11     modify v_class(pw=XXXX/);
12   quit ;


13
14   proc print data=v_class ;
ERROR: Invalid or missing READ password on member WORK.CLASS.DATA.
ERROR: SQL View WORK.V_CLASS could not be processed because at least one of the data sets, or views,
       referenced directly (or indirectly) by it could not be located, or opened successfully.
15   run ;

NOTE: The SAS System stopped processing this step because of errors.
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the under-lying dataset has a password, you need to specify the password for that dataset when either when you create the view, or when you use the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't help, can you&amp;nbsp;you make a little example (with a new dataset and a new view) that replicates the problem, and post the code and log from your example?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879332#M20762</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-06-06T13:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879333#M20763</link>
      <description>I understand that I need to specify the underlying password for the dataset when I create the view. The problem is the password remains on the view such that when I open the view in another session, it is password protected. I don't want the view to be password protected. I have tried the 'modify' clause but that didn't remove it because when I open the view in another session, it gives an error message.</description>
      <pubDate>Tue, 06 Jun 2023 13:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879333#M20763</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T13:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879335#M20764</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338030"&gt;@Citrine10&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I understand that I need to specify the underlying password for the dataset when I create the view. The problem is the password remains on the view such that when I open the view in another session, it is password protected. I don't want the view to be password protected. I have tried the 'modify' clause but that didn't remove it because when I open the view in another session, it gives an error message.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Again, please post the code and log for a full example reproducing this problem.&amp;nbsp; So the code should:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a password protected dataset&lt;/LI&gt;
&lt;LI&gt;Create a password-protected view of the dataset (specifying the password for the under-lying dataset)&lt;/LI&gt;
&lt;LI&gt;Remove the password from the view&lt;/LI&gt;
&lt;LI&gt;Run PROC PRINT to show that the password is still required&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In all of my testing, I can't reproduce this problem.&amp;nbsp; In the examples I posted, I've been able to remove a password from a view using PROC DATASETS as you describe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the error message you report:&lt;/P&gt;
&lt;PRE&gt;SQL View mylib.dataset1 could not be processed because at least one of the data sets, or views, referenced directly (or indirectly) by it could not be located, or opened successfully. &lt;/PRE&gt;
&lt;P&gt;Is not about a password on the view mylib.dataset1 itself.&amp;nbsp; It may result from a password on the underlying dataset, or other problems accessing the underlying dataset. Thus your PROC DATASETS step has (apparently) successfully removed any passwords that were on your view mylib.dataset1.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879335#M20764</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-06-06T13:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879338#M20765</link>
      <description>Correction on your message. This is what I want:&lt;BR /&gt;1. Create a password protected dataset&lt;BR /&gt;2. Create a  view of the dataset (NOT password-protected)&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879338#M20765</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T13:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879340#M20766</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338030"&gt;@Citrine10&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Correction on your message. This is what I want:&lt;BR /&gt;1. Create a password protected dataset&lt;BR /&gt;2. Create a view of the dataset (NOT password-protected)&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Great, please show an example of code and log that is NOT working for you.&amp;nbsp; Everything I try works, e.g. below works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class (pw=foo1) ;
  set sashelp.class ;
run ;

proc sql ;
  create view v_class as select * from class(pw=foo1) ;
quit ;

proc print data=v_class ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:02:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879340#M20766</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-06-06T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879341#M20767</link>
      <description>&lt;P&gt;there is no log because all I do after using your code for example is I open a new session and point to the lib where the view is and it cant open without a password. Below error message:&amp;nbsp;SQL View mylib.dataset1 could not be processed because at least one of the data sets, or views, referenced directly (or indirectly) by it could not be located, or opened successfully.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:06:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879341#M20767</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879344#M20768</link>
      <description>&lt;P&gt;There must be code and log, because none of the code I've posted creates a permanent view.&amp;nbsp; So you wouldn't be able to use a work view in another session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to help debug this problem, you need to have a reproducible problem.&amp;nbsp; For example, a small reproducible example might be&amp;nbsp;a program makeview.sas which creates a password-protected sas dataset mylib.foo and creates a permanent view&amp;nbsp; mylib.v_foo with no password.&amp;nbsp; And you run that program and get a clean log, and the view is created.&amp;nbsp; Then you open program useview.sas in a new SAS session and you attempt to use the view and get the error.&amp;nbsp; In that case, I'm asking you to post the code for makeview.sas and useview.sas and the log you get from running both programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879344#M20768</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-06-06T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879346#M20769</link>
      <description>I think you are misunderstanding. I don't use a work lib. &lt;BR /&gt;&lt;BR /&gt;I use my own library path stored on my machine and when I try opening the view in a new session from that library, I get the error. There is no log when trying to open the dataset etc. as I use the file menu options.</description>
      <pubDate>Tue, 06 Jun 2023 14:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879346#M20769</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T14:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879362#M20770</link>
      <description>&lt;P&gt;What application are you using?&amp;nbsp; i.e. SAS Display Manager ("Windows SAS"), Enterprise Guide, SAS Studio, DI Studio, etc?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are running code to create the permanent SAS dataset that is password protected and create the permanent view you want to be unprotected, right?&amp;nbsp; If so, please post that code, and the logs from running the code.&amp;nbsp; Showing that both the password protected dataset and the view were created successfully.&amp;nbsp; Please include the libname statements in the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would be a small, reproducible example.&amp;nbsp; Then&amp;nbsp; I could take your code, update the libname statement to point to C:\Junk on my PC, and I should be able to run the code to create a permanent dataset and a permanent view.&amp;nbsp; Then I can start a new SAS session and open the view, and see if I get the same error.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879362#M20770</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-06-06T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879371#M20771</link>
      <description>SAS EG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;libname mydata "/fin/feb22";&lt;BR /&gt;&lt;BR /&gt;/*Add password to dataset*/&lt;BR /&gt;data mydata.feb01(pw=x3jk);&lt;BR /&gt;	set mydata.feb01;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;libname myview "/vw_fin/feb_vw";&lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create view myview.febvw as&lt;BR /&gt;         select *&lt;BR /&gt;            from mydata.feb01(pw=x3jk);&lt;BR /&gt;			run;</description>
      <pubDate>Tue, 06 Jun 2023 14:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879371#M20771</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T14:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879372#M20772</link>
      <description>&lt;P&gt;Also make sure that the SAS version used in the second session matches the first.&amp;nbsp; I am not sure that CODA will work for views.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879372#M20772</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-06-06T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879373#M20773</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338030"&gt;@Citrine10&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;SAS EG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;libname mydata "/fin/feb22";&lt;BR /&gt;&lt;BR /&gt;/*Add password to dataset*/&lt;BR /&gt;data mydata.feb01(pw=x3jk);&lt;BR /&gt;set mydata.feb01;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;libname myview "/vw_fin/feb_vw";&lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create view myview.febvw as&lt;BR /&gt;select *&lt;BR /&gt;from mydata.feb01(pw=x3jk);&lt;BR /&gt;run;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your second program is missing the LIBNAME statement for the libref named MYDATA.&lt;/P&gt;
&lt;P&gt;But that should give a slightly different error message:&lt;/P&gt;
&lt;PRE&gt;33   libname xxx clear;
NOTE: Libref XXX has been deassigned.
34   data test;
35    set v_class;
ERROR: Libref XXX is not assigned.
ERROR: SQL View WORK.V_CLASS could not be processed because at least one of the data sets, or views, referenced directly (or
       indirectly) by it could not be located, or opened successfully.
36   run;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jun 2023 15:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879373#M20773</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-06-06T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879374#M20774</link>
      <description>its got it there libname mydata "/fin/feb22";&lt;BR /&gt;&lt;BR /&gt;anyway, when I run the code, it sets the password on the view and the dataset. I only want the password on the dataset. Not the view.</description>
      <pubDate>Tue, 06 Jun 2023 15:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879374#M20774</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T15:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove password from view</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879375#M20775</link>
      <description>yes this is the message i get when opening it in a new session:ERROR: SQL View WORK.V_CLASS could not be processed because at least one of the data sets, or views, referenced directly (or&lt;BR /&gt;       indirectly) by it could not be located, or opened successfully.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2023 15:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Remove-password-from-view/m-p/879375#M20775</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2023-06-06T15:06:26Z</dc:date>
    </item>
  </channel>
</rss>

