Quantcast
Channel: SCN : Discussion List - SAP Adaptive Server Enterprise Developer Center
Viewing all 267 articles
Browse latest View live

Configure ASE ODBC on Linux

$
0
0

Hi all,

 

We are trying to installed the SAP ASE 16 database on Linux.

 

But is it necessary to set ASE ODBC and the ASE ODBC driver manager?

 

We are getting an error when we are trying to verify the connection to database..

 

By default it is using unixODBC.

 

We have already set the database details in the odbc.ini file as well by using the template file.

 

But we get the error 'Could not connect to SQL'.

 

Do we have to use driver manger to connect ASE ODBC to UnixODBC?

 

Attaching the errors :

INFO 2.JPG

ERROR 1.JPG

ERROR 2.JPG

ERROR 3.JPG

version details:

 

INFO 1.JPG


Is Fresh silent installation of ASE 16.0 possible

$
0
0

Hello,

 

We are trying to install ASE server 16.0 on a Linux machine without any inputs (silently)..

 

We have this query whether silent installation is possible for a new fresh ASE installation.

 

In the notes, we read that it is recommended to use silent install for new updates or use it after running first install via GUI.

 

We tried to install using silent method but it prompted us for inputs as below:

response file creation 1.JPG

 

We tried giving the full path as well

response file creation 2.JPG

Also, we tried to run setup.bin using sample_txt but it does not run.

 

Check below screenshot:

 

SnipImage11.JPG

 

Thanks,

Suraj

ODBC connection Sun Sparc towards Sybase ASE 12.5.4

$
0
0

Hello all,

 

our company has an ERP-application running on a Sun Sparc with Solaris 10 3/05 s10_74L2a SPARC. The database of this ERP application is Progress.

 

We currently have an interface to a WMS-system that is running on Windows, and the database of this WMS system is Sybase Adaptive Server Enterprise version 12.5.4

 

Since we have major problems with the current interface (that is very complex in setup), we are trying to re-define the interface. Our ERP application vendor has proposed to setup an ODBC connection between the two databases.

 

I am wondering what software I need to install on the Sun Sparc system in order to make a connection (I think this is an ODBC connection) towards the Sybase Database on Windows. Is there any libraries / open client tools that enable that connection and where could I download that driver/package/software?

 

Any help would be greatly appreciated!

 

Regards,

SYBDRVODB.DLL return wrong data

$
0
0

Hi we are using 32 bit ODBC driver to connect to Sybase 15 from 32 bit application on Windows Server 2008 R2 Enterprise.

All works OK except money value all time returned as 0.

 

ODBC data

Adaptive Server Enterprise

16.00.00.02

SAP AG or an affiliated company

SYBDRVODB.DLL

4/12/2014

ODBC 16.00.00.02 return wrong data

$
0
0

Hi we are using this ODBC driver to connect to Sybase 15.

 

Adaptive Server Enterprise

16.00.00.02

SAP AG or an affiliated company

SYDDRVODB.DLL

4/12/2014

 

All works OK except money value all time returned as 0.

Why there is not info from stacktrace in errorlog

$
0
0

Hi,

 

Yesterday a process stacktraced in our production environment. In the errorlog I only got:

 

 

00:0013:00000:00341:2015/03/09 06:20:01.04 kernel  Current process (0x44af01cd) infected with signal 11 (SIGSEGV)

 

...

 

No more information in errorlog.

 

I tried to get the process stacktrace and I received

 

00:0008:00000:00491:2015/03/09 14:16:43.35 kernel  ucstkgentrace: Process 1152319949 could not be stopped for tracing

 

This process also got an stacktrace without more information:

 

00:0009:00000:00491:2015/03/09 14:18:28.39 kernel  Current process (0x168701c3) infected with signal 11 (SIGSEGV)

 

Our version is   Adaptive Server Enterprise/15.7/EBF 23820 SMP SP132 /P/RS6000/AIX 6.1/a

 

AIX version 7.1

 

The server does not shutdown normally, only kill -9 at OS level finishes the process.

 

Any clue on what is going on?

 

Regards,

 

Luz Rodriguez

how to find if incomming parameter in not null and not empty in Sybase

$
0
0

@searchstring varchar(500)

If(IsNULLorEmpty(@searchstring))

{  exec(@strexecsql)  }

else

{  exec(@strexecsql1)  }

what is best way to check this condition IsNULLorEmpty for a incoming @parameter?

-307 All threads are blocked

$
0
0

We are new to sybase16.  We have a few places in our powerbuilder application where the datawindow has a select stmt with multiple UNIONs.  If the separate statements read from the same table, we are getting -307 All threads are blocked.  This only happens on some new servers with multiple CPUs.  It seems that Sybase is splitting up the entire stmt amongst the cpus, and they somehow conflict and cause the error.  Even tho we are only reading rows.  To solve this we were told to add this to the bottom:

OPTION(max_query_tasks=1)

This is working, because it is preventing Sybase from splitting up the stmt amongst cpus.

I am being asked what the rule is, so that we can determine ahead of time which stmts will succeed and which will not.

Factors seem to be:

using UNION (which implies UNION DISTINCT and not UNION ALL),

reading the same table, saying SELECT * from table_a where column_a = 'A' UNION SELECT * from table_a where column_a = 'B'

 

Are those the rules?


Will ASE system defined error number fall into user defined error numbers starting from 20000?

$
0
0

The maximum error number in sysmessages:

select max(error) from master.dbo.sysmessages

ON ASE 15.0.3

column1   

----------

19975     

 

ON ASE 15.7

select max(error) from master.dbo.sysmessages

column1   

----------

19999

suppress warnings re exclusive locking

$
0
0

We're using ASE 15.7 on Windows but this may apply to other platforms. Certain stored procs where we're locking a table in exclusive mode inside a trans generate warnings: (number 12103, Severity 10)

 

Table 'x' in database 'y' was not locked in 'exclusive' mode because a covering lock in 'exclusive' mode was found.

 

I guess I have 2 questions - are we doing something wrong that's causing this and is there a way to suppress these?  According to the docs it's informational.

Install ASE 15.0 multiple instances on single Windows Server

$
0
0

I'm consolidating a number of different ASE servers onto a single Windows Server 2008 R2 machine - previously, we've had every ASE instance running on its own machine. The ASE version will be 15.0 in order to support our existing environment. The instances will be differentiated by their page size and/or character set. The plan is to install multiple ASEs, but a single Backup Server for all instances. The question is, can I also install a single XP server to serve all the ASE instances, or does each ASE require its own XP?

Conn 16.0 SP01 Open Client and Open Server SDKs have been released.

How to Increase the Transaction Log size?

$
0
0

Hi,

 

Currently, we are having problems with our transaction log due to its size which quickly get full. Our transaction log size is only 1024 MB or 1 GB and we usually dump the transaction log just to free up the space. How do we increase the size of our transaction log?

 

I'm new on this sybase database.

 

Thanks,

 

Joven

Configure ASE ODBC on Linux

$
0
0

Hi all,

 

We are trying to installed the SAP ASE 16 database on Linux.

 

But is it necessary to set ASE ODBC and the ASE ODBC driver manager?

 

We are getting an error when we are trying to verify the connection to database..

 

By default it is using unixODBC.

 

We have already set the database details in the odbc.ini file as well by using the template file.

 

But we get the error 'Could not connect to SQL'.

 

Do we have to use driver manger to connect ASE ODBC to UnixODBC?

 

Attaching the errors :

INFO 2.JPG

ERROR 1.JPG

ERROR 2.JPG

ERROR 3.JPG

version details:

 

INFO 1.JPG

How to Connect SAP Sybase 15.7 Database from Business Objects 4.1

$
0
0

Hi,

 

We have to connect our Sybase ASE DB 15.7 from our SAP Business Object and Crystal report. Our DB connection is successful using ODBC connection through system DSN by DB default username and password but in our DB only showing system tables not our SAP DB tables. kindly advice to to retrieve SAP DB tables.

 

Software details :

 

SAP Business Object 4.1 - SP05

Information Design Tools

Sybase SDK 15.7

Sybase IQ 16.0

SAP Crystal Reports 2013.

 

Forever

Mahendran M


ODBC connection Sun Sparc towards Sybase ASE 12.5.4

$
0
0

Hello all,

 

our company has an ERP-application running on a Sun Sparc with Solaris 10 3/05 s10_74L2a SPARC. The database of this ERP application is Progress.

 

We currently have an interface to a WMS-system that is running on Windows, and the database of this WMS system is Sybase Adaptive Server Enterprise version 12.5.4

 

Since we have major problems with the current interface (that is very complex in setup), we are trying to re-define the interface. Our ERP application vendor has proposed to setup an ODBC connection between the two databases.

 

I am wondering what software I need to install on the Sun Sparc system in order to make a connection (I think this is an ODBC connection) towards the Sybase Database on Windows. Is there any libraries / open client tools that enable that connection and where could I download that driver/package/software?

 

Any help would be greatly appreciated!

 

Regards,

What happened to Sybase EC Map?

$
0
0

Our company purchased Sybase EC Map and Sybase EC Gateway from Sybase several years ago.  I am interested in learning more about the fate of this product following SAP's acquisition of Sybase.  I spoke to a non-technical representative from SAP on the phone and he indicated that he believes the products are now called "Sy ECMAP 5.2" and "Sy ECGateway 5.2".  I can't seem to find any information on either of these products either--other than they may be potentially part of a software package called "SAP EDI Products".  I am interested in learning if the software is still officially supported or has been discontinued in favor of another EDI translation solution to which Sybase EC Map customers can migrate.  The representative from SAP suggested that I post my questions here.  Thank you!

 

- Phil

Trouble with SQL Anywhere 16

$
0
0

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.

ISQL not working after installing ASE under Linux

$
0
0

Hi,

 

We just installed ASE developer edition for Linux. When trying to start isql I get the error:

 

isql

-bash: /opt/sybase/OCS-16_0/bin/isql: No such file or directory

 

But:

ll /opt/sybase/OCS-16_0/bin/isql

-rwxr-xr-x 1 wegc wegc 1694721 Feb  7  2014 /opt/sybase/OCS-16_0/bin/isql


Any ideas what went wrong?

 

Juergen

Sybase going for table scan when it has mixed data types in WHERE clause

$
0
0

Hello,

We did a conversion excercise to convert all the temp tables in stored procedures from INT to BIGINT data type, but we still have our database permenant tables in INT data type only. So in the SP's whenever temp tables joined with permenant tables (not all occasions, only in COMPLEX joins). permenant tables are going for table scan causing lot of performance issues. Any optimizer setting to resolve these issues?

 

No use with as joins are not in IN/OR clause  ‘use_mixed_dt_sarg_under_specialor’ setting. 


Version  Adaptive Server Enterprise/15.7.0/EBF 21201 SMP SP50 /P/Sun_svr4/OS 5.10/ase157sp5x/3284/64-bit/FBO/Thu Jul 11 11:07:02 2013                                                               

Thanks,

Nagu

Viewing all 267 articles
Browse latest View live


Latest Images

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