Quantcast
Channel: SCN : All Content - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all 956 articles
Browse latest View live

Cancel running job

$
0
0


Hi experts,

 

I've scheduled a job which is running to long and I want to cancel now.

The scheduling I have done via DBACOCKPIT, as there is no option to cancel in, I guess I have to do that in isql.

 

However, what is the command for that?

 

Kind regards


Backup Failed via DB13 - Stored procedure 'saptools.dbo.SP_ADM_DUMPDB' not found

$
0
0

Hi Guys

 

Im getting an error when scheduling an Backup via DB13

 

 

Stored procedure 'saptools.dbo.SP_ADM_DUMPDB' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).




This is only occurring on a system which was updated to ASE 15.7.133. On other systems which version is 15.7.122 is working fine

 

 

I have performed all activities detailed in Note  1607816 and also imported note 1882376 - SYB: DBA Cockpit Correction Collection SAP Basis 7.40 which has several correction


Tried to find this stored procedure on both systems, in DB not updated Stored Procedure is found, on the other is not present




15.7.122


1> use saptools

2> select db_name()

3> go

 

------------------------------

saptools

 

(1 row affected)

1> SP_ADM_DUMPDB

2> go

Msg 201, Level 16, State 2:

Server 'AED', Procedure 'SP_ADM_DUMPDB':

Procedure SP_ADM_DUMPDB expects parameter @jobname, which was not supplied.

(return status = -6)

 

 

15.7.133

 

1> use saptools

2> select db_name()

3> go

 

------------------------------

saptools

 

(1 row affected)

1> SP_ADM_DUMPDB

2> go

Msg 2812, Level 16, State 5:

Server 'AEP', Line 1:

Stored procedure 'SP_ADM_DUMPDB' not found. Specify owner.objectname or use

sp_help to check whether the object exists (sp_help may produce lots of

output).

1>

 

Anyone experienced the same problem? Any idea how to re-implement those missing stored procedure?

 

Best

Martin

DBACOCKPIT - Job name

$
0
0

Hello together,

 

is there a possibility to schedule jobs in DBACOCKPIT and give them a name?
I want to schedule sql staments and the job title is always SQL_SCRIPT.

SAP ASE create new user with read permissions for entire database

$
0
0

Hi,

I was wondering if there is a simple command to create a new user for our DEV database, who will only have read permissions?

 

I created a user test, in the DEV database.But now I want to give it read access to the entire DEC database.
In the documentaton I can only find how to give the permission per table, but not for the entire database.

 

Best regards,

Menno

Unable to Schedule auto backups in DBACOCKPIT

$
0
0

Hi Experts,

 

Please help,

 

I had a situation like I have lost all the passwords SA, SAPSA, SAPSSO so I was forced to regenerate to SA password to get into database. I have followed a procedure 1872806. Got the password for SA with that I have changed the SAPSA and SAPSSO passwords.

 

+++SYBADM shows the connection was successfully established. But we are failing to trigger auto backups.

 

Also the scheduled calender jobs are failing after the password resets. More over SA is locked.

 

At OS level I am getting a message worker jsj__RunSQLJob:jsd_MakeConnection() failed for user sapsa to server SID

 

Please help on this situation.

 

Regards,

Amarnath

Why a synthex error in the follwoing query

$
0
0

When we run the  following query it produces a syntax error saying that:

 

Command has been aborted.

Number (102) Severity (15) State (1) Server (MYSERVER Incorrect syntax near ')'.

(42000)

 

 

select distinct ems_sa_id

from ems_shadow_account s

where ems_sa_isOld=0

and exists (select *

        from PRINCIPAL_PARTY

        where prp_cli_branch_number="xxx"

            and prp_cli_account_number="YYYYYYY"

            and prp_managed_ind != '06'

            and (

                    (prp_managed_ind like '0%' or prp_managed_ind='10')

                    or

                    (prp_managed_ind = 'N'  AND prp_discr_ind = 'A' and prp_trading_auth = 'I')

                )

           )

 

select @@version

Adaptive Server Enterprise/12.5.2/EBF 11798/P/NT (IX86)/OS 4.0/ase1252/1831/32-bit/OPT/Fri Apr 09 04:15:03 2004

The sub-query by itself works

Principal_party is a proxy table pointing to a table on a ASE version 15.3.

 

 

Please help me understand what is wrong.

SAP Migration of BI dual stack system from Max DB to ASE

$
0
0

Hello Colleagues,

 

I am having BI/BW system of following configuration, which is a dual stack split system and having same DB :


Current Landscape: (NW 7.02 SPS16 BW, Distributed )


1. ABAP Stack
SID : ABA
Primary Application Instance Hostname :host1
Database Host : host2
DB SID: ABA
Database Type: Max DB
OS : Windows


2. JAVA Stack
SID:  JAV
Primary Application Instance Hostname : host1
Database SID : ABA (same as ABAP SID)
Database Host : host2
Database Type : Max DB
OS: Windows

 

Desired Target Landscape
1. ABAP Stack
SID : ABA
Primary Application Instance Hostname :host3
Database SID : ABA
Database Host : host4
Database Type : Sybase ASE
OS : Linux
2. JAVA Stack
SID:  JAV
Primary Application Instance Hostname :host3
Database SID : ABA
Database Host : host4
Database Type : Sybase ASE
OS : Linux


In this scenario, will below TO LEVEL steps will work :


1. Install ASCS & SCS in host3 .

2. Perform parallel export import from source DB (Max DB) to target DB (ASE).

3. Install PAS .


Please provide your suggestion how to proceed forward.


Regards,

Nilutpal.


SYBASE : ISQL login error

$
0
0

Hi Experts,

 

I am not able to login isql in command prompt . and I'm getting the following error,Can anybody help me in fixing this issue. Is there any default password for it .

 

I logged in as syb[sid] and exeuted below command and end up with below error :

 

E:\sybase\EGS\OCS-15_0\bin>isql -S EGS -U sa

Password:

Msg 4002, Level 14, State 1:

Server 'EGS':

Login failed.

CT-LIBRARY error:

        ct_connect(): protocol specific layer: external error: The attempt to co

nnect to the server failed.

 

 

E:\sybase\EGS\ASE-15_0\bin>isql -S SOLMAN -U sybegs

Password:

CT-LIBRARY error:

        ct_connect(): directory service layer: internal directory control layer

error: Requested server name not found.

 

 

Thanks In Advance,

Satheesh E


Help with SAP ASE inmemory option

$
0
0

Can help me someone with the following issues?

 

 

We are testing the database inmemory option for SAP ASE, the purpose is to reduce the execution time of the batch process, but we have had the following problems:

 

When we have enabled full dml_logging the log is consumed very quickly and we visualize LOG SUSPEND message therefore we have placed this dml_logging minimal

 

Could this help us optimize the runtime on a batch process?

 

That we could have disadvantages when using this option?

 

Thanks in Advance

Cache Hit Ratio suddenly very low

$
0
0

Hi experts,

 

we have a db running since weeks and suddenly (today morning) the Data Cache Hit Ratio is very low (around 50%).

How can I analyze this and increase it back to around 100%?

 

I still have not found some information about what it is good for and what it means.

 

Kind regards

Need to disable SybaseTransaction log

$
0
0

If I want to disable transaction log is

 

use master

go

sp_dboption SBP, 'trunc',true

go

use SBP

go

checkpoint

go

 

and I want to enable again

 

use master

go

sp_dboption SBP, 'trunc',false

go

use SBP

go

checkpoint

go

 

The checkpoint command is mandatory to change the mode of transaction log?

 

Regards

SQL error 7794 when accessing table "ZCOHV".

$
0
0

Hi,

 

tonight we have got some dumps with SQL error 7794 on a select single for a custom table:

 

KKK_17 2015-06-18 10.48.jpg

 

At the same time I see that there is an update statistic on this table...

 

KKK_17 2015-06-18 10.42.jpg

 

Have you got any idea? The box is on Windows 2012R2 with ASE 15.7.131

 

Thank you.

Please explain me in detail about the concept of fragmentation

$
0
0

Dear Experts,

 

Please explain me the concept of fragmentation in detail.

 

Regards,

Dilip Voora.

ASE Error SQL1105 - Can't allocate space for object 'syslogs' in database 'saptools' because 'logsegment' segment is full/has no free extents

$
0
0

Hi All,

 

We are getting below error in our Production System frequently.

 

 

ASE Error SQL1105][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Can't allocate space for object 'syslogs' in database 'saptools' because 'logsegment' segment is full/has no free extents. If you ran out of space in syslogs, dump the transaction log. Otherwise, use ALTER DATABASE to increase the size of the segment.

 

When ever the above issue is occurring THEN we are adding the space to saptools database and the related file system (/sybase/GTT/sapdiag) & it is running out of space now.

 

FYI.

 

We have not enabled the Transaction Log backup as we have space issues. Please advice for the permanent solution.

 

Regards,

Karthik

JAVA Stack not starting after ASE Upgrade to Version 16 SP1

$
0
0

Hi guys

 

After perfoming an ASE Upgrade on a Solution Manager system running in Windows Server 2012/ASE 15.7, Java Stack is not starting

 

I have performed an Upgrade as recommended in SAP Note 1982469 - SYB: Updating SAP ASE with saphostctrl / sapdbctrl.

 

Updated Database with command

 

saphostctrl -user <user> <password> -function LiveDatabaseUpdate -dbname <SAPSID> -dbtype syb
-updatemethod Execute -updateoption TASK=UPDATE_ASE -updateoption DROP_LOCATION="<drop location>"

 

Since it was a major upgrade from 15.7 to 16 I have also adapted secure store

 

rsecssfx put DB_CONNECT/SYB/SYBSID_USER syb<sapsid> -plain

rsecssfx put DB_CONNECT/SYB/SYBSID_PASSWORD <password>

rsecssfx put DB_CONNECT/SYB/SAPSID_USER <sapsid>adm -plain

rsecssfx put DB_CONNECT/SYB/SAPSID_PASSWORD <password>

 

Also updated ODBC and JDBC drivers on Windows: <drive>:\usr\sap\<SID>\SYS\global\syb\NTAMD64, and updated Kernel to latest version 721EXT

 

In the Bootstrap log you can see its failing to connect to Database, but ABAP stack is working and DB is accessible.

 

Tried to access to Config Tool and also fails connecting to DB

 

Any idea what could be causing this?

 

Also after ASE 16 Upgrade, there are no logs under J:\sybase\ASD\ASE-16_0\install, where are now logs files related to DB?

 

Best

Martin

 

Bootstrap MODE:
<INSTANCE GLOBALS>
determined by parameter [ID0063632].
--------------------------------------------------
Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:477)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:147)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:946)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
----------==[ Caused by: ]==----------
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:384)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:132)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:150)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:214)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:46)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:76)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:474)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:147)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:946)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sybase.jdbc3.jdbc.MdaManager.getMetaDataAccessor(java.lang.String, com.sybase.jdbc3.jdbc.ProtocolContext) of an object loaded from field com.sybase.jdbc3.jdbc.SybConnection._mda of an object loaded from local variable '<0>'
at com.sybase.jdbc3.jdbc.SybConnection.isSurrogateProcessingDisabledOnServer(SybConnection.java:983)
at com.sybase.jdbc3.jdbc.SybConnection.determineCharset(SybConnection.java:1193)
at com.sybase.jdbc3.jdbc.SybConnection.init(SybConnection.java:696)
at com.sybase.jdbc3.jdbc.SybConnection.tryLogin(SybConnection.java:612)
at com.sybase.jdbc3.jdbc.SybConnection.handleHAFailover(SybConnection.java:3332)
at com.sybase.jdbc3.jdbc.SybConnection.<init>(SybConnection.java:341)
at com.sybase.jdbc3.jdbc.SybConnection.<init>(SybConnection.java:245)
at com.sybase.jdbc3.jdbc.SybDriver.connect(SybDriver.java:231)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:613)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:290)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:322)
... 14 more


[Bootstrap module]> Problem occurred while performing synchronization.


Facing issue in Sybase

$
0
0

Hi All

 

I am very new in sybase,and i have few query

 

 

1- i have done SAP installation in oracle, in oracle we installtal the database first in windowes system , but in SAP installation with sysbase it install it self

at time of SAP installation ,

-

that is correct way or we need to installtal sybase databse first and then instal sap system because when we inistalling sybase first it ask for licence.

 

2-is there any post activiy in syabase after sap installation

 

3- i install the one syetem now i am planing to installing one java system in same host but it give error at the time of  sybase installtion

unable to install sysbase database

 

can you plz sugget me

Data Collector for HA/DR Error

$
0
0

Hi All,

 

In DBA Cockpit of Sybase ASE 15.7 we found the following error in Self-Monitoring:
Data Collector for HADR Error.png

 

When I went to the Collector Configuration, I saw the message "System <SID> is not configured for HA/DR. Data collector must be dropped!". What is the proper response for this error?

 

It seems that this related to High Availability scenario, which we will not configure this time, so is there anyway to bypass this error or remove the collectors?

 

I'm looking forward to your feedbacks.

 

Regards,

Duy

Featured Content for SAP Applications on SAP ASE

$
0
0

SAP on ASE - Development Update

Check our development update for SAP on ASE.


Compression Advisor for SAP Adaptive Server Enterprise

With SAP ASE 15.7, advanced compression capabilities have been introduced that allow large data volumes to be stored more compactly, thus reducing I/O times. In addition, SAP ASE 16.0 provides an index compression feature which further reduces the overall database size. However, compressing existing databases requires resources and time to rebuild the indexes. This can become a challenge for multi-terabyte databases or environments with extremely high load and limited maintenance windows.

 

Getting Started with SAP Applications Using SAP Adaptive Server Enterprise

The aim of this document is to help you get started with the SAP Adaptive Server Enterprise database that is run with SAP applications.

 

Configuring Automatic Database Space Expansion in SAP Adaptive Server Enterprise

This white paper introduces system administrators to the automatic database expansion feature in SAP Adaptive Server Enterprise. The author will focus on deployments of SAP Business Suite applications running on SAP ASE. With automatic database expansion activated, administrators can further reduce the time needed for administration tasks. More importantly, interruptions to business users can be avoided because the database server can automatically obtain the space resources needed for continuous operation.

 

Important Information

An issue has been identified that can potentially cause incorrect results in an SAP Business Warehouse system running on SAP Adaptive Server Enterprise. The problem has been observed whenever the optimization goal 'allrows_dss' or another optimization goal that includes optcriteria 'advanced_aggregation' is used for an SQL statement. This is typically the case for SAP BW systems. SAP ERP systems running on ASE are not affected. In SAP ERP systems, optimization goal 'allrows_mix' has been configured.

Details and corrections are available in SAP Note 2026328 - SYB: Incorrect results with SUM aggregation on decimal fields. We strongly recommend to implement the corrections in SAP BW as soon as possible.

 

On the Road to an Enterprise Cloud

Customer demands for support of virtualization are rapidly growing. SAP offers support for running its applications in virtualized cloud environments. You can start your projects and can bring the innovations from SAP into production in a matter of weeks instead of months, with complete flexibility of deployment choice. Landscape Virtualization Management (LVM) is available for SAP Business Suite on SAP Adaptive Server Enterprise.

 

For more information, read this article and SAP Notes 1630050 and 1492000.

 

DBA Cockpit: Automatic Table Maintenance for SAP ASE

Maintaining tables, indexes and data partitions is crucial for productive database systems. Continuous insertion, update and deletion of data induces fragmentation, bad cluster ratios and inaccurate optimizer statistics. The article shows how the DBA Cockpit and its automatic table maintenance for SAP ASE ensures good cluster ratios on tables and indexes, frees up unused space and ensures accurate optimizer statistics.

 

General Availability of SAP Adaptive Server Enterprise

 

SAP Business Suite on ASE is available for SAP Business Suite 7i2010, 7i2011, and 7i2013. For more information, refer to SAP Note 1554717.

DBA Cockpit SAP Configuration Check failed

$
0
0

Hi All,

 

We have SYBASE ASE 15.7.0.131 in our ECC 6.0 system (SAP_BASIS 740 SP 9). I tried to perform the Configuration Check in DBA Cockpit, but it failed with the error "Required data collector Tables is not set up properly"

Configuration_Check_Error.png

 

The following 2 errors are seen from DBA Cockpit:

  • [ASE Error SQL2812][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Stored procedure 'saptools..SP_ADM_CONFIGCHECK' not found.
  • [ASE Error SQL208:42000][SAP][ASE ODBC Driver][Adaptive Server Enterprise]saptools..CFGCHK_RULEBOOK not found.

 

 

In DBA Cockpit Self-Monitoring, there are errors as in the following screenshot:

DBA_Cockpit_Self-Monitoring_Error.png

 

The errors related to some corresponding tables which does not exist. One of the warning showed "Table DBH_SNAP_TABLES: Column 'NumLevel0Waiters' does not exist". Another warning is "Another version of procedure 'saptools..SP_DBH_FWK_CLEANUP' found!"

 

In addition, when I tried to dump a database in DBA Cockpit, the dump failed due to the following error "Stored procedure 'saptools.dbo.SP_ADM_DUMPDB' not found". It seems that there is something wrong with the database saptools, but I could not find any thing in DBACOCKPIT error log.

 

We have implemented the following notes, but they did not solve the problems:

  • 2170712 (SYB: DBACOCKPIT, Various Fixes for SAP Configuration Check) in both the managed system (ECC) and the managing system (Solution Manager).
  • 1558958 (SYB: DBA Cockpit Correction Collection SAP Basis 7.02..) in Solution Manager
  • 1882376 (SYB: DBA Cockpit Correction Collection SAP Basis 7.40) in the ECC System.

 

 

What should I do to troubleshoot those errors?

 

I would be very grateful for any contribution.

 

Best regards,

Duy

ASE 15.7 SP134

$
0
0

Since I patched to the above I now get lots of these in the error log.

 

00:0012:00000:00000:2015/06/24 11:40:15.74 kernel  ncheck_quit: no pid associated with fd 99, vsn = 331, socket type = 2

00:0012:00000:00000:2015/06/24 11:40:15.74 kernel  ncheck_checkconn: Unable to identify thread for fd 99

 

00:0012:00000:00000:2015/06/24 11:49:35.59 kernel  ncheck_quit: no pid associated with fd 73, vsn = 25, socket type = 2

00:0012:00000:00000:2015/06/24 11:49:35.59 kernel  ncheck_checkconn: Unable to identify thread for fd 73

 

00:0012:00000:00000:2015/06/24 12:08:17.54 kernel  ncheck_quit: no pid associated with fd 91, vsn = 198, socket type = 2

00:0012:00000:00000:2015/06/24 12:08:17.54 kernel  ncheck_checkconn: Unable to identify thread for fd 91

 

00:0012:00000:00000:2015/06/24 12:14:30.81 kernel  ncheck_quit: no pid associated with fd 78, vsn = 49, socket type = 2

00:0012:00000:00000:2015/06/24 12:14:30.81 kernel  ncheck_checkconn: Unable to identify thread for fd 78

 

 

Unfortunately each occurrence of one of these is matched to a connection leak in sp_who, these show as 'MAINTENANCE_TOKEN' spids (you can kill them off with kill spid BTW), I remember from years ago this really means that it was a failed connection process.

 

I know which client they come from, the IP is in master.sysprocesses, in fact I can prove it by stopping the client process from running.

 

The client process is a third party monitoring server (GEB / ServerCheck) that just pings the hostname:port to see if the ASE server is up.

 

I can't patch further up the environment with this hanging over, if the monitoring server can cause connection leaks. maybe something else out there could be port scanning for instance.

 

Anyone else tried SP134 yet ?

Viewing all 956 articles
Browse latest View live


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