<?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: cannot register table to library in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/cannot-register-table-to-library/m-p/415839#M8761</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/147401"&gt;@Chrystopher&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you have a look at &lt;A href="http://support.sas.com/kb/43/224.html" target="_self"&gt;Problem Note 43224&lt;/A&gt;&amp;nbsp;(&lt;EM&gt;An error message appears in your SAS® log if you use the METALIB procedure to register or update a view that is defined in a Sybase database&lt;/EM&gt;)?&lt;/P&gt;
&lt;P&gt;if you try to use the METALIB procedure, what is the behaviour (valid if you're trying to register table from SAS Management Console)?&lt;/P&gt;
&lt;P&gt;Do you have the issue with any Sybase view or maybe those with an index?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Damo&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2017 14:29:15 GMT</pubDate>
    <dc:creator>Damo</dc:creator>
    <dc:date>2017-11-23T14:29:15Z</dc:date>
    <item>
      <title>cannot register table to library</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/cannot-register-table-to-library/m-p/415726#M8748</link>
      <description>&lt;P&gt;When&amp;nbsp; I try to register table(view from sybase ASE) to library i get the following error, but when i register table(table from sybase ASE)&amp;nbsp; i have no problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: End of registration for table library.view_name.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NOTE: Additional host information:&lt;/P&gt;&lt;P&gt;X64_SRV12 WIN 6.2.9200 Server&lt;/P&gt;&lt;P&gt;NOTE: SAS Initialization used (Total process time):&lt;BR /&gt;&lt;BR /&gt;NOTE: The autoexec file, D:\SAS\Config\Lev1\SASApp\WorkspaceServer\autoexec.sas, was executed at server initialization.&lt;BR /&gt;1 LIBNAME libray ODBC DATAsrc=datasourcename SCHEMA=dbo USER=dbo_user_net&lt;BR /&gt;1 ! PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ;&lt;BR /&gt;NOTE: Libref libray was successfully assigned as follows:&lt;BR /&gt;Engine: ODBC&lt;BR /&gt;Physical Name: transferencias&lt;BR /&gt;2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3 PROC SQL;&lt;BR /&gt;3 ! CREATE TABLE work._memTypes AS&lt;BR /&gt;4 Select MEMTYPE, MEMLABEL, COMPRESS, ENCRYPT, DBMS_MEMTYPE from dictionary.tables where libname="library" and&lt;BR /&gt;4 ! memname="view_name" and MEMTYPE in ("DATA", "VIEW");; quit;&lt;BR /&gt;NOTE: Table WORK._MEMTYPES created, with 1 rows and 5 columns.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SQL used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5 PROC SQL;&lt;BR /&gt;5 ! CREATE TABLE work._cols AS&lt;BR /&gt;6 Select NAME, TYPE, LENGTH, FORMAT, INFORMAT, LABEL, NOTNULL from dictionary.columns where libname="library"&lt;BR /&gt;7 and memname="view_name" and MEMTYPE in ("DATA", "VIEW");&lt;BR /&gt;NOTE: Table WORK._COLS created, with 24 rows and 7 columns.&lt;/P&gt;&lt;P&gt;7 ! quit;&lt;BR /&gt;NOTE: PROCEDURE SQL used:&lt;/P&gt;&lt;P&gt;8 PROC SQL;&lt;BR /&gt;8 ! CONNECT TO ODBC( DATAsrc=datasourcename USER="dbo_user_net"&lt;BR /&gt;8 ! PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX );&lt;BR /&gt;9 CREATE TABLE _Indexes AS&lt;BR /&gt;10 SELECT COLUMN_NAME, INDEX_NAME, SEQ_IN_INDEX, UNIQUE, 0 as ISPRIMARY&lt;BR /&gt;11 FROM CONNECTION TO ODBC(DBMS::Indexes("","dbo","view_name"))&lt;BR /&gt;12 order by INDEX_NAME desc;&lt;BR /&gt;NOTE: Table WORK._INDEXES created, with 0 rows and 5 columns.&lt;/P&gt;&lt;P&gt;13 QUIT;&lt;BR /&gt;NOTE: PROCEDURE SQL used:&lt;/P&gt;&lt;P&gt;14&lt;/P&gt;&lt;P&gt;15 PROC SQL;&lt;BR /&gt;16 CONNECT TO ODBC( DATAsrc=datasourcename USER="dbo_user_net"&lt;BR /&gt;16 ! PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX );&lt;BR /&gt;17 CREATE TABLE _PrimaryKeys AS&lt;BR /&gt;18 SELECT COLUMN_NAME FROM CONNECTION TO ODBC(DBMS::PrimaryKeys("","dbo","view_name"))&lt;BR /&gt;19 QUIT;&lt;BR /&gt;NOTE: Table WORK._PRIMARYKEYS created, with 0 rows and 1 columns.&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SQL used:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;21 PROC SQL;&lt;BR /&gt;22 CONNECT TO ODBC( DATAsrc=datasourcename USER="dbo_user_net"&lt;BR /&gt;22 ! PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX );&lt;BR /&gt;23 CREATE TABLE _ForeignKeys AS&lt;BR /&gt;24 SELECT PKCOLUMN_NAME, FKTABLE_NAME, FKCOLUMN_NAME&lt;BR /&gt;25 FROM CONNECTION TO ODBC(DBMS::ForeignKeys("","dbo","view_name", "", "", ""))&lt;BR /&gt;26 QUIT;&lt;BR /&gt;ERROR: Error executing CLI query statement: [SAP][ASE ODBC Driver][Adaptive Server Enterprise]Object does not exist in this&lt;BR /&gt;database.&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;27&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 01:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/cannot-register-table-to-library/m-p/415726#M8748</guid>
      <dc:creator>Chrystopher</dc:creator>
      <dc:date>2017-11-23T01:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: cannot register table to library</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/cannot-register-table-to-library/m-p/415839#M8761</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/147401"&gt;@Chrystopher&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you have a look at &lt;A href="http://support.sas.com/kb/43/224.html" target="_self"&gt;Problem Note 43224&lt;/A&gt;&amp;nbsp;(&lt;EM&gt;An error message appears in your SAS® log if you use the METALIB procedure to register or update a view that is defined in a Sybase database&lt;/EM&gt;)?&lt;/P&gt;
&lt;P&gt;if you try to use the METALIB procedure, what is the behaviour (valid if you're trying to register table from SAS Management Console)?&lt;/P&gt;
&lt;P&gt;Do you have the issue with any Sybase view or maybe those with an index?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Damo&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 14:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/cannot-register-table-to-library/m-p/415839#M8761</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2017-11-23T14:29:15Z</dc:date>
    </item>
  </channel>
</rss>

