Quantcast
Channel: SCN : Discussion List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all 685 articles
Browse latest View live

can anybody tell me more about the Sybase DBA Development Program

$
0
0

Hi,

 

Can anybody shed more light on the Sybase DBA Development program? I would be very interested.

I appreciate this was announced serveral years ago and so not breaking news but I didn't know about this. I only hope SAP hasn't curtailed this as well.

 

 

"MARCH 18, 2008 — Sybase today announced the formation of the Sybase DBA Development Program, designed to promote individual career development within the current Sybase Database Administrator (DBA) community as well as to encourage familiarity and expertise in Sybase database products and technologies within the industry at large. The program will offer database professionals exclusive educational, career development and networking opportunities."



Kind regards,

G.



the page to download the ASE Developers Edition is no longer working

$
0
0

After I am prompted to login (I'm already logged on - why do we need to login again?) and credentials approved I am taken to blank page and nothing...

Size of database dump(full)after the dump gets completed

$
0
0

Dear Experts,

 

In our environment we are dumping the database(full)to multiple stripes.After the entire dump gets completed, how can we find the size of the dump and where we can see the size exactly? Ideally, I am considering the size of dump that happened from backup server error file. Please let me know in case of any other ways to find out the dump size once the dump gets completed.

 

Regards,

Dilip Voora

ASE database backup won't start - flushing some cache resolves this

$
0
0

Hi,

 

Has anybody heard of the scenario where ASE database backup won't work and flushing some cache resolves this problem?

I seem to recall this may have been because of previous dbcc work that left the database in unusual state.

 

Feedback much appreciated.

 

Kind regards,

G.

error while installing ASE Developer Edition

$
0
0

Hi,

 

I'm busy installing ASE 16 DE on CentOS7. The bulk of the installation seems to have gone ok, but then I got the following error while in the create sample databases stage of the installation.

 

Cannot run /sybase/INSTALL/OCS-16_0/bin/isql - exec failed (ENOENT).

 

From what I can gather this is either because isql is missing some libraries and doesn't work or it should have called isql64.

I've tested connecting to the server using isql64 and it is up.

 

So my question is, can I somehow fix and get the remainder of the installation to complete?

Does anyone know if this is the last stage of the install? If so could I create these dbs manually? If so, what do I need and from where?

 

Or is it best to abandon this attempt at installation and start again? Anybody know exactly what I need to fix to resolve the above error?

 

This environment is running in a VMWare VM.

 

Thanks in advance for any guidance from all of you.

 

Kind regards,

G.

Duplicate rows indentified while creating an unique non-clustered index

$
0
0

Dear Experts,

 

When are trying to recreate an unique non-clustered index over a table, it got failed after 4+ hours with an error message "unique non-clustered index got failed due to duplicate rows identified". Can anyone please let me know the way to extract those duplicate rows from the table and also a solution to fix this issue?

 

Regards,

Dilip Voora

Netweaver 7.4 SR2 installation on Existing ASE database

$
0
0

Hello SAP Experts,

 

I have already ECC6 EHP 6 installed with ASE database on Windows Server 2008 R2. Now I need to install SAP Netweaver 7.4 SR2 AS Java instance on the same system on existing ASE database.

 

 

I had downloaded all required media for installation except ASE database. But while installation I dint get any option to select existing database. It's asking for Sybase ASE Database Media Path (Label.asc).

I selected Netweaver 7,4 SR2 -->SAP ASE-->SAP systems -->Application Server JAVA --> Standard System--> Standard system in SWPM.

 

Is there any way we can use existing ASE database or its mandatory to provide ASE database Media path? As in ORACLE and MS-SQL it automatically detects already installed database.

 

Awaiting for your suggestions

 

Best Regards,

 

Kapil Kumar

Asynchronous prefetch, Kernel modes and their uses

$
0
0

Dear Experts,

 

Can anyone help me with a detailed explanation of asynchronous prefetch and the kernel modes?

 

Regards,

Dilip Voora


Missing ports in ASE Cockpit

$
0
0

After upgrading from ASE 16.0 SP01 to SP02 PL01 I tried to start the new ASE Cockpit. Cockpit starts but the connection info like "Cockpit Web Console: https://dimotion:4283/cockpit" is missing:

 

============================

[sybase@dimotion bin]$ ./cockpit.sh

Starting Cockpit Server...

 

---------- SYSTEM INFO ----------

 

Home Directory:       /opt/ase160/COCKPIT-4

Version:              Cockpit Server 4 SP10

Node:                 dimotion(192.168.0.52)

Log Message level:    WARN

 

 

Platform:              linux

Bitwidth:              64

OS Name:               Linux

OS Version:            3.10.0-229.14.1.el7.x86_64

OS Architecture:       amd64

 

 

Available Processors:  6

Total Physical Memory: 19411 MB

Free Physical Memory:  8718 MB

 

 

java.library.path:     /opt/ase160/COCKPIT-4/rtlib:/opt/ase160/COCKPIT-4/bin/sa16/linux64/lib64

Java Home:             /opt/ase160/shared/SAPJRE-7_1_027_64BIT

Java Version:          1.7.0_71

Java VM Version:       7.1.027 25.11-b02

VM Process ID          31205@dimotion.sybase.local

VM Arguments:          -Xms128m, -XX:MaxPermSize=128m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/opt/ase160/COCKPIT-4/log, -Dcom.sybase.home=/opt/ase160, -Dcom.sybase.ua.toplevel=/opt/ase160/COCKPIT-4, -Dcom.sybase.ua.home=/opt/ase160/COCKPIT-4, -Dcom.sybase.platform=linux, -Djava.library.path=/opt/ase160/COCKPIT-4/rtlib:/opt/ase160/COCKPIT-4/bin/sa16/linux64/lib64, -Djava.security.policy=/opt/ase160/COCKPIT-4/conf/java.policy, -Djava.util.logging.manager=com.sybase.ua.util.logging.bridge.JavaToLog4jLogManager, -Dcom.sybase.security.BootstrapConfigurationURL=file:////opt/ase160/COCKPIT-4/conf/csibootstrap.properties

 

Type help for more options

cockpit>

============================

 

A connection with the ASE Cockpit installation is not possible. Displaying the ports I get:

 

============================

cockpit> info -p

 

---------- SERVICE PORT CONFIGURATION ----------

Service Name           Property Name                  Current Value   In Use Address

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

RMI                    port                           4992            true   dimotion

EmbeddedWebContainer   http.port                      4282            false  ANY

EmbeddedWebContainer   https.port                     4283            false  ANY

Tds                    tdsPort                        4998            false  ANY

SccSADataserver        com.sybase.asa.server.port     4638            false  ANY

Messaging              messaging.db.port              4638            false  ANY

Messaging              messaging.port                 4993            false  ANY

Alert                  alert.database.port            4638            false  ANY

cockpit>

============================

 

All ports are free, because an IQ Cockpit installation runs on the same machine with the identical ports. The agent status also looks OK:

 

============================

cockpit> status -a

Agent Home:     /opt/ase160/COCKPIT-4

Connection URL: service:jmx:rmi:///jndi/rmi://dimotion:4992/agent

Status:         RUNNING

cockpit>

============================

 

The upgrade itself works without any error or message. Am I missing something necessary during the upgrade?

 

Many thanks

 

Robert

Databases not getting upgraded after mounting from manifest

$
0
0

We are currently in the process of testing out ASE16 (currently running 15.7) and we are experiencing some issues.

 

We have performed the upgrade without problems, the instances all start and we get notified in the error log that it is upgrading the master database as it should. So far so good.

 

The problem comes with our user databases. Our production databases are still running 15.7 and we are performing backups both via regular dumps and also file system snapshots.

 

If we try to load one of the normal dumps (containing 15.7 databases) onto our 16.0 ASE, it detects the user databaes as being 15.7 and performs the upgrade.

 

However, if we try to mount our snapshot containing 15.7 databases, there is no message about the databases being an older version, and it does not seem to perform an upgrade. The databases do mount and come online just fine, there are no errors being reported, but they do not get upgraded.

 

Are we missing something here? Is there a command we should be running to upgrade the databases after mounting? We have tried both the "upgrade" and "updatease" binaries, but neither of them change anything.

 

Any advice would be greatly appreciated.

No language handler installed

$
0
0

Hi,

 

Recently I installed ase16 and when I am trying to issue q command to an open server application, am getting this no language handler error.

 

But when I try the same with my actual prod setup it works perfectly.

 

I there anything I am going wrong here ?

 

Any reference on this would also be of great help.

install of ASE16 Developer Edition failing with ConfigJSLog.log error

$
0
0

Hi,

I'm trying to get ASE16 Developer Edition insatlled successfully in a VM running CentOS7.

 

Version info: 16.0 GA PL01/P/x86_64/Enterprise Linux/EBF 22544 SMP

 

The error is in the ConfigJSLog.log file below Building Job Scheduler 'MYASE16_JSAGENT':.

 

Creating Initial Template Record

SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

SQLException during getConnection: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

Exception  : SQLException when trying to connect

SQLException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused

Exception in thread "main" java.lang.NullPointerException: while trying to invoke the method com.sybase.util.template.Connection.execUpdate(java.lang.String) of a null object loaded from field com.sybase.util.template.TemplateBase._conn of an object loaded from local variable 'this'

    at com.sybase.util.template.TemplateBase.execUpdate(TemplateBase.java:3296)

    at com.sybase.util.template.TemplateBase.createTemplate(TemplateBase.java:2311)

    at com.sybase.util.template.TemplateImport.importTemplate(TemplateImport.java:436)

    at com.sybase.util.template.TemplateImport.mainRoutine(TemplateImport.java:360)

    at com.sybase.util.template.TemplateImport.main(TemplateImport.java:348)

Server 'MYASE16_JSAGENT' was not created.

 

I had earlier in the config selected PCI to be enabled.

 

Any help to pinpoint this error and how to resolve would be appreciated.

 

Regards,

G.

ASE 16.0 SP02, no support for Windows 2012

$
0
0

Hi,

 

I just installed the latest SP02 for the ASE 16.0 (over an existing ASE 16.0 SP01 installation) on our local Windows 2012 Server. Turns out, installation works fine, but the sqlserver.exe won't start any more.

 

Of course we have support, so after creating a SAP Case (sorry, i mean incident), the technical support tells me that my operating system is not supported. You need Windows 2008 R2 or Windows 2012 R2 (so not just Windows 2012). This really frustrates me, because in the specs of the ASE 16.0 (no SP), the Windows 2012 Server IS supported. So SP02 breaks this supported OS! Technical supports advice is to upgrade  from our Windows 2012 Datacenter to Windows 2012 R2 datacenter. In the windows world, this is pretty pricy, so not really an option for us at the moment...

 

Just wanted to post this, so that anyone running ASE 16 on a Windows 2012 (not R2) is notified if they want to upgrade to the SP02.

 

Greetz

Pieter

Installation of ASE 16 SP02 PLxx will hang on Windows with UNC homeshare

$
0
0

Please note, there is still an unresolved issue with ASE 16 SP02 installation on Windows. 

 

If the user performing the installation has its homeshare directory defined as an UNC path (~\\hostname\share\...) the installation of ASE 16 SP02 will successfully unload the binaries but will halt indefinitely without providing any message if you will choose to proceed to configure ASE + DBA Cockpit. 

 

You will see the sccadmin &c user / password screen indefinitely in front of you with no activity behind it.  The only option in this case would be to cancel the installation and restart it after the homeshare directory is reset to dos-like DriveLetter:\...

 

As of now I don't think this has been targeted to be resolved.

 

HTH,

 

Andrew

export data using the output command from interactive sql

$
0
0

It is requested to export data from ASE in a csv file having all the data quoted. In Interactive SQL GUI we can use this

 

OUTPUT TO 'C:\tmp\data.csv' FORMAT ASCII

DELIMITED BY ',' QUOTE '''' ALL ENCODING cp1253

GO

 

and it returns the desired result. However we cannot create a script executed from command line that produces this file, because the GUI dbisql cannot take any arguments in order to connect  to an ASE instance and execute an SQL file and the command line isql cannot accept the output command. I think we cannot achieve this using only the ASE client tools

 

A supposed solution could be to create a string for each row and export it using bcp or even isql. I would prefer to avoid such an approach.

 

Thank you in advance


SQL-error "14217-[ASE Error SQL14217] - SPAM IMPORT

$
0
0

Hi experts,

 

Watching logs in usr/sap/trans I found this

 

3 ETP361 "0" Shadow-Nametabs activated, DDL executed

3 ETP362 "0" Shadow-Nametab activations failed

2 ETP360 Begin: Act. of Shadow-Nametabs with DDL ("2015/07/12 11:59:25")

2 ETP363 End  : Act. of Shadow-Nametabs with DDL ("2015/07/12 11:59:25")

2 ETP301 ----------------------------------------------------------------------

2 ETP301 ----------------------------------------------------------------------

2 ETP360 Begin: Act. of Shadow-Nametabs with DDL ("2015/07/12 11:59:25")

2 ETP301 ----------------------------------------------------------------------

2 ETP000   processing modeflag 'V'

2 ETP301 ----------------------------------------------------------------------

2 ETP330XActivation of Shadownametabs with DDL

2 ETP301 ----------------------------------------------------------------------

3 ETP379X11:59:25: activating Nametab "DEMO_CDS_SQLFUNC":

3 ETP355XCDS View statements:

3 ETP000 CREATE VIEW "DEMO_CDS_SQLFUNC" AS SELECT "DEMO_EXPRESSIONS"."MANDT"

3 ETP000 AS "MANDT", CAST( ABS( "DEMO_EXPRESSIONS"."NUM1" ) AS int) AS

3 ETP000 "ABS_NUM1", cast( ceiling( "DEMO_EXPRESSIONS"."FLTP1" ) as int) AS

3 ETP000 "CEIL_FLTP1", FLOOR( "DEMO_EXPRESSIONS"."DEC1" ) AS "FLOOR_DEC1",

3 ETP000 cast( ( "DEMO_EXPRESSIONS"."NUM1" / "DEMO_EXPRESSIONS"."NUM2") as int)

3 ETP000 AS "DIV_NUM1_NUM2", case "DEMO_EXPRESSIONS"."NUM2" when 0 then

3 ETP000 "DEMO_EXPRESSIONS"."NUM1" else ( ( "DEMO_EXPRESSIONS"."NUM1" ) % (

3 ETP000 "DEMO_EXPRESSIONS"."NUM2" )) end AS "MOD_NUM1_NUM2", ROUND( (

3 ETP000 "DEMO_EXPRESSIONS"."DEC2" / "DEMO_EXPRESSIONS"."DEC3"), CAST( 3 AS

3 ETP000 TINYINT)) AS "DVISION_DEC2_DEC3", CAST( ROUND(

3 ETP000 "DEMO_EXPRESSIONS"."DEC3", CAST( 2 AS TINYINT) ) AS decimal(

3 ETP000 000011,000003)) AS "ROUND_DEC3", SAPSR3.SAP_CONCAT(

3 ETP000 "DEMO_EXPRESSIONS"."CHAR1", "DEMO_EXPRESSIONS"."CHAR2" ) AS

3 ETP000 "CONCAT_CHAR1_CHAR2", SAPSR3.SAP_LPAD( "DEMO_EXPRESSIONS"."CHAR1",

3 ETP000 CAST( 10 AS TINYINT), 'x', ' '

3 ETP000 ) AS "LPAD_CHAR1", SAPSR3.SAP_REPLACE( "DEMO_EXPRESSIONS"."CHAR2",

3 ETP000 'GHI', 'XXX' ) AS "REPLACE_CHAR2", substring(

3 ETP000 "DEMO_EXPRESSIONS"."CHAR2", CAST( 2 AS TINYINT), CAST( 3 AS TINYINT)

3 ETP000 ) AS "SUBSTRING_CHAR2" FROM "DEMO_EXPRESSIONS" "DEMO_EXPRESSIONS"

3 ETP000 

2WETP000 11:59:25: Retcode 1: error in DDL statement for "DEMO_CDS_SQLFUNC              " - repeat

2EETP345 11:59:37: Retcode 1: SQL-error "14217-[ASE Error SQL14217][SAP][ASE ODBC Driver][Adaptive

2EETP345 Server Enterprise]SQL function not found. If you are attempting to call a java UDF, Java s

2EETP345 ervices are not enabled.

2EETP345 " in DDL statement for "DEMO_CDS_SQLFUNC              "

2 ETP000  --------------- DB-ROLLBACK() ---------------

2EETP334 11:59:37: error in DDL, nametab for "DEMO_CDS_SQLFUNC" not activated

2 ETP301 ----------------------------------------------------------------------

3 ETP361 "0" Shadow-Nametabs activated, DDL executed

2 ETP362 "1" Shadow-Nametab activations failed

2 ETP360 Begin: Act. of Shadow-Nametabs with DDL ("2015/07/12 11:59:25")

2 ETP363 End  : Act. of Shadow-Nametabs with DDL ("2015/07/12 11:59:37")

2 ETP301 ----------------------------------------------------------------------

2 ETP301 ----------------------------------------------------------------------

 

Any clue?

Sybase Control Center Problem window after login and registering Servers

$
0
0

Hi all,

 

We’re getting an error-window immediately upon login to the SCC Server:

 

 

I haven’t found a direct reference to this problem anywhere on the web, BUT

 

assume this may be the reason for the following configuration problems

i)    After logging in we attempt to register an Adaptive Server  via import of the sql.ini file,

  

 

 

no Resource types are displayed:

 

 

ii)    Trying to import resources for Registration, the Resource type is empty:

 

 

 

Any ideas or suggestions greatly appreciated.

 

J. Krtil

 

Here the Configuration data:

 

################################################################################

#

# SCC Framework Server 3.2.7.4817

#

# FAR 52.227-19.

#

################################################################################

Agent Home:                /sybase_157_64/SCC-3_2

Agent Version:             SCC Framework Server 3.2.7.4817

Node:                          ASMXDB21(14.50.144.150)

RMI Address:               ASMXDB21(14.50.144.150)

RMI Port:                  8090

OS Name:                   SunOS

OS Version:                5.10

OS Architecture:           sparcv9

Platform:                  sunsparc

Bitwidth:                  64

Available Processors:      256

Total Physical Memory:     261632 MB

Free Physical Memory:      78346 MB

java.library.path:         /sybase_157_64/SCC-3_2/rtlib:/sybase_157_64/SCC-3_2/bin/sa/bin_sunsparc64

Java Home:                 /sybase_157_64/shared/JRE-7_0_21

Java Version:              1.7.0_21

Java VM Version:           23.21-b01

VM Process ID              3237@ASMXDB21

VM Arguments:              -Xms128m, -XX:MaxPermSize=128m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath="/sybase_157_64/SCC-3_2/log", -Dcom.sybase.home=/sybase_157_64, -Dcom.sybase.ua.toplevel=/sybase_157_64/SCC-3_2, -Dcom.sybase.ua.home=/sybase_157_64/SCC-3_2, -Dcom.sybase.platform=sunsparc, -Djava.library.path=/sybase_157_64/SCC-3_2/rtlib:/sybase_157_64/SCC-3_2/bin/sa/bin_sunsparc64, -Djava.security.policy=/sybase_157_64/SCC-3_2/conf/java.policy, -Djava.util.logging.manager=com.sybase.ua.util.logging.bridge.JavaToLog4jLogManager, -Dcom.sybase.security.BootstrapConfigurationURL=file:////sybase_157_64/SCC-3_2/conf/csibootstrap.properties

Message level:             WARN

---- Installed Services ----

Service Name               Service ID                     Version  Enabled  Dependencies                                               

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

Agent                          Agent                              3.2.0    true                                                                

Alert                          AlertService                       5.0.0    true     RepositoryService, MessagingService                        

Bootstrap                  BootstrapService               3.2.0    true                                                                

Collection                 CollectionService              3.2.0    true     SccService, AlertService, RepositoryService, SchedulerService

Config                         ConfigService                      3.2.0    true                                                                

Deployment                 DeploymentService              3.2.0    true     RemoteShellService                                         

Discovery                  SelfDiscoveryService           3.2.0    true     RMIService                                                 

EmbeddedWebContainer  EmbeddedHttpService            3.2.0    true     SccService, RepositoryService                              

Env                            EnvironmentDiscoveryService    3.2.0    true                                                                

ExtService                 ServiceRegistrationService     3.2.0    true                                                                

FileTransfer               FileTransferService            3.2.0    true                                                                

Jini                           JiniService                        3.2.0    true                                                                

Messaging                  MessagingService               5.0.0    true     ASAInstanceManagerService                                  

Plugin                         PluginRegisterService          3.2.0    true                                                                

Repository                 RepositoryService              3.2.7    true     ASAInstanceManagerService                                  

RMI                            RMIService                         3.2.0    true                                                                

Rshell                         RemoteShellService             3.2.0    true                                                                

SccSADataserver            ASAInstanceManagerService      11.0.0   true                                                                

Scheduler                  SchedulerService               3.2.0    true     ASAInstanceManagerService, SccService                      

Security                   SecurityService                    3.2.6    true                                                                

Session                        SessionService                     3.2.0    true                                                                

Snmp                       SnmpService                        3.2.0    true                                                                

SybaseControlCenter        SccService                         3.2.0    true     RepositoryService                                          

SybaseHome                 SybaseHomeService              3.2.0    true                                                                

TaskExecution              TaskExecutionService           3.2.6    true                                                                

Tds                            TdsService                         3.2.0    true     RMIService                                                 

 

---- Service Port Configuration ----

Service Name                Property Name         Current Value   In Use  Address                            

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

RMI                             port                           8090            true   ASMXDB21                           

EmbeddedWebContainer  http.port                      8282           true   ANY                                

EmbeddedWebContainer  https.port                     8283          true   ANY                                

Tds                            tdsPort                        9998           false  ANY                                

Jini                           httpPort                       9092          true   ANY                                

Jini                           rmidPort                       9095         true   ANY                                

SccSADataserver            com.sybase.asa.server.port     3638            true   ANY                                

Messaging                  messaging.db.port              3638   true   ANY                                

Messaging                  messaging.port                 2000     true   ANY                                

Alert                          alert.database.port            3638     true   ANY                 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Anyone knows where to find decent documentation on setuphadr?

$
0
0

I try to reinstall HADR on the existing ASE environment after moving hosts elsewhere.  setuphadr thinks the installation is already done exists with success but does nothing.  Nothing on it in the official HARD user guide.  Any other reference anywhere?

Database dump error

$
0
0

Hello All, I'm getting the below error. Can anyone help on this. Backup Server: 4.124.2.1: Archive API error for device='compress::/net/134.163.248.45/sybase/sybbkup/CPDMDR/bkup/PDBA_WH-20151118093434-0.db::000': Vendor application name=Compress API, Library version=1, API routine=syb_open(), Message=syb_open: open() error=30, msg=Read-only file system Msg 8009, Level 16, State 1: Server 'CPDMDR', Line 1: Error encountered by Backup Server.  Please refer to Backup Server messages for details.

create procedure failed because of table exist

$
0
0

---

Sybase version:

Adaptive Server Enterprise/12.5.4/EBF 15432 ESD#8/P/Sun_svr4/OS 5.8/ase1254/2105/64-bit/FBO/Sat Mar 22 14:38:37

2008

---

 

Hi team,

 

I have a question regarding the creation of a stored procedure.

 

I have a sql script that

  1. check the existence of my stored process and if it exists it drops it
  2. create my stored process
    1. My stored process starts by checking the existence of a table and if it exists it drops it, then it creates it again.

 

 

The first time I sql script, no problem, the stored procedureis created. The I execute it, no problem, my table is here

 

Then I change a bit the code so I change my sql script then I execute it and this time the stored process creation failed with the following message

 

Msg 2714, Level 16, State 1

Server 'MX512ZN', Procedure 'PURGE_LINE', Line 19

There is already an object named 'SST_OUT_SCOPE' in the database.

 

How can I prevent such messages?

 

Thanks

Viewing all 685 articles
Browse latest View live


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