Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all 1302 articles
Browse latest View live

sqlanywhere database not start DBSPAWN ERROR -80

$
0
0

Dear Experts

 

I am installed BO 4.1 Sp3 under AIX 7 and default database sqlanywhere

 

after stop BOE

1. tomcat

2. BOE

3 database

 

from BOBJ home /usr/sap/BOD/sap_bobj

using scripts

 

but when in start database

 

./sqlanywhere_startup.sh  Flowing error occur

 

SQL Anywhere start In background ........

 

 

DBSPAWN ERROR -80

 

Unable to start database

 

 

Please guide me how to solved this issue

 

 

Regards


Problems with Publications when migrating Ultralite DB v.11 to v.16

$
0
0

Update: I have identified where is the problem located, is in this part of the Publication (where clause), but still don't have solution:

TABLE "TPDA_SERVICE_LINE_DETAIL" WHERE NSLI_SERVICELINE_ID = ANY (SELECT SL.NSLI_SERVICELINE_ID                                  FROM TPDA_JOB JO, TPDA_SERVICE_LINE SL, TPDA_M_STATE_MACHINE SM, TPDA_M_STATE_MACHINE SM2                                  WHERE SM.VSTM_ENTITY = 'J'                                    AND SM.NSTM_NUMBER = 2 -- Done. If the Job is Failed or Recalled, its service line details won't be uploaded.                                    AND JO.NSTM_STATUS_ID = SM.NSTM_STATUS_ID                                    AND SL.NJOB_JOB_ID = JO.NJOB_JOB_ID                                    AND SM2.VSTM_ENTITY = 'S'                                    AND SM2.NSTM_NUMBER = 1 -- Processed. If the Service Line is Failed, its details won't be uploaded.                                    AND SL.NSTM_STATUS_ID = SM2.NSTM_STATUS_ID ),

 

I have also changed the query to be more compliant, but no sucess:

 

NSLI_SERVICELINE_ID = ANY (SELECT SL.NSLI_SERVICELINE_ID
FROM
TPDA_SERVICE_LINE SL
inner join TPDA_JOB JO on JO.NJOB_JOB_ID = SL.NJOB_JOB_ID
inner join TPDA_M_STATE_MACHINE SM on SM.NSTM_STATUS_ID = JO.NSTM_STATUS_ID
inner join TPDA_M_STATE_MACHINE SM2 on SM2.NSTM_STATUS_ID = SL.NSTM_STATUS_ID
WHERE SM.VSTM_ENTITY = 'J'
AND SM.NSTM_NUMBER = 2 -- Done. If the Job is Failed or Recalled, its service line details won't be uploaded.
AND SM2.VSTM_ENTITY = 'S'
AND SM2.NSTM_NUMBER = 1) -- Processed. If the Service Line is Failed, its details won't be uploaded.

 

Hi All!

 

I'm having some problems on migrating an Ultralite database (v.11) to version 16 using sybase central on Windows 7 x64 (using both 32 and 64 bit versions). I had unload the database with the Sybase central wizard, and created an XML containing all data and schema, and also publications. When I try to load this XML into a new database version 16, the apps Crashes:

Sybase Central error (Load Database).jpg

I've identified that if i don't include the Publications in the unload, then all works.

 

Also when I try to create a new publication the Sybase central crashes:

Sybase Central error.jpg

[ODBC] [UltraLite Database] Connection was terminated

SQLCODE: -308

SQLSTATE: ERROR

SQL Statement:

 

I have tried also to recreate the publications with this SQL Script:

CREATE PUBLICATION "fullSynchro_Pub" (  TABLE "TPDA_ADJUSTMENT_LINE",  TABLE "TPDA_JOB",  TABLE "TPDA_M_ACTION_TYPE",  TABLE "TPDA_M_ADJUST_TYPE",  TABLE "TPDA_M_ASSIGNED_QUESTIONNAIRES",  TABLE "TPDA_M_COUNTRY_PARAMETERS",  TABLE "TPDA_M_DATA_USE_CONSENT",  TABLE "TPDA_M_ELECTRIC_COMPANY",  TABLE "TPDA_M_ELECTRIC_REFUND_TYPE",  TABLE "TPDA_M_FAILURE_REASON",  TABLE "TPDA_M_INDICATOR_TYPE",  TABLE "TPDA_M_JOB_TYPE",  TABLE "TPDA_M_LANGUAGE",  TABLE "TPDA_M_MANUFACTURER",  TABLE "TPDA_M_MODEL",  TABLE "TPDA_M_PARAM_DOMINIUM",  TABLE "TPDA_M_PARAMETER",  TABLE "TPDA_M_PRODUCT",  TABLE "TPDA_M_PRODUCT_ADJUST_NEED",  TABLE "TPDA_M_PRODUCT_GROUP",  TABLE "TPDA_M_PRODUCT_TYPE",  TABLE "TPDA_M_QUESTIONNAIRE",  TABLE "TPDA_M_RISK_ASSESSMENT_QUESTION",  TABLE "TPDA_M_RISK_QUESTION_ANSWER",  TABLE "TPDA_M_STATE_MACHINE",  TABLE "TPDA_M_STREET_TYPE",  TABLE "TPDA_M_THERAPY_SORT",  TABLE "TPDA_M_TRIP_TYPE",  TABLE "TPDA_M_UNSIGNED_REASON",  TABLE "TPDA_M_VAN_OPERATIONS",  TABLE "TPDA_M_VAN_STATUS",  TABLE "TPDA_MATERIAL",  TABLE "TPDA_NEXT_VISIT",  TABLE "TPDA_PATIENT",  TABLE "TPDA_PATIENT_ADDRESS",  TABLE "TPDA_PATIENT_DOCUMENTS",  TABLE "TPDA_PATIENT_INDICATOR",  TABLE "TPDA_PATIENT_SIGNATORIES",  TABLE "TPDA_PATIENT_SIGNATURE",  TABLE "TPDA_READING_METER_LINES",  TABLE "TPDA_RISK_ASSESSMENT_ANSWER",  TABLE "TPDA_SAFETY",  TABLE "TPDA_SERVICE_LINE" WHERE NSTM_STATUS_ID IN (11,12),  TABLE "TPDA_SERVICE_LINE_DETAIL" WHERE NSLI_SERVICELINE_ID = ANY (SELECT SL.NSLI_SERVICELINE_ID                                  FROM TPDA_JOB JO, TPDA_SERVICE_LINE SL, TPDA_M_STATE_MACHINE SM, TPDA_M_STATE_MACHINE SM2                                  WHERE SM.VSTM_ENTITY = 'J'                                    AND SM.NSTM_NUMBER = 2 -- Done. If the Job is Failed or Recalled, its service line details won't be uploaded.                                    AND JO.NSTM_STATUS_ID = SM.NSTM_STATUS_ID                                    AND SL.NJOB_JOB_ID = JO.NJOB_JOB_ID                                    AND SM2.VSTM_ENTITY = 'S'                                    AND SM2.NSTM_NUMBER = 1 -- Processed. If the Service Line is Failed, its details won't be uploaded.                                    AND SL.NSTM_STATUS_ID = SM2.NSTM_STATUS_ID ),  TABLE "TPDA_SUMMARY_MATERIAL",  TABLE "TPDA_SYNCHRO_INFORMATION",  TABLE "TPDA_THERAPY",  TABLE "TPDA_THERAPY_PARAMETER",  TABLE "TPDA_TRIP",  TABLE "TPDA_VAN_LOADED_MATERIAL" WHERE BVLM_ACCEPTED = 1,  TABLE "TPDA_VAN_RECOUNT_MATERIAL" WHERE BREC_ACCEPTED = 1,  TABLE "TPDA_W_IDENTIFIERS",  TABLE "TPDA_W_SQL_SENTENCES"
)
GO
CREATE PUBLICATION "loadVanSynchro_Pub" (  TABLE "TPDA_SAFETY",  TABLE "TPDA_SYNCHRO_INFORMATION",  TABLE "TPDA_VAN_LOADED_MATERIAL" WHERE BVLM_ACCEPTED = 1,  TABLE "TPDA_VAN_RECOUNT_MATERIAL" WHERE BREC_ACCEPTED = 1
)
GO
CREATE PUBLICATION "loadVisionOx_Pub" (  TABLE "TPDA_VISIONOX"
)
GO
CREATE PUBLICATION "openTrip_Pub" (  TABLE "TPDA_SAFETY",  TABLE "TPDA_SYNCHRO_INFORMATION",  TABLE "TPDA_TRIP",  TABLE "TPDA_VAN_LOADED_MATERIAL" WHERE BVLM_ACCEPTED = 1,  TABLE "TPDA_VAN_RECOUNT_MATERIAL" WHERE BREC_ACCEPTED = 1
)
GO

 

But I only can create the first one ("fullSynchro_pub").

 

When I try to delete it on the new database, i get the same error again...

 

There is a bug related or something that i'm doing wrong? Somebody can help?

 

Thanks a lot. I've attached the full SQL Script and XML File to help understanding.

 

Thanks a lot in advance.

 

Message was edited by: Naim Raja

Need to connect to Sybase SQL Anywhere database 5.0 through asp.net

$
0
0

I am trying to connect to SQL anywhere 5.0  using below connection string 

 

 

sConnString =

 

 

 

" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"

 

 

 

 

It is giving below error

 

ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine

ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).

 

Please guide.

Sybase SQL anywhere database backup

$
0
0


Dear Expets,

 

I am using BI 4.1 sp1 BOBJ server under sybase SQL anywhere 12 database  and Operating system is Windows 2008 server.

 

I want to take offline and online backup of database , How to take from both command line and from admin console ( please guide me step by step procedure I am first time using SQL aynwhere database).

 

second My SQl server database consist 4 files

1.  BI4_Aduit.db          Size of this file is       1025 MB

2. BI4_Audit.log           Size of this file is       924 MB

3.  BI4_CMS.db          Size of this file is        47 MB

4. BI4_CMS.log          Size of this file is        3.4 GB

 

why BI4_CMS.log  size too much how to reduce the CMS log file size

 

 

Regards

How to include a file (INL.H)

$
0
0

Hi community,

we try to include a .h-file by using EXEC SQL INCLUDE INL;  SQLPP gives error message "E2619 include file not found"; we've also tried to use the -I option for SQLPP, but this option is not recognized (help page is displayed when invoking with  -I).

 

Version:  SQL Anywhere Embedded SQL Version 16.0.0.1948

 

Many thanks for Your help.

Failed to retrieve data from the database

$
0
0

Hi

I have been having issues with Crystal Reports (XI)

1 I am using a jdbc connection and Connector/J 5.1.33 (java).

This worked for a couple of days then failed to retrieve data from the database then to missing driver so fixed that by using an earlier version of jar file 5.1.15

2.Now database I am using is showing up but sometimes i can pull one table with no issues or I cant pull any tables and errors in the attachment below

How do I fix this once and for all

(other info only one of the computers is having this issue

 

 

Error 1

failed to retrieve data from the database.

Details: SQL Exception: [ SQL State:] 08s01 {error message:]

Communications link failure

the last packet successfully received from the server was 385,875 milliseconds ago. the last packet successfully to the server was 2 milliseconds ago

 

 

Error 2

failed to retrieve data from the database.

Details: SQL Exception: [sql state:] 08003 [error message:] no operations allowed after the connection closed.

 

Error 3

failed to retrieve data from the database.

details:exception: [error message:] Java heap space

Has web application become too successful for SQL Anywhere?

$
0
0

One of our websites (which until recently was using SQL Anywhere 10 for storage) is now used by 10s of people at a time and the database has grown to 48 MB; I recently moved the data to SQL Anywhere 16 because we were beginning to get "Timed out trying to establish connection" errors and I hoped that might help. Doubters amongst us think that we have to move the data to SQL Server .. that SQL Anywhere 16 is not robust enough to do the job. Horrors.. what say you? I'd appreciate the perspective of those "in the know"

 

(We also upgraded Windows Server for the database VM from 2003 to 2012)

Secured Sybase Web Service with outside certificate authority

$
0
0

Hello,

 

I would like to use Secured Sybase Web Service with outside certificate authority, like Symantec. Could you let me know how I can create CSR for sending to Symantec? What other steps do I need to do?

 

Thanks,

Sudarat.


Please stop the CURRENTLY BEING MODERATED delay

$
0
0

After answering a question on the SAP forum for SQL Anywhere, my response was marked CURRENTLY BEING MODERATED.

 

This is not acceptable behavior for the SQL Anywhere developer community.

 

Please cease and desist, and accept all posts immediately.

 

Breck

 

http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/90000/8000/900/98954/98954.strip.sunday.gif

 

Need to connect to Sybase SQL Anywhere database 5.0 through asp.net

$
0
0

I am trying to connect to SQL anywhere 5.0  using below connection string 

 

 

sConnString =

 

 

 

" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"

 

 

 

 

It is giving below error

 

ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine

ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).

 

Please guide.

sqlanywhere database not start DBSPAWN ERROR -80

$
0
0

Dear Experts

 

I am installed BO 4.1 Sp3 under AIX 7 and default database sqlanywhere

 

after stop BOE

1. tomcat

2. BOE

3 database

 

from BOBJ home /usr/sap/BOD/sap_bobj

using scripts

 

but when in start database

 

./sqlanywhere_startup.sh  Flowing error occur

 

SQL Anywhere start In background ........

 

 

DBSPAWN ERROR -80

 

Unable to start database

 

 

Please guide me how to solved this issue

 

 

Regards

SQL Anywhere 16 as a database for Windows Store App

$
0
0

Hi,

 

I am evaluating SQL Anywhere 16 database as for storage requirements. Our have selected this solution in order to utilize the Synchronization framework 'Mobilink'. Our setup would be

     Consolidated DB: SQL Anywhere 16

     Client DB: SQL Anywhere 16

 

For Client App, we are using .NET 4.5 framework C#. I am facing an issue connecting to SQL Anywhere database from our App.

Error:

 

Error2

The base class or interface 'System.ComponentModel.Component' in assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referenced by type 'System.Data.Common.DbConnection' could not be resolved

c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.dllDAL

 

I am able to connect to DB from standalone App (Non-Window Store), but facing the above issues while connecting for Windows Store App.

 

Anyone facing this issue?

Any suggestions? Resoultions?

 

Thank you.

 

Regards,

Sarvesh

Connection String Special char

$
0
0

Hello,

 

I have a problem with databasenames with special characters in the name:

 

(My code works when there is not a special char in the name)

 

For example, when my connectionstring would be:  jdbc:sybase:Tds:localhost:2638?ServiceName=BANDENM&W

I get a java.sql.SQLException: JZ00L: Login failed.  Examine the SQLWarnings chained to this exception for the reason(s). at line 3 while my pasw and login are correct.

 

 

Class.forName("com.sybase.jdbc3.jdbc.SybDriver");  String connectionString = "jdbc:sybase:Tds:" + config.getHost() + ":" + config.getPort() + "?ServiceName=" + databaseName;  Connection connection2  = DriverManager.getConnection(connectionString, config.getUser(), config.getPassword());  //get VC client customer info  statement = connection2.createStatement();  resultSet2 = statement.executeQuery("SELECT CNR_SUPP,CNR_CUST,TNR_ID,NM_ID,CNR_VAT_ID,NM_FILTER_ID,CNR_ZIP_ID,CNR_VATCNTRY_ID,NM_TOWN_ID,TOP_COUNTRY.CNR_INTRASTAT FROM TOP_IDENTITY JOIN TOP_COUNTRY ON (TOP_IDENTITY.COD_CNTRY_ID = TOP_COUNTRY.COD_CNTRY)");

When I add double quotes around the databaseName, I get to line 8 but then I get an error:

com.sybase.jdbc3.jdbc.SybSQLException: ASA Error -141: Table 'TOP_IDENTITY' not found

 

But the table is again, definitely there ...

 

I've tried escaping it by replacing & with &

But no luck.

Problems with Publications when migrating Ultralite DB v.11 to v.16

$
0
0

Update: I have identified where is the problem located, is in this part of the Publication (where clause), but still don't have solution:

TABLE "TPDA_SERVICE_LINE_DETAIL" WHERE NSLI_SERVICELINE_ID = ANY (SELECT SL.NSLI_SERVICELINE_ID                                  FROM TPDA_JOB JO, TPDA_SERVICE_LINE SL, TPDA_M_STATE_MACHINE SM, TPDA_M_STATE_MACHINE SM2                                  WHERE SM.VSTM_ENTITY = 'J'                                    AND SM.NSTM_NUMBER = 2 -- Done. If the Job is Failed or Recalled, its service line details won't be uploaded.                                    AND JO.NSTM_STATUS_ID = SM.NSTM_STATUS_ID                                    AND SL.NJOB_JOB_ID = JO.NJOB_JOB_ID                                    AND SM2.VSTM_ENTITY = 'S'                                    AND SM2.NSTM_NUMBER = 1 -- Processed. If the Service Line is Failed, its details won't be uploaded.                                    AND SL.NSTM_STATUS_ID = SM2.NSTM_STATUS_ID ),

 

I have also changed the query to be more compliant, but no sucess:

 

NSLI_SERVICELINE_ID = ANY (SELECT SL.NSLI_SERVICELINE_ID
FROM
TPDA_SERVICE_LINE SL
inner join TPDA_JOB JO on JO.NJOB_JOB_ID = SL.NJOB_JOB_ID
inner join TPDA_M_STATE_MACHINE SM on SM.NSTM_STATUS_ID = JO.NSTM_STATUS_ID
inner join TPDA_M_STATE_MACHINE SM2 on SM2.NSTM_STATUS_ID = SL.NSTM_STATUS_ID
WHERE SM.VSTM_ENTITY = 'J'
AND SM.NSTM_NUMBER = 2 -- Done. If the Job is Failed or Recalled, its service line details won't be uploaded.
AND SM2.VSTM_ENTITY = 'S'
AND SM2.NSTM_NUMBER = 1) -- Processed. If the Service Line is Failed, its details won't be uploaded.

 

Hi All!

 

I'm having some problems on migrating an Ultralite database (v.11) to version 16 using sybase central on Windows 7 x64 (using both 32 and 64 bit versions). I had unload the database with the Sybase central wizard, and created an XML containing all data and schema, and also publications. When I try to load this XML into a new database version 16, the apps Crashes:

Sybase Central error (Load Database).jpg

I've identified that if i don't include the Publications in the unload, then all works.

 

Also when I try to create a new publication the Sybase central crashes:

Sybase Central error.jpg

[ODBC] [UltraLite Database] Connection was terminated

SQLCODE: -308

SQLSTATE: ERROR

SQL Statement:

 

I have tried also to recreate the publications with this SQL Script:

CREATE PUBLICATION "fullSynchro_Pub" (  TABLE "TPDA_ADJUSTMENT_LINE",  TABLE "TPDA_JOB",  TABLE "TPDA_M_ACTION_TYPE",  TABLE "TPDA_M_ADJUST_TYPE",  TABLE "TPDA_M_ASSIGNED_QUESTIONNAIRES",  TABLE "TPDA_M_COUNTRY_PARAMETERS",  TABLE "TPDA_M_DATA_USE_CONSENT",  TABLE "TPDA_M_ELECTRIC_COMPANY",  TABLE "TPDA_M_ELECTRIC_REFUND_TYPE",  TABLE "TPDA_M_FAILURE_REASON",  TABLE "TPDA_M_INDICATOR_TYPE",  TABLE "TPDA_M_JOB_TYPE",  TABLE "TPDA_M_LANGUAGE",  TABLE "TPDA_M_MANUFACTURER",  TABLE "TPDA_M_MODEL",  TABLE "TPDA_M_PARAM_DOMINIUM",  TABLE "TPDA_M_PARAMETER",  TABLE "TPDA_M_PRODUCT",  TABLE "TPDA_M_PRODUCT_ADJUST_NEED",  TABLE "TPDA_M_PRODUCT_GROUP",  TABLE "TPDA_M_PRODUCT_TYPE",  TABLE "TPDA_M_QUESTIONNAIRE",  TABLE "TPDA_M_RISK_ASSESSMENT_QUESTION",  TABLE "TPDA_M_RISK_QUESTION_ANSWER",  TABLE "TPDA_M_STATE_MACHINE",  TABLE "TPDA_M_STREET_TYPE",  TABLE "TPDA_M_THERAPY_SORT",  TABLE "TPDA_M_TRIP_TYPE",  TABLE "TPDA_M_UNSIGNED_REASON",  TABLE "TPDA_M_VAN_OPERATIONS",  TABLE "TPDA_M_VAN_STATUS",  TABLE "TPDA_MATERIAL",  TABLE "TPDA_NEXT_VISIT",  TABLE "TPDA_PATIENT",  TABLE "TPDA_PATIENT_ADDRESS",  TABLE "TPDA_PATIENT_DOCUMENTS",  TABLE "TPDA_PATIENT_INDICATOR",  TABLE "TPDA_PATIENT_SIGNATORIES",  TABLE "TPDA_PATIENT_SIGNATURE",  TABLE "TPDA_READING_METER_LINES",  TABLE "TPDA_RISK_ASSESSMENT_ANSWER",  TABLE "TPDA_SAFETY",  TABLE "TPDA_SERVICE_LINE" WHERE NSTM_STATUS_ID IN (11,12),  TABLE "TPDA_SERVICE_LINE_DETAIL" WHERE NSLI_SERVICELINE_ID = ANY (SELECT SL.NSLI_SERVICELINE_ID                                  FROM TPDA_JOB JO, TPDA_SERVICE_LINE SL, TPDA_M_STATE_MACHINE SM, TPDA_M_STATE_MACHINE SM2                                  WHERE SM.VSTM_ENTITY = 'J'                                    AND SM.NSTM_NUMBER = 2 -- Done. If the Job is Failed or Recalled, its service line details won't be uploaded.                                    AND JO.NSTM_STATUS_ID = SM.NSTM_STATUS_ID                                    AND SL.NJOB_JOB_ID = JO.NJOB_JOB_ID                                    AND SM2.VSTM_ENTITY = 'S'                                    AND SM2.NSTM_NUMBER = 1 -- Processed. If the Service Line is Failed, its details won't be uploaded.                                    AND SL.NSTM_STATUS_ID = SM2.NSTM_STATUS_ID ),  TABLE "TPDA_SUMMARY_MATERIAL",  TABLE "TPDA_SYNCHRO_INFORMATION",  TABLE "TPDA_THERAPY",  TABLE "TPDA_THERAPY_PARAMETER",  TABLE "TPDA_TRIP",  TABLE "TPDA_VAN_LOADED_MATERIAL" WHERE BVLM_ACCEPTED = 1,  TABLE "TPDA_VAN_RECOUNT_MATERIAL" WHERE BREC_ACCEPTED = 1,  TABLE "TPDA_W_IDENTIFIERS",  TABLE "TPDA_W_SQL_SENTENCES"
)
GO
CREATE PUBLICATION "loadVanSynchro_Pub" (  TABLE "TPDA_SAFETY",  TABLE "TPDA_SYNCHRO_INFORMATION",  TABLE "TPDA_VAN_LOADED_MATERIAL" WHERE BVLM_ACCEPTED = 1,  TABLE "TPDA_VAN_RECOUNT_MATERIAL" WHERE BREC_ACCEPTED = 1
)
GO
CREATE PUBLICATION "loadVisionOx_Pub" (  TABLE "TPDA_VISIONOX"
)
GO
CREATE PUBLICATION "openTrip_Pub" (  TABLE "TPDA_SAFETY",  TABLE "TPDA_SYNCHRO_INFORMATION",  TABLE "TPDA_TRIP",  TABLE "TPDA_VAN_LOADED_MATERIAL" WHERE BVLM_ACCEPTED = 1,  TABLE "TPDA_VAN_RECOUNT_MATERIAL" WHERE BREC_ACCEPTED = 1
)
GO

 

But I only can create the first one ("fullSynchro_pub").

 

When I try to delete it on the new database, i get the same error again...

 

There is a bug related or something that i'm doing wrong? Somebody can help?

 

Thanks a lot. I've attached the full SQL Script and XML File to help understanding.

 

Thanks a lot in advance.

 

Message was edited by: Naim Raja

ODBC driver for SQL Anywhere 5.2

$
0
0

We have SQL Anywhere 5.2 server running on windows NT4. We are trying to convert to dabases hosted on this server to two seperate MS SQL 2005 databases. I have the Microsoft SSMA for Sybase utility installed on an XP computer on the same network but we do not have the ODBC drivers for XP to connect to the database.

 

Does anyone have access to these files or know of another way to export/output the data from the source server?

 


sqlanywhere database not start DBSPAWN ERROR -80

$
0
0

Dear Experts

 

I am installed BO 4.1 Sp3 under AIX 7 and default database sqlanywhere

 

after stop BOE

1. tomcat

2. BOE

3 database

 

from BOBJ home /usr/sap/BOD/sap_bobj

using scripts

 

but when in start database

 

./sqlanywhere_startup.sh  Flowing error occur

 

SQL Anywhere start In background ........

 

 

DBSPAWN ERROR -80

 

Unable to start database

 

 

Please guide me how to solved this issue

 

 

Regards

Failed to retrieve data from the database

$
0
0

Hi

I have been having issues with Crystal Reports (XI)

1 I am using a jdbc connection and Connector/J 5.1.33 (java).

This worked for a couple of days then failed to retrieve data from the database then to missing driver so fixed that by using an earlier version of jar file 5.1.15

2.Now database I am using is showing up but sometimes i can pull one table with no issues or I cant pull any tables and errors in the attachment below

How do I fix this once and for all

(other info only one of the computers is having this issue

 

 

Error 1

failed to retrieve data from the database.

Details: SQL Exception: [ SQL State:] 08s01 {error message:]

Communications link failure

the last packet successfully received from the server was 385,875 milliseconds ago. the last packet successfully to the server was 2 milliseconds ago

 

 

Error 2

failed to retrieve data from the database.

Details: SQL Exception: [sql state:] 08003 [error message:] no operations allowed after the connection closed.

 

Error 3

failed to retrieve data from the database.

details:exception: [error message:] Java heap space

Need help with complex column creation command

$
0
0

Hello, all

I need help with a complex column creation command and SQL anywhere help is not sufficient for it.

 

Here is the situation:

I need to write a generic DDL "alter table" command, which can add/modify columns without knowing in advance if they already exist in the destination table.

 

Is there a command, which looks like:

alter table "table1" add (on existing modify) column1 <datatype> <default> ?

 

Thank you,

Arcady

Quotes from heck and other format anomalies

$
0
0

How come if I type in code for a procedure, use 4-space indents and blank lines, that upon viewing the code in SQL Central the code is 2-space indented, the blank line is stripped out, and ALL identifiers are quoted (even though I told the editor to not quote identifiers)? There seems to be no way to create nice-looking, readable code. The code below was NOT the way it was typed in. Yes, the snippet was taken from a Toad screenshot, but SQL Central is similar.

 

SQL Anywhere 16

 

2014-10-14_9-23-17.png

 

Message was edited by: Larry Molter

Pb synchronization timestamp with Ultralite

$
0
0

Hello everybody,

 

It's ma first discussion on SCN. I haven't find MobiLink section, so I hope that it's the good section for my question.

 

I use SQL Anywhere , Mobilink , Ultralite which are versions 12.0.1.4104. (I know MobiLink 9. I haven't use MobiLink since )

 

I need to synchronize data from a consolidated SQL Anywhere database to remote UltraLite database through a MobiLink Server.

 

So there are tables in consolidated SQL Anywhere database with timestamps columns.

 

When I start synchronization I had an error.

 

My question : how to parameter MobiLink (or the UltraLite extraction via ulinit or The MobiLik Wizard or SQL Anywhere database option or ... what ever you want ) to avoid the timestamp conversion error between UltraLite and SQL Anywhere. ?

 

I think it's a basic problem, but I haven't found any answer via google.

 

The error message in MobiLink server ( I translate it from french, my customer installed SQL Anywhere in french :-(  )

Terminated with error

Synchronization unsuccessful : MobiLink communication error -- code : 63, parameter : , system code : 10061

Synchronization result :

Error fail  : -1305

  Error code  : 63

  Systm error : 10061

  Download timestamp : 2014-10-15 18:36:52.14000

  Download failed

  No line ignored

  ...

 

Original message

Terminé, avec des erreurs

Echec de synchronisation : Erreur de communication MobiLink -- code : 63, paramètre : , code système : 10061

Résultats de cette synchronisation :

Echec avec erreur : -1305

  Code d'erreur de flux : 63

  Code d'erreur système : 10061

  Estampille du transfert : 2014-10-15 18:36:52.14000

  Le téléchargement a échoué

  Aucune ligne ignorée

  Aucun transfert partiel restant

  Valeur d'authentification : 0 (0x0000)

 

Thank you for your assist,

 

Regards

Viewing all 1302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>