SQL Anywhere 16
Hi all,
I installed on my laptop the sybase central - sql anywhere 16 client; and I able to connect with dbisql to a remote SAP ASE database, so I think that my ODBC driver is correctly configured. The remote connection works fine.
Now I'm tryng to connect with sql anywhere to the same database, but something goes wrong, i receive the following message:
This database is not a SQL database. The SQL Anywhere plug-in only support SQL Anywhere databases.
Do you know if exist the plugin for ASE database?
Thank you!
Hi Stefano,
For your connection SQL Anywhere 16 client to connect to ASE Database.
Please refer to link How to db connect from SAP to SYBASE SQL anywhere 16 remotely
Refer to comment from Jason Hinsperger Nov 27, 2014 3:32 PM
Kind Regards,
Johan
Similar Messages
-
Issues connecting to a SQL Anywhere repo from the Designer
I have installed DS4.2 SP2 on a number of Suse 11.1 Linux VMs using all of the standard settings, and making use of the bundled SQL Anywhere database as my repo.
I am getting an error in the Designer when I try to connect to certain repositories in the Login screen, but the problem is not happening on all installations.
The error is an ODBC message:
ERROR: ODBC call <SQLDriverConnect> to connect database <DS_REPO> failed with error: <[Sybase][SQL Anywhere]Database server not found>. Use the ODBCDriverSelector (Windows) or DSConnectionManager,sh (UNIX) utility in LINK_DIR/bin to configure the correct version of the driver.....(BODI-1112172)
I have checked both the ODBCDriverSelector on the machine running the Designer and DSConnectionManager on the server, and the drivers are all correct for SQL Anywhere 12. I can also successfully connect to the database from the Windows Repository Manager - the only problem is with the Designer.
I have tried adding an ODBC entry in the System DSNs for the repo database, and again I can successfully test the connection - but this hasn't fixed my issue, and the Designer can connect (when it can connect) even if a DSN isn't defined.
I'd appreciate any thoughts or advice.I have a solution - in the CMC, set the repo to use DNS. You need to first create an appropriate entry in the <install dir>/sap_bobj/enterprise_xi40/odbc.ini and then create an equivalent entry on your client ODBC settings.
-
ODBC Gateway on Linux error - connects ok with Sybase SQL Anywhere
OS: CentOS 5.8 64-bit
DB: Oracle XE 11gR1 64-bit
Gateway: Oracle Gateway for ODBC 64-bit
Database and gateway reside on same Linux Server.
Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
isql tool connects without any problems.
One LISTENER, service for db and gateway on same port.
===================================
Via SQL*Plus, the following error occurs....
SQL> select * from dual@dblink;
select * from dual@dblink
ERROR at line 1:
ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from dblink
===================================
sqlnet.ora
# sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH=(TNSNAMES)
ADR_BASE = /u01/app/oracle/product/11.2.0/xe
==================================
tnsnames.ora
# tnsnames.ora Network Configuration File:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
dblink =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521)
(CONNECT_DATA =
(SID = dblink))
(HS=OK))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
=======================
listener.ora
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = dblink)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/gtw)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/opt/sqlanywhere11/lib64:/u01/app/oracle/product/11.2.0/gtw/lib)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
========================
initdblink.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO=dblink
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
HS_FDS_TRACE_LEVEL=255
HS_LANGUAGE=american_america.we8iso8859p1
HS_NLS_NCHAR=UTF-8
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
========================
Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.915
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.914
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
HOSGIP returned value of "UTF-8" for HS_NLS_NCHAR
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dblink"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dblink
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
Invalid HS_NLS_NCHAR value UTF-8 specified
Setting HS_NLS_NCHAR to Server Default 2000
Invalid HS_NLS_NCHAR value UTF-8 specified
Setting HS_NLS_NCHAR to Server Default 2000
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Exiting hgoinit, rc=28513
hostmstr: 0: HOA After hoainit
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
=============================
Also, does anyone know how to determine the location (full path) of the unixODBC driver manager ?
Please assist if you can...thx.
Edited by: user601798 on Oct 15, 2012 3:37 PMLet me start with the unixODBC driver:
There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
is correct. Else you need to adopt the parameter.
Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
Thanks,
Klaus -
How to connect to SQL Anywhere db dynamically - No ODBC -
Hello all -
We have an application (c++) with several reports (crystal 10) that are dynamically connected to several access databases depending on the users request. We are now moving that application to .net (c#) and SQL Anywhere 11. I am able to create an odbc connection and use that connection to develop reports against the new database, but am unable to locate any information on how a connection can be established on the fly to run the report against different database instances. Can this be done dynamically from the application preferably with ADO.net? How? Where Can I find documentation supporting this?
Thanks in advance for you assistance,
ShawnSee the [Crystal Reports Guide To ADO.NET|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20]
and [Reporting Off ADO.NET Datasets|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75]
Other useful resources.
Troubleshooting Issues with VS .NET Datasets and Crystal Reports blog:
/people/ludek.uher/blog/2009/03/02/troubleshooting-issues-with-vs-net-datasets-and-crystal-reports
Samples:
https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427
VS2005 Walkthroughs:
http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
Also, search the forums. there is tons of info here.
Ludek -
PHP odbc_connect on a running SQL Anywhere 16 server
Hello,
please help with the following php odbc_connect problem:
On my local machine (win 7, 64 bits) is a running SQL Anywhere 16 database. Started with
dbeng16.exe -c 8m -n xx_test "G:\DEMOS\xx\DB16\test.db"
In the ODBC manager then created a ODBC connection (xxdsn).
But the connection from PHP 5.3.8 fails:
$verbindung = odbc_connect('xxdsn', 'dba', 'sql');
It shows
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Sybase][ODBC Driver][SQL Anywhere]Datenbankserver nicht gefunden, SQL state 08001 in SQLConnect in verbindung.php on line 4
The database is definitively runnig. Tested by opening an odbc connection from isql.
When I create an odbc connection on a database file, I can make an php odbc_connect.
This problem is only on the Win 7 machine and also with SQL Anywhere 12.
When I try the same on a (32 bits) XP machine it runs fine.
Please help, to find my mistake.
Thanks in advance!
Best regards,
PeterHi Mirco,
thank you for your time. Here both log files.
From XP:
Donnerstag, 19. Februar 2015 15:03:4
15:03:42 Verbindungsversuch mit:
UID=dba;PWD=********;DBN=xxx_16;ServerName=xxx;CON=SQL_DBC_4224f48;LOG=C:\temp\sybase.log
15:03:42 Verbindungsversuch mit einem laufenden Server...
15:03:42 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
15:03:42 Verbunden mit Server über SharedMemory
15:03:42 Verbunden mit SQL Anywhere Server Version 16.0.0.1324
15:03:42 Hinweise zur Anwendung:
15:03:42 IP=192.168.178.24;HOST=COMPAREX;OSUSER=SYSTEM;OS='Windows XP Build 2600 Service Pack 3';EXE=E:\apps\OSGeo\mgos251\Web\Apache2\bin\httpd.exe;PID=0x250;THREAD=0x2d4;VERSION=16.0.0.1324;API=ODBC;TIMEZONEADJUSTMENT=60
15:03:42 Verbunden mit dem Server, Verbindung mit einer laufenden Datenbank wird versucht...
15:03:42 [ 2] Verbindung mit der Datenbank erfolgreich eingerichtet
15:03:43 [ 2] Verbindung zum Server getrennt
From Win 7 (PHP connection):
Donnerstag, 19. Februar 2015 14:48:23
14:48:23 Verbindungsversuch mit:
UID=dba;PWD=********;DBN=xxx_16;ServerName=xxx;CON=SQL_DBC_293610;LOG=c:\temp\sybase.log
14:48:23 Verbindungsversuch mit einem laufenden Server...
14:48:23 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
14:48:23 Kein benannter Puffer des gemeinsam genutzten Speichers gefunden
14:48:23 Es wird nicht versucht, einen Server automatisch zu starten
14:48:23 Verbindung mit dem Server nicht möglich
But trying to start ianywhere on Win 7 machine with
dbisql -c "DSN=xxxdsn;LOG=c:\logs\test.txt"
shows this log:
Donnerstag, 19. Februar 2015 15:49:27
15:49:27 Verbindungsversuch mit:
UID=dba;PWD=********;ServerName=xxx;CON=SQL_DBC_5d09b6f0;INT=NO;LOG=c:\temp\sybase.log
15:49:27 Verbindungsversuch mit einem laufenden Server...
15:49:27 Start der SharedMemory-Verbindung wird versucht ...
15:49:27 SharedMemory-Verbindung erfolgreich gestartet
15:49:27 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
15:49:27 Verbunden mit Server über SharedMemory
15:49:27 Verbunden mit SQL Anywhere Server Version 16.0.0.1948
15:49:27 Hinweise zur Anwendung:
15:49:27 IP=192.168.178.37;HOST=peterhp;OSUSER=peter;OS='Windows 7 Build 7601 Service Pack 1';EXE=C:\apps\asa16_64bit\bin64\dbisql.exe;PID=0x2410;THREAD=0x24c4;VERSION=16.0.0.1948;API=iAnywhereJDBC;TIMEZONEADJUSTMENT=60
15:49:27 Verbunden mit dem Server, Verbindung mit einer laufenden Datenbank wird versucht...
15:49:27 [ 2] Verbindung mit der Datenbank erfolgreich eingerichtet
15:49:27 [ 2] Anzahl der abgerufenen Zeilen reduziert auf 16 entsprechend der
15:49:27 [ 2] Abrufpufferbegrenzung. Verbindungsparameter 'PrefetchBuffer' kann Performance verbessern.
When I try to use the HOST parameter, the connection fails. However both machines running local.
Thank you too,
Peter -
SQL Anywhere 11 databases are getting corrupt
Hi
We are having problems with databases that are getting corrupted.
We have a server that runs a SQL Anywhere 11 database. (the consolidated database)
Beside that, we have about 15 remote databases that run on the laptops of our mobile workforces.
To keep all databases in sync, we have setup a two-way server-to-laptop replication.
For the replication process we use “SQL Remote”.
Each laptop should replicate his data once in about 1 or 2 weeks.
For exchanging the messages we use the message type “file”.
This year we already experienced 6 times that a remote database got corrupt after replication. (after running dbremote.exe).
The log file of the dbremote utility does NOT show any errors, the replication seems to be finished without any problems.
But after this, it’s not possible anymore to connect to the database, because of the following assertion error:
[Sybase][ODBC Driver][SQL Anywhere]Internal database error *** ERROR *** Assertion failed: 201501 (11.0.1.2376)
Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
Error code=-301
SQL state=HY000
Can someone tell me more about this error?
What goes wrong and why?
Or does someone has some tips on how to prevent this or tips on how I can do some analyzing myself to see what exactly got broken in the database?
Any help is appreciated.
Thanks.Hi Krenton,
Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
Error code=-301
SQL state=HY000
Can someone tell me more about this error?
Specifically, the page at offset 0x7182d1 in database (So if you have a 4KB page size, this would be byte offset 7439057 x 4096 = 30470377472 into the database) in 0x0 (the main database running) has a page header that indicates that the data on the page is not table data. We don't know what it is, but the signature for table information connected to the table you're scanning is 'not as it should be'.
What goes wrong and why?
In the real world, lots of things can go wrong. I list some of the possible things on this question here on the SQL Anywhere forum. This list can include software bugs, but can also include instances where the media is not respecting write-through or write-ordering - see http://scn.sap.com/docs/DOC-34090 (SQL Anywhere I/O Requirements for Linux and Windows) for more details.
There are also known instances where Intel drivers are not set with the correct write-through settings. The details of this are in the documentation: DocCommentXchange (Improving Robustness on Intel storage drivers).
Technical Support should still provide assistance. If the problem is a newly-discovered bug in SQL Anywhere 11, their advice will be to apply a more recent EBF or upgrade to a new version. However, that is unlikely in this case.
Breck is correct - it would probably be best to take a look at the database file in technical support for more clues as to what's happening here. With the current information, it's hard to say more than "something was not correct at the time the page was looked at by the database server."
Regards,
Jeff Albion
SAP Active Global Support -
SQL Anywhere 11 on Ubuntu / PHP
Hi there,
I have been trying (with no success) to connnect our PHP app to Sybase database.
Our actual scenario is:
Windows2003/ ODBC {SQL Anywhere 11 Driver} / PHP ------> Windows2008 / Sybase
We are to migrate our PHP:
Linux Ubuntu Server / UnixOBC {SQL Anywhere 11 ODBC Driver} / PHP -------> Windows2008 / Sybase
In the migration process I configured FreeTDS trying somethink like:
/etc/fretds/freetds.conf
[global]
tds version = 4.2
dump file = /tmp/freetds.log
; debug flags = 0xffff
; timeout = 10
; connect timeout = 10
text size = 64512
[sybase]
host = 172.19.2.252
port = 2640
; instance = ek_cadu_0103040607
tds version = 5.0
ASA database = ek_adm01_11
php-script
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
$cnn = sybase_connect('sybase', 'dba', '_._ENKONTROL_._');
?>
This script shows the following errors:
Warning: sybase_connect(): message: SQL Anywhere Error -83: Specified database not found (severity 16) in /var/www/testodbc.php on line 4
Warning: sybase_connect(): General SQL Server error: Check messages from the SQL Server (severity 16) in /var/www/testodbc.php on line 4 Warning: sybase_connect(): Unable to connect to server: sybase in /var/www/testodbc.php on line 4
Can anyone help?. Thank you in advance.
Marinho.Hi Marinho,
SQL Anywhere does not support FreeTDS. SQL Anywhere does support Open Client and jConnect connections over TDS.
The sybase_* functions pre-built with PHP are for (Sybase) Adaptive Server Enterprise (ASE), not SQL Anywhere - they are separate products.
Is there a particular reason you're not using the SQL Anywhere PHP module ( http://scn.sap.com/docs/DOC-40537 ), with the sasql_* functions that are intended for use with SQL Anywhere?
Regards,
Jeff Albion
SAP Active Global Support -
ODBC Error when migrating from SQL Server 2008 to SQL Anywhere 12
Hello community,
i have the following requirement:
I need to migrate a Database with some Demo data into a SQL Anywhere 12 Database. The SQL Anywhere 12 Database is part of the SAP BusinessObjects Enterprise XI 3.1 SP7 installation and came with the same as OEM Product.
The Environment looks like the following:
DB1 is a MS SQL Server 2008 R2 64 Bit running on Windows Server 2008 R2 64 Bit.
DB2 is the SAP BusinessObjects Enterprise XI 3.1 SP7 installation with the shipped SQL Anywhere 12 (12.0.1.3873) Database running on SLES 11.3 64 Bit
CL1 is my Windows 7 64 Bit Client where Sybase Central is installed in 64 Bit. On CL1 i have a 64 Bit System ODBC Connection connecting to DB1 successfully.
Basically i followed the following (pretty straight forward) tutorial:
Migrating a SQL Server Database to SQL Anywhere White Paper-Technical: Mobile Enterprise, Database Management iAnywhere …
When i want to test the connection from inside Sybase Central (During the migration process) i receive the following error:
From inside Sybase Central my connection looks as follows:
And from the ODBC Manager the connection looks as follows:
Personally i found is strange that the Sybase ODBC Driver Manager drops the error. I would expect that the MS SQL ODBC Driver Manager pops the error it its related to the ODBC DSN to DB1.
Any ideas?
Thanks and Regards
-Seb.Hi Sebastian,
The data from the SQL Server database must be migrated to an existing SQL Anywhere database. Could you please tell me where this SQL Anywhere database resides and how are you connecting to it?
The error message is saying that the connection to the SQL Anywhere remote database server is failing, as opposed to the connection to the SQL Server database. -
Sybase with ase and sql anywhere 16 using ssma
ok this may sound like a very dumb question but how does one connect to sybase central (sql 16 anywhere) using ssma.
In my ase connections when i do test connection it returns successful however when i click on ssma > connect to sybase it returns
ERROR [08001] [SAP][ASE ODBC Driver]Client unable to establish a connection
i have my network server running on sybase using sql anywhere 16 network server.
I also had my firewalls off
any help would be appreciated.Hi Jeff ,
Thank you so much for the reply.
I have used 32 bit PHP.
But now we have resolved above mentioned issue. Now we can connect PHP with SQL Anywhere successfully.
Regards,
Vishal Chikhalikar
PHP Programmer -
Problems with JConnect, Sybase SQL Anywhere 5.x
Hi
I use Sybase SQL Anywhere 5.x, Apache Server, Apache Jserver.(WINNT)
I must to write servlet, which connects to Sybase database using JConnect.
When database is on the same host as Apache server, and my servlet i run services:
Open Server Gateway (dbos50.exe <server_name>), where server_name in sql.ini is
"master=NLWNSCK,x.x.x.x,8001" (x.x.x.x is my IP)
Standalone Engine (dbeng50.exe <path to the database>)
And all is ok
But I don't known, what to do, when my database is on other host, neither my servlet(aplication and JConnect)
Which services I must run on Host, where database is?
Which services I must run on Host, where JConnect and servlet(aplication) are?
Must I use Cascade Gateway or TDS tunneling?
Can you help me?
Thanks.Hi,
I need to connect to Sybase SQL Anywhere version 5.5.05, too, but I can't find the driver to connect to the server, could u tell me about this? Please share it with if available.
thanks. -
Problem when changing connection to SQL Anywhere during runtime
I designed a report in the Crystal Reports 2008 designer using a JDBC connection
to a SQL Anywhere 11.0.1 database.
Everything works fine, I´m able to preview the report in the designer.
But when loading and running the same report in a Eclipse-based java-application I receive
an error.
When I set the db connection parameters I receive an "unexpected database-connector-error".
When starting the report without changing the connection parameters set in the CR2008-designer
the same error appears.
When using a report based on a MySQL-database everything works fine.
I´m able to preview the report in the designer and I´m able to load the report
and change the datasource to another MySQL-database at runtime.
What do I have to do to change a SQL Anywhere connection at runtime?Your workflow and the specific method being invoked where you're getting the exception is unclear.
Sincerely,
Ted Ueda -
How to db connect from SAP to SYBASE SQL anywhere 16 remotely
Hi All,
May i know can i connect to SYBASE SQL Anywhere16 from SAP running on kernel 7.42 via dbacockpit (dbco)?
I've followed note 1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ & 1532253 - SYB: Remote DB Monitoring for SAP Sybase ASE
but failed.
Where can i find the dbsl and its client for sybase sql anywhere? I only can find SAP ASE and SAP IQ on SMP. Is those compatible with SQL anywhere 16?
Thanks.
NicholasHi Jason,
the error message is it complains minimun version for SAP IQ is 15.6, however our SQL anywhere is on version 16, above the support version as per note1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ
fyi, i'm using the latest sybase dbsl and SAPIQ 16 client.
Any idea or will it works to remotely connect SQL anywhere via dbacockpit?
Thanks,
Nicholas. -
Reading data from Sybase SQL Anywhere 7 database to write into a SQL Server database
Hi,
I need to import data from a Sybase SQL Anywhere vers. 7 database. This RDBMS was used more 10-12 years ago. I want to write Sybase data into a SQL Server 2008 R2-2012 database. For testing purposes I'm using SQL Server 2005.
After that I've installed Sybase SQL Anywhere vers. 7 I can use the Adaptive Anywhere 7.0 ODBC. I'd like to use SSIS to import Sybase data, but I cannot create an OLE DB connection in a right manner while I can create and ODBC connection manager and so I
can use an Execute SQL task (and not a data flow task, unfortunately!).
Well, after using this Execute SQL task to read fe a table with thousands of data rows how can I write the entire data collection on a SQL Server table?
ThanksBelow link may be helpful,
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/184c937a-2b2c-4e59-b4d7-e8d3d1b476b3/net-provider-for-oledb-sybase-adaptive-server-anywhere-ole-db-provider-90-cant-be-located-when?forum=sqlintegrationservices
http://supun-biz.blogspot.in/2010/11/extracting-data-from-sybase-sql.html
Regards, RSingh -
What is "SQL Anywhere" in Data Source definition?
Hi All,
What is "SQL Anywhere" in Data Source definition? and what is the use ?Sybase SQL Anywhere (http://www.sybase.com/products/databasemanagement/sqlanywhere)
-
Driver to connect from SAP PO 7.4 on Sybase to third party SQL anywhere 12
Hi All, We have PO 7.4 on Sybase 16.01 and wants to connect third party SQL anywhere 12(Sybase). We have already the Driver: jconn4.jar in the location --> /usr/sap/SID/J00/exe/sybjdbc in the PO system. Do we need to have any other driver for connection from SAP PO 7.4 on Sybase to third party SQL anywhere 12(Sybase). Please suggest. Regards, Karthik.
Hi Karthik,
I guess PO comes from Process Orchestration with Netweaver ?
Anyway to be able to connect to a remote database, from Netweaver you need a DBSL. It comes with Netweaver kernel: the lib_dbsl required to connect to ASE and IQ (and IQ uses SQLAnywhere ODBC), but there is not specifically to SQLAnywhere (even if the ODBC used for IQ is the ODBC of SQLAnywhere). I guess that *maybe* you can try using your current Sybase lib_dbsl. I don't know how you configure remote connections from PO (with Netweaver it would be done with DBCO t-code) and to be honest I won't be sure it is a supported remote connection.
Regards,
Victoria. -
Sybase SQL Anywhere Plugin Beta Program
The Beta Program for the Sybase SQL Anywere Plugin to the
Migration Workbench will be commencing soon and we are presently
looking for beta customers.
If you are interested in getting early access to the SQL Anywhere
Plugin then please send an email to :
[email protected]
Regards,
Marie
Oracle Technology Network
http://technet.oracle.com
nullLet me start with the unixODBC driver:
There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
is correct. Else you need to adopt the parameter.
Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
Thanks,
Klaus
Maybe you are looking for
-
I went to my lexus dealership and they tested my car, replaced and bought 3 different type of fm transmitters. But when I plug up my iphone 4 & my 5 it plays perfect through my car speakers. Could help me with some troubleshooting steps to elevate th
-
When I double click Home button to change apps quickly, only the four apps that reside on the task bar show. All of my apps would show prior to my reset of the iPad last night (to fix the Home button). Any ideas on how to fix?
-
Hello Experts, Is there any standard report which shows Asset ID, Asset Tag, Acquisition Cost, Accumulated Depreciation, NBV and PO numbers? Thanks, Bob
-
How to find standby db location
Hi all, How can i know that database has standby database(data guard)? without checking log_archive_dest_2 (or) remote. is there any view to find out. Thanks.
-
A single record keeps returning to my DHCP server. If I delete or edit it it automatically returns as it was. I have deleted the bootp.plist to no avail the record returns. Where is this data stored so I can remove it