<?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 Updating/registering metadata for a certain table in ORACLE from Management Console in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/352924#M8372</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the following issue when updtating a certain table's metadata in MC:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
/********************************************************************************

*	Tabellennummer: 1
*	Tabellenname: QW_KOSTENTRAEGER
********************************************************************************/


1                                                          Das SAS System                               17:11 Monday, April 24, 2017

NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) Proprietary Software 9.4 (TS1M4 MBCS3170) 
      Licensed to ******.
NOTE: This session is executing on the X64_SR12R2  platform.



NOTE: Updated analytical products:
      
      SAS/STAT 14.2
      SAS/ETS 14.2
      SAS/OR 14.2
      SAS/QC 14.2

NOTE: Additional host information:

 X64_SR12R2 WIN 6.3.9600  Server

NOTE: SAS-Initialisierung used (Total process time):
      real time           0.00 seconds
      cpu time            0.01 seconds
      
NOTE: The autoexec file, D:\SAS\Config\Lev1\SASApp\WorkspaceServer\autoexec.sas, was executed at server initialization.
1          
2          proc metalib;
3          
4             omr (libid="B40000SI"      repid="A5OV2K45");
5             report(type = summary);
6             update_rule = (noadd);
7             select (A5OV2K45.BE0001XD);
8          
9          run;

ERROR: ORACLE connection error: ORA-01017: invalid username/password; logon denied.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROZEDUR METALIB used (Total process time):
      real time           0.17 seconds
      cpu time            0.03 seconds
      
10         

/********************************************************************************/

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I want to register a certain table I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1                                                          Das SAS System                               17:35 Monday, April 24, 2017

NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) Proprietary Software 9.4 (TS1M4 MBCS3170) 
      Licensed to ********.
NOTE: This session is executing on the X64_SR12R2 platform.



NOTE: Updated analytical products:
      
      SAS/STAT 14.2
      SAS/ETS 14.2
      SAS/OR 14.2
      SAS/QC 14.2

NOTE: Additional host information:

 X64_SR12R2 WIN 6.3.9600  Server

NOTE: SAS-Initialisierung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
NOTE: The autoexec file, D:\SAS\Config\Lev1\SASApp\WorkspaceServer\autoexec.sas, was executed at server initialization.
1          libname dwh list;
ERROR: Libref DWH ist nicht zugewiesen.
ERROR: Error in the LIBNAME statement.&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;However if I call libname list or proc datasets it works perfectly with the same credentials:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;29         libname dwh list;
NOTE: Libref=   DWH 
      Scope=    Object Server
      Engine=   ORACLE
      Physical Name= ****.world
      Schema/User= ***
30         %let lib=dwh;


31         proc datasets library=&amp;amp;lib;
SYMBOLGEN:  Macro variable LIB resolves to dwh
32         	
32       !  contents data=QW_KOSTENTRAEGER;
33         quit;

NOTE: PROCEDURE DATASETS used (Total process time):
      real time           6.08 seconds
      user cpu time       0.12 seconds
      system cpu time     0.03 seconds
      memory              1912.40k
      OS Memory           20728.00k
      Timestamp           04/24/2017 05:30:53 PM
      Step Count                        6  Switch Count  2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: for now I don't have access to \Lev*\ folder so couldn't dig deeper.&lt;BR /&gt;&lt;BR /&gt;Any suggestions what could be the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 15:40:08 GMT</pubDate>
    <dc:creator>devrant</dc:creator>
    <dc:date>2017-04-24T15:40:08Z</dc:date>
    <item>
      <title>Updating/registering metadata for a certain table in ORACLE from Management Console</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/352924#M8372</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the following issue when updtating a certain table's metadata in MC:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
/********************************************************************************

*	Tabellennummer: 1
*	Tabellenname: QW_KOSTENTRAEGER
********************************************************************************/


1                                                          Das SAS System                               17:11 Monday, April 24, 2017

NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) Proprietary Software 9.4 (TS1M4 MBCS3170) 
      Licensed to ******.
NOTE: This session is executing on the X64_SR12R2  platform.



NOTE: Updated analytical products:
      
      SAS/STAT 14.2
      SAS/ETS 14.2
      SAS/OR 14.2
      SAS/QC 14.2

NOTE: Additional host information:

 X64_SR12R2 WIN 6.3.9600  Server

NOTE: SAS-Initialisierung used (Total process time):
      real time           0.00 seconds
      cpu time            0.01 seconds
      
NOTE: The autoexec file, D:\SAS\Config\Lev1\SASApp\WorkspaceServer\autoexec.sas, was executed at server initialization.
1          
2          proc metalib;
3          
4             omr (libid="B40000SI"      repid="A5OV2K45");
5             report(type = summary);
6             update_rule = (noadd);
7             select (A5OV2K45.BE0001XD);
8          
9          run;

ERROR: ORACLE connection error: ORA-01017: invalid username/password; logon denied.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROZEDUR METALIB used (Total process time):
      real time           0.17 seconds
      cpu time            0.03 seconds
      
10         

/********************************************************************************/

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I want to register a certain table I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1                                                          Das SAS System                               17:35 Monday, April 24, 2017

NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) Proprietary Software 9.4 (TS1M4 MBCS3170) 
      Licensed to ********.
NOTE: This session is executing on the X64_SR12R2 platform.



NOTE: Updated analytical products:
      
      SAS/STAT 14.2
      SAS/ETS 14.2
      SAS/OR 14.2
      SAS/QC 14.2

NOTE: Additional host information:

 X64_SR12R2 WIN 6.3.9600  Server

NOTE: SAS-Initialisierung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
NOTE: The autoexec file, D:\SAS\Config\Lev1\SASApp\WorkspaceServer\autoexec.sas, was executed at server initialization.
1          libname dwh list;
ERROR: Libref DWH ist nicht zugewiesen.
ERROR: Error in the LIBNAME statement.&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;However if I call libname list or proc datasets it works perfectly with the same credentials:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;29         libname dwh list;
NOTE: Libref=   DWH 
      Scope=    Object Server
      Engine=   ORACLE
      Physical Name= ****.world
      Schema/User= ***
30         %let lib=dwh;


31         proc datasets library=&amp;amp;lib;
SYMBOLGEN:  Macro variable LIB resolves to dwh
32         	
32       !  contents data=QW_KOSTENTRAEGER;
33         quit;

NOTE: PROCEDURE DATASETS used (Total process time):
      real time           6.08 seconds
      user cpu time       0.12 seconds
      system cpu time     0.03 seconds
      memory              1912.40k
      OS Memory           20728.00k
      Timestamp           04/24/2017 05:30:53 PM
      Step Count                        6  Switch Count  2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: for now I don't have access to \Lev*\ folder so couldn't dig deeper.&lt;BR /&gt;&lt;BR /&gt;Any suggestions what could be the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/352924#M8372</guid>
      <dc:creator>devrant</dc:creator>
      <dc:date>2017-04-24T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Updating/registering metadata for a certain table in ORACLE from Management Console</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353089#M8377</link>
      <description>&lt;P&gt;I assume the first log fragment is provided by the SAS Management Console Update Metadata feature? Who are you logged into SAS MC as - an unrestricted user (e.g. sasadm@saspw) or a normal user? &amp;nbsp;When you used Update Metadata were you prompted for credentials or were they automatically used (from stored credentials for the DB servers auth domain on your user&amp;nbsp;or a group you are a member of)? Have you confirmed those credentials are valid by using the database client to login (e.g. sqlplus)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What was used to generate the 2nd and 3rd log fragments and what is the different=ce between them - it looks like they might be from the same session (given&amp;nbsp;the jump from&amp;nbsp;1 to line 29). What code did you submit in between? Were you expecting the dwh library to have been pre-assigned (is it configured so in metadata or autoexec)? I assume you submitted a libname statement for dwh with the required connection parameters. If so, can you supplied that code (suitably anonymized)? How have you confirmed that&amp;nbsp;any credentials fetched from metadata are the same as any credentials you supplied on a libname statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the number of questions, I'm just trying to understand&amp;nbsp;your situation.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353089#M8377</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-04-25T03:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Updating/registering metadata for a certain table in ORACLE from Management Console</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353116#M8379</link>
      <description>&lt;P&gt;Hello Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes indeed, the &lt;STRONG&gt;first&lt;/STRONG&gt; part is from &lt;STRONG&gt;MC&lt;/STRONG&gt;, I'm logged in as sasadm@saspw (unrestricted). The credentials were stored credentials, that I've previously added as Auth Domain for the "oracle users" user group. In SQL developer the DB is working perfectly with the same user credentials and path/schema. The library is pre-assigned as I've configred it in metadata.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;second&lt;/STRONG&gt; log snippet is also from &lt;STRONG&gt;MC&lt;/STRONG&gt;, when I tried to register the table in the library. I was able the register all the other tables in this DB/schema without any (unexpected)&amp;nbsp;problems. The LIBNAME statement generated by MC, if I remove pre-assigment is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME dwh ORACLE  PATH="path"  SCHEMA=schema USER=user PASSWORD="secret" ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I&amp;nbsp;run (after removing pre-assignment) the above LIBNAME statement&amp;nbsp;with my own user, that is a member of the previously mentioned "oracle users" user group&amp;nbsp;in &lt;STRONG&gt;EG, &lt;/STRONG&gt;&amp;nbsp;the log is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;29         LIBNAME dwh ORACLE  PATH="***.world"  SCHEMA=schema USER=user PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ;
NOTE: Libref DWH was successfully assigned as follows: 
      Engine:        ORACLE 
      Physical Name: ***.world&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I&amp;nbsp;run (after removing pre-assignment) a self written LIBNAME statement&amp;nbsp;with my own user in &lt;STRONG&gt;EG, &lt;/STRONG&gt;&amp;nbsp;the log is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;29         libname dwh oracle  path=***.world schema=schema user=user password=XXXXXX ;
NOTE: Libref DWH was successfully assigned as follows: 
      Engine:        ORACLE 
      Physical Name: ***.world&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;&lt;STRONG&gt;Note: &lt;/STRONG&gt;I've used 2 different sessions of &lt;STRONG&gt;EG&lt;/STRONG&gt; for each LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I should've probably mentioned that I used &lt;STRONG&gt;EG&lt;/STRONG&gt; for the &lt;STRONG&gt;third&lt;/STRONG&gt; log part. Here I've been logged with my own user, that is a member of the previously mentioned "oracle users" user group. Yes the credentials saved in metadata are the same as the ones I've supplied, because that is how I set it up (and also as the ones I use for SQL developer).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353116#M8379</guid>
      <dc:creator>devrant</dc:creator>
      <dc:date>2017-04-25T07:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Updating/registering metadata for a certain table in ORACLE from Management Console</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353127#M8380</link>
      <description>&lt;P&gt;I suspect your problem stems from the fact you are trying to&amp;nbsp;do work as an unrestricted user that involves fetching credentials from metadata. U&lt;SPAN&gt;nrestricted do have a restriction. They are not allowed to fetch passwords from metadata (I assume because they can access everyones logins). A password is returned but it is 8 asterisks (********). Is the encoded password you are seeing {SAS002}B6535B5C02BB1BC110FD31944FC989D3 (pwencode of&amp;nbsp;8 asterisks)? &amp;nbsp;You can see a similar problem in this thread&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/Login-password-not-getting-updated-in-SAS-Management-Console/m-p/292868#M5768" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/Login-password-not-getting-updated-in-SAS-Management-Console/m-p/292868#M5768&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Trying doing the SAS MC Update Metadata using a restricted account, such as your normal login, that is able to fetch the shared oracle credentials from metadata.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 08:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353127#M8380</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-04-25T08:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Updating/registering metadata for a certain table in ORACLE from Management Console</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353128#M8381</link>
      <description>&lt;P&gt;Thanks Paul!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This did the trick:&lt;BR /&gt;&lt;BR /&gt;I've added my own account to SAS Administrators user group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 09:17:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353128#M8381</guid>
      <dc:creator>devrant</dc:creator>
      <dc:date>2017-04-25T09:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Updating/registering metadata for a certain table in ORACLE from Management Console</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353142#M8382</link>
      <description>&lt;P&gt;That's good to hear. Thanks for marking it solved.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 11:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Updating-registering-metadata-for-a-certain-table-in-ORACLE-from/m-p/353142#M8382</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-04-25T11:03:16Z</dc:date>
    </item>
  </channel>
</rss>

