PocketBuilder 2.5.2 and SQL Anywhere 12

Hi all,
I have a Windows Mobile device . It should run SQL Anywhere 12 with Pocket Builder 2.5.2. But at the start on the mobile device always get the message that the driver dbodbc10.dll missing . Where can I set that the driver of ASA 12 should be taken ? Or does this not work with ASA 12 .
Thanks for help.
André Rust

Hello Andre,
PocketBuilder 2.5.x is not supported and no longer sold anymore. Moreover, it has not been tested against ASA 12:
Software used for database connection
You might try what is explained below from link SyBooks Online (Archive)
Connecting to a SQL Anywhere database
By default, PocketBuilder runtime applications on the Windows CE device use
the PKODB25.DLL dynamic link library to connect to SQL Anywhere data
sources through the SQL Anywhere version 10 ODBC driver (dbodbc10.dll).
You can specify a different ODBC driver by including the
driver=dbodbcX.dll parameter in your DBPARM
ConnectString assignment or in the file data source, where X is
the version number of the ODBC driver for Adaptive Server Anywhere or SQL
Anywhere.
For example, to use the Adaptive Server Anywhere 9 ODBC driver on the Windows
CE device, you can use the following DBPARM:
SQLCA.DBPARM="ConnectString='DSN=myDSN;driver=dbodbc9.dll;UID=dba;PWD=sql'"
CONNECT using SQLCA;
SQLCA is the default connection object in all PocketBuilder environments.
In all runtime environments, the connect string for the DBPARM parameter must
not include spaces other than those in the data source name (DSN). The DSN you
assign must exist in the root directory on the Windows CE device or emulator.
When you install the complete PocketBuilder runtime package to the device or
emulator (rather than just the runtime DLLs), the ASA 9.0 Sample.DSN file
is added to the root directory. Instead of using the ConnectString DBPARM to set
the driver name, you can modify ASA 9.0 Sample.DSN, or any other DSN file
that you use, so that it includes an assignment for the database driver:
[ODBC] enginename=asademo databasename=asademo databasefile=\Program Files\Sybase\ASA\asademo.db start=\Program Files\Sybase\ASA\dbsrv9.exe Driver=dbodbc9.dll
If you are using the ASA Sample database that is migrated to SQL Anywhere 10,
you can deploy the DemoDB_SA10.DSN file with your application. The
PocketBuilder setup program installs this DSN file in the PocketBuilder
Code Examples\SADemoData\SA10 directory. The DSN file sets the the
databse file to \Program Files\SQLAny10\ASADemo_10.db, and the driver
name to dbodbc.dll.
SQL Anywhere requires that DSN files be saved in ANSI format rather than
Unicode format.
If you are running your PocketBuilder applications from the desktop, it is
recommended that you use the actual name of the driver (for example, “Adaptive
Server Anywhere 9.0”) in a ConnectString DBPARM rather than the name of the DLL.
Otherwise, the driver you select in the connection string might be ignored.
HTH
Jacob

Similar Messages

  • 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

  • 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,
    Shawn

    See 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

  • Trouble with SQL Anywhere 16

    We are having an issue with SQL Anywhere 16 and were wondering if there is a patch/fix or something that we need to look elsewhere. Our tester is being kicked out of out Sybase application whenever doing certain types of queries and as a result the database is being shutdown. We then have to go back into Sybase 16 and restart the database. We do not recall having this problem with SQL Anywhere 11.5. We have just recently upgraded to SQL Anywhere 16.

    Hi Lawrence,
    I think there's some confusion from both groups on this question. There was never a SQL Anywhere 11.5 version - we had SQL Anywhere 11.0.0, and SQL Anywhere 11.0.1. There was an ASE 11.5 and ASE 16.0 release though, so it is confusing to know which product you are inquiring about based on the version.
    Please provide some further details about which product you are using, the method in which you're using to start your database, and the connection strings that you're using. Hopefully with some more specific database configuration information, we can help you figure out which database product you're looking for additional help on and provide some suggestions.
    Thanks,
    Jeff Albion
    SAP Active Global Support

  • Update Sybase SQL Anywhere

    BH
    Hi,
    I'm trying to update Sybase SQL Anywhere, and I'm taken to a website which says "You have selected a download which requires a Technical Support Contact registered with MySybase. Please register your Technical Support Contact at: Edit Roles."  This seems new.  I always was able to download the updates before.  What should i do?
    Thanks
    Aron

    Hi Aron,
    As of July 7th, 2014, updates/EBFs for SQL Anywhere are no longer available for anonymous public download on sybase.com unless you had a prior Sybase Technical Support contract that you are continuing to use. Even with a contract, this resource is scheduled to be decomissioned on December 15th.
    Updates/Patches ("Support Packs") for SQL Anywhere are now supplied through your SAP Support Contract and are available through the SAP Support Portal. You can find SQL Anywhere 12 patches here and SQL Anywhere 16 patches here.
    Regards,
    Jeff Albion
    SAP Active Global Support

  • Sql Anywhere product road map

    Hello, all
    Our company is about to start a new large project soon.
    Several DB providers are being evaluated, among them SAP SQL Anywhere.
    Since this is going to be a product line for the next 15-20 years, we need to know if SAP has road map for SQL Anywhere.
    The vagueness of SQL anywhere  future is currently the biggest drawback for us, since technically it is an excellent solution.
    If anyone can point me to the product road map, it would very helpful.
    Thank you
    Arcady

    Hi Arcady,
         As far as I know, SQL Anywhere is alive and well.  In addition to being offered as an product for sale to end users and OEMs, it is part of, or included with, many other SAP solutions.  For example, SQL Anywhere is included as part of Business Objects and the SAP Mobile Platform, and SQL Anywhere data synchronization (MobiLink) is currently in beta as a new offering for the Hana Cloud Platform.
    There is a recent product roadmap for SQL Anywhere posted on SAP Service Marketplace, which you should be able to access if you have an account.
    Development is continuing on SQL Anywhere and a new release is planned for this year (I don't believe a firm date has been announced yet).
    Hopefully this information helps to address your concerns.  If not, please feel free to contact me directly if you have any further questions about the future of SQL Anywhere (firstname dot lastname at sap dot com).
    --Jason Hinsperger
    Sr. Product Manager
    SAP

  • SQL Anywhere Licenses v9 with v16 and v16 with v9

    Have a customer running Sybase SQL Anywhere v9.
    They currently have nine networked client licenses.
    They need an additional seven.
    The current SAP license offering is v16 networked client licenses.
    Will v16 networked client licenses work with v9 SQL Anywhere?
    Additionally,
    The customer will eventually upgrade to SQL Anywhere v16.
    Will their current v9 networked client licenses work with SQL Anywhere v16?
    Thanks.

    Hi George,
    I believe that the client needs to buy or upgrade (if this is possible) the available licenses to the last version to be legal... If your question is about using asa 9 client to connect in a v. 16 server, then the answer is,  it should work, but only functionality from asa 9 will be available in the client side. Actually, in the past we had an issue, where a 3rd party application was not able to communicate with an sql anywhere server v.11 using v.11 client. But it was working fine to connect using obbc client from asa 8! We do have a cpu license which has no limit on the clients... So we used asa 8 to connect through the 3rd party app, and 11 client to connect through our application.
    And the remaining question is if it's legal or not... and I'm not the appropriate person to give an answer...
    Andreas.

  • Sybase SQL Anywhere 12 and SAP Sybase SQL Anywhere 16

    Hello,
    Is there a difference between Sybase SQL Anywhere 12 and SAP Sybase SQL Anywhere 16?
    If there is, could you please list out the general information. i.e. is v12 (i.e. pre SAP purchase of Sybase) just older than v16 (i.e. post SAP purchase of Sybase) ?
    I know that Hyland's OnBase 14 supports both of these versions. Just having a difficult time trying to find information about Sybase SQLA v12 - if it is even still available for purchase, etc.
    Any information would be appreciated.
    Thank you,
    Christian Jones

    SAP Sybase SQL Anywhere 16 is the next major version of SQL Anywhere after SQL Anywhere 12.
    The following documentation link DocCommentXchange will include  information about the changes made for v16.  For information specific to v12, see DocCommentXchange which has links for both v12.0.0 and v12.0.1 documentation as I suspect that most of the marketing materials would be focused on v16.
    Both v12 and v16 are available for sale. Here is a link SAP SQL Anywhere v16.0 | SAP Online Store
    where you will purchase v12 and v16 software (look at the sidebar for the v12 links).

  • SQL Anywhere 12 and Windows 9

    Hi all,
    with Windows 9 in the pipe-line and being released to developers soon (due end of Sept) will SQL Anywhere 12.0.1 be supported on Windows 9?
    I called the help line and they didn't have any documentation on Win9 yet.
    I also submitted a "Contact Us" request almost 2 weeks ago but have not had a response yet.
    Thanks
    David

    We generally support the latest versions of all of the supported operating systems for the active shipping versions of SQL Anywhere (v12 is currently an active version). 
    I expect we will support Windows 9 with SQL Anywhere 12, but no final decision has been made.  We will need to evaluate the tech. previews as they are released before making that decision.
    --Jason Hinsperger
    Sr. Product Manager
    SAP

  • Afaria Database on SQL Anywhere 12 and Replication

    Hi,
    I have Afaria Farm and I Use SQL Anywhere 12 as database server.
    I want to replicate this database to another SQL Anywhere 12 Server.
    Which one is good way to replication
    And can I have some documentation that tells this step by step?
    I am not a DB admin.

    Hello Tevfik,
    I think we need to understand your requirements a little more: why are you interested in SQL Anywhere replication and what are your plans for it?
    If you're looking for an always-available SQL Anywhere database for Afaria, there is high-availability (database mirroring). This will allow you to maintain two database server partners (with a third arbiter), where the primary has read/write capabilities and the mirror partner is read-only. There is a tutorial here in the documentation.
    If you're looking for a reporting server to do read-only queries for reporting, there is read-only scale out (copy nodes). The tutorial can be found here.
    Are you trying to keep a backup copy of your database via replication? If so, you may want to consider live backups (see the wiki), or just regular backups (also see the wiki). Regular backups should still be used in conjunction with any of the high-availability scenarios described above.
    If you're really looking for data movement, particularly to multiple database nodes, there is synchronization to other enterprise databases (including SQL Anywhere, but this also includes HANA, ASE, IQ, etc.) with MobiLink and replication to other SQL Anywhere databases, via SQL Remote. MobiLink uses a session-based HTTP or TCP/IP connection as a transport, while SQL Remote can use offline FILE, FTP, SMTP, and online HTTP as a transport.
    You may read elsewhere that historically SQL Anywhere can also be used with SQL Remote for Adaptive Server Enterprise (ASE) or Replication Server for replication, but both of these methods have been deprecated and removed in current versions and are not supported by development.
    Regards,
    Jeff Albion
    SAP Active Global Support

  • How to Change the default format for differnt language both in java and SQL

    Hello,
    I am using SQL Anywhere in my application.And in my java client application user can log in with their preferred language like English,French,German,Chinese,etc....When even the user log in to the application the data from the database will be displayed with respective to the language.But when i tried to see the dates in Interactive SQL all the dates r in the format of '2008-12-5 16:44:10:673' but say for example for Chinese it will be displayed as '08-12-5 16.44.10' and for some other language it will come in some other format(which is standard format for those language).
    Mean while i am using java client.When ever i am displaying a date it will be with respective to the language using Locale and date format classes.When i am displaying the date for Chinese in GUI it will show the date as '08-12-5 下午4:44'. In summary
    1. For Chinese,the default date pattern from SQL Anywhere date base is '08-12-5 16.44.10'
    2. For the same language date using java code is displaying as '08-12-5 下午4:44'. and i am getting the time format pattern as 'ah:mm'.I tried to change the display format in regional settings but no change in display.
    Is there any way to make both the time format as same?
    Please help me to solve this issue!!!
    Thanks in Advance!
    Arun

    pon_arun wrote:
    Hello masijade,
    I did as u said but still the date display is not the same......And I'm telling you that it doesn't matter. What "format" the DB likes to display a Date in when it displays it, is completely irrelevant to how you display it in your GUI.
    A Date does not have a format. A String representation of a Date does.
    As long as you use getDate from ResultSet and setDate from PreparedStatement you do not have to worry about this. Those methods will handle dates to and from the DB themselves. You can then use SimpleDateFormat to display the Date anyway you want to.
    Just because you show the Date one way, and the DB shows it another, does not mean that it is not the same date. Don't get hung up on how the String representation of the Date looks.
    Edit: If you simply want to be able to do "Human Comparisons" then look at the SQL TO_CHAR function (for Oracle, for other DBs the function name may vary). And for Java, read the API docs for SimpleDateFormat (as already intimated above).

  • 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.

  • How can I connect to Oracle and SQL server at the same time?

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]
    As far as I know you have 3 options depending on your specifications. I don't think option #3 will work if you need to actually join a
    SQL Server table to an Oracle table.
    1. Oracle Transparent Gateway. I haven't used the Oracle Transparent Gateway but my understanding is that Oracle gateways are
    separate purchased products from Oracle. I've never seen any free/development versions of it anywhere. You'll need to contact
    your Oracle sales rep about it.
    2. Heterogeneous Connectivity. There's something called Heterogeneous Connectivity that could work for you - depends on what
    version of Oracle you're on and what OS. You basically set up an ODBC data source on the Oracle server and modify the listener.ora
    and tnsnames.ora files. You can then create a database link to SQL Server just like you would to any other Oracle database. You can
    check your Oracle documentation for how this works. There's also some very good documents on Metalink that tell you how to do this
    as well as a Heterogeneous Connectivity forum on this site.
    3. Use the exec_sql package available in Developer 2000. This allows you to open and execute cursors to remote databases within
    Developer. We have an account validation process that uses this - when a person enters an account number in a form while logged
    into Oracle it validates the account is valid in our main accounting DB2 database. We also pull HR information from DB2 into Oracle
    this way. If you're using Forms 6i exec_sql is a built-in command, in Forms 5.0 and 5.5 you have to add it as an attached library to
    the form. I think you also need the OCA options installed from the Developer software to have access to the library in Forms 5.0 and
    5.5. The library will be in the $ORACLE_HOME\oca20\plsqllib directory for these versions. The Developer documentation should have
    additional information.
    HTH

  • 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 PM

    Let 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

  • 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,
    Peter

    Hi 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

Maybe you are looking for

  • Changing the Admin Account

    I've been operating under my admin account since I've owned a Mac, and in all that time I've always had two accounts, one the admin, the other named 'Test' as a clean user. In light of the new potential danger of future trojan's and such should I (an

  • SQL select query having more than 1000 values in 'IN' clause of predicate.

    Hi, We are executing a select query from a table and showing it through a front end screen. When the count of values given in the 'IN' clause of predicate are exceeding 1000 , it is throwing error. eg. select * from Employees where emp.Id. in('111',1

  • Quickstart to creating Window with Buttons+Hot Spots+

    I'm a newbie too Java. Would someone be kind enough to point me to a quick start... tutoral... sample code or whatever... - to create a window with... - Buttons - Hot Spots - Hot Objects - Data Entry Fields, etc... This will be a demo prototype for a

  • Strange display issues for previously healthy SWFs

    Many months ago I published SWFs via Xcelsius 2008 that were carefully tested and worked well.  This week, it came to my attention that these SWFs are now displaying strangely under a variety of browsers and Flash Player versions (latest version test

  • ME22N : Item condition amount not changeable after a cancel document

    Dear guru , I have created a purchase order , a position have two price condition PBXX and ZD30(custom). I have executed a goods receipt and also a cancel document for the goods receipt. If I try to change item condition amount for condition ZD30 the