Sybase ASE & BODS connectivity issue

Datastore creation give server not found error with Sybase ASE.
Unable to create a data store when use Sybase ASE database Tried different combination of DB Server name like server name, server name + port number, IP, & IP + port number. It giving me same error all the time..
Tested connection is ODBC it work fine but same config from same server it gives me following error....
Can you help us my your valuable comment on this issue..
WARNING: Cannot establish database connection.
'Sybase connection error: <Sybase CS Library message number
<101188867> Serevity <5>: Message Text is ct_connect():
directory service layer: internal directory control layer error:
Requested server name not found>' <BODI-1111341)
Do you want to save this datastore anyway?
Thanks

The following is the result of quite a bit of trial-and-error on a contract in Miami a couple of months ago.
If you don't already have it, you need to obtain and install Sybase's "PC Client," aka "Adaptive Server Enterprise PC Client".  In my case, I used ver. 15.7.  This software gets installed on the DS job servers. You may want it on your local workstation, too, to be able to roam around in the ASE's data.
In Data Services, I assume you've created a datastore using DS's native ASE driver.  (I.e., don't use ODBC.)
Find and run the "Open Client Directory Service Editor," one of a slew of gizmos which comes w/ the PC Client.
Pick "Interfaces Driver" (likely the only thing you can pick).  You'll get a blank, intimidating-looking "DSEDIT1" window.
Right-click in the "Server" pane on the left and select "Add...".
For the "Server Name," I think it's likely safest & sanest to just use the host name of the server, and suggest you use that.
Then, you'll have the server you added, on the left, and a grid of attribute-and-value pairs on the right.  Modify the Server Address, and you'll get a "Network Address Attribute" window. Click "Add".  Select "TCP" as the protocol, and enter the address in the format "hostname, port", as in this example:
asehost1.somecompany.com, 10100
ASE listens on port 10100 by default, I think, but your system may be elsewhere. For me, the DS datastore then worked just fine.
Good luck!

Similar Messages

  • Sybase ODBC Connection Issue in Windows Server 2008 R2

    Hi ,
    We have three sybase odbc connection in Windows Server 2008 R2 server . One connection is not working now, it was working fine before 30 days.
    I can ping the server address successfully from BO Server through "dsedit".
    i have created the same connection in a diffrent server (Win server 2003),and it is working fine.
    Sybase ASE Driver version 3.50.00.10
    Please help me to overcome this issue.
    Thanks,
    Saurabh upadhyay

    Hi Saurabh,
    The error message you are reporting is telling us that you are using the very old ctlibrary ODBC Driver.
    That is pretty much the only way you can get that error.
    Run from a command prompt,  isql -v  that will return a version string.  We can then verify the version.
    However, the old ODBC driver will function with the newer client.
    The old driver would read the sql.ini for the network address, and was also a translation layer between
    the client application and the ASE.
    Both were eliminated when Sybase released the "Native" ODBC Driver.
    The ct_connect error states that the connection attempt is using ctlibrary.
    In your ODBC configuration, Check to see in the ODBC Administrator and check to make
    sure that the driver you are using for your DSN is the Adaptive Server Enterprise and not the
    Sybase ASE ODBC Driver.
    Also  check the Drivers tab in the ODBC Admin.  See what the actual file is listed for the driver.
    sysybnt.dll
    syodase.dll  are unsupported drivers.
    It would be to your advantage to open an incident with SAP for more complete support
    Thank you,
    Kevin

  • Connectivity issues from Oracle to Sybase

    Friends.
    I have connectivity issue from Oracle 9.2.0.1 to Sybase 12.5 ASE .I am connecting through the database link in oracle to access the tables.
    The error message i am getting :
    select count(*) from TEST_TABLE@IND_TEST;
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    523 80
    ORA-02063: preceding 2 lines from IND_TEST
    Please guide me how to solve this error message. is it version incompatible now?
    Thanks
    Rocky

    Hi,
    You are now making the connection to the Sybase database but there is a problem with the user and password used in the database link.
    Sybase is case sensitive for names so you need to surround the user/password in double quotes to make sure they are passed to Sybase in the correct case -
    create database link ind_test connect to "sybuser" identified by "sybpass" using 'tnsnames_ora_entry' ;
    where sybuser is the userid as created in Sybase with the password sybpass.
    If they were setup in Sybase in mixed case then it would be -
    create database link ind_test connect to "Sybuser" identified by "Sybpass" using 'tnsnames_ora_entry' ;
    Regards,
    Mike
    Edited by: mkirtley on Sep 27, 2011 12:55 PM

  • Sybase ASE 12.5.4 EBF 14124 ESD#4 running out of connections

    I am working on a web application which works on SQL sever back end as well as Sybase ASE 12.5.4 EA server. Our project main focus was to move everything to sybase backend.
    Earlier there were 2 databases, the app was connecting to - db1 on sql server, and db2 on sybase. Now we have created a separate namespace within db2 in sybase. So application only connects with db2, but with different users and in separate schemas. 
    Application is in java and connecting to db server using jcon3 driver library.  It is using SybXADataSource driver class (provided by jcon3 jar) to connect to the server. Till last week application was able to connect to the server, everything was working fine (though I must say that code is still not optimized to use connection pools etc., I am opening  a connection, and closing it for every request).
    For sometime, I have been facing an issue from the server- login failed, try again. In the server error logs I found it was throwing an error- "Error 1601 Severity 17 state 3: no user connections available to run the process" I checked for available connections (using sp_configure), allowed connections are 900, and total active connection at the time this error shows up is typically between 30- 100 (using sp_monitorconfig). Seems like this is well within limits.
    Also yesterday, I did one more exercise, I restarted the server and logged in as sa from isql console only. Logged out and logged in again afimeter 20 minutes (no application connection was made), and isql login again gave this error. So I am inclined to think that something could be wrong with server configuration as well. Server is on linux red hat.
    I have searched all the db forums and SCN website as well, and all of these refer to one resolution of increasing the number of connections, but as from my observation regarding that, I do not think it is an issue.
    Any help would be greatly appreciated!!

    During your sa/isql test, how did you exit from your sessions?  Did you type 'exit + go', hit ^S, hit ^C, something else?
    Are you running your sa/isql test from the same linux host where the ASE is runing, or from another host on the network?
    Is your isql session connecting directly to the dataserver or are you going through an intermediary service?
    Are there any login triggers on your sa account? (See the output from sp_displaylogin sa)
    Could you run your sa/isql test again, but this time:
    session #1: log in as sa using isql; stay logged in
    session #2: perform your login/logout test using sa + isql
    session #1: periodically run 'sp_who' to see the active connections; does the list of connections grow over time?

  • Is there any free or cheap alternative other than sybase open client to connect to sybase ASE from powerbuilder

    Is there any free or cheaper alternative other than sybase open client to connect to sybase ASE 15 from powerbuilder.

    Hi M;
      FWIW: Open Client is FREE and the fastest way to converse with ASE! 
    Regards ... Chris

  • Error when "Copy to Oracle" in Sybase ASE 12.5.3

    I found this thread
    "Copy to Oracle" issue in SQL Developer 3.0
    from google and think I'm having exact same issue.
    Connecting to sybase ASE 12.5.3
    Right-click table, Copy To Oracle..
    Pop up message says "Copy to Oracle finished" and log error:
    Source: o.d.migration.copy.BridgeTableDef
    Message: Issue running BRIDGE command
    I am using JTDS 1.2 and have also tried JTDS 2.1. Oracle SQL Developer 3.0.04
    The sybase table to copy is in the default database of the userid.

    Could you please post a table and some demo data that is failing in your environment - or at least you can also test the table given in the post you are referring to:
    CREATE TABLE sybdb.dbo.fetch (
         f_id           numeric identity(18)      NOT NULL,
         s_id           numeric(18)           NOT NULL,
         added_date      datetime           NOT NULL,
         added_by      varchar(30)           NOT NULL
    INSERT INTO sybdb.dbo.fetch(f_id, s_id, added_date, added_by) VALUES (1080, 2944, '2011-08-05 03:36:10.64', 'User A');
    INSERT INTO sybdb.dbo.fetch(f_id, s_id, added_date, added_by) VALUES (1081, 2944, '2011-08-05 03:36:35.486', 'User B');
    INSERT INTO sybdb.dbo.fetch(f_id, s_id, added_date, added_by) VALUES (1082, 2944, '2011-08-05 03:36:54.24', 'User C');
    Does this work for you or fails also?
    Edited by: kgronau on Dec 7, 2011 8:46 AM
    From which location did you download your JTDS drivers?

  • Reducing the memory footprint of our Sybase ASE based SolMan install

    Hello All,
    We are doing a test install of SAP Solution Manager 7.01 on Sybase ASE 15.7.
    Since this is just a test setup, we started off with a lower-than-recommended hardware configuration (4 GB RAM only) due to time constraints and since we were 'assured' that we could do basic testing with this setup.
    While post install performance of SolMan was decent, performance during solman_setup (setting up technical monitoring) has become appalling. We are not able to complete the configuration process at all as the SolMan configuration web application has become very unpredictable and extremely slow.
    The SolMan install is centralized and on a windows 2008 box. Windows task manager shows consistent memory usage of up to 90 - 95%. We also tried reducing the total number of work processes to just 8 but that did not help much. We see in 'task manager > resource monitor' that sqlserver.exe process is taking a shareable working set close to 2 GB of RAM whereas the committed memory much less (34 MB). Please tell us about any memory optimization we can perform for SolMan / Sybase ASE in order to complete technical monitoring setup using Solman_setup. We were hoping that we could change the  'total logical memory' setting for the DB directly using DBACOCKPIT tcode (in order to reduce the max memory setting) but could not do so as the it seems to be read-only. We could not find much documentation/posts regarding memory optimization for the DB. Please help out. Thanks!
    -Regards,
    Arvind

    FWIW ... ASE's 'max memory' setting can be changed on the fly, while 'total logical memory' is a calculated value that you cannot change (ie, it's 'read only'; changing 'max memory' will cause 'total logical memory' to change automatically). [NOTE: DBACOCKPIT is a SAP-provided application that sits on top of ASE; while I know what's doable when connected directly to ASE I do not know if DBACOCKPIT has disabled the ability to change some configuration settings like 'max memory'.]
    As for the SolMan performance issues ... I'd recommend reposting your issue in the SAP Applications on ASE discussion group where you're likely to get the attention of more folks with SAP application (on ASE) experience.  (While someone may jump in here with SolMan suggestions, SolMan is a SAP application and this group isn't really geared towards SAP applications.)

  • SSL On Sybase ASE 15.7

    Anybody got experience with implementing SSL on Sybase ASE 15.7 SP100 or higher?
    I'm especially interested in performance impact of using SSL (especially with openssl)
    With SSL opening the connection is slightly longer, but not really an issue so far.
    But how does it work on a busy ASE server?
    Will it cause significant extra load on the ASE?
    Does it require changing some configuration options? like increasing additional network memory?
    The commands to create self signed certificate with openssl, adding the certificate with sp_ssladmin and add the SSL listener is not that well documented
    Main thing I noticed on ASE 15.7 SP122 I had to run this before I could add the certificate:
    exec sp_ssladmin 'setcipher', 'All'
    Check with: exec sp_ssladmin lscipher
    if no rows returned, SSL will not work.
    Config option "enable ssl" is static, so I bounced the ASE server.
    After that adding the ssltcp listener with sp_listener "start", "ssltcp:host:port" was not working.
    Every time got the same error: the specified port xxx is invalid
    Bouncing the ASE server solved that issue, listener started fine.
    what's your experience with openssl and Sybase ASE?

    Hi,
    The issue you had was probably the type of cipher you are using.
    ASE default preference may not allow that.
    ASE doc using lsciphers and setciphers:
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc36273.1600/doc/html/san1393052092403.html
    ASE doc performance (old, but can give you an idea):
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc31654_1251/html/sag/sag505.htm
    Also, when starting a listener you can run the command sp_listener,
    you can also add this to the interface file and bounce the server (as you have to already to enable ssl).
    Example:
    ASE
         master tcp either host port ssl
         query tcp ether host port ssl
    ASE2
         master tcp ether host port
         query tcp either host port
    This will give you 1 ssl port and 1 non ssl port.
    FYI ssl port needs the alias name to be the common name(CN) in the ssl certificate or you have to configure this in the interfaces file also.
    ASE doc using ssl to specify a common name:
    SyBooks Online
    Hope this helps.
    Regards,
    Ryan

  • Sybase open client connectivity

    Hi,
    I am developing a universe in XIR3.1 and using Sybase ASE.
    Our requirement is to connect to multiple databases of one Sybase ASE server in a single universe.
    The connection we have created is Sybase Open Client with one database.
    When we try to insert table from different databases, instead of showing the tables that belong to that particular database ,it shows tables of the database which we have used to create connection earlier.
    Under all different databases it shows the same tables of the database which I have used creating the connection earlier.
    However the similar scenario works fine in XIR2. We have tested it successfully.
    How to resolve this issue.
    Thanks in advance!

    Hi Pratul,
    If your users are assigned to specific schemas then you may set up Connection Overrides. These are first set up by using a the CMC and then Universe Designer.
    So... in the CMC you have say 3 groups, each of these must have your distinct users.
    Then create 3 seperate connections for each of the 3 database sources.
    Open up Universe Designer and use the security override screen by selecting a specific group to use a specific connection.
    ~Joe Szabo

  • Reducing the memory footprint of Sybase ASE

    Hello All,
    We are doing a test install of SAP Solution Manager 7.01 on Sybase ASE 15.7.
    Since this is just a test setup, we started off with a lower-than-recommended hardware configuration (4 GB RAM only) due to time constraints.
    While post install performance of SolMan was decent, performance during solman_setup (setting up technical monitoring) has become appalling. We are not able to complete the configuration process at all as the SolMan configuration web application has become very unpredictable and extremely slow.
    The SolMan install is centralized and on a windows 2008 box. Windows task manager shows consistent memory usage of up to 90 - 95%. We also tried reducing the total number of work processes to just 8 but that did not help much. We see in 'task manager > resource monitor' that sqlserver.exe process is committing close to 2 GB of RAM when in fact it seems to be using much lesser when seen directly in 'task manager > process tab'. Please tell us about any memory optimization we can perform for Sybase ASE in order to complete out Solman_setup. We were hoping that we could change the  'max memory'/'total logical memory' setting for the DB directly using DBACOCKPIT tcode but could not do so as the parameters seems to be read-only. We could not find much documentation regarding memory optimization for the DB. Please help out. Thanks!
    -Regards,
    Arvind

    FWIW ... ASE's 'max memory' setting can be changed on the fly, while 'total logical memory' is a calculated value that you cannot change (ie, it's 'read only'; changing 'max memory' will cause 'total logical memory' to change automatically). [NOTE: DBACOCKPIT is a SAP-provided application that sits on top of ASE; while I know what's doable when connected directly to ASE I do not know if DBACOCKPIT has disabled the ability to change some configuration settings like 'max memory'.]
    As for the SolMan performance issues ... I'd recommend reposting your issue in the SAP Applications on ASE discussion group where you're likely to get the attention of more folks with SAP application (on ASE) experience.  (While someone may jump in here with SolMan suggestions, SolMan is a SAP application and this group isn't really geared towards SAP applications.)

  • Unable to install Client Tools for Sybase ASE 15.7 on Windows Server 2012 64-Bit

    Hello Folks,
    I just downloaded the client tools package from https://support.sap.com/swdc --> Installation and Upgrades --> A-Z list --> SAP ADAPTIVE SERVER ENTERPRISE --> SYBASE ASE 15.7 --> Installation --> Microsoft Windows --> 51044415.zip
    I'm trying to install the client tools for a newly provisioned Windows 2012 64-Bit machine. After unzipping the folder and running autorun, the installation does not proceed. When I go to pcclient64 and run either setup.exe or setupConsole.exe, I get the error "This Application has Unexpectedly Quit, Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)". I stumbled across various posts on the forum, and it appears that the installer is not certified for Windows Server 2012. I tried using the compatibility mode for Windows 7, and it proceeds further and launches the SAP GUI; however, it closes afterwards.
    Any suggestions would be greatly appreciated. Thanks in advance.

    Hi,
    51044415 is a PC-Client 15.7 refresh.
    You are using a version that was not certified with Windows 2012. Get the most current version PC-Client 15.7 SP130 or SDK 15.7 SP130 or SP132.
    If your looking for PC-Client5.7 SP130 look for EBF23439
    We didn't get certified with Windows 2012 until SDK 15.7 ESD#6 even with that I reported a few minor issues.
    You need the following on the machine before the installation.
    Microsoft Visual C++ 2010 Redistributable Package (x64)
    Microsoft Visual C++ 2005 Redistributable Package (x86) (or dsedit and ocscfg will not work)
    Microsoft Visual C++ 2005 Redistributable Package (x64) (or dsedit and ocscfg will not work)
    Thanks,
    Dawn Kim

  • Sap HA installation with Sybase Ase 15.7 (Clustered Environment)

    Dear Guru's,
    I need advice and suggestions on installation for Sap HA systems on production servers with sybase .
    System Specs:
    OS:Windows 2008 R2
    Database :Sybase ASE 15.7
    EHP6
    I have referred the note 1650511 and getting started with Sybase Database  but its just basic info .I need to know how the clustering will be done with Sybase Ase 15.7 and is it possible??
    Appreciate your suggestions

    Hi Asim,
    1. Datafiles & log files assignment while installation According to the HW partition size for production servers we have assigned 3 data files of 250 gb each in different drives on a server 
    The existing export we are trying to take is from development  system where we have  upgraded the stack and compo.nents to latest level so we are planning to take the export copy of for database instance and
    the database itself is Syabse Ase 15.7.And at this phase screen according to the screen by default the system ask to assign 102 gb for datafiles and log files 1gb Minimum , so in that case can we no t
    assign more log file size .However we have not started the installation and we will expereince the same as we have done on Develeopment and quality system which is central sap system and we need to confirm we if can do for production HA system installation
    Yes, you may assign more space in advance to datafiles and log file. What the screen shows is the minimum required space to successfully complete the import.
    2.On the other hand , If we are doing fresh HA installation ,it will ask for 90 GB datafile and 10 G by default to assign and in this how we going to assign and split in 3 different drives which is of 150 GB
    each.
    Your Development system has been patched to latest level. Hence there is change in database size in development as compared to fresh HA setup where no patches have been applied. You may add 3 datafiles in each of these drives and assign the size which you prefer. Ensure its more than 10GB.
    3.Getting confused in assigning the CI DI ,ERS ,ASCS on node 1 and node 2.
    You may follow this simple approach
    Node 1: DB + ERS + CI
    Node 2: ASCS + DI
    4.Is it good decision to do fresh HA installation on production server and lateron upgrade the stack level or does it matter if do system copy as it will save the time .
    There is no issue in going with system copy approach as it will save time. If you are not comfortable with system copy method and do not have good command on DB, I shall suggest you to go with fresh installation and then apply patches. This way you are sure there is no junk coming to your production . In system copy , In case your source system has some junk data, the same might get transferred to production.
    Hope this helps.
    Regards,
    Deepak Kori

  • Sybase ASE 15.7.103 ODBC Driver invalid descriptor index

    Hey guys,
    after migration from oracle nuc to sybase ase 15.7.101 unicode and implementation of sapnote 1558958 (dbacockpit collection for NW 702) there were everything which was in dbacockpit displayed ok.
    After upgrade to patch 103 theres a problem in the dbacockpit. I will show in the register Database SID - Space - Tables and Indices - Tables.
    After I select this. There comes follwing error: ASE Error SQL30013:07009][SAP][ASE ODBC Driver]Invalid descriptor index.
    In error details I see SQLCode 30013
    The Database ist open and there are no other kown problems with connection. SAP could establish connection to sybase ase database and users can work normally.
    In the dbacockpit Database SID - Space - Devices and Databases are shown without problems.
    message details:
    Exception CX_DBA_ADBC in class CL_SYB_RDI_QUERY method GET_TABLES_SPACE line 217
    Kernel Error ID:
    WP ID: 4
    WP PID: 4272
    SYSID: SE1
    SY-SUBRC: 0
    SQL statement: SELECT TOP 50 DBNAME, USER_NAME AS TABOWNER, TAB_NAME AS TABNAME, ' ' AS PARTITIONNAME, 0 AS ID, 0 AS PARTITIONID, ' ' AS SNAPSHOT_TIMESTAMP, ' ' AS TIMESTAMP_FROM, ' ' AS TIMESTAMP_TO, SUM(TIME_PERIOD) AS TIME_PERIOD, AVG(ROW_COUNT) AS ROW_COUNT, MAX(ROW_COUNT) AS ROW_COUNT_MAX, AVG(TAB_RESERVED_LOB_KB) AS TAB_RESERVED_LOB_KB, MAX(TAB_RESERVED_LOB_KB) AS TAB_RESERVED_LOB_KB_MAX, AVG(TAB_USED_LOB_KB) AS TAB_USED_LOB_KB, MAX(TAB_USED_LOB_KB) AS TAB_USED_LOB_KB_MAX, AVG(TAB_DATA_LOB_KB) AS TAB_DATA_LOB_KB, MAX(TAB_DATA_LOB_KB) AS TAB_DATA_LOB_KB_MAX, AVG(TAB_DATA_UTL_KB) AS TAB_DATA_UTL_KB, MAX(TAB_DATA_UTL_KB) AS TAB_DATA_UTL_KB_MAX, AVG(TAB_DATAPGCLRATIO)*100 AS TAB_DATAPGCLRATIO, MIN(TAB_DATAPGCLRATIO)*100 AS TAB_DATAPGCLRATIO_MIN, AVG(TAB_LRGIOEFF)*100 AS TAB_LRGIOEFF, MIN(TAB_LRGIOEFF)*100 AS TAB_LRGIOEFF_MIN, AVG(DATACHANGE) AS DATACHANGE, MAX(DATACHANGE) AS DATACHANGE_MAX, AVG(forwrowcnt) AS forwrowcnt, MAX(forwrowcnt) AS forwrowcnt_MAX, AVG(delrowcnt) AS delrowcnt, MAX(delrowcnt) AS delrowcnt_MAX, AVG(extent0pgcnt) AS extent0pgcnt, MAX(extent0pgcnt) AS extent0pgcnt_MAX, AVG(oamapgcnt) AS oamapgcnt, MAX(oamapgcnt) AS oamapgcnt_MAX, AVG(oampagecnt) AS oampagecnt, MAX(oampagecnt) AS oampagecnt_MAX, MAX(str_replace(str_replace(str_replace(convert(VARCHAR(19),statmoddate,23),':',NULL),'-',NULL),'T',NULL)) AS statmoddate, AVG(datarowsize) AS datarowsize, MAX(datarowsize) AS datarowsize_MAX, AVG(TAB_DATA_TOTAL_KB) AS TAB_DATA_TOTAL_KB, MAX(TAB_DATA_TOTAL_KB) AS TAB_DATA_TOTAL_KB_MAX, AVG(TAB_DATA_UTL_TOTAL_KB) AS TAB_DATA_UTL_TOTAL_KB, MAX(TAB_DATA_UTL_TOTAL_KB) AS TAB_DATA_UTL_TOTAL_KB_MAX, AVG(TAB_USED_TOTAL_KB) AS TAB_USED_TOTAL_KB, MAX(TAB_USED_TOTAL_KB) AS TAB_USED_TOTAL_KB_MAX, AVG(TAB_RESERVED_TOTAL_KB) AS TAB_RESERVED_TOTAL_KB, MAX(TAB_RESERVED_TOTAL_KB) AS TAB_RESERVED_TOTAL_KB_MAX, AVG(TAB_UNUSED_TOTAL_KB) AS TAB_UNUSED_TOTAL_KB, MAX(TAB_UNUSED_TOTAL_KB) AS TAB_UNUSED_TOTAL_KB_MAX FROM ( SELECT DBNAME, USER_NAME, TAB_NAME, SNAPSHOT_TIMESTAMP AS SNAPSHOT_TIMESTAMP, SUM(TIME_PERIOD) AS TIME_PERIOD, SUM(ROW_COUNT) AS ROW_COUNT, SUM(TAB_RESERVED_LOB_KB) AS TAB_RESERVED_LOB_KB, SUM(TAB_USED_LOB_KB) AS TAB_USED_LOB_KB, SUM(TAB_DATA_LOB_KB) AS TAB_DATA_LOB_KB, SUM(TAB_DATA_UTL_KB) AS TAB_DATA_UTL_KB, CASE WHEN SUM(ROW_COUNT) > 0 THEN SUM(ROW_COUNT*TAB_DATAPGCLRATIO) / SUM(ROW_COUNT) ELSE 1 END AS TAB_DATAPGCLRATIO, CASE WHEN SUM(ROW_COUNT) > 0 THEN SUM(ROW_COUNT*TAB_LRGIOEFF) / SUM(ROW_COUNT) ELSE 1 END AS TAB_LRGIOEFF, CASE WHEN SUM(ROW_COUNT+delrowcnt) > 0 THEN SUM((ROW_COUNT+delrowcnt)*DATACHANGE) / SUM(ROW_COUNT+delrowcnt) ELSE 0 END AS DATACHANGE, SUM(forwrowcnt) AS forwrowcnt, SUM(delrowcnt) AS delrowcnt, SUM(extent0pgcnt) AS extent0pgcnt, SUM(oamapgcnt) AS oamapgcnt, SUM(oampagecnt) AS oampagecnt, MAX(statmoddate) AS statmoddate, CASE WHEN SUM(ROW_COUNT) > 0 THEN SUM(ROW_COUNT*datarowsize) / SUM(ROW_COUNT) ELSE 0 END AS datarowsize, SUM(TAB_DATA_KB+TAB_DATA_LOB_KB) AS TAB_DATA_TOTAL_KB, SUM(TAB_DATA_UTL_KB+TAB_DATA_LOB_KB) AS TAB_DATA_UTL_TOTAL_KB, SUM(TAB_USED_KB+TAB_USED_LOB_KB) AS TAB_USED_TOTAL_KB, SUM(TAB_RESERVED_KB+TAB_RESERVED_LOB_KB) AS TAB_RESERVED_TOTAL_KB, SUM((TAB_RESERVED_KB+TAB_RESERVED_LOB_KB) - (TAB_USED_KB+TAB_USED_LOB_KB)) AS TAB_UNUSED_TOTAL_KB FROM saptools..DBH_STG_TABLES WHERE SNAPSHOT_TIMESTAMP >= dateadd(ss,TIME_PERIOD,?) AND SNAPSHOT_TIMESTAMP <= dateadd(ss,5,?) AND BDOP = 1 AND BDOI = 0 GROUP BY DBNAME, USER_NAME, TAB_NAME, SNAPSHOT_TIMESTAMP ) AS STD_AGGR GROUP BY DBNAME, USER_NAME, TAB_NAME ORDER BY TAB_RESERVED_TOTAL_KB DESC AT ISOLATION READ UNCOMMITTED
    Database: +++SYBADM
    caused by
    Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    Kernel Error ID:
    DB Error: Yes
    SQL Code: 30013
    SQL Message: [ASE Error SQL30013:07009][SAP][ASE ODBC Driver]Invalid descriptor index
    DB Object Exists: No
    Duplicated Key: No
    Internal Error: 1
    Invalid Cursor: No
    Unknown Connection: No
    Connection Closed: No

    Thanks Mr Model-Bosch,
    we have installed the latest dbsl Patch 213. And we have installed the Patch Collection twice as described in SAP Note 1558958.
    So I have to wait. I hope my SAP Message will be edited soon.

  • ERROR: Start SAP ERP on Sybase ASE, Sybase is Not coming UP

    Hi ,
             We installed EHP7 on ASE 15.0& Linux, After that we stopped the server and while starting it is not coming Up it is saying system crash, can you please suggest me.
    we don't have backup, it is newly installed system.
    Startdb.log:
    ------------------------------ Tue Jul 22 13:32:24 IST 2014
    LOGFILE FOR STARTING SYBASE ASE
    starting database XXX ...
    ------------------------------ Tue Jul 22 13:32:25 IST 2014
    checking required environment variables
    ------------------------------ Tue Jul 22 13:32:25 IST 2014
    check if Sybase ASE processes are running
    ASE instance not available
    *** ERROR:ASE instance possibly left running when system
        went down(system crash?).
        Notify Database Administrator.
    ------------------------------ Tue Jul 22 13:32:25 IST 2014
    check if Sybase Backupserver is running
    Backupserver instance not available
    Database not available
    parse level 0: identified message 'Database 'master' is now online.'
    parse level 1: identified message 'Database 'tempdb' is now online.'
    parse level 2: identified message 'Database 'sybsystemprocs' is now online.'
    ------------------------------ Tue Jul 22 13:48:32 IST 2014
    /usr/sap/XXX/SYS/exe/run/startdb was killed or interrupted. Terminating.
    regards,
    Rajshekar

    Hi Raj,
    Please check solution in SCN thread NW CE 7.3 doesn't start
    Similar issue is discussed here
    Regards,
    Deepak Kori

  • Sybase Transcation log backup issue

    Hi All,
    I am trying to take backup for Sybase database and transcation log as per below link,
    http://scn.sap.com/thread/3245201
    I was successfully able to take the backup for database without any issues but when I try to take the transcations log backup I end up with below error,
    1> sp_dumptrans SBP
    2> go
    Msg 4208, Level 16, State 1:
    Server 'SBP', Line 1:
    DUMP TRANsaction to a dump device is not allowed while the trunc. log on chkpt.
    option is enabled.  Disable the option with sp_dboption, then use DUMP DATABASE,
    before trying again. (Return status = 4208)
    1>
    Later after checking the SAP guide for Sybase database we tried to setup below options,
    =====================================================================================
    Ensure that a complete sequence of transaction log archives is available at all times
    For your SAP database <DBSID> it is mandatory that you ensure that the archived log sequence
    remains unbroken.
    To ensure a complete log sequence, set the following database options:
    trunc log on chkpt, false
    full logging for all, true
    enforce dump tran sequence, true
    You have to set these options after a successful  DUMP DATABASE has been performed and before any
    Set these options using the stored procedure sp_dboption to change database options. (Syntax:sp_dboption [dbname, optname, {true | false}] ). You must change to the master database to be able to change options for a database
    ========================================================================
    My question is do I need to login to Master database to set this options because when I try to set the below option
    sp_dboption 'master', 'trunc. log on chkpt', 'false'
    I end up with below error,
    When I try to login to master database with sa user I could not,I gave the same password which i gave it during the installation
    Pelase advise on how to proceed further
    Regards
    Uday
    change is made to the database,

    Hello Selva,
    There are two main types of backups that are maintained
    in Sybase ASE;
    Dump Tran and Dump DB
    Quiesce Backup
    Dump Tran and Dump DB Backup
    The DUMP DATABASE command copies the entire database to an archive device. It does not prune
    (truncate) the transaction log (which is itself a table in the database). DUMP DATABASE is typically run on a daily or weekly basis. If the loss tolerance is 24 hours, then a single DUMP DATABASE every 24 hours is a reasonable choice for backup strategy and the transaction log can be kept pruned by either setting
    the database option “truncate log on checkpoint” or by regular use of the DUMP TRANSACTION command with the TRUNCATE_ONLY option.
    SAP Note 1588316 is a very good point to start in case you are thinking about configuring your SYBASE ASE DB and Transaction Log Backups.
    In addition I highly recommend going through the Technical Document stored in the below link;
    http://scn.sap.com/docs/DOC-29524
    Hope this helps,
    Regards
    Surajit

Maybe you are looking for