OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
_______________________________________________ sapdb.general mailing list sapdb.general@listserv.sap.com http://listserv.sap.com/mailman/listinfo/sapdb.general
 
RE: loader.LoaderError: [-25010] SQL [-7500] Message not availabl e

From: Dave Guyer (DaveGjeld-wen.com)
Date: Fri Jul 18 2003 - 18:14:18 CDT


>I have installed 7.4.3 on Windows 2000 (Professional). I could create
>all the databases and use Database manager and SQL-studio everything
>till now. But now suddenly I am getting the following error. I had SP3
>at installation time and now I have updated to SP4. I am not sure if
>this is one of the reasons or what is the reason. But the error
>message shows that it cannot find dbpinstall.dll (although it surely
>is there in my sapdb/depend/pgm directory) .

Vanita, a sad experience with Win 2000 taught me that it is very much
like UNIX in that groups, owners, and permissions are now involved. I
don't have enough Windows knowledge to tell you how to check, but best
bet is that group, owner, or permissions on one or more files has
changed, possibly caused by the SP upgrade.

I'm sorry that I can't give you more specific information, but
hopefully will point you in a likely direction. A complete uninstall
and then reinstalling would most likely solve the problem, but seems
a bit drastic.

>
This correspondence is for the named person's use only. It may contain
confidential or legally privileged information and is intended solely for
the named addressee. If you receive this correspondence in error, please
notify the sender and delete it from your system . You must not disclose,
copy or rely on any part of this correspondence if you are not the intended
recipient.
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
DBPROCs and default Table Owner Binds

From: meno abels (meno.abelsadviser.com)
Date: Sat Jul 19 2003 - 00:49:49 CDT


Hello,

i'am running a 7.4.3.14 database-server on linux, but i don't
think that my problem depends to any enviroment specific. The
problem is that dbproc's has a little different behavior than
in db2 or oracle. In my case i create an procedure with the
following:
         create dbproc GoForIt(out sum integer)
           AS
           VAR i1 integer;
           BEGIN
             select id from IdTable;
               while $rc = 0 do
               BEGIN
                   FETCH INTO i1;
                 SET sum = sum + i1;
               END;
         END;
This isn't realy useful but to enought for demostrate the problem:
If I create this procedure i get back:
          General error;-8031 POS(113) Owner must be specified.
This is quite easy to solve i had to write:
            select id from MYDBUSER.IdTable;
instead of
            select id from IdTable;
But in my context i didn't know the name of MYDBUSER. With db2
or oracle if no user is specified the current user is used
and everything is fine, In sapdb I have to specify the user.
I tried around with get_owner() but than i have dynamic sql(execute)
in my procedure which increases the complexity without any
need of it. Is there a way around these unlikely behavior
difference?
To solve these Problem on my site i have to parse the sql
before it is transfered to the db in my application an add the
username to the sql. This is very unattractive solution.

Thanx

Meno

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Log area full - how do I empty it?

From: Alan Graham (alan.grahaminfonetsystems.com.au)
Date: Sat Jul 19 2003 - 07:47:49 CDT


<SAPdb newbie ON>

I'm trying to load lots of data into a SAPdb instance. I've tried a
number of times, and there have been minor data integrity problems with
each load so far. Unfortunately, I forgot to trap each failure and end
the script gracefullt (I'm assuming I should have put the attempt into a
try-except and did a sql.rollback if it failed?)

The situation now is that the log area is full with these previous
attempts. I can't find a way to dump the log contents. I just want
them gone. I've tried everything I can think of in webdbm, with no
luck. Trying to configure the log mode just gives an error "Log Mode
Configuration not possible". That's with the database online, offline,
or admin.

I assume that there's a command in dbmcli that I can run.

Can anyone enlighten me as to what it is?

Thanks in advance.

Alan Graham

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Log area full - how do I empty it?

From: Alan Graham (alan.grahaminfonetsystems.com.au)
Date: Sat Jul 19 2003 - 21:26:18 CDT


Don't ya hate replying to your own questions?

I've found it. www.rst-consult.com/database/sapdb/dbmcli_us_html.html
is a dbmcli howto. I found that a backup of the log would clear it and
unblock the database.

The short version (for any other newbies out there)
add two 'mediums' for data and log backup with
medium_put medium1 /tmp/databak FILE DATA 0 8 YES
and
medium_put medium2 /tmp/logbak FILE LOG 0 8 YES

The names of the files don't matter: the ones above were just the one's
I chose for testing.

The do a data backup, then a log backup and voila!

Hope this saves someone else a bit of time.

Alan Graham

On Sat, 2003-07-19 at 20:47, Alan Graham wrote:
> <SAPdb newbie ON>
>
> I'm trying to load lots of data into a SAPdb instance. I've tried a
> number of times, and there have been minor data integrity problems with
> each load so far. Unfortunately, I forgot to trap each failure and end
> the script gracefullt (I'm assuming I should have put the attempt into a
> try-except and did a sql.rollback if it failed?)
>
> The situation now is that the log area is full with these previous
> attempts. I can't find a way to dump the log contents. I just want
> them gone. I've tried everything I can think of in webdbm, with no
> luck. Trying to configure the log mode just gives an error "Log Mode
> Configuration not possible". That's with the database online, offline,
> or admin.
>
> I assume that there's a command in dbmcli that I can run.
>
> Can anyone enlighten me as to what it is?
>
> Thanks in advance.
>
> Alan Graham
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Access97 via ODBC, boolean query

From: Alan Graham (alan.grahaminfonetsystems.com.au)
Date: Sun Jul 20 2003 - 09:03:37 CDT


I've got a query of the form
SELECT name FROM customer WHERE inactive=False
in Access 97. This worked fine in Access, and works in the SQL studio
to SAPdb (Version 7.4.3). From Access to SAPdb using ODBC, I get
Error 8006 Data types must be compatible.

The SQL trace of the ODBC driver shows that the boolean test is being
passed through as '... "INACTIVE" = 0'. This suggests that it's an ODBC
problem. Similarly, inactive <> true is passed through as NOT INACTIVE
= 1.

I'm using version 7.4 of the ODBC driver, with the 7.3 version of the
driver, to avoid the Unicode bug with the ODBC driver (Ie, that 7.4 only
supports Unicode, win98 doesn't support Unicode, and 7.3 doesn't work
with MS Access). I've tried both INTERNAL and ANSI modes of the ODBC
driver, with the same result, ie, False is transfered as '0' and True as
1.

I've googled for this, and found a few people with the same problem, but
no answers that work for me. I got excited about the answer that
suggested that Access doesn't like nulls in Boolean fileds, but I don't
have any nulls. All tuples have the values TRUE or FALSE. Then I found
the suggestion that Access wasn't recognising the column as a type
'Yes/no'. I checked that, and it is. The column is handled correctly
on forms, etc, as a checkbox where appropriate. It only seems to be a
problem in the where clause.

Can anyone shed any light on this?

Regards

Alan Graham

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
DBM GUI - error 35602

From: Michael MacIntyre (mmacintyreaei.ca)
Date: Sun Jul 20 2003 - 21:07:29 CDT


Hello,
a strange thing happened today. I had to reboot my win2k pc (that is
not so strange, nor uncommon) in doing so and restarting the DBM GUI,
the following error appears::
35602: Key is not unique in collection. Upon clicking okay on the
alert, the program fails to load. in having no clue as to why this
happened or how to fix it, I downloaded the newest version, removed the
old one (through control panel, add/remove programs) and installed the
newest version from sapdb.org. Sadly, the same error appeared.
Any thoughts?

Thank you.
Michael MacIntyre

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE:DBPROCs and default Table Owner Binds

From: Anhaus, Thomas (thomas.anhaussap.com)
Date: Mon Jul 21 2003 - 00:49:18 CDT


Meno Abels wrote :

>Hello,

>i'am running a 7.4.3.14 database-server on linux, but i don't
>think that my problem depends to any enviroment specific. The
>problem is that dbproc's has a little different behavior than
>in db2 or oracle. In my case i create an procedure with the
>following:
> create dbproc GoForIt(out sum integer)
> AS
> VAR i1 integer;
> BEGIN
> select id from IdTable;
> while $rc = 0 do
> BEGIN
> FETCH INTO i1;
> SET sum = sum + i1;
> END;
> END;
>This isn't realy useful but to enought for demostrate the problem:
>If I create this procedure i get back:
> General error;-8031 POS(113) Owner must be specified.
>This is quite easy to solve i had to write:
> select id from MYDBUSER.IdTable;
>instead of
> select id from IdTable;
>But in my context i didn't know the name of MYDBUSER. With db2
>or oracle if no user is specified the current user is used
>and everything is fine, In sapdb I have to specify the user.
>I tried around with get_owner() but than i have dynamic sql(execute)
>in my procedure which increases the complexity without any
>need of it. Is there a way around these unlikely behavior
>difference?
>To solve these Problem on my site i have to parse the sql
>before it is transfered to the db in my application an add the
>username to the sql. This is very unattractive solution.

If you create a db-procedure, SAPDB compiles it into a byte code. This compilation
needs a unique identification of a tables accessed inside your procedure. This is why
you have to specify the table owner.
If you want to access the tables of the current user and you are ABSOLUTELY SURE, that
the table structures at compilation time and runtime are the same, you may use the USER
function to specify the current user as table owner :

create dbproc GoForIt(out sum integer)
           AS
           VAR i1 integer;
           BEGIN
             select id from USER.IdTable;
               while $rc = 0 do
               BEGIN
                   FETCH INTO i1;
                 SET sum = sum + i1;
               END;
         END;

Regards,
Thomas
--
Thomas Anhaus
SAP DB, SAP Labs Berlin
thomas.anhaussap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
parameter LOG_BACKUP_TO_PIPE

From: Andreas Grund (andreas-grundweb.de)
Date: Mon Jul 21 2003 - 02:03:34 CDT


Hi Maillinglist,

i´ve got a question to the parameter LOG_BACKUP_TO_PIPE. Do i have to understand this parameter in the way, that i have to enable it, if i want to make a log-backup to a streamer, network-disc and other peripherial drives?? or want is ment by thsi parameter? I´m not able to make nothing of this parameter.

Greeting and thanks,
Andreas
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
How to tune Insert-Satements ?

From: michaelkleiser (mklwebde-ag.de)
Date: Mon Jul 21 2003 - 02:49:38 CDT


To test database-io-performance I executed this test-script:
( Autocommit was off )

select time from dual
create table testtab (id integer, name varchar(200))

commit

insert into testtab (name) values ('ashd asdkjh sdkjhs dkajshd ')
insert into testtab (name) select name from testtab
...
-- last line repeated 20 times, thats 2^20 records
commit
select time from dual

This takes 3 minutes.

On the same hardware (including same disk-array) I did the same with
Oracle.
This takes only 5 seconds.
( I know, at this point of time oracle has write the changes only to
it`s redo-logs. )
( On a slower hardware I tryed it with PostgreSQL, it takes 18 seconds )

When testing SAPdb, oracle was down and vice versa.

Any suggestions to tune sapdb ?

Compared to oracle, sapdb uses less SHM.
Maybe this is the reason.
Can this be changed ?

On installation of SAPdb ( on Linux ) we choosed OLTP, because this
use-case we intended to use SAPdb .
If the tuning-solution is to insatll SAPdb as "live-cache",
where there any implications for OLTP-applications ?

Thanks in advance

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Help: -9404, 'System error: AK System error: VAK45 2 '

From: Andre Reitz (reitzinworks.de)
Date: Mon Jul 21 2003 - 05:54:04 CDT


Please Help,

We are using SAPDB 7.3.0.29 on Linux (rpm installation)

What does this message mean?

If I execute the statement: select * from all_constraints;

I get the error: -9404, 'System error: AK System error: VAK45 2 ', 'S940'

(I send this sql with the python driver)

--
_____________________________________________
inworks GmbH Andre Reitz
Hörvelsinger Weg 39 Tel. 0731/93 80 7-21
89081 Ulm http://www.inworks.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: DBM GUI - error 35602

From: Heinrich, Tilo (tilo.heinrichsap.com)
Date: Mon Jul 21 2003 - 06:03:10 CDT


Hello Michael,

have a look into your Registry->HKEY_CURRENT_USER->Software->SAP->SAP DB Tech->Applications->Database Manager->Tree

Under Tree you find the tree of the database folders. Look for entries with the same name (e.g. DB3). If you find such a duplicate entry, delete one of those.

Best Regards,
Tilo Heinrich
SAP Labs Berlin

-----Original Message-----
From: Michael MacIntyre [mailto:mmacintyreaei.ca]
Sent: Monday, July 21, 2003 4:07 AM
To: sapdb list
Subject: DBM GUI - error 35602

Hello,
a strange thing happened today. I had to reboot my win2k pc (that is
not so strange, nor uncommon) in doing so and restarting the DBM GUI,
the following error appears::
35602: Key is not unique in collection. Upon clicking okay on the
alert, the program fails to load. in having no clue as to why this
happened or how to fix it, I downloaded the newest version, removed the
old one (through control panel, add/remove programs) and installed the
newest version from sapdb.org. Sadly, the same error appeared.
Any thoughts?

Thank you.
Michael MacIntyre

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
ODBC Boolean Fields

From: Scott, Niall (scottncamerondiv.com)
Date: Mon Jul 21 2003 - 06:16:54 CDT


Hi
I am using open-dbexpress V2.07 compiled with D7C/S connecting to SAP DB
7.4.3 via SAP ODBC v7.03.04.

Everything seems to work OK except when I connect to a table that has
several boolean fields I get

BindInteger called for non Integer column no 17 - ORDINAL_POSITION
BindInteger without indicator var for nullable column 7 - TYPE

The column refered to is always a boolean type (which I believe is
translated into an integer by the driver) BUT is never the first boolean
column diplayed.

EG The message above came from access the following table CREATE TABLE
"DBASYS"."CLOCKING" (
    "BADGEID" Char (10) ASCII,
    "CLOCKINGDIRECTION" Char (1) ASCII,
    "CLOCKING" Timestamp,
    "TERMINALNAME" Char (16) ASCII,
    "EMPLOYEEID" Char (10) ASCII NOT NULL,
    "CORRECTCLOCKING" Timestamp NOT NULL,
    "CORRECTCLOCKINGDIRECTION" Char (1) ASCII,
    "AUTOAPPLIED" Boolean DEFAULT FALSE,
    "SUPERVISOR" Boolean DEFAULT FALSE,
    "TERMINAL" Boolean DEFAULT FALSE,
    "IGNORECLOCKING" Boolean DEFAULT FALSE,
    "AUTHORISEDBY" Char (10) ASCII,
    "AUTHORISATIONDATE" Date,
    "SUPERVISEDCLOCKINGDIRECTION" Varchar (50) ASCII,
    "ABSENCECODE" Char (3) ASCII,
    "INEVENT" Boolean NOT NULL DEFAULT FALSE,
    "OUTEVENT" Boolean NOT NULL DEFAULT FALSE,
    "PROCESSED" Boolean NOT NULL DEFAULT FALSE,
    "CANUSE" Boolean NOT NULL DEFAULT TRUE,
    "EVENTDATE" Date,
    "EVENTTIME" Time,
    PRIMARY KEY ("EMPLOYEEID", "CORRECTCLOCKING")
)
Field 17 is INEVENT but it has already accepted 4 other boolean fields

The only difference that I know of in the Boolean fields is that the
original table definition up to InEvent was done via DELPHI/ADO and
everything after was
added via alter statements in SQL Studio.
 
Any suggestions?
 
Niall R Scott
IS Support
Cameron Controls
Aberdeen
scottncamerondiv.com <mailto:scottncamerondiv.com>
 
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is confidential, may contain proprietary information
of the Cooper Cameron Corporation and its operating Divisions
and may be confidential or privileged.

This e-mail should be read, copied, disseminated and/or used only
by the addressee. If you have received this message in error please
delete it, together with any attachments, from your system.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: loader.LoaderError: [-25010] SQL [-7500] Message not availabl e

From: Zabach, Elke (elke.zabachsap.com)
Date: Mon Jul 21 2003 - 07:33:20 CDT


Vanita Shroff wrote:
 
> Hello,
> I have installed 7.4.3 on Windows 2000 (Professional).
> I could create all the databases and use Databas manager and SQL-studio
> everything till now. But now suddenly I am getting the following error.
> I had SP3 at installation time and now I have updated to SP4.
> I am not sure if this is one of the reasons or what is the reason.
> But the error message shows that it cannot find dbpinstall.dll
> (although it surely is there in my sapdb/depend/pgm directory) .
> Below is the part of the knldiag file.
>
> 2003-07-18 12:21:22 0xA3C ERR 18865 DCOM dlapi(LoadLibraryEx)
> Error:The specified module could not be found.
>
> 2003-07-18 12:21:22 0xA3C ERR 18258 DCOM-DMP eo38LoadLibraryEx -
> File: c:\program files\sapdb\depend\pgm\dbpinstall err: The specified module could not be foun
>
> 2003-07-18 12:21:22 0xA3C ERR 51260 HRESULT 00000002
 
And older mail (found with google, using 7500 site:listserv.sap.com as search item)
said:

some coding ( DDL Triggers, which serve to maintain some catalog tables used
by SqlStudio ) are provided within the dynamic/shared library
"dbpinstall.dll" on WinNT or "dbpinstall.so" (.sl) on Unix.
This library has to be 'registered' using the 'xregcomp' command before it
can be found by the SAP-DB kernel.
 /usr/lib/userv/sapdb/bin/xregcomp
/usr/lib/userv/sapdb/lib/dbpinstall
( please specify the complete path of the library without using the file
extension .dll, .so or .sl )
On WinNT Registration is maintained within the NT-Registry.
For Unix the Registration is maintained within the file:
"/usr/lib/userv/sapdb/wrk/Registry.dcom"
 
( hope that paths used are the correct one's for your environment )
 
Please check if this or the other mails which can be found there will help.
 
Elke
SAP Labs Berlin

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE:How to tune Insert-Satements ?

From: Anhaus, Thomas (thomas.anhaussap.com)
Date: Mon Jul 21 2003 - 07:41:14 CDT


Michael Kleiser wrote :

>To test database-io-performance I executed this test-script:
>( Autocommit was off )

>select time from dual
>create table testtab (id integer, name varchar(200))

>commit

>insert into testtab (name) values ('ashd asdkjh sdkjhs dkajshd ')
>insert into testtab (name) select name from testtab
>...
>-- last line repeated 20 times, thats 2^20 records
>commit
>select time from dual

>This takes 3 minutes.

>On the same hardware (including same disk-array) I did the same with
>Oracle.
>This takes only 5 seconds.
>( I know, at this point of time oracle has write the changes only to
>it`s redo-logs. )
>( On a slower hardware I tryed it with PostgreSQL, it takes 18 seconds )

>When testing SAPdb, oracle was down and vice versa.

>Any suggestions to tune sapdb ?

>Compared to oracle, sapdb uses less SHM.
>Maybe this is the reason.
>Can this be changed ?

You should increase the parameter DATA_CACHE (SAPDB 7.3) or CACHE_SIZE (SAPDB 7.4)
respectively. This will help to keep a greater portion of the table in memory.

>On installation of SAPdb ( on Linux ) we choosed OLTP, because this
>use-case we intended to use SAPdb .
>If the tuning-solution is to insatll SAPdb as "live-cache",
>where there any implications for OLTP-applications ?

OLTP has been the right choice. Live-Cache is intended for SAP internal use only.

Best regards,
Thomas

--
Thomas Anhaus
SAP DB, SAP Labs Berlin
thomas.anhaussap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
ASCII-Problem with INSERT-Statement

From: Weiser, Michael (Michael.Weisert-systems.com)
Date: Mon Jul 21 2003 - 07:41:12 CDT


Hi,

there is a problem with the ASCII-Characters like Carriage Return or Tabulator.
When I put them into an SQL-INSERT-Statement and execute it, the ODBC-Driver
converts the character into a blank.
Who has a solution for this problem?

Thanks in advance

Michael Weiser
T-Systems Nova GmbH
Entwicklungszentrum Süd-West
Neugrabenweg 4, 66123 Saarbrücken
E-Mail: mailto:Michael.Weisert-systems.com

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: ASCII-Problem with INSERT-Statement

From: Marcin P (protectedpoczta.onet.pl)
Date: Mon Jul 21 2003 - 07:55:24 CDT


Use Prepared statements,
It works fine then,
Best Regards,

Marcin

Uzytkownik "Weiser, Michael" <Michael.Weisert-systems.com> napisal w
wiadomosci
news:234F115A5294D6118400000347AE5E5A018F3446G8SQD.gppng01.telekom.de...
> Hi,
>
> there is a problem with the ASCII-Characters like Carriage Return or
Tabulator.
> When I put them into an SQL-INSERT-Statement and execute it, the
ODBC-Driver
> converts the character into a blank.
> Who has a solution for this problem?
>
> Thanks in advance
>
> Michael Weiser
> T-Systems Nova GmbH
> Entwicklungszentrum Süd-West
> Neugrabenweg 4, 66123 Saarbrücken
> E-Mail: mailto:Michael.Weisert-systems.com

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
view problem

From: Dan Todor (nutziibs.ro)
Date: Mon Jul 21 2003 - 08:19:10 CDT


Hi all!

I have the following problem :

view definition :

CREATE view v_fc_totals as
select
  a.total,
  a.transdate as date_s ,
  b. name as customer,
  b.cust_id,b.compid,
  disc =
   case
    when a.transdate >=b.ddate then a.gallons*b.amount
    else 0.0
   end +
   case
    when a.transdate >=c.fdt then a.fuel*c.fd/100.0
    else 0.0
   end+
   case
    when a.transdate >=c.adt then a. auto *c.ad/100.0
    else 0.0
   end+
   case
    when a.transdate >=c.mdt then a.merch*c.md/100.0
    else 0.0
   end+
   case
    when a.transdate >=c.edt then a.food*c.ed/100.0
    else 0.0
   end
  from
  trans3 a, customer b, gcards c
  where
  a.company=b.cust_id and a.client_id=b.compid and
  ltrim(rtrim(a.company))||ltrim(rtrim(a.ssn))=ltrim(rtrim(c. newid ))
  and a.client_id=c.compid
 UNION ALL
  select
  -a.amount as total,
  a. date_s as date_s ,
  b. name as customer,
  b.cust_id,b.compid,
  0.0 as disc
  from payement a, customer b
  where
  a.custid=b.cust_id and a.compid=b.compid

All underlying tables defined.

Running on 7.4.3.25 on Redhat 8.0, works perfectly. On same version ,
installed on W2K, SP2, it crashes server , with following info in knldiag :

2003-07-21 15:54:58 0x810 ERR 18006 EXCEPT EXCEPTION:0xc0000005
Addr:0x58c377 ( 0x1:0x7f87ffff:0:0 )

followed by a lot of 'btrace' lines, ending with:

2003-07-21 15:54:59 0x810 ERR 19999 BTRACE
kernel!sql88k_kernel_fiber + 191 bytes
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE SFrame: IP:006f2e2f
RA:77e887dd FP:04c4ffb4 SP:04c4ffbc
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE Params: 01:7ff2f810
02:77e87671 03:77e87684 04:7ff2f810
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE Source: vos88k.c
( Line: 435 )
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE
KERNEL32!GetModuleFileNameA + 465 bytes
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE SFrame: IP:77e887dd
RA:77e816e6 FP:04c4ffec SP:04c4ffbc
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE Params: 01:006f2d70
02:7ff2f810 03:00000000 04:00009000
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE KERNEL32!77e816e6
<nosymbols>
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE SFrame: IP:77e816e6
RA:00000000 FP:04c4fef0 SP:04c4ffbc
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE Params: 01:00000000
02:04c4ff78 03:00435498 04:04c4ff03
2003-07-21 15:54:59 0x810 ERR 19999 BTRACE No crash dump file
'knlcrash.dmp' written
2003-07-21 15:55:01 0x810 19820 EXCEPT calling ak dump for T16
2003-07-21 15:55:01 0x810 19624 EXCEPT Kernel aborts
2003-07-21 15:55:01 0x8B4 19617 VOLUMEIO Single I/O attach,
'knltrace', UKT:1
2003-07-21 15:55:01 0x810 19684 TASKING Tracewriter termination
timeout: 1200 sec
2003-07-21 15:55:01 0x8B4 19619 TASKING Releasing tracewriter
2003-07-21 15:55:01 0x810 19890 DIAGHIST Backup of diagnostic files
will be forced at next restart
2003-07-21 15:55:01 0x810 19600 VERSION 'Kernel 7.4.3 Build
025-123-046-179'
2003-07-21 15:55:01 0x810 19654 DBSTATE SERVERDB 'TEST' has
stopped

Any ideas why this happens ?

All best,
Dan

If you try to fail, and succeed, which have you done?

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
LOG Backup...

From: Joao (joaoinforap.pt)
Date: Mon Jul 21 2003 - 08:22:34 CDT


Hi,
I Have some litle questions :

1 - Why parameter "LOG_BACKUP" does not exist in SAP AIX 7.4 (AIX) ?

2 - Can I check the log file usage with a SQL Statement (ODBC) ?

3 - Can I do a Log Backup with a SQL Statement(ODBC).?

4 - What is exacly a "PAGE" in Bytes ?

5 - I Need to do a lot of inserts in a migration routine and this inserts
are very slow( even slower than a Informix on a stone age machine)... Can I
Disable some feature or something else to acelerate this procedure ?

Tanks in advance...
(sorry about my English) :-)

João

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: MONTHNAME() with german monthname

From: Zabach, Elke (elke.zabachsap.com)
Date: Mon Jul 21 2003 - 08:27:58 CDT


Andreas Grund wrote:

> Hi,
>
> just one short question:
> is it poosible, that the result of function MONTHNAME() is a
> german monthname (for example Juni instead of June)?

There is no functionality to change the language for those names.
You can use some decode-function around or use a very
strange thing (I would not recommend, but...)

change TOOLM.en (after every download of SAP DB)
    ENG 17700 4 0107January 08February 05March 05April 03May
         SET ENG 17701 4 0604June 04July 06August 09September 07October
         SET ENG 17702 4 1108November 08December
to
    ENG 17700 4 0106Januar 07Februar 05Maerz 05April 03Mai
         SET ENG 17701 4 0604Juni 04Juli 06August 09September 07Oktober
         SET ENG 17702 4 1108November 08Dezember
and then load the systemtables.

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Migrate data from MS sql server 2000 to sapdb in linux

From: poornima ponnuswamy (poorni79yahoo.com)
Date: Mon Jul 21 2003 - 09:21:39 CDT


Hello Everyone,
I have a database in MS SQL Server 2000 and it has
around 40 tables and around 800,000 rows in each
table. I have SAPDB installed in Red hat linux. What
is the best way to migrate all the data from sql
server to sapdb. Any help or advice will be
appreciated

Thank you,
poornima

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
AIX Version

From: Joao (joaoinforap.pt)
Date: Mon Jul 21 2003 - 09:25:41 CDT


Hello again,

My Question Is :

What AIX Version to SAPDB 7.3 ?

Tanks,

João

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Access97 via ODBC, boolean query

From: Yves Trudeau (yves.trudeautdtconsultants.ca)
Date: Mon Jul 21 2003 - 09:39:08 CDT


Hi,
        you have to use: SELECT name FROM customer WHERE inactive=cbool(False)

Good luck

Yves

-----Original Message-----
From: sapdb.general-adminlistserv.sap.com
[mailto:sapdb.general-adminlistserv.sap.com]On Behalf Of Alan Graham
Sent: 20 juillet, 2003 10:04
To: 'sapdb.generallistserv.sap.com'
Subject: Access97 via ODBC, boolean query

I've got a query of the form
SELECT name FROM customer WHERE inactive=False
in Access 97. This worked fine in Access, and works in the SQL studio
to SAPdb (Version 7.4.3). From Access to SAPdb using ODBC, I get
Error 8006 Data types must be compatible.

The SQL trace of the ODBC driver shows that the boolean test is being
passed through as '... "INACTIVE" = 0'. This suggests that it's an ODBC
problem. Similarly, inactive <> true is passed through as NOT INACTIVE
= 1.

I'm using version 7.4 of the ODBC driver, with the 7.3 version of the
driver, to avoid the Unicode bug with the ODBC driver (Ie, that 7.4 only
supports Unicode, win98 doesn't support Unicode, and 7.3 doesn't work
with MS Access). I've tried both INTERNAL and ANSI modes of the ODBC
driver, with the same result, ie, False is transfered as '0' and True as
1.

I've googled for this, and found a few people with the same problem, but
no answers that work for me. I got excited about the answer that
suggested that Access doesn't like nulls in Boolean fileds, but I don't
have any nulls. All tuples have the values TRUE or FALSE. Then I found
the suggestion that Access wasn't recognising the column as a type
'Yes/no'. I checked that, and it is. The column is handled correctly
on forms, etc, as a checkbox where appropriate. It only seems to be a
problem in the where clause.

Can anyone shed any light on this?

Regards

Alan Graham

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: AIX Version

From: Schroeder, Alexander (alexander.schroedersap.com)
Date: Mon Jul 21 2003 - 09:30:26 CDT


Hello João,

http://www.sapdb.org/sap_db_aix.htm tells you about the requirements of running SAP DB 7.3 on AIX.

Cited from that page:

Tested: AIX 4.3.2
                We recommend that you use the latest version of the C++ runtime library for the operating system release.
                (Tested in AIX 4.3.2 and C++ runtime 3.6.6.0)

Regards

Alexander Schröder
SAP DB, SAP Labs Berlin

> -----Original Message-----
> From: Joao [mailto:joaoinforap.pt]
> Sent: Monday, July 21, 2003 4:26 PM
> To: sapdb.generallistserv.sap.com
> Subject: AIX Version
>
>
> Hello again,
>
>
> My Question Is :
>
> What AIX Version to SAPDB 7.3 ?
>
>
> Tanks,
>
> João
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: LOG Backup...

From: Sven Köhler (skoehlerupb.de)
Date: Mon Jul 21 2003 - 09:50:33 CDT


> 2 - Can I check the log file usage with a SQL Statement (ODBC) ?
> 3 - Can I do a Log Backup with a SQL Statement(ODBC).?

i think both can only be done with the dbmcli.

> 5 - I Need to do a lot of inserts in a migration routine and this inserts
> are very slow( even slower than a Informix on a stone age machine)... Can I
> Disable some feature or something else to acelerate this procedure ?

Put many inserts into one transactions. As Autocommit is on by default,
every insert statement will be committed. That's why it's so slow.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: loader.LoaderError: [-25010] SQL [-7500] Message not available

From: Vanita Shroff (vanitasxentel.com)
Date: Mon Jul 21 2003 - 10:07:05 CDT


Hi Elke:

Sorry, I forgot to mention in the previous email. I had tried doing everything mentioned in previous messages by searching on google and searching on the listserv. But it still did not work (hence, had to post it on listserv).

Any suggestions would be really really helpful,

Thanks,
Vanita

  ----- Original Message -----
  From: Zabach, Elke
  To: 'Vanita Shroff' ; sapdb.generallistserv.sap.com
  Sent: Monday, July 21, 2003 6:33 AM
  Subject: RE: loader.LoaderError: [-25010] SQL [-7500] Message not available

  Vanita Shroff wrote:

> Hello,
> I have installed 7.4.3 on Windows 2000 (Professional).
> I could create all the databases and use Databas manager and SQL-studio
> everything till now. But now suddenly I am getting the following error.
> I had SP3 at installation time and now I have updated to SP4.
> I am not sure if this is one of the reasons or what is the reason.
> But the error message shows that it cannot find dbpinstall.dll
> (although it surely is there in my sapdb/depend/pgm directory) .
> Below is the part of the knldiag file.
>
> 2003-07-18 12:21:22 0xA3C ERR 18865 DCOM dlapi(LoadLibraryEx)
> Error:The specified module could not be found.
>
> 2003-07-18 12:21:22 0xA3C ERR 18258 DCOM-DMP eo38LoadLibraryEx -
> File: c:\program files\sapdb\depend\pgm\dbpinstall err: The specified module could not be foun
>
> 2003-07-18 12:21:22 0xA3C ERR 51260 HRESULT 00000002

  And older mail (found with google, using 7500 site:listserv.sap.com as search item)
  said:

  some coding ( DDL Triggers, which serve to maintain some catalog tables used
  by SqlStudio ) are provided within the dynamic/shared library
  "dbpinstall.dll" on WinNT or "dbpinstall.so" (.sl) on Unix.
  This library has to be 'registered' using the 'xregcomp' command before it
  can be found by the SAP-DB kernel.
   /usr/lib/userv/sapdb/bin/xregcomp
  /usr/lib/userv/sapdb/lib/dbpinstall
  ( please specify the complete path of the library without using the file
  extension .dll, .so or .sl )
  On WinNT Registration is maintained within the NT-Registry.
  For Unix the Registration is maintained within the file:
  "/usr/lib/userv/sapdb/wrk/Registry.dcom"

  ( hope that paths used are the correct one's for your environment )
   
  Please check if this or the other mails which can be found there will help.

  Elke
  SAP Labs Berlin

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
extract data and catalog with loadercli from a 7.3.0.25 instance

MRistlstelcom.com
Date: Mon Jul 21 2003 - 10:11:49 CDT


Hi,

I tried to export data and catalog from a remote 7.3.0.25 sapdb using
loadercli from a local 7.4.0.25 system (win2k).

This dosn't work:

CATALOGEXTRACT USER OUTSTREAM FILE 'D:\sapdb\test\catalog.out'
Successfully executed

TABLEEXTRACT USER DATA OUTSTREAM FILE 'D:\sapdb\test\data.out'
Error during execution
-->-25392
'[SAP AG][SQLOD32 DLL][SAP DB]Integrity constraint violation;200 POS(1)
Duplicate key.'

What is the normal way to export (migrate) data from an 7.3 to a 7.4
system?

Thanks a lot,
Michael
==================================================
LS telcom AG
Michael Rist
Im Gewerbegebiet 31-35
D-77839 LICHTENAU
Germany

Phone: +49 7227 9535-240
FAX: +49 7227 8982
email: mristlstelcom.com
==================================================

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Antwort: Re: LOG Backup...

From: Klaus Zimmermann KLZI (Klaus.Zimmermannde.tds-global.com)
Date: Mon Jul 21 2003 - 10:04:24 CDT


Usage of LOGVOLUME:

select * from show_stat_log

'LOG PAGES';' 580221'
'USED LOG PAGES';' 34311'
'USED LOG PAGES (%)';' 6'
'NOT SAVED LOG PAGES';' 34256'
'NOT SAVED LOG PAGES (%)';' 6'
'RESERVED REDO SIZE';' 290110'
'LOG SEGMENT SIZE';' 0'
'SAVEPOINTS';' 47704'
'CHECKPOINTS';' 26'

Should wor with ODBC too.

Regards, Klaus

|---------+------------------------------------>
| | Sven Köhler |
| | <skoehlerupb.de> |
| | Gesendet von: |
| | sapdb.general-adminlists|
| | erv.sap.com |
| | |
| | |
| | 21.07.2003 16:50 |
| | |
|---------+------------------------------------>
>------------------------------------------------------------------------------------------------------------------------------|
  | |
  | An: sapdb.generallistserv.sap.com |
  | Kopie: |
  | Thema: Re: LOG Backup... |
>------------------------------------------------------------------------------------------------------------------------------|

> 2 - Can I check the log file usage with a SQL Statement (ODBC) ?
> 3 - Can I do a Log Backup with a SQL Statement(ODBC).?

i think both can only be done with the dbmcli.

> 5 - I Need to do a lot of inserts in a migration routine and this inserts
> are very slow( even slower than a Informix on a stone age machine)... Can
I
> Disable some feature or something else to acelerate this procedure ?

Put many inserts into one transactions. As Autocommit is on by default,
every insert statement will be committed. That's why it's so slow.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Restore backup with DatabaseManager

From: Christian Keller (C.Keller4ju.com)
Date: Mon Jul 21 2003 - 10:19:22 CDT


Hi,
 
Accidentally I make a “complete backup” with the DatabaseManager in
Admin Mode and the result is a “SAVE COLD” “complete backup” with “Log
Required”. But I don’t have any LOG! I think a “complete backup” is
really complete. I would like to ignore the LOG, but I don’t know how.
How can I restore my “complete backup”, without continue restoring
pages/Log after?
 
When I abort the restore, after the restoring of the “complete backup” ,
the result when I start my Database is:
Error code -24988
Description sql error [db_warm -f]; -8003,Message not available
 
Perhaps I can fix this error to set online my database, but how?
 
Thank you for your help and please forgive my terrible English!
 
 
Christian Keller
Hermann-Löns-Str.56
D-50765 Köln, Germany
 
Phone: +49-221-2225828
Mobil: +49-162-9432845
eMail: <mailto:C.Keller4ju.com> C.Keller4ju.com
web: <http://www.4ju.com> www.4ju.com
 

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Antwort: Re: LOG Backup...

From: Joao (joaoinforap.pt)
Date: Mon Jul 21 2003 - 11:29:31 CDT


1 - How Can I "Put many inserts into one transactions." (ODBC) ?

2 - Can I Turn Off AutoCommit using ODBC ?

Tanks,
João

"Klaus Zimmermann KLZI" <Klaus.Zimmermannde.tds-global.com> escreveu na
mensagem news:OF49149A3F.684A7FB1-ONC1256D6A.00529E87tds-corp.com...
>
> Usage of LOGVOLUME:
>
> select * from show_stat_log
>
> 'LOG PAGES';' 580221'
> 'USED LOG PAGES';' 34311'
> 'USED LOG PAGES (%)';' 6'
> 'NOT SAVED LOG PAGES';' 34256'
> 'NOT SAVED LOG PAGES (%)';' 6'
> 'RESERVED REDO SIZE';' 290110'
> 'LOG SEGMENT SIZE';' 0'
> 'SAVEPOINTS';' 47704'
> 'CHECKPOINTS';' 26'
>
> Should wor with ODBC too.
>
> Regards, Klaus
>
>
>
>
> |---------+------------------------------------>
> | | Sven Köhler |
> | | <skoehlerupb.de> |
> | | Gesendet von: |
> | | sapdb.general-adminlists|
> | | erv.sap.com |
> | | |
> | | |
> | | 21.07.2003 16:50 |
> | | |
> |---------+------------------------------------>
>
>---------------------------------------------------------------------------
---------------------------------------------------|
> |
|
> | An: sapdb.generallistserv.sap.com
|
> | Kopie:
|
> | Thema: Re: LOG Backup...
|
>
>---------------------------------------------------------------------------
---------------------------------------------------|
>
>
>
>
> > 2 - Can I check the log file usage with a SQL Statement (ODBC) ?
> > 3 - Can I do a Log Backup with a SQL Statement(ODBC).?
>
> i think both can only be done with the dbmcli.
>
> > 5 - I Need to do a lot of inserts in a migration routine and this
inserts
> > are very slow( even slower than a Informix on a stone age machine)...
Can
> I
> > Disable some feature or something else to acelerate this procedure ?
>
> Put many inserts into one transactions. As Autocommit is on by default,
> every insert statement will be committed. That's why it's so slow.
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: SAP DB & e-mail integration

From: michaelkleiser (mklwebde-ag.de)
Date: Mon Jul 21 2003 - 11:22:39 CDT


Did you use Perl on Linux ?
If so, could you please tell me
what rpms you have installed,
which ODBC for unix you are using an
what are the values for $ODBCHOME
and LD_LIBRARY_PATH ?

I have some mismatch here.

Thanks

--- In sapdb-generalyahoogroups.com, Flemming Frandsen <ffp...> wrote:
> Carsten Kuckuk wrote:
> > Implementation seems to be easiest using Java. For DB access you can
> > use JDBC, and for sending e-mail you can use the JavaMail API.
>
> Only if you don't know perl, apart from the call that actually sends
the
> mail (look for Net::SMTP) this is all of it, just run it every 5
minutes
> from cron and you are done:
>
> #!/usr/bin/perl -w
> use strict;
> use DBI;
>
> my $dbh = DBI->connect_cached('dbi:ODBC::DBNAME', 'USER', 'PASSWD',
> {
> AutoCommit=>0,
> RaiseError=>0,
> PrintError=>0,
> LongReadLen=>10000,
> odbc_ignore_named_placeholders=>1,
> });
>
> my $select = $dbh->prepare_cached('
> SELECT email_id, toaddress, subject, body
> FROM unsent_email');
> $select->exeute;
>
> while (my ($email_id,$to,$subject,$body) = $select->fetchrow_array) {
> # Send the mail.
>
> my $delete = $dbh->prepare_cached('
> DELETE FROM unsent_email
> WHERE email_id=?');
> $delete->exeute($email_id);
> }
>
> $dbh->commit;
> $dbh->disconnect;
>
> --
> Regards Flemming Frandsen - http://dion.swamp.dk
> PartyTicket.Net co founder & Yet Another Perl Hacker
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generall...
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Bug with Update? Related to Locking? - GATING ISSUE, PLEASE HELP!

dhaylexmark.com
Date: Mon Jul 21 2003 - 15:55:03 CDT


Hi,

We are still experiencing this problem, and it is readily reproducable on
our end.

As explained below, the database periodically gets "hung" performing an
Update that never returns.

I have added a Select on the relevant table before the Update, to make sure
the code does have a lock on the table, and that works fine. I have also
tried replacing the Update with an Insert, but this hangs periodically too.

It **acts** as if the code is waiting for a lock on the tables that it
already has a lock on, which is wierd. We only see three locks in the
Locks table, which is correct.

PLEASE could one of the SAP guys, (or anyone else!), take a look at the
trace information provided below? Can anyone please explain what the
statement in the trace

>b13exclusive pno 104371

means?

This is proving to be a BIG problem, so would be very grateful if someone
could help.

Please let me know if I can provide any more information.

Many thanks in advance,

David

---------------------- Forwarded by David Hay/Lex/Lexmark on 21/07/2003
04:48 PM ---------------------------

David Hay
17/07/2003 03:25 PM

To: "Becker, Holger" <holger.beckersap.com>
cc: sapdb.generallistserv.sap.com

Subject: Bug with Update? Related to Locking? (Document link: David
       Hay)

Hi,

We are seeing some strange behaviour.

We issue some locks on 3 tables when we upload a form (as a lot of other
processing goes on), so if someone else is trying to access the table they
correctly have to wait. When the lock is released they get access to the
table and everything is fine.

EXCEPT in ***some*** situations when the first person (with the locks)
performs an UPDATE call. We are seeing the update just hang and never
return. Consequently we don't drop through our code to the unlock and
everything hangs.

But why should the Update call never return, and only in some situations?

We have captured the vtrace, and the update that returns and the one that
doesn't are both the same in this respect:

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(483.3282 page 483)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i371058470053450', Pages = 2, Title = '30', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(16): 'JDBC_CURSOR_1458'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 76304; *** key_not_found ***
>KB05 id1193/-2549 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C237
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 9; fid = 0
                fn: 1A00 0000000000091B20 000000000000
 b01t_reset root 17433; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 17433; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C237
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C237
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C237
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C237

From there, though, the one does NOT work finishes that particular block (and apparently hangs) with

>b13exclusive pno 104371

whereas the one the DOES work continues with

 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

It appears that a return_result is never issued for the first one, but the question is why?

Does anyone know what ">b13exclusive pno 104371" means?

A fuller copy of the trace for each one is below.

Many thanks in advance,

David

***Update request that does NOT return

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(298.2426 page 298)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i421058544455209', Pages = 2, Title = '26', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(14): 'JDBC_CURSOR_99'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 61423; *** key_not_found ***
>KB05 id1175/-14592 get direct SYS1CAT key(12):
     00000000 000002A0 00150005
>b02get key(12): 00000000 000002A0 00150005
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>b07cget key(12): 00000000 000002A0 00950005
 b07cget root 61423; *** key_not_found ***
>KB05 id1175/-14592 get direct SYS1CAT key(12):
     00000000 000002A0 00180005
>b02get key(12): 00000000 000002A0 00180005
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>KB05 id1175/-14592 get direct SYS1CAT key(13):
     00000000 000002A0 00180005 01
>b02get key(13): 00000000 000002A0 00180005 01
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>KB05 id1175/-14592 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C242
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 29; fid = 0
                fn: 1A00 00000000001D1B20 000000000000
 b01t_reset root 1891; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 1891; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C242
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C242
>b13exclusive pno 104371

===== T44 ===== id164 ================================299.220 page 299

*
*
*

*** Update request that finishes normally.

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(384.5922 page 384)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i351058542041839', Pages = 2, Title = '24', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(15): 'JDBC_CURSOR_354'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 46809; *** key_not_found ***
>KB05 id1173/-10750 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C235
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01t_reset root 2431; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 2431; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C235
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C235
 b03del_inv root 104371; e_ok
>b03del_inv Inv Key(8): 00C23500 00000000
            PrimKey(3): 00C235
 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(384.5922 page 384)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i351058542041839', Pages = 2, Title = '24', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(15): 'JDBC_CURSOR_354'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 46809; *** key_not_found ***
>KB05 id1173/-10750 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C235
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01t_reset root 2431; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 2431; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C235
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C235
 b03del_inv root 104371; e_ok
>b03del_inv Inv Key(8): 00C23500 00000000
            PrimKey(3): 00C235
 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

REQUEST: ascii, full_swap, 70403-XCI (1 segment, len: 0)
(385.700 page 385)
   execute SEGMENT 1 (2 parts, len: 256)
         session_sqlmode, user_cmd
   parsid PART (1 argument, size: 16296)
         mess_type: update
         buf(12):
         0000003A 00004B01 4C000000
   data PART (1 argument, size: 16264)
         buf(168):
         ' 24 '
         ' 24 '
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 44819; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 59709; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval StartKey(3): ' 24'
         Stop Key(3): ' 24'
 b03eval root 59709; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 74597; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 89483; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 104371; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 155; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 15045; e_ok
         PageCnt 1; AllPageCnt 1
>KB05 id1173/-10238 update qual TABID 0-02A0 zerokey
>b02first_ql zerokey
 b02first_ql root 44819; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b02next_qual key(3): 00C235
 b02next_qual root 44819; *** no_next_record ***
 KB05 id1173/-10238 return_result
RECEIVE: ascii, full_swap, 70403-XCI (1 segment, len: 64)
(385.2992 page 385)
   ok / RETURN SEGMENT 1 (1 part, len: 64)
         update_fc, sqlstate: '00000'
         external WARNING 0: warning_exists
         external WARNING 8: table_scan
   resultcount PART (1 argument, size: 35752)
         result_count: 1
>b01destroy tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01destroy root 2431; e_ok
RECEIVE: ascii, normal_swap, 70400-ODB (1 segment, len: 64)
(385.3210 page 385)
   ok / RETURN SEGMENT 1 (1 part, len: 64)
         update_fc, sqlstate: '00000'
   resultcount PART (1 argument, size: 35784)
         result_count: 1

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 96)
(385.3354 page 385)
   dbs SEGMENT 1 (2 parts, len: 96)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(6): 'COMMIT'
   resulttablename PART (1 argument, size: 32224)
         buf(15): 'JDBC_CURSOR_355'
>KB05 id1173 commit

===== T2 ===== nil.idnil ============================385.3586 page 385

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
7.3 -> 7.4: SDBUPD failed

From: Gerd König (koenigtransporeon.com)
Date: Tue Jul 22 2003 - 01:49:23 CDT


Hi,

I read different articles about migrating from 7.3 to 7.4, but
I haven't managed to migrate successfully :-(

These are the steps I've done:
- dbmcli -d blub -u <user>,<pw> db_offline
- dbmcli -d blub -u <user>,<pw> db_cold
- dbmcli -d blub -u <user>,<pw>
  util_connect
  medium_put upgrade_backup /tmp/upgrade_backup FILE 0 8 YES
  backup_start upgrade_backup
  quit
- SDBUPD -d blub -u <user>,<pw>

!! SDBUPD breaks at the beginning with the message at the end of
the mail.

The backup was created successfully.
I also tried to stop the x_server before call SDBUPD, but
with no success, same error message.

What does this mean: "domain user not found in user profile container"

Am I missing some users ? We are working for months with this
database instance...

environment:
  SLES 8 (United Linux), SAPDB 7.3.0.34 (currently running)

any help appreciated ...:GERD:...( mailto:koenigtransporeon.com )

SDBUPD-message:
=======================================
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "de_DEeuro",
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

        SAP DB INSTANCE UPDATE
        **********************

starting installation Mo, Jul 21, 2003 at 14:52:20
operating system: Linux I386 2.4.21 GLIBC 2.2.5
callers working directory:
/incoming/sapdb/7.4/sapdb-all-linux-32bit-i386-7_4_3_17

beginning to check sap db instances
resume broken instance check
finding instance type...
finding starting release...
finding migration strategy...
looking for running instances...
checking paramfile modifications...
checking volume access...
looking for domain user...
sap db instance "blub" not ready to update
looking for domain user...
user profile container contains:

  dbm

domain user not found in user profile container
unable to load system tables

load system tables and run SDBUPD again

SAP DB instance update exited abnormally at Mo, Jul 21, 2003 at 14:52:24
==============================================

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
JDBC executeBatch

From: Detlef Höffner (Detlef.Hoeffnergmx.de)
Date: Tue Jul 22 2003 - 02:17:09 CDT


Hi,

first I would like to thank you for that great product.

I am using JDBC with the database from the latest package (version
7.4.3.25).

Doing a batch of UPDATE statements I would like to check the success of each
statement, but the returned int array contains always many SUCCESS_NO_INFO,
but not the update count.

Is that the behaviour you expect from your implementation?

If yes:

        Do you plan to return the update count in the future?

        Are there other ways to identify the number of updates in a batch
execution?

Regards

Detlef

Dipl. Wirtsch.-Ing. Detlef Höffner
e-mail: Detlef.Hoeffnergmx.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: ODBC questions (was: RE: Antwort: Re: LOG Backup...)

From: Koetter, Thomas Theodor (thomas.theodor.koettersap.com)
Date: Tue Jul 22 2003 - 02:17:36 CDT


Hi Joao,

> -----Original Message-----
> From: Joao [mailto:joaoinforap.pt]
> Sent: Montag, 21. Juli 2003 18:30
> To: sapdb.generallistserv.sap.com
> Subject: Re: Antwort: Re: LOG Backup...
>
>
> 1 - How Can I "Put many inserts into one transactions." (ODBC) ?

repeat several inserts before SQLEndTran/SQLTransact

>
> 2 - Can I Turn Off AutoCommit using ODBC ?

see SQLSetConnectAttr (SQL_ATTR_AUTOCOMMIT)

Regards Thomas

----------------------------------------------
Dr. Thomas Kötter
SAP DB, SAP Labs Berlin

Hurry up, SAP DB is open source www.sapdb.org

 
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: JDBC executeBatch

From: Schroeder, Alexander (alexander.schroedersap.com)
Date: Tue Jul 22 2003 - 02:47:54 CDT


Hello Detlef,

the SUCCESS_NO_INFO return value is intentional, as there are no update count values
(specific for each row) returned by the database in 'batch execution'.

AFAIK there is no plan to change this.

Alexander Schröder
SAP DB, SAP Labs Berlin

> -----Original Message-----
> From: Detlef Höffner [mailto:Detlef.Hoeffnergmx.de]
> Sent: Tuesday, July 22, 2003 9:17 AM
> To: SAPDB
> Subject: JDBC executeBatch
>
>
> Hi,
>
> first I would like to thank you for that great product.
>
> I am using JDBC with the database from the latest package (version
> 7.4.3.25).
>
> Doing a batch of UPDATE statements I would like to check the
> success of each
> statement, but the returned int array contains always many
> SUCCESS_NO_INFO,
> but not the update count.
>
> Is that the behaviour you expect from your implementation?
>
>
> If yes:
>
> Do you plan to return the update count in the future?
>
> Are there other ways to identify the number of updates
> in a batch
> execution?
>
> Regards
>
> Detlef
>
> Dipl. Wirtsch.-Ing. Detlef Höffner
> e-mail: Detlef.Hoeffnergmx.de
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Query to get the first row of a table

From: Yusuf Gangat (yusuf.gangatpha.co.za)
Date: Tue Jul 22 2003 - 03:28:44 CDT


Hi
 
Can anyone tell me the sql I need to use to get the first row of a table
without using “select * from tablename” and then using only the first
row?
 
Thanks in advance
 
Yusuf Gangat
Programmer
Tel : 031-2675000
Fax : 031-2675169
HYPERLINK "mailto:yusuf.gangatpha.co.za"yusuf.gangatpha.co.za
 
Disclaimer and confidentiality note
 
The information contained in this communication is confidential and may
be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed and others authorised to
receive it. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or taking action in
reliance of the contents of this information is strictly prohibited and
may be unlawful. Sweidan Trust is neither liable for the proper,
complete transmission of the information contained in this communication
nor any delay in its receipt.
 
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003
 

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: ODBC questions (was: RE: Antwort: Re: LOG Backup...)

From: Joao (joaoinforap.pt)
Date: Tue Jul 22 2003 - 04:03:10 CDT


> > 1 - How Can I "Put many inserts into one transactions." (ODBC) ?
> repeat several inserts before SQLEndTran/SQLTransact

Sorry, but where ?
I'm Using ADO.Connection Object something like this :

ADO.Execute("Insert ....")
ADO.Execute("Insert ....")
...

No "SQLEndTran/SQLTransact" is used...

> > 2 - Can I Turn Off AutoCommit using ODBC ?
> see SQLSetConnectAttr (SQL_ATTR_AUTOCOMMIT)

Again
I Dont Find the place to modify this parameter....
I Found something on ODBC DataSource defenition but is Disabled ... ????(se
Attached File)

Sorry about all these questions...

Tanks,
João

begin 666 EnAutoCommit.jpg
M_]C_X `02D9)1`!`0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"YUU%<C_`,+(\/\`]^Y_[]?_
M`%Z/^%D>'_[]S_WZ_P#KT687.NHKD?\`A9'A_P#OW/\`WZ_^O1_PLCP__?N?
M^_7_`->BS"YUU%<C_P`+(\/_`-^Y_P"_7_UZ/^%D>'_[]S_WZ_\`KT687.NH
MKD?^%D>'_P"_<_\`?K_Z]'_"R/#_`/?N?^_7_P!>BS"YUU%<C_PLCP__`'[G
M_OU_]>C_`(61X?\`[]S_`-^O_KT687.NHKD?^%D>'_[]S_WZ_P#KT?\`"R/#
M_P#?N?\`OU_]>BS"YUU%<C_PLCP__?N?^_7_`->C_A9'A_\`OW/_`'Z_^O19
MA<ZZBN1_X61X?_OW/_?K_P"O1_PLCP__`'[G_OU_]>BS"YUU%<C_`,+(\/\`
M]^Y_[]?_`%Z/^%D>'_[]S_WZ_P#KT687.NHKD?\`A9'A_P#OW/\`WZ_^O1_P
MLCP__?N?^_7_`->BS"YUU%<C_P`+(\/_`-^Y_P"_7_UZ/^%D>'_[]S_WZ_\`
MKT687.NHKD?^%D>'_P"_<_\`?K_Z]'_"R/#_`/?N?^_7_P!>BS"YI>,?^11U
+_KE_445S?B#QSHNIZ!>V5N\_FRQ[5W1X&:*N(F?_]D`
`
end

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Antwort: Re: LOG Backup...

From: jean-michel OLTRA (jm.oltraespinasse.net)
Date: Tue Jul 22 2003 - 05:01:51 CDT


Le lundi 21 juillet 2003, Joao a écrit...
        bonjour,

> 1 - How Can I "Put many inserts into one transactions." (ODBC) ?
turning off autocommit

> 2 - Can I Turn Off AutoCommit using ODBC ?
Have a look on SQLSetConnectAttr () documentation
--
jean-michel
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Query to get the first row of a table

From: Michael MacIntyre (mmacintyreaei.ca)
Date: Tue Jul 22 2003 - 06:42:43 CDT


Hi.
If your PK is a sequence number then I suspect you could do select
min(<seq_col>) from <table>
Michael MacIntyre

Yusuf Gangat wrote:

> Hi
>
>
>
> Can anyone tell me the sql I need to use to get the first row of a
> table without using “select * from tablename” and then using only the
> first row?
>
>
>
> Thanks in advance
>
>
>
> Yusuf Gangat
> Programmer
>
> Tel : 031-2675000
> Fax : 031-2675169
> yusuf.gangatpha.co.za <mailto:yusuf.gangatpha.co.za>
>
>
>
> Disclaimer and confidentiality note
>
>
> The information contained in this communication is confidential and
> may be legally privileged. It is intended solely for the use of the
> individual or entity to whom it is addressed and others authorised to
> receive it. If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action
> in reliance of the contents of this information is strictly prohibited
> and may be unlawful. Sweidan Trust is neither liable for the proper,
> complete transmission of the information contained in this
> communication nor any delay in its receipt.
>
>
>
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
migration with SDBINST fails while db_online

From: Gerd König (koenigtransporeon.com)
Date: Tue Jul 22 2003 - 07:06:32 CDT


Hi again,

I tried another way for migrating from 7.3.0.34 to 7.4.3.25
I followed the steps(In-Place Migration with SDBINST) from the sapdb doc at:
http://www.sapdb.org/7.4/htmhelp/88/c290d224d9e140a9c7048ffff0c233/frameset.
htm

The first steps works fine, until the database should go to db_online.
This command breaks with the message:
ERR
-24895,ERR_SHUTDOWN: shutdown of database occured
-71,connection broken

the several steps and their output is inside the attachment.

thanks in advance ...:GERD:...

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Query to get the first row of a table

From: Zabach, Elke (elke.zabachsap.com)
Date: Tue Jul 22 2003 - 07:00:15 CDT


Hi,
 
a select is needed, but you can do
select ... from table where rowno <= 1
to assure that only one row will be in the resultset.
Do NOT use MIN(primary key column) or something like that.
Different releases with different optimizers would or
would not catch that only the first row of the whole table
has to be inspected.
 
Elke
SAP Labs Berlin
-----Original Message-----
From: Yusuf Gangat [mailto:yusuf.gangatpha.co.za]
Sent: Dienstag, 22. Juli 2003 10:29
To: sapdb.generallistserv.sap.com
Subject: Query to get the first row of a table

Hi
 
Can anyone tell me the sql I need to use to get the first row of a table without using “select * from tablename” and then using only the first row?
 
Thanks in advance
 
Yusuf Gangat
Programmer
Tel : 031-2675000
Fax : 031-2675169
yusuf.gangatpha.co.za <mailto:yusuf.gangatpha.co.za>
 
Disclaimer and confidentiality note

The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Sweidan Trust is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt.
 
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Access97 via ODBC, boolean query

From: Alan Graham (alan.grahaminfonetsystems.com.au)
Date: Tue Jul 22 2003 - 08:07:11 CDT


Yves, you are truly a life saver! I started my project using
postgreSQL, and transferred it toSAPdb because of PostgreSQL's issues
with boolean variables. I was tearing my hair out at the thought that
there ware similar problems with SAPdb.

Once again, thank you! I was imagining all sorts of nasty
workarounds... :-)

Regards

Alan Graham

and if you're ever in Perth, Oz, the beer's on me!

On Mon, 2003-07-21 at 22:39, Yves Trudeau wrote:
> Hi,
> you have to use: SELECT name FROM customer WHERE inactive=cbool(False)
>
> Good luck
>
> Yves
>
> -----Original Message-----
> From: sapdb.general-adminlistserv.sap.com
> [mailto:sapdb.general-adminlistserv.sap.com]On Behalf Of Alan Graham
> Sent: 20 juillet, 2003 10:04
> To: 'sapdb.generallistserv.sap.com'
> Subject: Access97 via ODBC, boolean query
>
>
> I've got a query of the form
> SELECT name FROM customer WHERE inactive=False
> in Access 97. This worked fine in Access, and works in the SQL studio
> to SAPdb (Version 7.4.3). From Access to SAPdb using ODBC, I get
> Error 8006 Data types must be compatible.
>
> The SQL trace of the ODBC driver shows that the boolean test is being
> passed through as '... "INACTIVE" = 0'. This suggests that it's an ODBC
> problem. Similarly, inactive <> true is passed through as NOT INACTIVE
> = 1.
>
> I'm using version 7.4 of the ODBC driver, with the 7.3 version of the
> driver, to avoid the Unicode bug with the ODBC driver (Ie, that 7.4 only
> supports Unicode, win98 doesn't support Unicode, and 7.3 doesn't work
> with MS Access). I've tried both INTERNAL and ANSI modes of the ODBC
> driver, with the same result, ie, False is transfered as '0' and True as
> 1.
>
> I've googled for this, and found a few people with the same problem, but
> no answers that work for me. I got excited about the answer that
> suggested that Access doesn't like nulls in Boolean fileds, but I don't
> have any nulls. All tuples have the values TRUE or FALSE. Then I found
> the suggestion that Access wasn't recognising the column as a type
> 'Yes/no'. I checked that, and it is. The column is handled correctly
> on forms, etc, as a checkbox where appropriate. It only seems to be a
> problem in the where clause.
>
> Can anyone shed any light on this?
>
> Regards
>
> Alan Graham
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
dbproc-problems

From: Andreas Grund (andreas-grundweb.de)
Date: Tue Jul 22 2003 - 08:54:55 CDT


Hi,

i just read in the SAP DB Library, that i have to write complete tablenames (inclusive ownername) in my sql-statements. So i wrote the following dbproc:
create dbproc monatsname2 (out name varchar(20)) as
var monat varchar(20);
try
select Month(Tag) as monat from ROOT.1_4_Calls_KNL where Calls=673;
fetch into :monat
case
when monat = 1 then set name = 'Januar';
when monat = 2 then set name = 'Februar';
when monat = 3 then set name = 'März';
when monat = 4 then set name = 'April';
when monat = 5 then set name = 'Mai';
when monat = 6 then set name = 'Juni';
when monat = 7 then set name = 'Juli';
when monat = 8 then set name = 'August';
when monat = 9 then set name = 'September';
when monat = 10 then set name = 'Oktober';
when monat = 11 then set name = 'November';
when monat = 12 then set name = 'Dezember';
else stop (-29000, 'keine gültige Monatsziffer');
end case;
catch
if $rc <> 100 then stop ($rc, 'unerwarteter Fehler');

I want to get the number of the month in a specified tablerow. But when i execute this sql-statement, i get the errormessage Owner must be specified. But i think, that i have done it. Because i wrote ROOT.1_4_Calls_KNL. ROOT is my SYSDBA and the SQL-Studio shows, that he is the owner of the table 1_4_Calls_KNL. I work with SAP DB 7,4,3,25, Win NT 4 SP 6a. For testing my dbprocs i ues the dbvisualizer 3.3.1. So, where is the failure??

I have another question to the out-parameter of a dbproc:
My first idea was, to write a dbproc like:
CREATE DBPROC MONATSNAME (IN MONATSNUMMER INTEGER, OUT MONAT VARCHAR(20)) AS
CASE
WHEN MONATSNUMMER = 1 THEN SET MONAT = 'Januar';
WHEN MONATSNUMMER = 2 THEN SET MONAT = 'Februar';
WHEN MONATSNUMMER = 3 THEN SET MONAT = 'März';
WHEN MONATSNUMMER = 4 THEN SET MONAT = 'April';
WHEN MONATSNUMMER = 5 THEN SET MONAT = 'Mai';
WHEN MONATSNUMMER = 6 THEN SET MONAT = 'Juni';
WHEN MONATSNUMMER = 7 THEN SET MONAT = 'Juli';
WHEN MONATSNUMMER = 8 THEN SET MONAT = 'August';
WHEN MONATSNUMMER = 9 THEN SET MONAT = 'September';
WHEN MONATSNUMMER = 10 THEN SET MONAT = 'Oktober';
WHEN MONATSNUMMER = 11 THEN SET MONAT = 'November';
WHEN MONATSNUMMER = 12 THEN SET MONAT = 'Dezember';
ELSE STOP (-29000, 'keine gültige Monatsziffer');
END CASE;
This was the try to get a german monthname identified by the number of the month. But when i try to call this dbproc with call MONATSNAME(4) i get the error too few parameters. So i think, that the database expected in value for the out parameter, but with value should i send to the database?? i tried call MONATSNAME(4, '') and call MONATSNAME(4, NULL) and call MONATSNAME(4, 'April') always without any success. Where is in this case my failure??

Thanks in advance and greetings
Andreas

______________________________________________________________________________
Wo gibt es den besten Spam-Schutz? Laut ComputerBild 15-03 bei
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021122

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: ODBC Boolean Fields

From: Koetter, Thomas Theodor (thomas.theodor.koettersap.com)
Date: Tue Jul 22 2003 - 08:49:06 CDT


Hi Niall,

-----Original Message-----
From: Scott, Niall [mailto:scottncamerondiv.com]
Sent: Montag, 21. Juli 2003 13:17
To: 'Sapdb. General'
Subject: ODBC Boolean Fields

> I am using open-dbexpress V2.07 compiled with D7C/S connecting to SAP DB 7.4.3 via SAP ODBC v7.03.04.
> Everything seems to work OK except when I connect to a table that has several boolean fields I get
> BindInteger called for non Integer column no 17 - ORDINAL_POSITION
> BindInteger without indicator var for nullable column 7 - TYPE

I don't know, what's going wrong. Maybe traces may help
http://sapdb.2scale.net/moin.cgi/ODBCTrace

Regards Thomas

----------------------------------------------
Dr. Thomas Kötter
SAP DB, SAP Labs Berlin

Hurry up, SAP DB is open source www.sapdb.org

 
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Problem with Updates & Locks

From: Michael Gray (Michael.Grayaptsoft.com)
Date: Tue Jul 22 2003 - 08:57:20 CDT


I apologize, in advance, for this newbie question as I'm just getting up
to speed with SAPDb.

 

I'm having a problem when performing an update via JDBC. When I
perform an update I appear to leak both row & table locks, although I
leak update number of row locks, I leak fewer table locks. I made
certain I committed the update and closed the statement after use.

 

I'm using SAPDB on Windows XP, running version 7.4.3.

 

Here's the JDBC Driver info

 

Name: com/sap/dbtech/jdbc/

Specification-Title: Java Platform API Specification

Specification-Version: 1.3.0

Specification-Vendor: Sun Microsystems, Inc.

Implementation-Title: SAP DB JDBC Driver

Implementation-Version: 7.4.4 Build 001-000-156-960

Implementation-Vendor: SAP AG

 

I connect to the db with this URL

 

 
jdbc:sapdb://myhost/myinstance?autocommit=off&isolation=TRANSACTION_SERI
ALIZABLE&reconnect=off&timeout=600

 

Any clues or ideas of what direction I should go in diagnosing this
problem would be greatly appreciated.

 

 

 

Michael Gray

Software Architect

AptSoft, Corp.

20 Mall Rd, Suite 210

Burlington, MA 01803

Phone: 781-270-4900

Fax: 781-270-4904

 

Unlock the Real-time Enterprise(tm)
Download our Featured White Paper at ebizQ.net

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE : dbproc-problems

From: Marc-Olivier Meunier (momeunierbklink.com)
Date: Tue Jul 22 2003 - 09:06:31 CDT


> I have another question to the out-parameter of a dbproc:
> My first idea was, to write a dbproc like:
> CREATE DBPROC MONATSNAME (IN MONATSNUMMER INTEGER, OUT MONAT
> VARCHAR(20)) AS CASE WHEN MONATSNUMMER = 1 THEN SET MONAT =
> 'Januar'; WHEN MONATSNUMMER = 2 THEN SET MONAT = 'Februar';
> WHEN MONATSNUMMER = 3 THEN SET MONAT = 'März'; WHEN
> MONATSNUMMER = 4 THEN SET MONAT = 'April'; WHEN MONATSNUMMER
> = 5 THEN SET MONAT = 'Mai'; WHEN MONATSNUMMER = 6 THEN SET
> MONAT = 'Juni'; WHEN MONATSNUMMER = 7 THEN SET MONAT =
> 'Juli'; WHEN MONATSNUMMER = 8 THEN SET MONAT = 'August'; WHEN
> MONATSNUMMER = 9 THEN SET MONAT = 'September'; WHEN
> MONATSNUMMER = 10 THEN SET MONAT = 'Oktober'; WHEN
> MONATSNUMMER = 11 THEN SET MONAT = 'November'; WHEN
> MONATSNUMMER = 12 THEN SET MONAT = 'Dezember'; ELSE STOP
> (-29000, 'keine gültige Monatsziffer'); END CASE; This was
> the try to get a german monthname identified by the number of
> the month. But when i try to call this dbproc with call
> MONATSNAME(4) i get the error too few parameters. So i think,
> that the database expected in value for the out parameter,
> but with value should i send to the database?? i tried call
> MONATSNAME(4, '') and call MONATSNAME(4, NULL) and call
> MONATSNAME(4, 'April') always without any success. Where is
> in this case my failure??
>

Try this :

VAR YOUR_VARIABLE VARCHAR(32) ;
CALL MONATSNAME(4 , YOUR_VARIABLE) ;

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: parameter LOG_BACKUP_TO_PIPE

From: Brunzema, Martin (martin.brunzemasap.com)
Date: Tue Jul 22 2003 - 09:27:03 CDT


> -----Original Message-----
> From: Andreas Grund [mailto:andreas-grundweb.de]
> Sent: Monday, July 21, 2003 9:04 AM
> To: sapdb.generallistserv.sap.com
> Subject: parameter LOG_BACKUP_TO_PIPE
>
>
> Hi Maillinglist,
>
> i´ve got a question to the parameter LOG_BACKUP_TO_PIPE. Do i
> have to understand this parameter in the way, that i have to
> enable it, if i want to make a log-backup to a streamer,
> network-disc and other peripherial drives?? or want is ment
> by thsi parameter? I´m not able to make nothing of this parameter.

Log_Backup into pipe is only supported in conjuction with
backup-tools, which has to ensure, that the logbackup has
successfully written on the other side of the pipe. This has
been done because of the uncertain transmission over networks.
In effect this means that the tool sends an acknowledge to the
database when the save has been successfully done in order to
allow the database to free the saved logPages.

If you set the parameter LOG_BACKUP_TO_PIPE, then this acknowledge
is not needed (nor allowed). But be aware, that if you loose some
of your log-backup, then you may not be able to recover your
database.

regards, Martin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Restore backup with DatabaseManager

From: Brunzema, Martin (martin.brunzemasap.com)
Date: Tue Jul 22 2003 - 09:37:40 CDT


-----Original Message-----
From: Christian Keller [mailto:C.Keller4ju.com]
Sent: Monday, July 21, 2003 5:19 PM
To: sapdb.generallistserv.sap.com
Subject: Restore backup with DatabaseManager

> Hi,
>
> Accidentally I make a "complete backup" with the DatabaseManager
> in Admin Mode and the result is a "SAVE COLD" "complete backup"
> with "Log Required". But I don't have any LOG! I think a "complete
> backup" is really complete. I would like to ignore the LOG, but
> I don't know how.
> How can I restore my "complete backup", without continue restoring pages/Log after?
 
> When I abort the restore, after the restoring of the "complete backup" ,
> the result when I start my Database is:
> Error code -24988
> Description sql error [db_warm -f]; -8003,Message not available
>
> Perhaps I can fix this error to set online my database, but how?
 
Hi,

I assume you are using version 7.3.x. In this version you have to
create a complete backup with a checkpoint. Otherwise you only have
a backup with a savepoint, which means that you have open transactions
in your backup. For a correct rollback some information from the
log is needed.
The -8003 may result from this, because the information needed for
rollback of open transactions is not found on the LogDevice.

In version 7.4 every backup is consistent without information from the log.

regards, Martin

p.s. I would appreciate it, if you would not use html for your postings
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE:dbproc-problems

From: Anhaus, Thomas (thomas.anhaussap.com)
Date: Tue Jul 22 2003 - 10:21:06 CDT


Andreas Grund wrote :

>Hi,

>i just read in the SAP DB Library, that i have to write complete tablenames (inclusive ownername) in my sql-statements. So i wrote the
>following dbproc:
>create dbproc monatsname2 (out name varchar(20)) as
>var monat varchar(20);
>try
>select Month(Tag) as monat from ROOT.1_4_Calls_KNL where Calls=673;
>fetch into :monat
>case
>when monat = 1 then set name = 'Januar';
>when monat = 2 then set name = 'Februar';
>when monat = 3 then set name = 'März';
>when monat = 4 then set name = 'April';
>when monat = 5 then set name = 'Mai';
>when monat = 6 then set name = 'Juni';
>when monat = 7 then set name = 'Juli';
>when monat = 8 then set name = 'August';
>when monat = 9 then set name = 'September';
>when monat = 10 then set name = 'Oktober';
>when monat = 11 then set name = 'November';
>when monat = 12 then set name = 'Dezember';
>else stop (-29000, 'keine gültige Monatsziffer');
>end case;
>catch
>if $rc <> 100 then stop ($rc, 'unerwarteter Fehler');

>I want to get the number of the month in a specified tablerow. But when i execute this sql-statement, i get the errormessage Owner must be
>specified. But i think, that i have done it. Because i wrote ROOT.1_4_Calls_KNL. ROOT is my SYSDBA and the SQL-Studio shows, that he is the >owner of the table 1_4_Calls_KNL. I work with SAP DB 7,4,3,25, Win NT 4 SP 6a. For testing my dbprocs i ues the dbvisualizer 3.3.1.
>So, where is the failure??

Your tablename 1_4_Calls_KNL is a special identifier, which must be enclosed by double quotes :

select Month(Tag) as monat from ROOT."1_4_Calls_KNL" where Calls=673;

Please note : a semicolon is missing after the fetch statement.

>I have another question to the out-parameter of a dbproc:
>My first idea was, to write a dbproc like:
>CREATE DBPROC MONATSNAME (IN MONATSNUMMER INTEGER, OUT MONAT VARCHAR(20)) AS
>CASE
>WHEN MONATSNUMMER = 1 THEN SET MONAT = 'Januar';
>WHEN MONATSNUMMER = 2 THEN SET MONAT = 'Februar';
>WHEN MONATSNUMMER = 3 THEN SET MONAT = 'März';
>WHEN MONATSNUMMER = 4 THEN SET MONAT = 'April';
>WHEN MONATSNUMMER = 5 THEN SET MONAT = 'Mai';
>WHEN MONATSNUMMER = 6 THEN SET MONAT = 'Juni';
>WHEN MONATSNUMMER = 7 THEN SET MONAT = 'Juli';
>WHEN MONATSNUMMER = 8 THEN SET MONAT = 'August';
>WHEN MONATSNUMMER = 9 THEN SET MONAT = 'September';
>WHEN MONATSNUMMER = 10 THEN SET MONAT = 'Oktober';
>WHEN MONATSNUMMER = 11 THEN SET MONAT = 'November';
>WHEN MONATSNUMMER = 12 THEN SET MONAT = 'Dezember';
>ELSE STOP (-29000, 'keine gültige Monatsziffer');
>END CASE;
>This was the try to get a german monthname identified by the number of the month. But when i try to call this dbproc with call MONATSNAME(4) >i get the error too few parameters. So i think, that the database expected in value for the out parameter, but with value should i send to
>the database?? i tried call MONATSNAME(4, '') and call MONATSNAME(4, NULL) and call MONATSNAME(4, 'April') always without any success. Where >is in this case my failure??

You have to provide 2 parameters for the call. Since the second parameter in an out-parameter, this must be
a parameter, i.e.

call MONATSNAME(4, ?)

I fear that db-visualizer can't deal with parameters. If possible use SQLStudio, which is able to call and display
db-procedures having out-parameters.

Thomas

--
Thomas Anhaus
SAP DB, SAP Labs Berlin
thomas.anhaussap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
How to migrate data from 7.3 to 7.4 without SDBUPD?

MRistlstelcom.com
Date: Tue Jul 22 2003 - 10:19:32 CDT


Hi,

I tried to migrate a 7.3.0.25 instance to a 7.4.3.25 instance.

With the 7.4 loadercli I can't extract data from the 7.3 system. :-(
With repmcli export files from the 7.3 system I can't feed the 7.4
loadercli :-(

I tried to make in the 7.3 a full backup in cold mode. Copy that file to
the 7.4 machine and tried to install a new instance with the recovery
feature...
After restoring the backup into 7.4 db ( and restarting), everything looks
very strange:
1.) SQLstudio claims:'SQL Studio does not support the catalog view when
connected to databases prior to 7.3.0'
2.) Database Manager can't connect anymore to the new instance when
instance is online: communication error
3.) in the knldiag.err file:
--------------------------------------------------------------------------------
Date Time TID(hex) Typ MsgID Label Message-Text
--------------------------------------------------------------------------------
2003-07-22 16:23:38 --- Starting GMT
2003-07-22 16:23:38 7.4.3 Build 025-123-046-179
2003-07-22 16:25:51 0x3FC ERR 60 Log RESTART ERROR '6416' =>
SHUTDOWN IS FORCED
2003-07-22 16:26:19 --- Starting GMT
2003-07-22 16:26:19 7.4.3 Build 025-123-046-179
2003-07-22 16:26:20 0x420 ERR 60 Log RESTART ERROR '6416' =>
SHUTDOWN IS FORCED
2003-07-22 16:26:34 --- Starting GMT
2003-07-22 16:26:34 7.4.3 Build 025-123-046-179
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 342 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 338 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 313 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 335 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 343 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 330 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 339 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 392 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 373 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 351 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 418 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 355 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 374 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 361 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 436 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 350 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 423 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 440 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 398 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 434 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 421 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 363 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 354 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 435 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 420 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 441 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 438 (ROOT)
2003-07-22 16:27:25 0x310 ERR 53250 B*TREE BAD INDEX 326 (ROOT)
2003-07-22 16:31:37 --- Starting GMT
2003-07-22 16:31:37 7.4.3 Build 025-123-046-179
2003-07-22 17:14:12 --- Starting GMT
2003-07-22 17:14:12 7.4.3 Build 025-123-046-179

Is there anyone who has a detailed working description on who to migrate
data from 7.3 to 7.4. I know that the SDBUPD.exe works well, but for that,
I must migrate the database and not only the data....

Thanks in advance,
Michael

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
ENC: Re: ODBC questions

From: Alejandro Michelin Salomon ( Adinet ) (alejmsgadinet.com.uy)
Date: Tue Jul 22 2003 - 11:46:07 CDT


-----Mensagem original-----
De: Alejandro Michelin Salomon ( Adinet ) [mailto:alejmsgadinet.com.uy]
Enviada em: terça-feira, 22 de julho de 2003 13:13
Para: João Rodrigues
Assunto: Re: ODBC questions

Hi João:

I worked with ADO, i think that is this what you want :

You create a connection object like this :

Dim MyConn As New ADODB.Connection

MyConn.Open parameters

MyConn.BeginTrans --> Put off the autocommit mode.

At this time autocommit mode is not working. You have to make a commit o
rollback.
To save or discart the work.

MyConn.CommitTrans --> Put on the autocommit mode. Confirm the work
MyConn.RollbackTrans --> --> Put on the autocommit mode. Discart work.

Alejandro Michelin Salomon
PROBrax e-tech
Porto Alegre
Brasil

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
! URGENT: migration to 7.4 fails

From: Gerd König (koenigtransporeon.com)
Date: Tue Jul 22 2003 - 14:47:51 CDT


Hi again,

once again, because I really need to manage the migration process.
I followed the steps(In-Place Migration with SDBINST) from the sapdb doc at:
http://www.sapdb.org/7.4/htmhelp/88/c290d224d9e140a9c7048ffff0c233/frameset.
htm

The first steps works fine, until the database should go to db_online.
This command breaks with the message:
ERR
-24895,ERR_SHUTDOWN: shutdown of database occured
-71,connection broken

the several steps and their output is inside the attachment
(this time I really attached it :-) ).

thanks in advance ...:GERD:...

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general



 
SAPDB Security , all Passwords

From: RoRei cgi42 (cgi42usa.net)
Date: Wed Jul 23 2003 - 03:30:48 CDT


Dear all, sorry for my little english.
i will become a high security. And i will change all Passwords how are in the
SAPDB 7.3 or 7.4. I am really new in the sapdb enviroment.
I search all Keys or passwords, but i dont wish where there are be.
Can anymore write me, where all passwords are defined?.

The controll-user has a good dokumentation, but the standard-user and teh
superdba or domain-user isnt understanding for me.

Can anymore help ?

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: ! URGENT: migration to 7.4 fails

From: Strahl, Torsten (torsten.strahlsap.com)
Date: Wed Jul 23 2003 - 03:40:45 CDT


Hi Gerd,
we need more informations about the crash after the 7.3/7.4 migration.
Please send the knldiag, knldiag.err, dbm.prt and the dbm.utl.

Regards,
Torsten

SAP DB, SAP Labs Berlin

-----Original Message-----
From: Gerd König [mailto:koenigtransporeon.com]
Sent: Dienstag, 22. Juli 2003 21:48
To: sapdb.generallistserv.sap.com
Subject: ! URGENT: migration to 7.4 fails

Hi again,

once again, because I really need to manage the migration process.
I followed the steps(In-Place Migration with SDBINST) from the sapdb doc at:
http://www.sapdb.org/7.4/htmhelp/88/c290d224d9e140a9c7048ffff0c233/frameset.
htm

The first steps works fine, until the database should go to db_online.
This command breaks with the message:
ERR
-24895,ERR_SHUTDOWN: shutdown of database occured
-71,connection broken

the several steps and their output is inside the attachment
(this time I really attached it :-) ).

thanks in advance ...:GERD:...
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
User Concurrent connection

From: Eko Subagio (ekosbgcbn.net.id)
Date: Wed Jul 23 2003 - 03:43:56 CDT


Hello,

Is there any a way to make one user connected to SAPDB with more than two
application ?

Example:
USER1 using Application 1 connected to SAPDB with DBNAME TEST1
USER1 using Application 1 connected to SAPDB with DBNAME TEST2

Is it possible in SAPDB ? because it does in oracle....

Thanks
Eko Subagio

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Revision: User Concurrent connection

From: Eko Subagio (ekosbgcbn.net.id)
Date: Wed Jul 23 2003 - 04:04:29 CDT


Sorry i mean,

User1 using application1 connected to SAPDB TEST1
User1 using application2 connected to SAPDB TEST1

Thank you
Eko Subagio

----- Original Message -----
From: "Eko Subagio" <ekosbgcbn.net.id>
To: "Sapdb General List" <sapdb.generallistserv.sap.com>
Sent: Wednesday, July 23, 2003 3:43 PM
Subject: User Concurrent connection

> Hello,
>
> Is there any a way to make one user connected to SAPDB with more than two
> application ?
>
> Example:
> USER1 using Application 1 connected to SAPDB with DBNAME TEST1
> USER1 using Application 1 connected to SAPDB with DBNAME TEST2
>
> Is it possible in SAPDB ? because it does in oracle....
>
> Thanks
> Eko Subagio
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: User Concurrent connection

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 23 2003 - 04:05:22 CDT


> Is there any a way to make one user connected to SAPDB with
> more than two
> application ?
>
> Example:
> USER1 using Application 1 connected to SAPDB with DBNAME TEST1
> USER1 using Application 1 connected to SAPDB with DBNAME TEST2

You can open several connections to arbitrary SAP DB databases in one application. With ODBC, JDBC, Python etc., simply create a new connection object/handle. With the C Precompiler, use the CONNECT statement <http://www.sapdb.org/7.4/htmhelp/28/eb166f8725c549b425870a262027ed/frameset.htm>

Or was the question if one SQL user can be connected several times to the same database? In this case, create the user with NOT EXCLUSIVE <http://www.sapdb.org/7.4/htmhelp/48/f0daa5225811d3a97d00a0c9449261/frameset.htm>

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: SAPDB Security , all Passwords

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 23 2003 - 04:08:53 CDT


> i will become a high security. And i will change all
> Passwords how are in the
> SAPDB 7.3 or 7.4. I am really new in the sapdb enviroment.
> I search all Keys or passwords, but i dont wish where there are be.
> Can anymore write me, where all passwords are defined?.
>
> The controll-user has a good dokumentation, but the
> standard-user and teh
> superdba or domain-user isnt understanding for me.

superdba and DOMAIN are SQL users. Their password can be changed with the SQL command ALTER USER <http://www.sapdb.org/7.4/htmhelp/48/f0dab1225811d3a97d00a0c9449261/frameset.htm>, option IDENTIFIED BY

Danel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: User Concurrent connection

From: Eko Subagio (ekosbgcbn.net.id)
Date: Wed Jul 23 2003 - 04:18:03 CDT


Thank you Daniel,

----- Original Message -----
From: "Dittmar, Daniel" <daniel.dittmarsap.com>
To: "'Eko Subagio'" <ekosbgcbn.net.id>; "Sapdb General List"
<sapdb.generallistserv.sap.com>
Sent: Wednesday, July 23, 2003 4:05 PM
Subject: RE: User Concurrent connection

> > Is there any a way to make one user connected to SAPDB with
> > more than two
> > application ?
> >
> > Example:
> > USER1 using Application 1 connected to SAPDB with DBNAME TEST1
> > USER1 using Application 1 connected to SAPDB with DBNAME TEST2
>
> You can open several connections to arbitrary SAP DB databases in one
application. With ODBC, JDBC, Python etc., simply create a new connection
object/handle. With the C Precompiler, use the CONNECT statement
<http://www.sapdb.org/7.4/htmhelp/28/eb166f8725c549b425870a262027ed/frameset
.htm>
>
> Or was the question if one SQL user can be connected several times to the
same database? In this case, create the user with NOT EXCLUSIVE
<http://www.sapdb.org/7.4/htmhelp/48/f0daa5225811d3a97d00a0c9449261/frameset
.htm>
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> daniel.dittmarsap.com
> http://www.sapdb.org/
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: How to migrate data from 7.3 to 7.4 without SDBUPD?

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 23 2003 - 04:15:39 CDT


> I tried to migrate a 7.3.0.25 instance to a 7.4.3.25 instance.

Have you tried the steps described at <http://www.sapdb.org/7.4/htmhelp/88/c290d224d9e140a9c7048ffff0c233/frameset.htm>?

The page
<http://www.sapdb.org/7.4/htmhelp/48/f0dab1225811d3a97d00a0c9449261/frameset.htm> should help you in selecting the right upgrade strategy.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Migrate data from MS sql server 2000 to sapdb in linux

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 23 2003 - 04:58:52 CDT


> I have a database in MS SQL Server 2000 and it has
> around 40 tables and around 800,000 rows in each
> table. I have SAPDB installed in Red hat linux. What
> is the best way to migrate all the data from sql
> server to sapdb. Any help or advice will be
> appreciated

MS SQL Server seems to contain a service to copy table definitions and data between ODBC databases. You'll have to install the SAP DB ODBC driver on your Windows machine, define a data source for your Linux database, start the process and knock on wood.

see <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/replsql/replhet_7feb.asp> for details.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
AW: ! URGENT: migration to 7.4 fails (index problem ?)

From: Gerd König (koenigtransporeon.com)
Date: Wed Jul 23 2003 - 04:22:49 CDT


Hi Torsten,

I'm already in contact with Thomas Anhaus.
I sent him the files and he answered to me that this is
a unknown bug.
He suggested to delete all indices in the 7.3 database,
then migrate and afterwards create the indices.

BTW: deleting the indices inside SQL-Studio and DBM-GUI ended
in sql-error "index not found" for every single index.
But after do a "database check" in the DBM-GUI all indices
disappeared.

Currently I'm in the middle of these steps, so I will also
send you the files and keep you informed of the last status.

thanks ...GERD...

-----Ursprüngliche Nachricht-----
Von: sapdb.general-adminlistserv.sap.com
[mailto:sapdb.general-adminlistserv.sap.com]Im Auftrag von Strahl,
Torsten
Gesendet: Mittwoch, 23. Juli 2003 10:41
An: 'Gerd König'
Cc: Open Source List
Betreff: RE: ! URGENT: migration to 7.4 fails

Hi Gerd,
we need more informations about the crash after the 7.3/7.4 migration.
Please send the knldiag, knldiag.err, dbm.prt and the dbm.utl.

Regards,
Torsten

SAP DB, SAP Labs Berlin

-----Original Message-----
From: Gerd König [mailto:koenigtransporeon.com]
Sent: Dienstag, 22. Juli 2003 21:48
To: sapdb.generallistserv.sap.com
Subject: ! URGENT: migration to 7.4 fails

Hi again,

once again, because I really need to manage the migration process.
I followed the steps(In-Place Migration with SDBINST) from the sapdb doc at:
http://www.sapdb.org/7.4/htmhelp/88/c290d224d9e140a9c7048ffff0c233/frameset.
htm

The first steps works fine, until the database should go to db_online.
This command breaks with the message:
ERR
-24895,ERR_SHUTDOWN: shutdown of database occured
-71,connection broken

the several steps and their output is inside the attachment
(this time I really attached it :-) ).

thanks in advance ...:GERD:...
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


  • application/x-zip-compressed attachment: diags.zip

 
RE: Application Specific Sapdb

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 23 2003 - 05:18:10 CDT


> I am trying to bundle up the SAP database with my
> application. To avoid version inconsistencies, I want to ship
> the SAP version (against which I tested my application) along
> with my application.

It is generally possible to install several versions (or multiple installations of the same version) on one machine.

- they share some files like the communication server
- database names must be unique
- the dabase manager will see all installations and databases

>
> Is there a way we could have my own application specific SAP
> Version installed on a machine (ie., my SAP co-exists with
> another instance of SAP that has already been installed on a
> given machine). I am looking for something like prefixing the
> registry key names and NT Service Names with "MYAPP". Is this
> possible? Has somebody attempted this?

Only if you compile your own version. There doesn't exist a list containing all the items that would have to be changed as well in addition to registry keys and service names. Probably the port for the communication server as well, maybe more ...

> Also, I want to ship a installed directory tree (bundled with
> my app) as opposed to shipping the installer itself

The stuff in <dependent path> is easy, you can simply copy it and call
dbmcli inst_reg ...

The files in the <independent path> need to be installed, because this prevents an older release from overwriting a newer one. And of course you shouldn't remove these files if someone did a seperate SAP DB installation afterwards.

If you look at a windows installation package, you'll notice that it contains a lot of .tgz archives. each archive contains a Perl script (e.g. jdbcinst) which contains all the commands for registration etc.)

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Migrate data from MS sql server 2000 to sapdb in linux

From: Dan Todor (nutziibs.ro)
Date: Wed Jul 23 2003 - 05:39:29 CDT


Unfortunately, that doesn't works, at least with SQL Server 2000 and SAP
7.4.3.25 on same machine and on Redhat 8.0 machine. Tables are created,
views are created as tables, and tables are not populated, probably because
MS SQL DTS doesn't use the user name to fully qualify a table, as SAP DB
requests ( just a guess, didn't had time to do a SQL trace on ODBC driver )

All best,
Dan

Be happy while you're living,
     for you're a long time dead.

----- Original Message -----
From: "Dittmar, Daniel" <daniel.dittmarsap.com>
To: "'poornima ponnuswamy'" <poorni79yahoo.com>;
<sapdb.generallistserv.sap.com>
Sent: Wednesday, July 23, 2003 12:58 PM
Subject: RE: Migrate data from MS sql server 2000 to sapdb in linux

> > I have a database in MS SQL Server 2000 and it has
> > around 40 tables and around 800,000 rows in each
> > table. I have SAPDB installed in Red hat linux. What
> > is the best way to migrate all the data from sql
> > server to sapdb. Any help or advice will be
> > appreciated
>
> MS SQL Server seems to contain a service to copy table definitions and
data between ODBC databases. You'll have to install the SAP DB ODBC driver
on your Windows machine, define a data source for your Linux database, start
the process and knock on wood.
>
> see
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/replsql/re
plhet_7feb.asp> for details.
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> daniel.dittmarsap.com
> http://www.sapdb.org/
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
dataload with newlines

From: Ludwig, Stefan (DZ-SH) (Stefan.Ludwigdzsh.de)
Date: Wed Jul 23 2003 - 06:47:42 CDT


Hi,

There's another problem with dataload:
when reading text files dataload is unable
to correctly process newlines in string values.
It interprets newlines as end-of-records.

Is there any way to avoid this problem?

This would be an even tougher obstacle
than the problem with reading null integer values.

Again, any help or advice is very much appreciated!

Stefan
--
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Update problem

From: Stewart.Gene (gstewartFSICorporate.com)
Date: Wed Jul 23 2003 - 08:23:01 CDT


Hello,

     I'm having a very strange problem and was wondering if anyone has
ever encountered this. In my database I have two tables that get updated
quite a bit. All goes well for a while but eventually when an update is
issued I get the error - Numeric value out of range -3019 POS(8) Invalid
exponent. At that point if I drop the table recreate and reload the data
everything is fine, for a while. Even the update that caused the error
works. But it's only a matter of time (3 or 4 days) before the same
thing happens again. Does anyone have any ideas. I'm using 7.4.3.10 with
Redhat 8.0.

 

 

Gene Stewart

 

Confidentiality Notice:

The information contained in this document (and any attached materials) is privileged and confidential information, intended only for the use of the individual(s) to whom this correspondence is addressed. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately destroy it and notify Financial Services International, Inc. immediately. Thank you for your assistance.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
migration to 7.4 (load_systab) fails

From: Gerd König (koenigtransporeon.com)
Date: Wed Jul 23 2003 - 09:09:53 CDT


Hi,

once more I have problems migrating to version 7.4.
The last step (load_systab) of the migration-process via
"In-Place Migration with SDBINST " results in the error:

ERR
-24909,ERR_DBAUNKNOWN: SYSDBA unknown

I also tried "load_systab -ud xxx" where xxx = several passwords
known to me.
I think load_systab is done by user SYSDBA, but I can't find this
user, and also the needed DOMAIN-password.

The database was created within dbmcli, so do I have to add user
SYSDBA manually (and set DOMAIN password) ? => HOW ??

So:
 - how can I get the SYSDBA settings of my running database
   (dbmcli -> user_getall only shows me "dbm")
 - or how can I set SYSDBA (DOMAIN password) settings in my old 7.3 database
before
   migration starts.

any help appreciated (I'm getting frustrated after 3 days
with no success ;-) )

..:GERD:..

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SAPDB 7.3 AIX 4.3.2 (C++ Upgrade)

From: Joao (joaoinforap.pt)
Date: Wed Jul 23 2003 - 10:24:01 CDT


Hello ppl....

I Have a System with AIX 4.3.2 and C++ runtime 3.6.4.0

Anyone know if I can upgrade C++ Runtime ?

If Yes how?

Tanks,

João

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Older Version...

From: Joao (joaoinforap.pt)
Date: Wed Jul 23 2003 - 10:30:44 CDT


Hello...

I Have a old AIX(4.3.2) and a old C++ runtime (3.6.4.0).

Where Can I Download a version of SAPDB that instals in these
configuration...

(I've tried to install 7.3 but crashes(probably because of C++ runtime
version))

Tanks,
João

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
sapdb 7.3 install error.

From: John Franklin (John.Franklinsylantro.com)
Date: Wed Jul 23 2003 - 12:15:13 CDT


Hi,

Installing sapdb-server-sun-32bit-sparc-7_3_0_21.tgz in solaris is giving a
bus error (coredump) while extracting SAPDBINT.TGZ. Anybody have a solution
or why is this happening?

Regards,
Johnf

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
What is the correct isolation-level for not seeing unccomitted data and no waiting ?

mklwebde-ag.de
Date: Wed Jul 23 2003 - 12:37:17 CDT


I had 2 WEB-SQL-Studio-Browser-Windows,
both connect to teh same datebase as same databse-user,
both autommit off
/( user is created not exclusive )

In one Window I did in the other

select count(*) from testtab

                                              insert into testtab values ( 10,'test')

select count(*) from testtab

I want to see the result in both of the
select count(*) from testtab, since the insert in the other session
is not commited.
I do not want the second select count(*) from testtab waiting
for commit or rollback.

Is this possible ?

In my understanding of the documentation isolationlevel "committed" (= 1 or 10) for both sessions should
be correct for this.
But in my tests with "commited", the result of the second "select count(*) from testtab"
is reuslt of the first "select count(*) from testtab" + 1
this is yust the same as using isolation-level"uncommited" (=0)

When using isolation levels 2,,15,3 the second "select count(*) from testtab" waits for commit or rollback.

I don`t think it`s a bug in WEB-Sql-Studio because I have the same effect in a python-script.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SAP requirements

From: kishore (kishorepowersabre.com)
Date: Wed Jul 23 2003 - 14:42:22 CDT


We have some SAP requirements. Please contact me directly if you are
interested

SAP ABAP/4 - HR modules( must be strong in HR )
Location : jacksonville, FL - 2yr contract

SAP ABAP/4.6 or higher ( Enterprise Dev. Portal Dev Experience )
Location : Orlando, FL - 6 mos. + contract

Kishore Somanathan
904.730.3030 x204 ( off )
904.465.6600( mobile )
www.powersabre.com
www.h1bresources.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Silly SQL question!

From: Noah J SILVA (noah.silvaatofina.com)
Date: Wed Jul 23 2003 - 15:37:10 CDT


Hi,

This is a silly question, not that SAPDB specific I think, but I want to
do something like:

UPDATE
 st
SET
 st.field1 = ot.field1,
 st.field2 = ot.field2
FROM
  spiffy_table st,
  other_table ot
WHERE
  st.key=ot.key

Only SAPDB doesn't like the FROM clause... (I know, I know.. too much
ms-SQL-server...)

I am sure this can be done with a subquery, but have had a mental block on
exactly how... Any ideas?

Thank you,
      Noah Silva
      IS&T - Programmer Analyst
      (215) 419 - 7916

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Silly SQL question!

From: Sergio Samayoa (sergiosamayoaicon.com.gt)
Date: Wed Jul 23 2003 - 16:04:14 CDT


As you said, such syntax is MSSQL specific. AFAIK only MSSQL server and may
be SyBase support that.

You have tree options:

1. Update each field in various UPDATE statements:

UPDATE spiffy_table st
SET
 st.field1 = (select field1 from other_table where key=st.key)

UPDATE spiffy_table st
SET
 st.field2 = (select field2 from other_table where key=st.key)
...

2. Write an SP.

3. Write client application to do that.

-----Mensaje original-----
De: sapdb.general-adminlistserv.sap.com
[mailto:sapdb.general-adminlistserv.sap.com]En nombre de Noah J SILVA
Enviado el: Miercoles, 23 de Julio de 2003 02:37 p.m.
Para: sapdb.generallistserv.sap.com
Asunto: Silly SQL question!

Hi,

This is a silly question, not that SAPDB specific I think, but I want to
do something like:

UPDATE
 st
SET
 st.field1 = ot.field1,
 st.field2 = ot.field2
FROM
  spiffy_table st,
  other_table ot
WHERE
  st.key=ot.key

Only SAPDB doesn't like the FROM clause... (I know, I know.. too much
ms-SQL-server...)

I am sure this can be done with a subquery, but have had a mental block on
exactly how... Any ideas?

Thank you,
      Noah Silva
      IS&T - Programmer Analyst
      (215) 419 - 7916

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SAPDB on the remote server connection slow

From: Eko Subagio (ekosbgcbn.net.id)
Date: Wed Jul 23 2003 - 23:18:58 CDT


Hello,

I test SAPDB on the remote server on the Local Area Network, connection using SAPDB ODBC.
I made a small application to access one table in the workstation.

But when the first attemp to connect getting slow... its takes approximately 1 minute to establish
and get result from SAPDB database server.

I test using Oracle database, and there are no problem with connection,

May be i am wrong when setup SAPDB on the server, but if anyone had experience with this kind
slow connection, help me.....

Thanks
Eko Subagio

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: SAPDB on the remote server connection slow

From: Marcin P (protectedpoczta.onet.pl)
Date: Thu Jul 24 2003 - 01:23:33 CDT


You propably have problems with DNS lookup.
Search in the archives for possible solutions,
Kind Regards,
Marcin
Uzytkownik "Eko Subagio" <ekosbgcbn.net.id> napisal w wiadomosci
news:00cd01c3519a$d3216360$d300a8c0hanindogroup.com...
Hello,

I test SAPDB on the remote server on the Local Area Network, connection
using SAPDB ODBC.
I made a small application to access one table in the workstation.

But when the first attemp to connect getting slow... its takes approximately
1 minute to establish
and get result from SAPDB database server.

I test using Oracle database, and there are no problem with connection,

May be i am wrong when setup SAPDB on the server, but if anyone had
experience with this kind
slow connection, help me.....

Thanks
Eko Subagio

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Migrate data from MS sql server 2000 to sapdb in linux

From: Dan Todor (nutziibs.ro)
Date: Thu Jul 24 2003 - 01:30:33 CDT


Maybe I got misunderstood, I never suggested to give up on DTS. However, this workaround will not work for me, as I tried to migrate a 2000+ tables app to SAP from MS SQL and I don't intend to modify by hand each table name..
The generation of tables went OK, I wrote a small Java app that is generated insert statements from MS SQL in the syntax SAP DB likes them. I could easily pass the fact that views are generated as tables.
However, I'm stuck in the fact that defining a view ( which is sintax-checked with no problems) kills the server on W2K with 'implicit server restart' ( message I don't quite understand, as the server is not restarted, but shut down), I allready posted the view on this group, but nobody seems to care or to have a solution. So, as you suggested, I will not give up on DTS and MS SQL.

Thanks for your suggestions.

All best,
Dan

Be happy while you're living,
     for you're a long time dead.
  ----- Original Message -----
  From: John Neal
  To: Dan Todor ; sapdb.generallistserv.sap.com
  Sent: Thursday, July 24, 2003 6:41 AM
  Subject: Re: Migrate data from MS sql server 2000 to sapdb in linux

  If you use the click box on the receiving column of the DTS screen, you will be able to add the owner prefix to each of the receiving tables. If your table names are lower case, mixed case or other than upper case, surround them with quotation marks in the same box. The tables and data will then go accross "auto-magically". Just migrated 27 tables and data from Sybase to SAPdb. Worked like a champ after those changes.
  NOTE: I did not have any views defined.

  but, don't give up on Microsoft DTS without trying if you play with it a little you should have very good results.
  John Neal
    ----- Original Message -----
    From: Dan Todor
    To: sapdb.generallistserv.sap.com
    Sent: Wednesday, July 23, 2003 6:39 AM
    Subject: Re: Migrate data from MS sql server 2000 to sapdb in linux

    Unfortunately, that doesn't works, at least with SQL Server 2000 and SAP
    7.4.3.25 on same machine and on Redhat 8.0 machine. Tables are created,
    views are created as tables, and tables are not populated, probably because
    MS SQL DTS doesn't use the user name to fully qualify a table, as SAP DB
    requests ( just a guess, didn't had time to do a SQL trace on ODBC driver )

    All best,
    Dan

    Be happy while you're living,
         for you're a long time dead.

    ----- Original Message -----
    From: "Dittmar, Daniel" <daniel.dittmarsap.com>
    To: "'poornima ponnuswamy'" <poorni79yahoo.com>;
    <sapdb.generallistserv.sap.com>
    Sent: Wednesday, July 23, 2003 12:58 PM
    Subject: RE: Migrate data from MS sql server 2000 to sapdb in linux

> > I have a database in MS SQL Server 2000 and it has
> > around 40 tables and around 800,000 rows in each
> > table. I have SAPDB installed in Red hat linux. What
> > is the best way to migrate all the data from sql
> > server to sapdb. Any help or advice will be
> > appreciated
>
> MS SQL Server seems to contain a service to copy table definitions and
    data between ODBC databases. You'll have to install the SAP DB ODBC driver
    on your Windows machine, define a data source for your Linux database, start
    the process and knock on wood.
>
> see
    <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/replsql/re
    plhet_7feb.asp> for details.
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> daniel.dittmarsap.com
> http://www.sapdb.org/
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

    _______________________________________________
    sapdb.general mailing list
    sapdb.generallistserv.sap.com
    http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Bug with Update? Related to Locking? - GATING ISSUE, PLEASE H ELP!

From: Strahl, Torsten (torsten.strahlsap.com)
Date: Thu Jul 24 2003 - 04:01:54 CDT


Hi David,
the problem you described looks like an error, which was fixed with 7.4.3.20.
See the following PTS note

http://www.sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1121565

The error was "implemented" with 7.4.3.17:

http://www.sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1120641

I assume you are using 7.4.3, because the vtrace shows the following
release and application information "70400-ODB". If not please send me
the database release identification.

If the new patch will not solve your problem, please send me the complete
vtrace. Please do not edit the trace, because the problem is caused by the
interaction of several tasks.

BTW:

I think you recognize the subsequent part of the vtrace you send to the
mailing list. b03del_inv means that an index record should be removed from
an index tree. The index record is specified by an index Key and a primary Key.
After the operation is finished you can see b03del_inv root XXX e_ok.
This means that the operation was finished successfully (e_ok) and XXX
identifies the root page of the corresponding index tree.

>b13exclusive pno 104371

means the exclusive access of index root page 104371 is not possible,
because at least one share lock exist. Caused by the error described
above, the sleep phase of the task "executing b13exclusive" could be
extrem long.
                                  

>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C242
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C242
>b13exclusive pno 104371 <= WAIT for index root page access

Select * from ROOTS where root = 104371 will show you which index
of your base table (table root = 44819) causes the problem.

Regards,
Torsten

SAP DB, SAP Labs Berlin

-----Original Message-----
From: dhaylexmark.com [mailto:dhaylexmark.com]
Sent: Montag, 21. Juli 2003 22:55
To: sapdb.generallistserv.sap.com
Subject: Re: Bug with Update? Related to Locking? - GATING ISSUE, PLEASE
HELP!

Hi,

We are still experiencing this problem, and it is readily reproducable on
our end.

As explained below, the database periodically gets "hung" performing an
Update that never returns.

I have added a Select on the relevant table before the Update, to make sure
the code does have a lock on the table, and that works fine. I have also
tried replacing the Update with an Insert, but this hangs periodically too.

It **acts** as if the code is waiting for a lock on the tables that it
already has a lock on, which is wierd. We only see three locks in the
Locks table, which is correct.

PLEASE could one of the SAP guys, (or anyone else!), take a look at the
trace information provided below? Can anyone please explain what the
statement in the trace

>b13exclusive pno 104371

means?

This is proving to be a BIG problem, so would be very grateful if someone
could help.

Please let me know if I can provide any more information.

Many thanks in advance,

David

---------------------- Forwarded by David Hay/Lex/Lexmark on 21/07/2003
04:48 PM ---------------------------

David Hay
17/07/2003 03:25 PM

To: "Becker, Holger" <holger.beckersap.com>
cc: sapdb.generallistserv.sap.com

Subject: Bug with Update? Related to Locking? (Document link: David
       Hay)

Hi,

We are seeing some strange behaviour.

We issue some locks on 3 tables when we upload a form (as a lot of other
processing goes on), so if someone else is trying to access the table they
correctly have to wait. When the lock is released they get access to the
table and everything is fine.

EXCEPT in ***some*** situations when the first person (with the locks)
performs an UPDATE call. We are seeing the update just hang and never
return. Consequently we don't drop through our code to the unlock and
everything hangs.

But why should the Update call never return, and only in some situations?

We have captured the vtrace, and the update that returns and the one that
doesn't are both the same in this respect:

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(483.3282 page 483)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i371058470053450', Pages = 2, Title = '30', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(16): 'JDBC_CURSOR_1458'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 76304; *** key_not_found ***
>KB05 id1193/-2549 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C237
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 9; fid = 0
                fn: 1A00 0000000000091B20 000000000000
 b01t_reset root 17433; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 17433; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C237
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C237
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C237
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C237

From there, though, the one does NOT work finishes that particular block (and apparently hangs) with

>b13exclusive pno 104371

whereas the one the DOES work continues with

 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

It appears that a return_result is never issued for the first one, but the question is why?

Does anyone know what ">b13exclusive pno 104371" means?

A fuller copy of the trace for each one is below.

Many thanks in advance,

David

***Update request that does NOT return

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(298.2426 page 298)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i421058544455209', Pages = 2, Title = '26', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(14): 'JDBC_CURSOR_99'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 61423; *** key_not_found ***
>KB05 id1175/-14592 get direct SYS1CAT key(12):
     00000000 000002A0 00150005
>b02get key(12): 00000000 000002A0 00150005
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>b07cget key(12): 00000000 000002A0 00950005
 b07cget root 61423; *** key_not_found ***
>KB05 id1175/-14592 get direct SYS1CAT key(12):
     00000000 000002A0 00180005
>b02get key(12): 00000000 000002A0 00180005
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>KB05 id1175/-14592 get direct SYS1CAT key(13):
     00000000 000002A0 00180005 01
>b02get key(13): 00000000 000002A0 00180005 01
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>KB05 id1175/-14592 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C242
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 29; fid = 0
                fn: 1A00 00000000001D1B20 000000000000
 b01t_reset root 1891; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 1891; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C242
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C242
>b13exclusive pno 104371

===== T44 ===== id164 ================================299.220 page 299

*
*
*

*** Update request that finishes normally.

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(384.5922 page 384)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i351058542041839', Pages = 2, Title = '24', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(15): 'JDBC_CURSOR_354'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 46809; *** key_not_found ***
>KB05 id1173/-10750 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C235
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01t_reset root 2431; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 2431; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C235
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C235
 b03del_inv root 104371; e_ok
>b03del_inv Inv Key(8): 00C23500 00000000
            PrimKey(3): 00C235
 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(384.5922 page 384)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i351058542041839', Pages = 2, Title = '24', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(15): 'JDBC_CURSOR_354'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 46809; *** key_not_found ***
>KB05 id1173/-10750 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C235
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01t_reset root 2431; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 2431; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C235
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C235
 b03del_inv root 104371; e_ok
>b03del_inv Inv Key(8): 00C23500 00000000
            PrimKey(3): 00C235
 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

REQUEST: ascii, full_swap, 70403-XCI (1 segment, len: 0)
(385.700 page 385)
   execute SEGMENT 1 (2 parts, len: 256)
         session_sqlmode, user_cmd
   parsid PART (1 argument, size: 16296)
         mess_type: update
         buf(12):
         0000003A 00004B01 4C000000
   data PART (1 argument, size: 16264)
         buf(168):
         ' 24 '
         ' 24 '
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 44819; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 59709; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval StartKey(3): ' 24'
         Stop Key(3): ' 24'
 b03eval root 59709; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 74597; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 89483; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 104371; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 155; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 15045; e_ok
         PageCnt 1; AllPageCnt 1
>KB05 id1173/-10238 update qual TABID 0-02A0 zerokey
>b02first_ql zerokey
 b02first_ql root 44819; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b02next_qual key(3): 00C235
 b02next_qual root 44819; *** no_next_record ***
 KB05 id1173/-10238 return_result
RECEIVE: ascii, full_swap, 70403-XCI (1 segment, len: 64)
(385.2992 page 385)
   ok / RETURN SEGMENT 1 (1 part, len: 64)
         update_fc, sqlstate: '00000'
         external WARNING 0: warning_exists
         external WARNING 8: table_scan
   resultcount PART (1 argument, size: 35752)
         result_count: 1
>b01destroy tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01destroy root 2431; e_ok
RECEIVE: ascii, normal_swap, 70400-ODB (1 segment, len: 64)
(385.3210 page 385)
   ok / RETURN SEGMENT 1 (1 part, len: 64)
         update_fc, sqlstate: '00000'
   resultcount PART (1 argument, size: 35784)
         result_count: 1

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 96)
(385.3354 page 385)
   dbs SEGMENT 1 (2 parts, len: 96)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(6): 'COMMIT'
   resulttablename PART (1 argument, size: 32224)
         buf(15): 'JDBC_CURSOR_355'
>KB05 id1173 commit

===== T2 ===== nil.idnil ============================385.3586 page 385

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Timestamp support for nanosecond?

From: Cedric Cuche (cedric.cucheChemspeed.com)
Date: Thu Jul 24 2003 - 04:53:13 CDT


Hello,
We should save into a database table some timestamp values.
The documentation do not provide any information about nanosecond within a TIMESTAMP, but the size of the MILISECOND in the type is big enough to contain it....does it?

As an input, we have a double like "8476.12" with represent the delta in [ms] from an other date "2003.14.03:12:45:02".
We use a java.sql.Timestamp rather than Date to hold this time (should handle nanosecond !)...here is the code to generate the Timestamp (with jdk.1.4.X).
Timestamp instant = new Timestamp(startDate.getTime()+new Double(inputtime).longValue())
instant.setNanos(instant.getNanos()+1234); //to be sure that timestamp has the nanoseconds within

We then insert this instant time inside the SAPDB database using the sapdb jadbc driver.
st.setTimestamp(3, instant);

Does the sapdb TIMESTAMP store the nanosecond value of a java.sql.Timestamp object?
Is there a better way to store this date/time with nanosecond information into a SAPDB instance?

Thank a lot for any help

Cedric

Cedric Cuche
Software Development
Chemspeed Ltd.
Rheinstrasse 32
CH-4302 Augst
phone: +41 (61) 816 95 00
fax: +41 (61) 816 95 09
e-mail: cedric.cuchechemspeed.com
visit our web-site: http://www.chemspeed.com

 <<Cedric Cuche.vcf>>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Performance-Lag with "where exist (subquery(subquery))" ?

From: Danny Tramnitzke (vadusgmx.de)
Date: Thu Jul 24 2003 - 05:12:07 CDT


Hi all back

Today I tried out the 25-BuildVersion of sapdb, hopening for a performance
increase. But there is still a Query, which takes more than 10 minutes (
after that time I killed the process).

So I seperated the subqueries from that Query, and found out, that they are
the main reason for the performance lag. They take about 20 seconds while
first executing. Strange: they only take 2-3 seconds, while executing them
a second or a thirt time.. (maybe, there is saved some DATA in a Cache ? )
But I guess, the main problem are the ca. 20 seconds, they need the first
time. So the hole query has 3 Subqueries. The main Query without the
subqueries takes only some seconds, and so should it be.

The Subqueries have the following form :

(
Select 1 from SYSDBA.DUAL where exists (
select a.column from view a, view b, view c where condition1 and condition2
and condition3 and condition4 and condition5 and not exist (
select d.column from view d, view e, view f where condition1 and condition2
and condition3 and condition4 and condition5)
)

You see, there are also Subqueries in Subqueries.
The EXPLAIN Statement tells me, that there is only one Tablescan on the
DUAL Table, else only used Indices.
The Statistics is also up to date...

Best regards,
Danny

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Timestamp support for nanosecond?

From: Schroeder, Alexander (alexander.schroedersap.com)
Date: Thu Jul 24 2003 - 07:03:21 CDT


Hello Cedric,

SAP DB's time stamp have a resolution of microseconds (1microsecond = 0. 000 001 s),
wheras 1 nanosecond would be 0.000 000 001 second.

Be sure to use a recent JDBC driver, has we had some problem with fractional seconds set
to zero some time ago.

BTW, your program will clear out the fractional part of the milli seconds by using
Double.longValue() which might not have been what you want,
a long in java is maximal 2^63-1, so there is room in it for about 300 years even if the
time is expressed in nanoseconds ...

Alexander Schröder
SAP DB, SAP Labs Berlin
-----Original Message-----
From: Cedric Cuche [mailto:cedric.cucheChemspeed.com]
Sent: Thursday, July 24, 2003 11:53 AM
To: sapdb.generallistserv.sap.com
Subject: Timestamp support for nanosecond?

Hello,
We should save into a database table some timestamp values.
The documentation do not provide any information about nanosecond within a TIMESTAMP, but the size of the MILISECOND in the type is big enough to contain it....does it?
As an input, we have a double like "8476.12" with represent the delta in [ms] from an other date "2003.14.03:12:45:02".
We use a java.sql.Timestamp rather than Date to hold this time (should handle nanosecond !)...here is the code to generate the Timestamp (with jdk.1.4.X).
Timestamp instant = new Timestamp(startDate.getTime()+new Double(inputtime).longValue())
instant.setNanos(instant.getNanos()+1234); //to be sure that timestamp has the nanoseconds within
We then insert this instant time inside the SAPDB database using the sapdb jadbc driver.
st.setTimestamp(3, instant);
Does the sapdb TIMESTAMP store the nanosecond value of a java.sql.Timestamp object?
Is there a better way to store this date/time with nanosecond information into a SAPDB instance?
Thank a lot for any help
Cedric

Cedric Cuche
Software Development
Chemspeed Ltd.
Rheinstrasse 32
CH-4302 Augst
phone: +41 (61) 816 95 00
fax: +41 (61) 816 95 09
e-mail: cedric.cuchechemspeed.com
visit our web-site: http://www.chemspeed.com
<<Cedric Cuche.vcf>>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
dataloading null values

From: Ludwig, Stefan (DZ-SH) (Stefan.Ludwigdzsh.de)
Date: Thu Jul 24 2003 - 08:25:11 CDT


Hello,

Is there any way to load null values with the dataload command?
In loadercli.exe (sapdb version 7.4) I'm using the command

dataload table foo instream file 'foo.dat' null '?' separator '' delimiter ''

Null string values in the file foo.dat are interpreted
as the string "?". Null integer values are rejected.
It seems that dataload ignores the null option.

What am I doing wrong???
Maybe this time anyone can help, it would be appreciated.

Stefan
--
Datenzentrale Schleswig Holstein, Anstalt des öff. Rechts
Altenholzer Straße 10-14, Postfach 1780, 24016 Kiel
Telefon: (0431) 3295-6429
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Query Bug

From: Robert Krueger (kruegersignal7.de)
Date: Thu Jul 24 2003 - 08:43:49 CDT


Hi,

I encountered a strange bug.

the query (I know the conditions don't make sense but still it shouldn't
behave that way):

select ATH_ID, ATH_FIRSTNAME, ATH_LASTNAME

from V_ATHLETE_INFO, ADDRESS, COUNTRY

where ATH_ADR_ID=ADR_ID
AND ADR_CTR_ISO=COUNTRY.CTR_ISO
AND ATH_STATUS = 1
AND (NOT ATH_STATUS = 2 AND NOT ATH_STATUS = 3)
AND ATH_PF_ONLY = false
AND ATH_DSC_ID = 'sfd'

results in

[-8004] (at 239): Constant must be compatible with column type and length

if I change the order of the conditions it works, e.g. like so:

select ATH_ID, ATH_FIRSTNAME, ATH_LASTNAME

from V_ATHLETE_INFO, ADDRESS, COUNTRY

where ATH_ADR_ID=ADR_ID
AND ADR_CTR_ISO=COUNTRY.CTR_ISO
AND ATH_STATUS = 1
AND ATH_DSC_ID = 'sfd'
AND (NOT ATH_STATUS = 2 AND NOT ATH_STATUS = 3)
AND ATH_PF_ONLY = false

That looks like a bug to me. Do you need all table and view definitions to
investigate further?

This happens on 7.3 and 7.4 (7.4.3 build 017-123-039-277).

Regards,

Robert

 
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Using replication for fault tolerance.

From: Lon Palmer (lpalmertridentms.com)
Date: Thu Jul 24 2003 - 08:48:53 CDT


Hello All,

I'm to the point where I'd like to use create a copy of my SAP DB server and
have it be a rollover server via replication or some such mechanism. After
reading the SAP DB Replication manager documentation I'm concerned that the
updates to roll over server could not be accomplished in real time. Does
SAP DB have a real time replication functionality or has anyone been able to
create one with third party vendors or a software solution.

I'm not interested in spending the money for a clustering solution just yet
so lets leave that response out. Also, I know that MySQL does have real
time replication ( at least it use to ) so now that SAP and MySQL are
merging would SAP DB include real-time replication in a future release?

Thanks,

Lon Palmer
Software Engineer
Trident Micro Systems

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Performance-Lag with "where exist (subquery(subquery))" ?

From: Zabach, Elke (elke.zabachsap.com)
Date: Thu Jul 24 2003 - 08:47:09 CDT


Danny Tramnitzke wrote:
>
> Hi all back
>
> Today I tried out the 25-BuildVersion of sapdb, hopening for
> a performance
> increase. But there is still a Query, which takes more than
> 10 minutes (
> after that time I killed the process).
>
> So I seperated the subqueries from that Query, and found out,
> that they are
> the main reason for the performance lag. They take about 20
> seconds while
> first executing. Strange: they only take 2-3 seconds, while
> executing them
> a second or a thirt time.. (maybe, there is saved some DATA
> in a Cache ? )
> But I guess, the main problem are the ca. 20 seconds, they
> need the first
> time. So the hole query has 3 Subqueries. The main Query without the
> subqueries takes only some seconds, and so should it be.
>
> The Subqueries have the following form :
>
> (
> Select 1 from SYSDBA.DUAL where exists (
> select a.column from view a, view b, view c where condition1
> and condition2
> and condition3 and condition4 and condition5 and not exist (
> select d.column from view d, view e, view f where condition1
> and condition2
> and condition3 and condition4 and condition5)
> )
>
>
> You see, there are also Subqueries in Subqueries.
> The EXPLAIN Statement tells me, that there is only one
> Tablescan on the
> DUAL Table, else only used Indices.
> The Statistics is also up to date...

I do not think that you told us all what is needed.
Exists-Subqueries are ... well, strange, not to say stupid
if they do not include correlations.
Therefore I assume you do not have a simple subquery
(as it seems if your shortened 'example' is seen) but
a correlated subquery.
But then I do not know how you could seperate those
subqueries from the whole subquery without changing the conditions.

To shorten things:
please provide the real statement and the explain for this.

Thank you
Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Query Bug

From: Zabach, Elke (elke.zabachsap.com)
Date: Thu Jul 24 2003 - 08:50:06 CDT


Robert Krueger wrote:
>
> Hi,
>
> I encountered a strange bug.
>
> the query (I know the conditions don't make sense but still
> it shouldn't
> behave that way):
>
> select ATH_ID, ATH_FIRSTNAME, ATH_LASTNAME
>
> from V_ATHLETE_INFO, ADDRESS, COUNTRY
>
> where ATH_ADR_ID=ADR_ID
> AND ADR_CTR_ISO=COUNTRY.CTR_ISO
> AND ATH_STATUS = 1
> AND (NOT ATH_STATUS = 2 AND NOT ATH_STATUS = 3)
> AND ATH_PF_ONLY = false
> AND ATH_DSC_ID = 'sfd'
>
> results in
>
> [-8004] (at 239): Constant must be compatible with column
> type and length
>
> if I change the order of the conditions it works, e.g. like so:
>
> select ATH_ID, ATH_FIRSTNAME, ATH_LASTNAME
>
> from V_ATHLETE_INFO, ADDRESS, COUNTRY
>
> where ATH_ADR_ID=ADR_ID
> AND ADR_CTR_ISO=COUNTRY.CTR_ISO
> AND ATH_STATUS = 1
> AND ATH_DSC_ID = 'sfd'
> AND (NOT ATH_STATUS = 2 AND NOT ATH_STATUS = 3)
> AND ATH_PF_ONLY = false
>
> That looks like a bug to me. Do you need all table and view
> definitions to
> investigate further?
>

It would make things easier and would help in our situation
being some people on holiday and the working stack of the
remaining increasing.

Thank you

Elke
SAP Labs Berlin

> This happens on 7.3 and 7.4 (7.4.3 build 017-123-039-277).
>
> Regards,
>
> Robert
>
>
>
>
>
>
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Query Bug

From: Robert Krueger (kruegersignal7.de)
Date: Thu Jul 24 2003 - 09:47:27 CDT


Here you go. I exported the relevant table and view definitions. The entire
schema is huge (171 tables and +20 views) so I guess it doesn't make sense to
export that.

Hope this helps,

Best regards,

Robert

> >
> > That looks like a bug to me. Do you need all table and view
> > definitions to
> > investigate further?
>
> It would make things easier and would help in our situation
> being some people on holiday and the working stack of the
> remaining increasing.
>
> Thank you
>
> Elke
> SAP Labs Berlin
>
> > This happens on 7.3 and 7.4 (7.4.3 build 017-123-039-277).
> >
> > Regards,
> >
> > Robert
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > sapdb.general mailing list
> > sapdb.generallistserv.sap.com
> > http://listserv.sap.com/mailman/listinfo/sapdb.general
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general



 
Help Me

From: alan alves da silva (alanawc.com.br)
Date: Thu Jul 24 2003 - 10:49:12 CDT


Hi,

This view error when to make test DBSAP.
Connection failed to node (local) for database ( no dbname ): Error starting dbmsrv

How to configuration/install o DBSAP for Windows.

Already I carried through downloads of the following archives:

sapdb-all-win-32bit-i386-7_4_3_25.zip / DATABASE : YES, to confirm

dbmgui74-setup.exe / Client : YES, to confirm

Thanks all,

alan

it forgives me for the English / I am Brazilian

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Kernel crash on simple select

From: Jason T Marcotte (JTMarcotthoughtworks.com)
Date: Thu Jul 24 2003 - 11:06:35 CDT


Running DBMServer 7.4.3 Build 017-123-039-277 on Windows XP, I receive
the following error when performing any select against a given table.
Interestingly enough, this seems very similar to an issue I raised a
couple months ago.....
http://listserv.sap.com/pipermail/sapdb.general/2003-July/022246.html .
After applying the fix from my previous problem (reducing the number of
Data and Log files to 1), this problem has come up - and the kernel
crashes when selecting against the same table as before. There's nothing
unusual about this table - I'm guessing it is simply the placement on the
disk or in memory that has remained unchanged.

2003-07-24 13:36:53 --- Starting GMT
2003-07-24 13:36:53 7.4.3 Build 017-123-039-277
2003-07-24 13:42:19 0x410 ERR 18006 EXCEPT EXCEPTION:0xc0000005
Addr:0x454527 ( 0:0x52430a54:0:0 )
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE SymbolSearchPath:
c:\Program Files\sapdb\indep_data\wrk\ECLIPSE;C:\PROGRAM
FILES\SAPDB\DEPEND\pgm;C:\PROGRAM FILES
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE
\SAPDB\DEPEND\symbols;C:\PROGRAM
FILES\SAPDB\DEPEND\sap;C:\WINDOWS;C:\PROGRAM FILES\SAPDB\DEPEND
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE \sap\
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE ----> Register Dump
<----
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE Eax=0x52430a54
Ebx=0x7a76a050 Ecx=0xfffffe0d Edx=0x7f8cd101 Esi=0x7f8cd16c Edi=0x7a76a050
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE Eip=0x00454527
Esp=0x048c5714 Ebp=0x048c5720
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE Cs=0x001b Ss=0x0023
Ds=0x0023 Es=0x0023 Fs=0x0038 Gs=0x0000 Efl=0x10282
2003-07-24 13:42:19 0x410 ERR 19999 BTRACE ----> Module List <----
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE |.text Start |.text End
| Module File Name
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x00400000 |
0x008b9000 | C:\PROGRAM FILES\SAPDB\DEPEND\pgm\kernel.exe
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x04ae0000 |
0x04b34000 | C:\WINDOWS\System32\MSVCR70.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x04b50000 |
0x04c05000 | C:\PROGRAM FILES\SAPDB\DEPEND\pgm\dbghelp.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x10000000 |
0x10053000 | C:\PROGRAM FILES\SAPDB\DEPEND\pgm\liboms.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x70a70000 |
0x70ad4000 | C:\WINDOWS\system32\SHLWAPI.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x71950000 |
0x71a34000 |
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE |
f7fb5805\comctl32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x71aa0000 |
0x71aa8000 | C:\WINDOWS\System32\WS2HELP.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x71ab0000 |
0x71ac5000 | C:\WINDOWS\System32\WS2_32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76000000 |
0x7600d000 | c:\Program Files\sapdb\indep_prog\pgm\sqltcp.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76c90000 |
0x76cb2000 | C:\WINDOWS\system32\imagehlp.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76f20000 |
0x76f45000 | C:\WINDOWS\System32\DNSAPI.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76f90000 |
0x76fa0000 | C:\WINDOWS\System32\Secur32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76fc0000 |
0x76fc5000 | C:\WINDOWS\System32\rasadhlp.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x771b0000 |
0x772d1000 | C:\WINDOWS\system32\ole32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77340000 |
0x773cb000 | C:\WINDOWS\system32\comctl32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x773d0000 |
0x77bc7000 | C:\WINDOWS\system32\SHELL32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77c00000 |
0x77c07000 | C:\WINDOWS\system32\VERSION.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77c10000 |
0x77c63000 | C:\WINDOWS\system32\msvcrt.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77c70000 |
0x77cb0000 | C:\WINDOWS\system32\GDI32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77d40000 |
0x77dcc000 | C:\WINDOWS\system32\USER32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77dd0000 |
0x77e5d000 | C:\WINDOWS\system32\ADVAPI32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77e60000 |
0x77f46000 | C:\WINDOWS\system32\kernel32.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77f50000 |
0x77ff7000 | C:\WINDOWS\System32\ntdll.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x78000000 |
0x78086000 | C:\WINDOWS\system32\RPCRT4.dll
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE ----> Stack Back Trace
<----
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a06find_colinfo +
71 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00454527 RA:005cc66c FP:048c5720 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:7f8cd16c 02:7a76a050 03:048c5f4c 04:048c87c0
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_ak723analyze_output + 508 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:005cc66c RA:005cc8ee FP:048c5f5c SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:048cc688 03:048c87c0 04:048cbfdc
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_a723analyse_used_cols + 30 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:005cc8ee RA:005b8eae FP:048c5f90 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:048cc688 03:048c87c0 04:048cbfdc
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a70strategy +
702 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:005b8eae RA:005b7f8f FP:048cbfa0 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:048cc688 03:048cbfdc 04:048cc204
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_a70_strategy_search + 1359 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:005b7f8f RA:00577fc4 FP:048cc22c SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:048cc688 03:048cc584 04:048cc65c
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_a67_sel2_second_part + 644 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00577fc4 RA:00578d1f FP:048cc26c SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:048cc688 03:048cc584 04:00000001
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_a67_s_sel_second_part + 143 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00578d1f RA:00592a1f FP:048cc29c SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:048cc688 03:008cc584 04:048cc65c
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a660_query_execute
+ 5807 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00592a1f RA:00592f7e FP:048cc618 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:00000000 02:048cc688 03:00000020 04:00000001
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a660select +
478 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00592f7e RA:00593335 FP:048cc664 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:00000001 03:048cc688 04:048dd9da
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a660_select +
773 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00593335 RA:004b4a67 FP:048dd9dc SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:00000001 03:00000000 04:048de1a0
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_ak35call_semantik
+ 1255 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:004b4a67 RA:004b5f64 FP:048dda14 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:003f0200 03:ffffe49d 04:048de1a0
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a35_asql_statement
+ 3636 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:004b5f64 RA:0056a487 FP:048dda60 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:003f01c8 03:00000001 04:048de1a0
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_ak92not_only_execute + 1687 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:0056a487 RA:0056b6bf FP:048ddb18 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:048ddc28 03:048ddc3e 04:048ddc08
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_ak92analyze_messagetype + 1103 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:0056b6bf RA:0056b8fd FP:048ddc30 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048de1a0 02:00000000 03:00000000 04:00000000
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a92_mode_analyzer
+ 205 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:0056b8fd RA:0057e5f6 FP:048ddc78 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:028de1a0 02:00000000 03:00000000 04:00000001
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_ak93one_command +
982 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:0057e5f6 RA:0057f356 FP:048ddce0 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:00000001 03:003f01c8 04:00000001
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE kernel!_a93_user_commands
+ 758 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:0057f356 RA:004342e5 FP:048ddd6c SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:048de18f 03:048de19b 04:048dff14
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_ak91run_sql_process + 85 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:004342e5 RA:004343f1 FP:048de190 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:008de1a0 02:048dff14 03:003f01a8 04:003f02b0
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_ak91run_user_process + 225 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:004343f1 RA:00434439 FP:048df7b8 SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:048dff14 02:00000003 03:048dff14 04:048dfefc
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
kernel!_a91mainprogam_with_allocator + 57 bytes
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
IP:00434439 RA:0069e44c FP:048df7cc SP:048c5714
2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
01:038dff14 02:77f5150c 03:7fee4dd8 04:007b3900
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
kernel!_gg941CreateAllocatorAndCallMainprog + 124 bytes
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
IP:0069e44c RA:00434468 FP:048dfefc SP:048c5714
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
01:048dff03 02:048dff5c 03:0000000c 04:048dff14
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE kernel!_a91mainprogram
+ 40 bytes
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
IP:00434468 RA:006ee08f FP:048dff78 SP:048c5714
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
01:77f5150c 02:77f51502 03:7ff6ad58 04:00000000
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
kernel!_sql88k_kernel_fiber4 + 191 bytes
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
IP:006ee08f RA:77e7d33b FP:048dffb4 SP:048c5714
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
01:7ff6ad58 02:77f5150c 03:77f51502 04:7ff6ad58
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
kernel32!RegisterWaitForInputIdle + 67 bytes
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
IP:77e7d33b RA:77e746cf FP:048dffec SP:048c5714
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
01:006edfd0 02:7ff6ad58 03:00000000 04:00000000
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
kernel32!ConvertThreadToFiber + 137 bytes
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
IP:77e746cf RA:7ff6ad58 FP:048dfef0 SP:048c5714
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
01:77f5150c 02:048dff78 03:00434468 04:048dff03

2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SymGetModuleInfo()
failed, rc = 126
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE ?!7ff6ad58 <nosymbols>
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
IP:7ff6ad58 RA:00000000 FP:00000101 SP:048c5714
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
01:00000000 02:00000000 03:00000000 04:00000000
2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SymGetLineFromAddr()
failed, rc = 126
2003-07-24 13:42:21 0x410 ERR 20000 INFO No crash dump file
'knlcrash.dmp' written
2003-07-24 13:44:50 --- Starting GMT
2003-07-24 13:44:50 7.4.3 Build 017-123-039-277
2003-07-24 13:50:23 --- Starting GMT
2003-07-24 13:50:23 7.4.3 Build 017-123-039-277

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
bug report

From: Noah J SILVA (noah.silvaatofina.com)
Date: Thu Jul 24 2003 - 13:27:01 CDT


Hi,

I managed to bring the [7.3.x] DB kernel down with the following mistype
from SQL Studio:

Alter user xyz
default role not exclusive

It took some time to time out, and the the DB was disconnected and
offline. Bring it back online worked on the first try.

If more information is required, I can provide it.

Thank you,
      Noah Silva
      IS&T - Programmer Analyst
      (215) 419 - 7916

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
service_connect fails: -24993,ERR_RTEEXT: runtime environment error

From: Thorn Roby (trobylibertysite.com)
Date: Thu Jul 24 2003 - 13:52:55 CDT


I'm trying to run recover_check on a tape backup but when I try to
establish a service connection I get the above error. The messages
document says nothing useful about this error. I've tried stopping and
starting all processes (sometimes this helps to get a utility session)
but that made no difference. There are no relevant messages in the logs.
The same error occurs whether using the GUI, attempting a
service_execute command within dbmcli or using the -uSVC argument.
7.3.21, RedHat 8.0.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Silly SQL question!

From: Noah J SILVA (noah.silvaatofina.com)
Date: Thu Jul 24 2003 - 15:14:44 CDT


Thanks Sergio,

Actually, I had tried something like this, but the provlem here is that
the inner query isn't corrolated to the outer query, and so returns every
row where ot.key = st.key. The outer query then throws an error "More
than one result row not allowed."

Thank you,
      Noah Silva
      IS&T - Programmer Analyst
      (215) 419 - 7916

"Sergio Samayoa" <sergiosamayoaicon.com.gt>
07/23/2003 05:04 PM

 
        To: "Noah J SILVA" <noah.silvaatofina.com>, <sapdb.generallistserv.sap.com>
        cc:
        Subject: RE: Silly SQL question!

As you said, such syntax is MSSQL specific. AFAIK only MSSQL server and
may
be SyBase support that.

You have tree options:

1. Update each field in various UPDATE statements:

UPDATE spiffy_table st
SET
 st.field1 = (select field1 from other_table where key=st.key)

UPDATE spiffy_table st
SET
 st.field2 = (select field2 from other_table where key=st.key)
...

2. Write an SP.

3. Write client application to do that.

-----Mensaje original-----
De: sapdb.general-adminlistserv.sap.com
[mailto:sapdb.general-adminlistserv.sap.com]En nombre de Noah J SILVA
Enviado el: Miercoles, 23 de Julio de 2003 02:37 p.m.
Para: sapdb.generallistserv.sap.com
Asunto: Silly SQL question!

Hi,

This is a silly question, not that SAPDB specific I think, but I want to
do something like:

UPDATE
 st
SET
 st.field1 = ot.field1,
 st.field2 = ot.field2
FROM
  spiffy_table st,
  other_table ot
WHERE
  st.key=ot.key

Only SAPDB doesn't like the FROM clause... (I know, I know.. too much
ms-SQL-server...)

I am sure this can be done with a subquery, but have had a mental block on
exactly how... Any ideas?

Thank you,
      Noah Silva
      IS&T - Programmer Analyst
      (215) 419 - 7916

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Installing SAPDB R/3 Instance

From: Christian Keller (C.Keller4ju.com)
Date: Thu Jul 24 2003 - 15:15:10 CDT


Hi,

I install a DB instance with the command:

R3SETUP -f DATABASE.R3S

And the installation aborts every time with the message:

File sapdb.inf does not exist. Will use the default commands.
ERROR 2003-07-24 22:04:39 SAPDBCREATESAPUSER_IND_ADA InstallationDo:0
    Phase failed.

ERROR 2003-07-24 22:04:40 Main :0
    Installation aborted.

Thanks a lot for your help!

Christian Keller
Hermann-Löns-Str.56
D-50765 Köln, Germany
 
Phone: +49-221-2225828
Mobil: +49-162-9432845
eMail: C.Keller4ju.com
web: www.4ju.com

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Bug with Update? Related to Locking? - GATING ISSUE, PLEASE H ELP!

dhaylexmark.com
Date: Thu Jul 24 2003 - 15:25:10 CDT


Torsten,

Thank you!!!!!

We were absolutely stuck, but looks like this fix has solved it.

Cheers,

David

"Strahl, Torsten" <torsten.strahlsap.com> on 24/07/2003 05:01:54 AM

To: "'dhaylexmark.com'" <dhaylexmark.com>
cc: Open Source List <sapdb.generallistserv.sap.com>
Subject: RE: Bug with Update? Related to Locking? - GATING ISSUE, PLEASE
       H ELP!

Hi David,
the problem you described looks like an error, which was fixed with
7.4.3.20.
See the following PTS note

http://www.sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1121565

The error was "implemented" with 7.4.3.17:

http://www.sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1120641

I assume you are using 7.4.3, because the vtrace shows the following
release and application information "70400-ODB". If not please send me
the database release identification.

If the new patch will not solve your problem, please send me the complete
vtrace. Please do not edit the trace, because the problem is caused by the
interaction of several tasks.

BTW:

I think you recognize the subsequent part of the vtrace you send to the
mailing list. b03del_inv means that an index record should be removed from
an index tree. The index record is specified by an index Key and a primary
Key.
After the operation is finished you can see b03del_inv root XXX e_ok.
This means that the operation was finished successfully (e_ok) and XXX
identifies the root page of the corresponding index tree.

>b13exclusive pno 104371

means the exclusive access of index root page 104371 is not possible,
because at least one share lock exist. Caused by the error described
above, the sleep phase of the task "executing b13exclusive" could be
extrem long.

>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C242
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C242
>b13exclusive pno 104371 <= WAIT for index root page
access

Select * from ROOTS where root = 104371 will show you which index
of your base table (table root = 44819) causes the problem.

Regards,
Torsten

SAP DB, SAP Labs Berlin

-----Original Message-----
From: dhaylexmark.com [mailto:dhaylexmark.com]
Sent: Montag, 21. Juli 2003 22:55
To: sapdb.generallistserv.sap.com
Subject: Re: Bug with Update? Related to Locking? - GATING ISSUE, PLEASE
HELP!

Hi,

We are still experiencing this problem, and it is readily reproducable on
our end.

As explained below, the database periodically gets "hung" performing an
Update that never returns.

I have added a Select on the relevant table before the Update, to make sure
the code does have a lock on the table, and that works fine. I have also
tried replacing the Update with an Insert, but this hangs periodically too.

It **acts** as if the code is waiting for a lock on the tables that it
already has a lock on, which is wierd. We only see three locks in the
Locks table, which is correct.

PLEASE could one of the SAP guys, (or anyone else!), take a look at the
trace information provided below? Can anyone please explain what the
statement in the trace

>b13exclusive pno 104371

means?

This is proving to be a BIG problem, so would be very grateful if someone
could help.

Please let me know if I can provide any more information.

Many thanks in advance,

David

---------------------- Forwarded by David Hay/Lex/Lexmark on 21/07/2003
04:48 PM ---------------------------

David Hay
17/07/2003 03:25 PM

To: "Becker, Holger" <holger.beckersap.com>
cc: sapdb.generallistserv.sap.com

Subject: Bug with Update? Related to Locking? (Document link: David
       Hay)

Hi,

We are seeing some strange behaviour.

We issue some locks on 3 tables when we upload a form (as a lot of other
processing goes on), so if someone else is trying to access the table they
correctly have to wait. When the lock is released they get access to the
table and everything is fine.

EXCEPT in ***some*** situations when the first person (with the locks)
performs an UPDATE call. We are seeing the update just hang and never
return. Consequently we don't drop through our code to the unlock and
everything hangs.

But why should the Update call never return, and only in some situations?

We have captured the vtrace, and the update that returns and the one that
doesn't are both the same in this respect:

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(483.3282 page 483)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i371058470053450', Pages = 2, Title = '30', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(16): 'JDBC_CURSOR_1458'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 76304; *** key_not_found ***
>KB05 id1193/-2549 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C237
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 9; fid = 0
                fn: 1A00 0000000000091B20 000000000000
 b01t_reset root 17433; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 17433; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C237
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C237
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C237
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C237

From there, though, the one does NOT work finishes that particular block
(and apparently hangs) with

>b13exclusive pno 104371

whereas the one the DOES work continues with

 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

It appears that a return_result is never issued for the first one, but the
question is why?

Does anyone know what ">b13exclusive pno 104371" means?

A fuller copy of the trace for each one is below.

Many thanks in advance,

David

***Update request that does NOT return

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(298.2426 page 298)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i421058544455209', Pages = 2, Title = '26', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(14): 'JDBC_CURSOR_99'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 61423; *** key_not_found ***
>KB05 id1175/-14592 get direct SYS1CAT key(12):
     00000000 000002A0 00150005
>b02get key(12): 00000000 000002A0 00150005
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>b07cget key(12): 00000000 000002A0 00950005
 b07cget root 61423; *** key_not_found ***
>KB05 id1175/-14592 get direct SYS1CAT key(12):
     00000000 000002A0 00180005
>b02get key(12): 00000000 000002A0 00180005
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>KB05 id1175/-14592 get direct SYS1CAT key(13):
     00000000 000002A0 00180005 01
>b02get key(13): 00000000 000002A0 00180005 01
 b02get root 59552; e_ok
 KB05 id1175/-14592 return_result
>KB05 id1175/-14592 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C242
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 29; fid = 0
                fn: 1A00 00000000001D1B20 000000000000
 b01t_reset root 1891; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 1891; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C242
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C242
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C242
>b13exclusive pno 104371

===== T44 ===== id164 ================================299.220 page 299

*
*
*

*** Update request that finishes normally.

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(384.5922 page 384)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i351058542041839', Pages = 2, Title = '24', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(15): 'JDBC_CURSOR_354'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 46809; *** key_not_found ***
>KB05 id1173/-10750 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C235
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01t_reset root 2431; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 2431; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C235
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C235
 b03del_inv root 104371; e_ok
>b03del_inv Inv Key(8): 00C23500 00000000
            PrimKey(3): 00C235
 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 512)
(384.5922 page 384)
   dbs SEGMENT 1 (2 parts, len: 512)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(420):
         'UPDATE forms SET Revision_Number = 0, CycloneFormSetName = 'k'
         'i351058542041839', Pages = 2, Title = '24', Available ='
   resulttablename PART (1 argument, size: 31808)
         buf(15): 'JDBC_CURSOR_354'
>b07cget key(138):
         00000000 00000000 00B5464F 524D5320 20202020 20202020 20202020
         20202020 20202020 20202020 20202020 20202020 20202020 20202020
         20202020
         '..........FORMS '
 b07cget root 46809; *** key_not_found ***
>KB05 id1173/-10750 update qual TABID 0-02A0 zerokey
>b02direct_ql key(3): 00C235
 b02direct_ql root 44819; e_ok
>b01t_reset tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01t_reset root 2431; e_ok
>b07cadd key(14): 00000001 00000000 000002A0 0005
 b07cadd root 2431; e_ok
>b03del_inv Inv Key(9): ' New Form'
            PrimKey(3): 00C235
 b03del_inv root 59709; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 74597; e_ok
>b03del_inv Inv Key(1): FF
            PrimKey(3): 00C235
 b03del_inv root 89483; e_ok
>b03del_inv Inv Key(1): 00
            PrimKey(3): 00C235
 b03del_inv root 104371; e_ok
>b03del_inv Inv Key(8): 00C23500 00000000
            PrimKey(3): 00C235
 b03del_inv root 15045; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b03add Inv Key(3): ' 24'
         PrimKey(3): 00C235
 b03add root 59709; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 74597; e_ok
>b03add Inv Key(1): ' '
         PrimKey(3): 00C235
 b03add root 89483; e_ok
>b03add Inv Key(2): 0001
         PrimKey(3): 00C235
 b03add root 104371; e_ok
>b03add Inv Key(9): 00C23500 00000000 01
         PrimKey(3): 00C235
 b03add root 15045; e_ok
 KB05 id1173/-10750 return_result
>b07cnext zerokey
 b07cnext root 2431; *** key_not_found ***

REQUEST: ascii, full_swap, 70403-XCI (1 segment, len: 0)
(385.700 page 385)
   execute SEGMENT 1 (2 parts, len: 256)
         session_sqlmode, user_cmd
   parsid PART (1 argument, size: 16296)
         mess_type: update
         buf(12):
         0000003A 00004B01 4C000000
   data PART (1 argument, size: 16264)
         buf(168):
         ' 24 '
         ' 24 '
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 44819; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 59709; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval StartKey(3): ' 24'
         Stop Key(3): ' 24'
 b03eval root 59709; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 74597; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 89483; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 104371; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 155; e_ok
         PageCnt 1; AllPageCnt 1
>b03eval zeroStartKey
         Stop Key(1023):
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
         FFFFFFFF
 b03eval root 15045; e_ok
         PageCnt 1; AllPageCnt 1
>KB05 id1173/-10238 update qual TABID 0-02A0 zerokey
>b02first_ql zerokey
 b02first_ql root 44819; e_ok
>b02repl key(3): 00C235
 b02repl root 44819; e_ok
>b02next_qual key(3): 00C235
 b02next_qual root 44819; *** no_next_record ***
 KB05 id1173/-10238 return_result
RECEIVE: ascii, full_swap, 70403-XCI (1 segment, len: 64)
(385.2992 page 385)
   ok / RETURN SEGMENT 1 (1 part, len: 64)
         update_fc, sqlstate: '00000'
         external WARNING 0: warning_exists
         external WARNING 8: table_scan
   resultcount PART (1 argument, size: 35752)
         result_count: 1
>b01destroy tfnTemp; fileTfnNo = 0; ttfnTrigger
                session: 58; fid = 0
                fn: 1A00 00000000003A1B20 000000000000
 b01destroy root 2431; e_ok
RECEIVE: ascii, normal_swap, 70400-ODB (1 segment, len: 64)
(385.3210 page 385)
   ok / RETURN SEGMENT 1 (1 part, len: 64)
         update_fc, sqlstate: '00000'
   resultcount PART (1 argument, size: 35784)
         result_count: 1

REQUEST: ascii, normal_swap, 70400-ODB (1 segment, len: 96)
(385.3354 page 385)
   dbs SEGMENT 1 (2 parts, len: 96)
         session_sqlmode, user_cmd
         with_info
   command PART (1 argument, size: 32248)
         buf(6): 'COMMIT'
   resulttablename PART (1 argument, size: 32224)
         buf(15): 'JDBC_CURSOR_355'
>KB05 id1173 commit

===== T2 ===== nil.idnil ============================385.3586 page 385

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
 http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Moving to 7.4.3.25

dhaylexmark.com
Date: Thu Jul 24 2003 - 15:27:04 CDT


Hi,

We need to move from 7.4.3.17 to 7.4.3.25 for the locking fix that's
included there.

Just thought I'd check if anyone has encountered any problems while doing
this (apart from the odbc driver name change!!) ie if there's anything that
we need to watch out for?

Cheers,

David

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Installing SAPDB R/3 Instance

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Thu Jul 24 2003 - 18:21:13 CDT


Hi Christian,

Christian Keller wrote:
>
> Hi,
>
> I install a DB instance with the command:
>
> R3SETUP -f DATABASE.R3S
>
> And the installation aborts every time with the message:
>
> File sapdb.inf does not exist. Will use the default commands.
> ERROR 2003-07-24 22:04:39 SAPDBCREATESAPUSER_IND_ADA InstallationDo:0
> Phase failed.
>
> ERROR 2003-07-24 22:04:40 Main :0
> Installation aborted.
>
> Thanks a lot for your help!

it would be interesting to see the corresponding DATABASE.log and
XCMDOUT.LOG.

The message concerning the sapdb.inf file is only a status information.
It is lije a user exit where external routines can be optionally
connected to the install routine. If it is not there, the standard
behavior is used.

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: SAPDB on the remote server connection slow

From: Eko Subagio (ekosbgcbn.net.id)
Date: Thu Jul 24 2003 - 22:05:18 CDT


Thanks marcin, i found the good solution from mailing list with the address:
http://listserv.sap.com/pipermail/sapdb.general/2001-July/007854.html

Now the connection for SAPDB so fast.

Thanks guys
Eko Subagio

----- Original Message -----
From: "Marcin P" <protectedpoczta.onet.pl>
To: <sapdb.generallistserv.sap.com>
Sent: Thursday, July 24, 2003 1:23 PM
Subject: Re: SAPDB on the remote server connection slow

> You propably have problems with DNS lookup.
> Search in the archives for possible solutions,
> Kind Regards,
> Marcin
> Uzytkownik "Eko Subagio" <ekosbgcbn.net.id> napisal w wiadomosci
> news:00cd01c3519a$d3216360$d300a8c0hanindogroup.com...
> Hello,
>
> I test SAPDB on the remote server on the Local Area Network, connection
> using SAPDB ODBC.
> I made a small application to access one table in the workstation.
>
> But when the first attemp to connect getting slow... its takes
approximately
> 1 minute to establish
> and get result from SAPDB database server.
>
> I test using Oracle database, and there are no problem with connection,
>
> May be i am wrong when setup SAPDB on the server, but if anyone had
> experience with this kind
> slow connection, help me.....
>
> Thanks
> Eko Subagio
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Silly SQL question!

From: Zabach, Elke (elke.zabachsap.com)
Date: Fri Jul 25 2003 - 03:51:03 CDT


Noah J SILVA wrote:

>
> Thanks Sergio,
>
> Actually, I had tried something like this, but the provlem
> here is that
> the inner query isn't corrolated to the outer query, and so
> returns every
> row where ot.key = st.key. The outer query then throws an
> error "More
> than one result row not allowed."
>
> Thank you,
> Noah Silva
> IS&T - Programmer Analyst
> (215) 419 - 7916
>

Now I am confused. Sergio asked you to do something like this:

UPDATE spiffy_table st
SET
st.field1 = (select field1 from other_table where key=st.key)

And this IS a correlated subquery, because st.key is used in the subquery
although st is not part of the from-clause in the subquery.
And if other_table.key is the full primary key, which is unique,
then the subquery has no chance to return more than one resultrow.
Therefore I am afraid that you did not use exactly that update, Sergio mentioned.

Elke
SAP Labs Berlin

>
>
>
> "Sergio Samayoa" <sergiosamayoaicon.com.gt>
> 07/23/2003 05:04 PM
>
>
> To: "Noah J SILVA" <noah.silvaatofina.com>,
> <sapdb.generallistserv.sap.com>
> cc:
> Subject: RE: Silly SQL question!
>
>
> As you said, such syntax is MSSQL specific. AFAIK only MSSQL
> server and
> may
> be SyBase support that.
>
> You have tree options:
>
> 1. Update each field in various UPDATE statements:
>
> UPDATE spiffy_table st
> SET
> st.field1 = (select field1 from other_table where key=st.key)
>
> UPDATE spiffy_table st
> SET
> st.field2 = (select field2 from other_table where key=st.key)
> ...
>
> 2. Write an SP.
>
> 3. Write client application to do that.
>
> -----Mensaje original-----
> De: sapdb.general-adminlistserv.sap.com
> [mailto:sapdb.general-adminlistserv.sap.com]En nombre de Noah J SILVA
> Enviado el: Miercoles, 23 de Julio de 2003 02:37 p.m.
> Para: sapdb.generallistserv.sap.com
> Asunto: Silly SQL question!
>
>
> Hi,
>
> This is a silly question, not that SAPDB specific I think,
> but I want to
> do something like:
>
> UPDATE
> st
> SET
> st.field1 = ot.field1,
> st.field2 = ot.field2
> FROM
> spiffy_table st,
> other_table ot
> WHERE
> st.key=ot.key
>
> Only SAPDB doesn't like the FROM clause... (I know, I know.. too much
> ms-SQL-server...)
>
> I am sure this can be done with a subquery, but have had a
> mental block on
> exactly how... Any ideas?
>
> Thank you,
> Noah Silva
> IS&T - Programmer Analyst
> (215) 419 - 7916
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Kernel crash on simple select

From: Zabach, Elke (elke.zabachsap.com)
Date: Fri Jul 25 2003 - 04:03:12 CDT


Jason T Marcotte wrote:
>
> Running DBMServer 7.4.3 Build 017-123-039-277 on Windows
> XP, I receive
> the following error when performing any select against a given table.
> Interestingly enough, this seems very similar to an issue I raised a
> couple months ago.....
> http://listserv.sap.com/pipermail/sapdb.general/2003-July/0222
46.html .

It would be a good idea to use the newest kernel 7.4.3.25
and check if this error occurs there, too.
We fixed bugs which may result in the error described.
Please let us know, if in that new version this error is still there.
If yes, please provide table definition/index/view definition and the full select.

Elke
SAP Labs Berlin

> After applying the fix from my previous problem (reducing the
> number of
> Data and Log files to 1), this problem has come up - and the kernel
> crashes when selecting against the same table as before.
> There's nothing
> unusual about this table - I'm guessing it is simply the
> placement on the
> disk or in memory that has remained unchanged.
>
> 2003-07-24 13:36:53 --- Starting GMT
> 2003-07-24 13:36:53 7.4.3 Build 017-123-039-277
> 2003-07-24 13:42:19 0x410 ERR 18006 EXCEPT
> EXCEPTION:0xc0000005
> Addr:0x454527 ( 0:0x52430a54:0:0 )
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE SymbolSearchPath:
> c:\Program Files\sapdb\indep_data\wrk\ECLIPSE;C:\PROGRAM
> FILES\SAPDB\DEPEND\pgm;C:\PROGRAM FILES
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE
> \SAPDB\DEPEND\symbols;C:\PROGRAM
> FILES\SAPDB\DEPEND\sap;C:\WINDOWS;C:\PROGRAM FILES\SAPDB\DEPEND
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE
> \sap\
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE ----> Register Dump
> <----
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE Eax=0x52430a54
> Ebx=0x7a76a050 Ecx=0xfffffe0d Edx=0x7f8cd101 Esi=0x7f8cd16c
> Edi=0x7a76a050
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE Eip=0x00454527
> Esp=0x048c5714 Ebp=0x048c5720
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE Cs=0x001b
> Ss=0x0023
> Ds=0x0023 Es=0x0023 Fs=0x0038 Gs=0x0000 Efl=0x10282
> 2003-07-24 13:42:19 0x410 ERR 19999 BTRACE ---->
> Module List <----
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE |.text
> Start |.text End
> | Module File Name
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x00400000 |
> 0x008b9000 | C:\PROGRAM FILES\SAPDB\DEPEND\pgm\kernel.exe
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x04ae0000 |
> 0x04b34000 | C:\WINDOWS\System32\MSVCR70.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x04b50000 |
> 0x04c05000 | C:\PROGRAM FILES\SAPDB\DEPEND\pgm\dbghelp.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x10000000 |
> 0x10053000 | C:\PROGRAM FILES\SAPDB\DEPEND\pgm\liboms.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x70a70000 |
> 0x70ad4000 | C:\WINDOWS\system32\SHLWAPI.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x71950000 |
> 0x71a34000 |
> C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b6
> 4144ccf1df_6.0.10.0_x-ww_
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> |
> f7fb5805\comctl32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x71aa0000 |
> 0x71aa8000 | C:\WINDOWS\System32\WS2HELP.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x71ab0000 |
> 0x71ac5000 | C:\WINDOWS\System32\WS2_32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76000000 |
> 0x7600d000 | c:\Program Files\sapdb\indep_prog\pgm\sqltcp.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76c90000 |
> 0x76cb2000 | C:\WINDOWS\system32\imagehlp.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76f20000 |
> 0x76f45000 | C:\WINDOWS\System32\DNSAPI.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76f90000 |
> 0x76fa0000 | C:\WINDOWS\System32\Secur32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x76fc0000 |
> 0x76fc5000 | C:\WINDOWS\System32\rasadhlp.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x771b0000 |
> 0x772d1000 | C:\WINDOWS\system32\ole32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77340000 |
> 0x773cb000 | C:\WINDOWS\system32\comctl32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x773d0000 |
> 0x77bc7000 | C:\WINDOWS\system32\SHELL32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77c00000 |
> 0x77c07000 | C:\WINDOWS\system32\VERSION.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77c10000 |
> 0x77c63000 | C:\WINDOWS\system32\msvcrt.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77c70000 |
> 0x77cb0000 | C:\WINDOWS\system32\GDI32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77d40000 |
> 0x77dcc000 | C:\WINDOWS\system32\USER32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77dd0000 |
> 0x77e5d000 | C:\WINDOWS\system32\ADVAPI32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77e60000 |
> 0x77f46000 | C:\WINDOWS\system32\kernel32.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x77f50000 |
> 0x77ff7000 | C:\WINDOWS\System32\ntdll.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE | 0x78000000 |
> 0x78086000 | C:\WINDOWS\system32\RPCRT4.dll
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE ----> Stack
> Back Trace
> <----
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a06find_colinfo +
> 71 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00454527 RA:005cc66c FP:048c5720 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:7f8cd16c 02:7a76a050 03:048c5f4c 04:048c87c0
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak723analyze_output + 508 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:005cc66c RA:005cc8ee FP:048c5f5c SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:048cc688 03:048c87c0 04:048cbfdc
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a723analyse_used_cols + 30 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:005cc8ee RA:005b8eae FP:048c5f90 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:048cc688 03:048c87c0 04:048cbfdc
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a70strategy +
> 702 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:005b8eae RA:005b7f8f FP:048cbfa0 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:048cc688 03:048cbfdc 04:048cc204
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a70_strategy_search + 1359 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:005b7f8f RA:00577fc4 FP:048cc22c SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:048cc688 03:048cc584 04:048cc65c
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a67_sel2_second_part + 644 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00577fc4 RA:00578d1f FP:048cc26c SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:048cc688 03:048cc584 04:00000001
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a67_s_sel_second_part + 143 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00578d1f RA:00592a1f FP:048cc29c SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:048cc688 03:008cc584 04:048cc65c
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a660_query_execute
> + 5807 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00592a1f RA:00592f7e FP:048cc618 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:00000000 02:048cc688 03:00000020 04:00000001
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a660select +
> 478 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00592f7e RA:00593335 FP:048cc664 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:00000001 03:048cc688 04:048dd9da
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a660_select +
> 773 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00593335 RA:004b4a67 FP:048dd9dc SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:00000001 03:00000000 04:048de1a0
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak35call_semantik
> + 1255 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:004b4a67 RA:004b5f64 FP:048dda14 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:003f0200 03:ffffe49d 04:048de1a0
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a35_asql_statement
> + 3636 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:004b5f64 RA:0056a487 FP:048dda60 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:003f01c8 03:00000001 04:048de1a0
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak92not_only_execute + 1687 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:0056a487 RA:0056b6bf FP:048ddb18 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:048ddc28 03:048ddc3e 04:048ddc08
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak92analyze_messagetype + 1103 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:0056b6bf RA:0056b8fd FP:048ddc30 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048de1a0 02:00000000 03:00000000 04:00000000
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a92_mode_analyzer
> + 205 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:0056b8fd RA:0057e5f6 FP:048ddc78 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:028de1a0 02:00000000 03:00000000 04:00000001
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak93one_command +
> 982 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:0057e5f6 RA:0057f356 FP:048ddce0 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:00000001 03:003f01c8 04:00000001
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a93_user_commands
> + 758 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:0057f356 RA:004342e5 FP:048ddd6c SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:048de18f 03:048de19b 04:048dff14
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak91run_sql_process + 85 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:004342e5 RA:004343f1 FP:048de190 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:008de1a0 02:048dff14 03:003f01a8 04:003f02b0
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_ak91run_user_process + 225 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:004343f1 RA:00434439 FP:048df7b8 SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:048dff14 02:00000003 03:048dff14 04:048dfefc
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE
> kernel!_a91mainprogam_with_allocator + 57 bytes
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE SFrame:
> IP:00434439 RA:0069e44c FP:048df7cc SP:048c5714
> 2003-07-24 13:42:20 0x410 ERR 19999 BTRACE Params:
> 01:038dff14 02:77f5150c 03:7fee4dd8 04:007b3900
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> kernel!_gg941CreateAllocatorAndCallMainprog + 124 bytes
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
> IP:0069e44c RA:00434468 FP:048dfefc SP:048c5714
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
> 01:048dff03 02:048dff5c 03:0000000c 04:048dff14
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> kernel!_a91mainprogram
> + 40 bytes
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
> IP:00434468 RA:006ee08f FP:048dff78 SP:048c5714
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
> 01:77f5150c 02:77f51502 03:7ff6ad58 04:00000000
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> kernel!_sql88k_kernel_fiber4 + 191 bytes
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
> IP:006ee08f RA:77e7d33b FP:048dffb4 SP:048c5714
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
> 01:7ff6ad58 02:77f5150c 03:77f51502 04:7ff6ad58
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> kernel32!RegisterWaitForInputIdle + 67 bytes
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
> IP:77e7d33b RA:77e746cf FP:048dffec SP:048c5714
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
> 01:006edfd0 02:7ff6ad58 03:00000000 04:00000000
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> kernel32!ConvertThreadToFiber + 137 bytes
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
> IP:77e746cf RA:7ff6ad58 FP:048dfef0 SP:048c5714
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
> 01:77f5150c 02:048dff78 03:00434468 04:048dff03
>
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> SymGetModuleInfo()
> failed, rc = 126
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> ?!7ff6ad58 <nosymbols>
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE SFrame:
> IP:7ff6ad58 RA:00000000 FP:00000101 SP:048c5714
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE Params:
> 01:00000000 02:00000000 03:00000000 04:00000000
> 2003-07-24 13:42:21 0x410 ERR 19999 BTRACE
> SymGetLineFromAddr()
> failed, rc = 126
> 2003-07-24 13:42:21 0x410 ERR 20000 INFO No crash dump file
> 'knlcrash.dmp' written
> 2003-07-24 13:44:50 --- Starting GMT
> 2003-07-24 13:44:50 7.4.3 Build 017-123-039-277
> 2003-07-24 13:50:23 --- Starting GMT
> 2003-07-24 13:50:23 7.4.3 Build 017-123-039-277
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
hr xml => mySAP HR

From: Andreas Anding [Freakworks] (aandingfreakworks.de)
Date: Fri Jul 25 2003 - 04:05:46 CDT


Hi,
I have developed a webbased eHR solution. Now i want to export in HR XML
Format so applicant data can be import f.e. in mySAP HR.

I searched hr-xml.org website and I have found a lot of HR XML Versions
and
Possibilities to store data.
I have searched the interface repository from SAP but I have still no
idear what SAP use exactly.

How has an HR XML file look like that it can be imported from the common
sofware solutions which supports HR XML or better what is the standart?.

Could anybody please help me?

With kind regards

A Anding

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: hr xml => mySAP HR

From: Zabach, Elke (elke.zabachsap.com)
Date: Fri Jul 25 2003 - 04:11:05 CDT


Hi,

sorry, but this is a mailing list for the database system SAP DB,
not for all SAP-problems.

Especially we will not answer topics concerning SAP-applications.

Please open an OSS message.

Elke
SAP Labs Berlin

> -----Original Message-----
> From: Andreas Anding [Freakworks] [mailto:aandingfreakworks.de]
> Sent: Freitag, 25. Juli 2003 11:06
> To: sapdb.generallistserv.sap.com
> Subject: hr xml => mySAP HR
>
>
> Hi,
> I have developed a webbased eHR solution. Now i want to
> export in HR XML
> Format so applicant data can be import f.e. in mySAP HR.
>
> I searched hr-xml.org website and I have found a lot of HR
> XML Versions
> and
> Possibilities to store data.
> I have searched the interface repository from SAP but I have still no
> idear what SAP use exactly.
>
> How has an HR XML file look like that it can be imported from
> the common
> sofware solutions which supports HR XML or better what is the
> standart?.
>
> Could anybody please help me?
>
> With kind regards
>
> A Anding
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: bug report

From: Knappke, Christian (christian.knappkesap.com)
Date: Fri Jul 25 2003 - 04:14:20 CDT


Noah wrote:
> I managed to bring the [7.3.x] DB kernel down with the
> following mistype from SQL Studio:
>
> Alter user xyz
> default role not exclusive

This "works" with (i.e. brings down) 7.4.3 b25 too. And not only with SQL Studio, but with xsql too.

=>
ERR 18358 File: 'vak21.p', Line: 14654, no match in case statement without otherwise!
ERR 18006 EXCEPT EXCEPTION:0xc0000005 Addr:0x76fa07 ( 0x1:0:0:0 )

Please drop a name, whom I should send KNLDIAGERROR and drwtsn32.log to.

Regards
Christian
--
#include <std_disclaimer.h>
/* The opinions stated above are my own and not
   necessarily those of my employer. */
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Where are the DOMAIN.COLUMNS ?

From: Danny Tramnitzke (vadusgmx.de)
Date: Fri Jul 25 2003 - 04:26:08 CDT


Hi all

Since I installed the new 25Build Version, I have no result with any
selection on DOMAIN.COLUMNS.
But I found nothing in the release-Info about that. So do you have renamed
this internal Table ?

(only that point :

PTS: 1120803 since: 7.4.03.23

    New Feature:
        New columns have been added to DOMAIN.COLUMNS :
        DEFAULTFUNCTION, contains the default function or NULL, if
        no function has been used.
        PHYSICALPOS , the number of the column in the
        pysical record layout.
        A new column has been added to DOMAIN.DOMAINS :
        DEFAULTFUNCTION, contains the default function or NULL, if
        no function has been used.
)

Best regards,
Danny

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
search in mail list not working

mpanterweb.de
Date: Fri Jul 25 2003 - 04:32:21 CDT


Hello,
I do not get any results when searching the mailing list from within sapdb.org.
Any other ways to search for entries?

Thanks,
Manfred
______________________________________________________________________________
ComputerBild (15-03) empfiehlt den besten Spam-Schutz:
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021125

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: search in mail list not working

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Fri Jul 25 2003 - 04:39:00 CDT


> I do not get any results when searching the mailing list from
> within sapdb.org.
> Any other ways to search for entries?

You can use google instead and add the search terms site:listserv.sap.com and inurl:sapdb.general

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Help

ferozinformatik.uni-freiburg.de
Date: Fri Jul 25 2003 - 04:33:59 CDT


Hi..all iam new to this mailing list.
I wanted to get my doubt cleared and i hope it can be done with help of
experts here. ok let me place my question : " I have a 4D(4th-dimesion)
Application..which requires to access the database and query the databasewith
SQL statements; Now i want to know how can i connect to SAP database from
4D and send the SQL statements without using the ODBC or JDBC connectivity.."
MAy be its a silly question.. but please help me.
thank you
faiz
 

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE:bug report

From: Anhaus, Thomas (thomas.anhaussap.com)
Date: Fri Jul 25 2003 - 05:21:22 CDT


Noah Silva wrote :

>Hi,

>I managed to bring the [7.3.x] DB kernel down with the following mistype
>from SQL Studio:

>Alter user xyz
>default role not exclusive

>It took some time to time out, and the the DB was disconnected and
>offline. Bring it back online worked on the first try.

>If more information is required, I can provide it.

Thanks for reporting the bug. I could reproduce it and will provide a fix in one of the next versions.

Thomas

--
Thomas Anhaus
SAP DB, SAP Labs Berlin
thomas.anhaussap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Unexpected Database shutdown

From: Weiser, Michael (Michael.Weisert-systems.com)
Date: Fri Jul 25 2003 - 04:53:19 CDT


Hi,

we have a problem using a 7.3 Instance.
Sometimes when we run our Applications the instance is shutting down itself and we get an connection error.
Recently we created the instance from a migration backup and we think that this error is caused by this migration.
The other possibility is that we have implemented a stored procedure who causes this error.
Here are the messages from the diagnosis files:

2003-07-25 11:42:38 0x6D4 ERR 18006 EXCEPT EXCEPTION:0xc0000005 Addr:0x5dbb8a ( 0:0x2020203a:0:0 )
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE SymbolSearchPath: c:\programme\sapdb\indep_data\wrk\SKILL_K;C:\PROGRAMME\SAPDB\DEPEND\pgm;C:\PROGRAMME\SAPDB\DEPEN
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE D\symbols;C:\WINNT;C:\PROGRAMME\SAPDB\DEPEND\sap\
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE ------> Module List <-------
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE 00400000 4468736 kernel.exe C:\PROGRAMME\SAPDB\DEPEND\pgm\kernel.exe
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE 77880000 524288 ntdll.dll C:\WINNT\system32\ntdll.dll
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE 77E00000 413696 USER32.dll C:\WINNT\system32\USER32.dll
2003-07-25 11:42:38 0x6D4 ERR 19999 BTRACE 77E70000 798720 KERNEL32.DLL C:\WINNT\system32\KERNEL32.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77F40000 245760 GDI32.DLL C:\WINNT\system32\GDI32.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77DA0000 380928 ADVAPI32.dll C:\WINNT\system32\ADVAPI32.dll
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77D20000 462848 RPCRT4.DLL C:\WINNT\system32\RPCRT4.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77580000 2408448 SHELL32.dll C:\WINNT\system32\SHELL32.dll
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 70BD0000 311296 SHLWAPI.DLL C:\WINNT\system32\SHLWAPI.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 716F0000 565248 COMCTL32.DLL C:\WINNT\system32\COMCTL32.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77A40000 1003520 ole32.dll C:\WINNT\system32\ole32.dll
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 76000000 53248 sqltcp.dll c:\programme\sapdb\indep_prog\pgm\sqltcp.dll
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 74FA0000 77824 WS2_32.dll C:\WINNT\system32\WS2_32.dll
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 78000000 286720 MSVCRT.DLL C:\WINNT\system32\MSVCRT.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 74F90000 32768 WS2HELP.DLL C:\WINNT\system32\WS2HELP.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77970000 147456 DNSAPI.DLL C:\WINNT\system32\DNSAPI.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 74FC0000 36864 WSOCK32.DLL C:\WINNT\system32\WSOCK32.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 77310000 77824 iphlpapi.dll C:\WINNT\system32\iphlpapi.dll
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 774F0000 20480 ICMP.DLL C:\WINNT\system32\ICMP.DLL
2003-07-25 11:42:39 0x6D4 ERR 19999 BTRACE 772F0000 94208 MPRAPI.DLL C:\WINNT\system32\MPRAPI.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 750C0000 65536 SAMLIB.DLL C:\WINNT\system32\SAMLIB.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 750E0000 323584 NETAPI32.DLL C:\WINNT\system32\NETAPI32.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77BD0000 61440 SECUR32.DLL C:\WINNT\system32\SECUR32.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 75130000 24576 NETRAP.DLL C:\WINNT\system32\NETRAP.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77940000 176128 WLDAP32.DLL C:\WINNT\system32\WLDAP32.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 779A0000 634880 OLEAUT32.DLL C:\WINNT\system32\OLEAUT32.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77380000 192512 ACTIVEDS.DLL C:\WINNT\system32\ACTIVEDS.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77350000 139264 ADSLDPC.DLL C:\WINNT\system32\ADSLDPC.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77820000 57344 RTUTILS.DLL C:\WINNT\system32\RTUTILS.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 78310000 589824 SETUPAPI.DLL C:\WINNT\system32\SETUPAPI.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77C00000 389120 USERENV.DLL C:\WINNT\system32\USERENV.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 774B0000 204800 RASAPI32.DLL C:\WINNT\system32\RASAPI32.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77490000 69632 RASMAN.DLL C:\WINNT\system32\RASMAN.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77500000 139264 TAPI32.DLL C:\WINNT\system32\TAPI32.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77330000 102400 DHCPCSVC.DLL C:\WINNT\system32\DHCPCSVC.DLL
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 777E0000 20480 rasadhlp.dll C:\WINNT\system32\rasadhlp.dll
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 10000000 294912 liboms.dll C:\PROGRAMME\SAPDB\DEPEND\pgm\liboms.dll
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 77910000 143360 imagehlp.dll C:\WINNT\system32\imagehlp.dll
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE 72970000 184320 DBGHELP.dll C:\WINNT\system32\DBGHELP.dll
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE module file name |.text start |.text end
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel.exe | 0x00400000 | 0x00843000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE liboms.dll | 0x10000000 | 0x10048000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SHLWAPI.DLL | 0x70bd0000 | 0x70c1c000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE COMCTL32.DLL | 0x716f0000 | 0x7177a000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE DBGHELP.dll | 0x72970000 | 0x7299d000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE WS2HELP.DLL | 0x74f90000 | 0x74f98000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE WS2_32.dll | 0x74fa0000 | 0x74fb3000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE WSOCK32.DLL | 0x74fc0000 | 0x74fc9000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SAMLIB.DLL | 0x750c0000 | 0x750d0000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE NETAPI32.DLL | 0x750e0000 | 0x7512f000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE NETRAP.DLL | 0x75130000 | 0x75136000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE sqltcp.dll | 0x76000000 | 0x7600d000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE MPRAPI.DLL | 0x772f0000 | 0x77307000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE iphlpapi.dll | 0x77310000 | 0x77323000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE DHCPCSVC.DLL | 0x77330000 | 0x77349000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ADSLDPC.DLL | 0x77350000 | 0x77372000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ACTIVEDS.DLL | 0x77380000 | 0x773af000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE RASMAN.DLL | 0x77490000 | 0x774a1000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE RASAPI32.DLL | 0x774b0000 | 0x774e2000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ICMP.DLL | 0x774f0000 | 0x774f5000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE TAPI32.DLL | 0x77500000 | 0x77522000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SHELL32.dll | 0x77580000 | 0x777cc000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE rasadhlp.dll | 0x777e0000 | 0x777e5000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE RTUTILS.DLL | 0x77820000 | 0x7782e000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ntdll.dll | 0x77880000 | 0x77900000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE imagehlp.dll | 0x77910000 | 0x77933000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE WLDAP32.DLL | 0x77940000 | 0x7796b000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE DNSAPI.DLL | 0x77970000 | 0x77994000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE OLEAUT32.DLL | 0x779a0000 | 0x77a3b000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ole32.dll | 0x77a40000 | 0x77b35000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SECUR32.DLL | 0x77bd0000 | 0x77bdf000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE USERENV.DLL | 0x77c00000 | 0x77c5f000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE RPCRT4.DLL | 0x77d20000 | 0x77d91000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ADVAPI32.dll | 0x77da0000 | 0x77dfd000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE USER32.dll | 0x77e00000 | 0x77e65000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE KERNEL32.DLL | 0x77e70000 | 0x77f33000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE GDI32.DLL | 0x77f40000 | 0x77f7c000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE MSVCRT.DLL | 0x78000000 | 0x78046000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SETUPAPI.DLL | 0x78310000 | 0x783a0000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE ----> Stack Back Trace <----
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_k71sel_qualification_test + 138 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:005dbb8a RA:00496aaf FP:038879cc SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:03cb2d50 02:038879f0 03:00000000 04:03cb2dd0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_a262Call + 559 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:00496aaf RA:0047cc7a FP:038882e0 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:038889fc 02:03cb2b18 03:03cb2dd0 04:00000000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_ak260CallInternalDBProc + 714 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:0047cc7a RA:0047b431 FP:038883c0 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:00000000 02:00008c2c 03:038884b7 04:038889fc
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_ak260CallDBProc + 529 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:0047b431 RA:0047b022 FP:038884b8 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:008889fc 02:038884d8 03:02000000 04:00757152
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_a260exec_dialog + 146 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:0047b022 RA:00577ec7 FP:038884ec SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:038889fc 02:00000000 03:00000001 04:038889fc
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_ak93one_command + 919 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:00577ec7 RA:00576f27 FP:0388853c SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:018889fc 02:00000001 03:091701c8 04:00000001
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_a93_user_commands + 727 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:00576f27 RA:004251e5 FP:038885c8 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:008889fc 02:038889eb 03:038889f7 04:03889f8c
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_ak91run_sql_process + 85 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:004251e5 RA:004252f9 FP:038889ec SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:008889fc 02:01022220 03:091701a8 04:09170240
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_ak91run_user_process + 233 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:004252f9 RA:0042536c FP:03889f7c SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:03889f8c 02:00000003 03:ffffffff 04:00000000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_a91mainprogram + 92 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:0042536c RA:00726c63 FP:03889fe0 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:01022220 02:00726a5b 03:00000000 04:00000000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_sql88k_release_curr_task_or_fiber + 211 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:00726c63 RA:00726a5b FP:03889fe8 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:00000000 02:00000000 03:00000000 04:00000000
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE kernel!_sql88k_ukt + 971 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:00726a5b RA:77e787dd FP:0388ffb4 SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:01022220 02:00000000 03:00bafbbc 04:01022220
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE KERNEL32!GetModuleFileNameA + 465 bytes
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE SFrame: IP:77e787dd RA:00000000 FP:0388ffec SP:038878c0
2003-07-25 11:42:40 0x6D4 ERR 19999 BTRACE Params: 01:00000000 02:00000000 03:00000000 04:00000000
2003-07-25 11:43:48 --- Starting ---
2003-07-25 11:44:50 0x7FC ERR 18006 EXCEPT EXCEPTION:0xc0000005 Addr:0x5dbb8a ( 0:0x2020203a:0:0 )
2003-07-25 11:44:50 0x7FC ERR 19999 BTRACE SymbolSearchPath: c:\programme\sapdb\indep_data\wrk\SKILL_K;C:\PROGRAMME\SAPDB\DEPEND\pgm;C:\PROGRAMME\SAPDB\DEPEN
2003-07-25 11:44:50 0x7FC ERR 19999 BTRACE D\symbols;C:\WINNT;C:\PROGRAMME\SAPDB\DEPEND\sap\
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE ------> Module List <-------
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 00400000 4468736 kernel.exe C:\PROGRAMME\SAPDB\DEPEND\pgm\kernel.exe
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77880000 524288 ntdll.dll C:\WINNT\system32\ntdll.dll
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77E00000 413696 USER32.dll C:\WINNT\system32\USER32.dll
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77E70000 798720 KERNEL32.DLL C:\WINNT\system32\KERNEL32.DLL
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77F40000 245760 GDI32.DLL C:\WINNT\system32\GDI32.DLL
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77DA0000 380928 ADVAPI32.dll C:\WINNT\system32\ADVAPI32.dll
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77D20000 462848 RPCRT4.DLL C:\WINNT\system32\RPCRT4.DLL
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77580000 2408448 SHELL32.dll C:\WINNT\system32\SHELL32.dll
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 70BD0000 311296 SHLWAPI.DLL C:\WINNT\system32\SHLWAPI.DLL
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 716F0000 565248 COMCTL32.DLL C:\WINNT\system32\COMCTL32.DLL
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 77A40000 1003520 ole32.dll C:\WINNT\system32\ole32.dll
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 76000000 53248 sqltcp.dll c:\programme\sapdb\indep_prog\pgm\sqltcp.dll
2003-07-25 11:44:51 0x7FC ERR 19999 BTRACE 74FA0000 77824 WS2_32.dll C:\WINNT\system32\WS2_32.dll
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 78000000 286720 MSVCRT.DLL C:\WINNT\system32\MSVCRT.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 74F90000 32768 WS2HELP.DLL C:\WINNT\system32\WS2HELP.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77970000 147456 DNSAPI.DLL C:\WINNT\system32\DNSAPI.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 74FC0000 36864 WSOCK32.DLL C:\WINNT\system32\WSOCK32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77310000 77824 iphlpapi.dll C:\WINNT\system32\iphlpapi.dll
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 774F0000 20480 ICMP.DLL C:\WINNT\system32\ICMP.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 772F0000 94208 MPRAPI.DLL C:\WINNT\system32\MPRAPI.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 750C0000 65536 SAMLIB.DLL C:\WINNT\system32\SAMLIB.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 750E0000 323584 NETAPI32.DLL C:\WINNT\system32\NETAPI32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77BD0000 61440 SECUR32.DLL C:\WINNT\system32\SECUR32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 75130000 24576 NETRAP.DLL C:\WINNT\system32\NETRAP.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77940000 176128 WLDAP32.DLL C:\WINNT\system32\WLDAP32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 779A0000 634880 OLEAUT32.DLL C:\WINNT\system32\OLEAUT32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77380000 192512 ACTIVEDS.DLL C:\WINNT\system32\ACTIVEDS.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77350000 139264 ADSLDPC.DLL C:\WINNT\system32\ADSLDPC.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77820000 57344 RTUTILS.DLL C:\WINNT\system32\RTUTILS.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 78310000 589824 SETUPAPI.DLL C:\WINNT\system32\SETUPAPI.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77C00000 389120 USERENV.DLL C:\WINNT\system32\USERENV.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 774B0000 204800 RASAPI32.DLL C:\WINNT\system32\RASAPI32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77490000 69632 RASMAN.DLL C:\WINNT\system32\RASMAN.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77500000 139264 TAPI32.DLL C:\WINNT\system32\TAPI32.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77330000 102400 DHCPCSVC.DLL C:\WINNT\system32\DHCPCSVC.DLL
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 777E0000 20480 rasadhlp.dll C:\WINNT\system32\rasadhlp.dll
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 10000000 294912 liboms.dll C:\PROGRAMME\SAPDB\DEPEND\pgm\liboms.dll
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 77910000 143360 imagehlp.dll C:\WINNT\system32\imagehlp.dll
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE 72970000 184320 DBGHELP.dll C:\WINNT\system32\DBGHELP.dll
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE module file name |.text start |.text end
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE kernel.exe | 0x00400000 | 0x00843000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE liboms.dll | 0x10000000 | 0x10048000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE SHLWAPI.DLL | 0x70bd0000 | 0x70c1c000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE COMCTL32.DLL | 0x716f0000 | 0x7177a000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE DBGHELP.dll | 0x72970000 | 0x7299d000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE WS2HELP.DLL | 0x74f90000 | 0x74f98000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE WS2_32.dll | 0x74fa0000 | 0x74fb3000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE WSOCK32.DLL | 0x74fc0000 | 0x74fc9000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE SAMLIB.DLL | 0x750c0000 | 0x750d0000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE NETAPI32.DLL | 0x750e0000 | 0x7512f000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE NETRAP.DLL | 0x75130000 | 0x75136000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE sqltcp.dll | 0x76000000 | 0x7600d000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE MPRAPI.DLL | 0x772f0000 | 0x77307000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE iphlpapi.dll | 0x77310000 | 0x77323000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE DHCPCSVC.DLL | 0x77330000 | 0x77349000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ADSLDPC.DLL | 0x77350000 | 0x77372000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ACTIVEDS.DLL | 0x77380000 | 0x773af000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE RASMAN.DLL | 0x77490000 | 0x774a1000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE RASAPI32.DLL | 0x774b0000 | 0x774e2000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ICMP.DLL | 0x774f0000 | 0x774f5000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE TAPI32.DLL | 0x77500000 | 0x77522000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE SHELL32.dll | 0x77580000 | 0x777cc000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE rasadhlp.dll | 0x777e0000 | 0x777e5000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE RTUTILS.DLL | 0x77820000 | 0x7782e000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ntdll.dll | 0x77880000 | 0x77900000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE imagehlp.dll | 0x77910000 | 0x77933000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE WLDAP32.DLL | 0x77940000 | 0x7796b000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE DNSAPI.DLL | 0x77970000 | 0x77994000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE OLEAUT32.DLL | 0x779a0000 | 0x77a3b000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ole32.dll | 0x77a40000 | 0x77b35000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE SECUR32.DLL | 0x77bd0000 | 0x77bdf000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE USERENV.DLL | 0x77c00000 | 0x77c5f000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE RPCRT4.DLL | 0x77d20000 | 0x77d91000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ADVAPI32.dll | 0x77da0000 | 0x77dfd000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE USER32.dll | 0x77e00000 | 0x77e65000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE KERNEL32.DLL | 0x77e70000 | 0x77f33000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE GDI32.DLL | 0x77f40000 | 0x77f7c000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE MSVCRT.DLL | 0x78000000 | 0x78046000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE SETUPAPI.DLL | 0x78310000 | 0x783a0000
2003-07-25 11:44:52 0x7FC ERR 19999 BTRACE ----> Stack Back Trace <----
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_k71sel_qualification_test + 138 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:005dbb8a RA:00496aaf FP:038879cc SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:03cb2d50 02:038879f0 03:00000000 04:03cb2dd0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_a262Call + 559 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:00496aaf RA:0047cc7a FP:038882e0 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:038889fc 02:03cb2b18 03:03cb2dd0 04:00000000
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_ak260CallInternalDBProc + 714 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:0047cc7a RA:0047b431 FP:038883c0 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:00000000 02:00008c2c 03:038884b7 04:038889fc
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_ak260CallDBProc + 529 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:0047b431 RA:0047b022 FP:038884b8 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:008889fc 02:038884d8 03:02000000 04:00757152
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_a260exec_dialog + 146 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:0047b022 RA:00577ec7 FP:038884ec SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:038889fc 02:00000000 03:00000001 04:038889fc
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_ak93one_command + 919 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:00577ec7 RA:00576f27 FP:0388853c SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:018889fc 02:00000001 03:091501c8 04:00000001
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_a93_user_commands + 727 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:00576f27 RA:004251e5 FP:038885c8 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:008889fc 02:038889eb 03:038889f7 04:03889f8c
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_ak91run_sql_process + 85 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:004251e5 RA:004252f9 FP:038889ec SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:008889fc 02:01022220 03:091501a8 04:09150240
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_ak91run_user_process + 233 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:004252f9 RA:0042536c FP:03889f7c SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:03889f8c 02:00000003 03:ffffffff 04:00000000
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_a91mainprogram + 92 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:0042536c RA:00726c63 FP:03889fe0 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:01022220 02:00726a5b 03:00000000 04:00000000
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_sql88k_release_curr_task_or_fiber + 211 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:00726c63 RA:00726a5b FP:03889fe8 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:00000000 02:00000000 03:00000000 04:00000000
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE kernel!_sql88k_ukt + 971 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:00726a5b RA:77e787dd FP:0388ffb4 SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:01022220 02:00000000 03:00bafbbc 04:01022220
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE KERNEL32!GetModuleFileNameA + 465 bytes
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE SFrame: IP:77e787dd RA:00000000 FP:0388ffec SP:038878c0
2003-07-25 11:44:53 0x7FC ERR 19999 BTRACE Params: 01:00000000 02:00000000 03:00000000 04:00000000
2003-07-25 11:50:21 --- Starting ---

We need a quick help!

Thanks in advance

Michael Weiser
T-Systems Nova GmbH
Entwicklungszentrum Süd-West
Neugrabenweg 4, 66123 Saarbrücken
E-Mail: mailto:Michael.Weisert-systems.com

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Where are the DOMAIN.COLUMNS ?

From: Zabach, Elke (elke.zabachsap.com)
Date: Fri Jul 25 2003 - 05:58:12 CDT


 Danny Tramnitzke wrote:
>
> Hi all
>
> Since I installed the new 25Build Version, I have no result with any
> selection on DOMAIN.COLUMNS.
> But I found nothing in the release-Info about that. So do you
> have renamed
> this internal Table ?
>
> (only that point :
>
> PTS: 1120803 since: 7.4.03.23
>
> New Feature:
> New columns have been added to DOMAIN.COLUMNS :
> DEFAULTFUNCTION, contains the default function or NULL, if
> no function has been used.
> PHYSICALPOS , the number of the column in the
> pysical record layout.
> A new column has been added to DOMAIN.DOMAINS :
> DEFAULTFUNCTION, contains the default function or NULL, if
> no function has been used.
> )
>

Did you only install the version or did you load the systemtables anew
to your existing database? This is necessary.

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: What is the correct isolation-level for not seeing unccomitted data and no w

From: michaelkleiser (mklwebde-ag.de)
Date: Fri Jul 25 2003 - 07:38:13 CDT


Still waiting for an answer :-(

I used Server_version 7.4.3.25 for Linux.

I can't belive nobody else wan`t to have this isolation-behavior.

--- In sapdb-generalyahoogroups.com, mklw... wrote:
> I had 2 WEB-SQL-Studio-Browser-Windows,
> both connect to teh same datebase as same databse-user,
> both autommit off
> /( user is created not exclusive )
>
> In one Window I did in the other
>
> select count(*) from testtab
>
> insert into testtab
values ( 10,'test')
>
> select count(*) from testtab
>
>
> I want to see the result in both of the
> select count(*) from testtab, since the insert in the other session
> is not commited.
> I do not want the second select count(*) from testtab waiting
> for commit or rollback.
>
> Is this possible ?
>
> In my understanding of the documentation isolationlevel "committed"
(= 1 or 10) for both sessions should
> be correct for this.
> But in my tests with "commited", the result of the second "select
count(*) from testtab"
> is reuslt of the first "select count(*) from testtab" + 1
> this is yust the same as using isolation-level"uncommited" (=0)
>
> When using isolation levels 2,,15,3 the second "select count(*) from
testtab" waits for commit or rollback.
>
> I don`t think it`s a bug in WEB-Sql-Studio because I have the same
effect in a python-script.
>
>
>
>
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generall...
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Using arrays as variable

From: Marc-Olivier Meunier (momeunierbklink.com)
Date: Fri Jul 25 2003 - 08:05:50 CDT


Hi all

I'd like to know if it is possible to use arrays in dbproc
For example, i'd like to put the result of a query in an array in order
to use it in my where clause of the next query

This is my array -> array
SELECT id FROM dba.table ;
Fetch-array INTO array ;
SELECT col1 FROM dba.table2 WHERE col2 IN array

Can i do that ? Or do i have to build a dynamic query with a while loop
to create my WHERE clause ?

Thanx for your help !

--
Marc-Olivier Meunier
Ingénieur Projet BKLINK
MVH-IRIS
14, rue Rougemont
75009 Paris

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Using arrays as variable

From: Schroeder, Alexander (alexander.schroedersap.com)
Date: Fri Jul 25 2003 - 08:18:17 CDT


Hello Marc,

what do you want to achieve?

Possibly: SELECT col1 FROM dba.table2 WHERE col2 IN (SELECT id from dba.table) ?

Why do you want to make all this work by yourself, instead letting it being done
by the database?

Regards

Alexander Schröder
SAP DB, SAP Labs Berlin

> -----Original Message-----
> From: Marc-Olivier Meunier [mailto:momeunierbklink.com]
> Sent: Friday, July 25, 2003 3:06 PM
> To: Sapdb. General
> Subject: Using arrays as variable
>
>
> Hi all
>
> I'd like to know if it is possible to use arrays in dbproc
> For example, i'd like to put the result of a query in an
> array in order
> to use it in my where clause of the next query
>
> This is my array -> array
> SELECT id FROM dba.table ;
> Fetch-array INTO array ;
> SELECT col1 FROM dba.table2 WHERE col2 IN array
>
> Can i do that ? Or do i have to build a dynamic query with a
> while loop
> to create my WHERE clause ?
>
> Thanx for your help !
>
> --
> Marc-Olivier Meunier
> Ingénieur Projet BKLINK
> MVH-IRIS
> 14, rue Rougemont
> 75009 Paris
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Using arrays as variable

From: Gloss Mathias (Mathias.Glossstart.de)
Date: Fri Jul 25 2003 - 08:13:46 CDT


Hello,

> Von: Marc-Olivier Meunier[SMTP:momeunierbklink.com]
>
> I'd like to know if it is possible to use arrays in dbproc
> For example, i'd like to put the result of a query in an array in order
> to use it in my where clause of the next query
>
i dont think that this is possible with sap db.

I would suggest to create a temporary table as
array and select your data into this temporary
table.

Then you can build a dynamic query from the
content of the temporary table.

Best regards,

Mathias

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
loadercli crash while catalogextract

MRistlstelcom.com
Date: Fri Jul 25 2003 - 08:24:49 CDT


Hi,

I has upgraded my SapDB from 7.3.0.25 to 7.4.3.25 on a win2k system.
Now I have both versions in parallel on my machine.
Everthing works fine. Application runs, I can backup/restore ....

But when I export a user with loadercli:

//
SET MAXERRORCOUNT 0
//
USE USER user pw
//
CATALOGEXTRACT USER OUTSTREAM FILE 'D:\sapdb\test\catalog.out'
//
TABLEEXTRACT USER DATA OUTSTREAM FILE 'D:\sapdb\test\data.out'

loadercli crashs with the lovely windows dialog: The instruction at
"0xblabla" referenced memory at "0xhahaha" .... Click Ok to terminate...

Whats going wrong? Here is refering loader.prt:

....
CATALOGEXTRACT USER OUTSTREAM FILE 'D:\sapdb\test\catalog_icasa.out'
// *
// M LOAD TRANSFORMATIONPACKAGE
x'010000007FC131F5000400000D2A0000BB02C6AF0CABF447'
// *
// M Number of tables to transform: 7
// *
// M Number of views to transform: 2
// *
// M Number of synonyms to transform: 0
// *
// M EXECUTE PACKAGE TO TRANSFORM CATALOG
// *
EOF

A TABLEEXTRACT runs without crashing...

Any suggestion?

Thanks,
Michael

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
BoundsChecker and SAP ODBC Driver

From: J. Jeff Roberts (jeffrobertskyyahoo.com)
Date: Fri Jul 25 2003 - 12:31:19 CDT


While tracking down our own leaks, I found that BoundsChecker believes
that we're leaking memory, handles and semaphores from the SAP ODBC
driver (sqluser74.dll, sqlod32.dll).

If I run the small program below to simply connect to a database and
disconnect, BoundsChecker reports two regular memory leaks, one for
something allocated by MapViewOfFile(), and 116 "nested leaks".

It also reports 9 resource leaks for things allocated by
DuplicateHandle(), CreateSemaphore(), CreateFile() and TlsAlloc().

Finally, it always claims that I've leaked the SQLHENV and the SQLHDBC.

Some of these may just be BoundsChecker weirdness, and if you know of
BC settings I can change, please let me know. But even outside of
BoundsChecker if I watch the Task Manager I see 5 handles being leaked
every time I run this little testcase.

Am I calling something out of sequence, or am I missing some calls that
would free some handles?

-Jeff

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

#include "stdafx.h"

int main(int argc,char* argv[])
{
   SQLRETURN nResult;
   SQLHENV hEnvHandle;
   SQLHDBC hDBHandle;

   nResult = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE,
&hEnvHandle);

   nResult = SQLSetEnvAttr(hEnvHandle, SQL_ATTR_ODBC_VERSION,
(SQLPOINTER) SQL_OV_ODBC3, SQL_IS_INTEGER);

   nResult = SQLAllocHandle(SQL_HANDLE_DBC, hEnvHandle, &hDBHandle);

   SQLSMALLINT ConnInSize;
   SQLUSMALLINT DriverCompInd;
   SQLCHAR ConnOut[1500];
   SQLSMALLINT ConnOutMaxSize;
   SQLSMALLINT ConnOutSize;
   SQLHWND WinHandle;
   char szConnect[2048];

   strcpy(szConnect, "DRIVER={SAP
DB};SERVERNODE=localhost;SERVERDB=lddtest;UID=lexadmin;PWD=lexadmin;OPTION=3");

   ConnInSize = strlen(szConnect);
   DriverCompInd = SQL_DRIVER_NOPROMPT;
   ConnOutSize = 0;
   ConnOutMaxSize = 0;
   WinHandle = NULL;

   nResult = SQLDriverConnect(hDBHandle,
                              WinHandle,
                              (SQLCHAR*)szConnect,
                              ConnInSize,
                              ConnOut,
                              ConnOutMaxSize,
                              &ConnOutSize,
                              DriverCompInd);

   nResult= SQLDisconnect(hDBHandle);

   nResult = SQLFreeHandle(SQL_HANDLE_DBC, hDBHandle);
   
   nResult = SQLFreeHandle(SQL_HANDLE_ENV, hEnvHandle);
   
   return(0);
}

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Using arrays as variable

From: Umberto (umbertoengineer.com)
Date: Fri Jul 25 2003 - 13:39:00 CDT


Someone had already posted the solution earlier:

SELECT col1 FROM dba.table2 WHERE col2 IN (SELECT id FROM dba.table);

There is no point in building an array if this is what you are trying to
accomplish. If the subquery does not include a dynamic WHERE clause
dependant on a field in the main query, the result set should be static and
would accomplish, with much more efficiency, what you are trying to do with
an array.

----- Original Message -----
From: "Marc-Olivier Meunier" <momeunierbklink.com>
To: "Sapdb. General" <sapdb.generallistserv.sap.com>
Sent: Friday, July 25, 2003 9:05 AM
Subject: Using arrays as variable

> Hi all
>
> I'd like to know if it is possible to use arrays in dbproc
> For example, i'd like to put the result of a query in an array in order
> to use it in my where clause of the next query
>
> This is my array -> array
> SELECT id FROM dba.table ;
> Fetch-array INTO array ;
> SELECT col1 FROM dba.table2 WHERE col2 IN array
>
> Can i do that ? Or do i have to build a dynamic query with a while loop
> to create my WHERE clause ?
>
> Thanx for your help !
>
> --
> Marc-Olivier Meunier
> Ingénieur Projet BKLINK
> MVH-IRIS
> 14, rue Rougemont
> 75009 Paris
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Problems with hyperthreading

From: Gert Wohlgemuth (Wohlgemuthmpimp-golm.mpg.de)
Date: Fri Jul 25 2003 - 14:49:30 CDT


Dear list,

I had a very silly question. Currently I had a machine with 4 Intel Xeon HT Cpus. So my Linux System see eight cpus and I want to fix the database instance to 4 cpus (the real ones!) and not to the virtual hyperthreading cpus. How can I do this?

Cheers Gert

Gert Wohlgemuth

Max Plack Institut für Molekulare Pflanzenphysiologie
Am Mühlenberg 1
14424 Golm

Fon: +49-331-5678320
e-mail: wohlgemuthmpimp-golm.mpg.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Conditional Table Creation

From: Mark Johnson (markredpt.com)
Date: Fri Jul 25 2003 - 17:12:20 CDT


Is it possible to create a table (using loadercli) based on the
condition that the table does not already exist? Something like:

IF NOT EXISTS TABLE xxx
CREATE TABLE xxx ...

Thanks in advance,
Mark

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: AW: Installing SAPDB R/3 Instance

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Fri Jul 25 2003 - 18:47:56 CDT


Hi Christian,

Christian Keller wrote:
>
> here come's XCDMOUT.LOG and DATABASE.log
>
> --------------------------------------------------------------
>
> Set environment variable 'DBROOT' to '/sapdb/P10/db'
>
> > Subprocess starts at 20030724224132
>
> Execute Command : dbmcli -n sap -d P10 -u CONTROL,CONTROL db_start
>
> > Subprocess stops at 20030724224133
>
> ERR
> -24994,ERR_RTE: runtime environment error
> 1,Kernel died before reaching COLD state
>
> --------------------------------------------------------------
>
> Set environment variable 'DBROOT' to '/sapdb/P10/db'
>
> > Subprocess starts at 20030724224706
>
> Execute Command : dbmcli -n sap -d P10 -u CONTROL,CONTROL db_state
>
> > Subprocess stops at 20030724224706
>
> OK
> State
> STOPPED INCORRECTLY
>
> --------------------------------------------------------------
>
> Set environment variable 'DBROOT' to '/sapdb/P10/db'
>
> > Subprocess starts at 20030724224706
>
> Execute Command : dbmcli -n sap -d P10 -u CONTROL,CONTROL db_clear
>
> > Subprocess stops at 20030724224707
>
> OK
>
> --------------------------------------------------------------
>
> Set environment variable 'DBROOT' to '/sapdb/P10/db'
>
> > Subprocess starts at 20030724224707
>
> Execute Command : dbmcli -n sap -d P10 -u CONTROL,CONTROL db_start
>
> > Subprocess stops at 20030724224708
>
> ERR
> -24994,ERR_RTE: runtime environment error
> 1,Kernel died before reaching COLD state
>
> --------------------------------------------------------------
>
> Set environment variable 'DBROOT' to '/sapdb/P10/db'
>
> > Subprocess starts at 20030724231649
>
> Execute Command : dbmcli -n sap -d P10 -u CONTROL,CONTROL db_state
>
> > Subprocess stops at 20030724231649
>
> Error! Connection failed to node sap for database P10: connection
> refused: x_server not running

The installation seems to work fine until the R3Setup is starting up the
database instance with db_start. I assume that you found the problem
that the RUNDIRECTORY at /sapdb/data/wrk/P10 was not accessable for
writing for the group sapsys and the database owner sqd<sid>.

After analysing and changeing this you forgot to restore the required
state of the database to continue the R3Setup and let the x_server
(vserver) stopped. That's the reason for the followup error messages
"x_server not running" because this is needed for the remote connection
to send commands to the DBMSRV.

The same can be seen in the Database.log...
 
> DATABASE.log
> ------------
[...]
> INFO 2003-07-25 09:41:47
> Starting VSERVER
>
> INFO 2003-07-25 09:41:47
> Initialize the Database
>
> INFO 2003-07-25 09:41:47
> Extracting Database Parameter Files
>
> INFO 2003-07-25 09:41:47
> Setting the User Specific Database Parameters
>
> INFO 2003-07-25 09:41:47
> Setting the Computed Database Parameters
>
> INFO 2003-07-25 09:41:47
> Performing Service BCHECK
>
> INFO 2003-07-25 09:41:47
> Starting SAP DB to Mode COLD
>
> ERROR 2003-07-25 09:41:48 ADADBGETCOLDFIRST_IND_ADA
> InternalInstallationDo:0
> iaxasdbmodus: Error:
>
> ERROR 2003-07-25 09:41:48 ADADBGETCOLDFIRST_IND_ADA InstallationDo:0
> Phase failed.
>
> ERROR 2003-07-25 09:41:48 InstController Action:0
> Step ADADBGETCOLDFIRST_IND_ADA could not be performed.
>
> ERROR 2003-07-25 09:41:48 Main :0
> Installation failed.
>
> ERROR 2003-07-25 09:41:48 Main :0
> Installation aborted.
 
Thus, please start up the x_server with "x_server start" and restart the
R3Setup to continue the installation process.

Ciao
Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: BoundsChecker and SAP ODBC Driver

From: Stephen Gutknecht (SAPDB) (IML-sapdbi405.com)
Date: Sat Jul 26 2003 - 01:38:30 CDT


Please please please keep the pressure on this subject.

Frankly, then SAPDB Win32 ODBC driver is a piece of problem code. Some of
these leaks could very well be the cause of the instability that we see
under heavy concurrent load (one client machine with 40 or more concurrent
sessions doing lots of tiny SELECT statements). If there is network packet
loss, it is just a matter of time until the driver stalls.

BTW: The latest version of the Win32 ODBC driver I seem to be getting when
I download is dated 4/16/2003 - have no improvements been made in over 3
months? Anyone have a newer one?

Thanks for the chance to rant :)

  Stephen Gutknecht

-----Original Message-----
From: J. Jeff Roberts [mailto:jeffrobertskyyahoo.com]
Sent: Friday, July 25, 2003 10:31 AM
To: sapdb.generallistserv.sap.com
Subject: BoundsChecker and SAP ODBC Driver

While tracking down our own leaks, I found that BoundsChecker believes
that we're leaking memory, handles and semaphores from the SAP ODBC
driver (sqluser74.dll, sqlod32.dll).

If I run the small program below to simply connect to a database and
disconnect, BoundsChecker reports two regular memory leaks, one for
something allocated by MapViewOfFile(), and 116 "nested leaks".

It also reports 9 resource leaks for things allocated by
DuplicateHandle(), CreateSemaphore(), CreateFile() and TlsAlloc().

Finally, it always claims that I've leaked the SQLHENV and the SQLHDBC.

Some of these may just be BoundsChecker weirdness, and if you know of
BC settings I can change, please let me know. But even outside of
BoundsChecker if I watch the Task Manager I see 5 handles being leaked
every time I run this little testcase.

Am I calling something out of sequence, or am I missing some calls that
would free some handles?

-Jeff

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

#include "stdafx.h"

int main(int argc,char* argv[])
{
   SQLRETURN nResult;
   SQLHENV hEnvHandle;
   SQLHDBC hDBHandle;

   nResult = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE,
&hEnvHandle);

   nResult = SQLSetEnvAttr(hEnvHandle, SQL_ATTR_ODBC_VERSION,
(SQLPOINTER) SQL_OV_ODBC3, SQL_IS_INTEGER);

   nResult = SQLAllocHandle(SQL_HANDLE_DBC, hEnvHandle, &hDBHandle);

   SQLSMALLINT ConnInSize;
   SQLUSMALLINT DriverCompInd;
   SQLCHAR ConnOut[1500];
   SQLSMALLINT ConnOutMaxSize;
   SQLSMALLINT ConnOutSize;
   SQLHWND WinHandle;
   char szConnect[2048];

   strcpy(szConnect, "DRIVER={SAP
DB};SERVERNODE=localhost;SERVERDB=lddtest;UID=lexadmin;PWD=lexadmin;OPTION=3
");

   ConnInSize = strlen(szConnect);
   DriverCompInd = SQL_DRIVER_NOPROMPT;
   ConnOutSize = 0;
   ConnOutMaxSize = 0;
   WinHandle = NULL;

   nResult = SQLDriverConnect(hDBHandle,
                              WinHandle,
                              (SQLCHAR*)szConnect,
                              ConnInSize,
                              ConnOut,
                              ConnOutMaxSize,
                              &ConnOutSize,
                              DriverCompInd);

   nResult= SQLDisconnect(hDBHandle);

   nResult = SQLFreeHandle(SQL_HANDLE_DBC, hDBHandle);
   
   nResult = SQLFreeHandle(SQL_HANDLE_ENV, hEnvHandle);
   
   return(0);
}

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Select as an updateable query from MS Access

From: Alan Graham (alan.grahaminfonetsystems.com.au)
Date: Sat Jul 26 2003 - 06:55:57 CDT


I'm hoping that you long time list users are looking at the subject,
shaking your heads and muttering, "Ha! That old chestnut!" :-)

In this Access db that I'm transferring to SAPdb are a number of
updateable queries. They don't work when SAPdb replaces Access as the
back end. I *think* it's because, from the SAP docos, a result table is
updateable if it is a named result table, ie, it must not have been
generated by a select statement. It seems as if the way to create a
named result table id with the statement DECLARE <name> CURSOR FOR
<select statement>. This syntax is not allowed in Access as far as I
can see, so it has to be entered in a Pass through query. But (AFAIK)
passthrough queries in Access may not return updateable recordsets.

So I'm stumped. Is there a way to run an ad-hoc query from Access to
SAPdb and get an updateable recordset?

Thanks hugely

Alan Graham

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Possible ODBC bug with left joins?

From: Alan Graham (alan.grahaminfonetsystems.com.au)
Date: Sat Jul 26 2003 - 07:17:27 CDT


I'm running Win98, connecting to SAPdb 7.4.3.25 through ODBC Following
the advice from a couple of posts on this list, I've installed the v7.3
ODBC drivers, the the 7.4 drivers, then used the 7.3 dll. Evidently
this avoids the 7.3 bug, while allowing win98 (a non Unicode system) to
connect.

A left outer join query fails with General Error 3009: Invalid Table
Name. Making the join an inner join gets rid of the problem.

I swtched on the ODBC trace file, and saw the following (below). It
looks like something is send extraneous characters to SAPdb when there's
a left join in the mix. Note the {oj in the middle.

Thanks in Advance

Alan Graham

SQCDROPPARSID
PARSEID: : 000002F3 00002D01 3C002E00 01000000

SELECT
"PCSDBA"."TBLPLANT"."PLANTID","PCSDBA"."TBLCUSTOMER"."CUSTOMERID",
"PCSDBA"."TBLCONTACT"."CUSTOMERID","PCSDBA"."TBLCONTACT"."CONTACTID","PCSDBA".
"TBLINVOICEHEADER"."INVOICENUMBER","PCSDBA"."TBLINVOICEDETAILS"."INVOICENUMBER",
"PCSDBA"."TBLINVOICEDETAILS"."LINENUMBER","PCSDBA"."TBLPRODUCT"."PRODUCTCODE"
FROM
"PCSDBA"."TBLINVOICEDETAILS","PCSDBA"."TBLPLANT","PCSDBA"."TBLCUSTOMER",
"PCSDBA"."TBLPRODUCT",{oj "PCSDBA"."TBLINVOICEHEADER" LEFT OUTER JOIN
"PCSDBA".
"TBLCONTACT" ON ("PCSDBA"."TBLINVOICEHEADER"."CONTACTID" = "PCSDBA".
"TBLCONTACT"."CONTACTID" ) } WHERE (((("PCSDBA"."TBLINVOICEHEADER".
"INVOICENUMBER" = "PCSDBA"."TBLINVOICEDETAILS"."INVOICENUMBER" ) AND
("PCSDBA".
"TBLPLANT"."PLANTID" = "PCSDBA"."TBLINVOICEHEADER"."PLANTID" ) ) AND
("PCSDBA".
"TBLCUSTOMER"."CUSTOMERID" = "PCSDBA"."TBLINVOICEHEADER"."CUSTOMERID" )
) AND
("PCSDBA"."TBLINVOICEDETAILS"."PRODUCTCODE" = "PCSDBA"."TBLPRODUCT".
"PRODUCTCODE" ) )
PARSE : CMD :
SQLCODE: -3009 Invalid table name
PARSEID: OUTPUT: 00000000 00000000 00000000 00000000
SQLERRD(INDEX_6) : 409 ERROR NEAR ^ : LPRODUCT",^{oj "PCSDB
START : DATE : 2003-07-26 TIME : 0020:04:46
END : DATE : 2003-07-26 TIME : 0020:04:46

S1: DISCONNECT

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Latest version of Win32 ODBC driver?

From: Stephen Gutknecht (SAPDB) (IML-sapdbi405.com)
Date: Sat Jul 26 2003 - 21:51:55 CDT


Is the 4/16/2003 file set really the latest version?

We are still having problems with high concurrency using ASP.NET 1.1 on
Windows 2000.

Thanks.

  Stephen
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Which DB engine SAP database uses?

ferozinformatik.uni-freiburg.de
Date: Sun Jul 27 2003 - 07:26:34 CDT


Hi experts,
Sorry for my ignorance. I would like to know which Database engine the SAP
databse uses. I tried to gather information on this but i didn't find it on
the website of SAP i.e www.sapdb.org, may be i was not searching for it
properly. So please let me know the answer.. I came to know from the MYSQL
website http://www.mysql.com that SAP has decided to use the MYSQL database
engine for SAP, which means presently it is using someother DB engine i guess.
regards
faizer

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Which DB engine SAP database uses?

From: Sven Köhler (skoehlerupb.de)
Date: Sun Jul 27 2003 - 10:41:32 CDT


> Sorry for my ignorance. I would like to know which Database engine the SAP
> databse uses. I tried to gather information on this but i didn't find it on
> the website of SAP i.e www.sapdb.org, may be i was not searching for it
> properly. So please let me know the answer.. I came to know from the MYSQL
> website http://www.mysql.com that SAP has decided to use the MYSQL database
> engine for SAP, which means presently it is using someother DB engine i guess.
> regards

SAPDB itself is a Database-Engine.
SAP hasn't decided to use MySQL's database for SAP, it is giving away
SAPDB to MySQL, and both SAP and MySQL will develop SAPDB somehow.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Problems with hyperthreading

From: Markus Gieppner (vikingmgfint.com)
Date: Sun Jul 27 2003 - 14:04:15 CDT


Hi Gert,

How about disabling hyperthreadening support on the server, or
allocating all 8 virtual processors to SAP DB?

It would be interesting to see comparative benchmark results between the
two solutions.

Markus

-----Original Message-----
From: sapdb.general-adminlistserv.sap.com
[mailto:sapdb.general-adminlistserv.sap.com] On Behalf Of Gert
Wohlgemuth
Sent: Friday, July 25, 2003 3:50 PM
To: sapdb.generallistserv.sap.com
Subject: Problems with hyperthreading

Dear list,

I had a very silly question. Currently I had a machine with 4 Intel Xeon
HT Cpus. So my Linux System see eight cpus and I want to fix the
database instance to 4 cpus (the real ones!) and not to the virtual
hyperthreading cpus. How can I do this?

Cheers Gert

Gert Wohlgemuth

Max Plack Institut für Molekulare Pflanzenphysiologie
Am Mühlenberg 1
14424 Golm

Fon: +49-331-5678320
e-mail: wohlgemuthmpimp-golm.mpg.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
 

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Problems with hyperthreading

From: Sven Köhler (skoehlerupb.de)
Date: Sun Jul 27 2003 - 17:24:09 CDT


> I had a very silly question. Currently I had a machine with 4 Intel Xeon HT Cpus. So my Linux System see eight cpus and I want to fix the database instance to 4 cpus (the real ones!) and not to the virtual hyperthreading cpus. How can I do this?

As you already said, Linux sees 8 CPUs and so does SAPDB.
I don't even know, if the Linux-Scheduler takes care about HT.
If you use HT, the Scheduler should first use 4 real CPUs until it uses
the 4 addition ones.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: RE: search in mail list not working

From: Manfred Panter (mpanterweb.de)
Date: Mon Jul 28 2003 - 01:53:28 CDT


Hello Daniel,
thanks, it helped.

Manfred

"Dittmar, Daniel" <daniel.dittmarsap.com> schrieb am 25.07.03 11:39:43:
>
> > I do not get any results when searching the mailing list from
> > within sapdb.org.
> > Any other ways to search for entries?
>
> You can use google instead and add the search terms site:listserv.sap.com and inurl:sapdb.general
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> daniel.dittmarsap.com
> http://www.sapdb.org/

______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Software and Documentation Updates for SAP DB Version 7.4

From: Montag, Marina (marina.montagsap.com)
Date: Mon Jul 28 2003 - 03:19:50 CDT


Hello,

1. The new version of SAP DB 7.4 documentation has been published now at http://www.sapdb.org/7.4/htmhelp/default.htm. Please see
* the new document on the SAP DB WebDAV GUI at http://www.sapdb.org/7.4/htmhelp/15/5072aaaf58407ba5f92609a50f2c22/frameset.htm
* the completely revised document on how to connect external backup tools at http://www.sapdb.org/7.4/htmhelp/43/e0f23ab6b4317de10000000a11402f/frameset.htm

The new document 'Background Knowledge' at http://www.sapdb.org/7.4/htmhelp/79/44b2565cfb594286e2d1b3bdf7d1d9/frameset.htm has been extracted from the document 'The SAP DB Database System'. Thus, 'The SAP DB Database System' will be easier to read for those who just start dealing with SAP DB.

2. The new version 7.4.03.27 of SAP DB Software is available now at http://www.sapdb.org/7.4/sap_db_software.htm without web tools). For more information see also the release information (http://www.sapdb.org/7.4/new_relinfo.txt).

Best regards
Marina Montag
or the SAP DB Team
SAP Labs Berlin
_______________________________________________
sapdb.announce mailing list
sapdb.announcelistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.announce


 
Copying Content server to another machine.

From: Amit_Chaturvedi (Amit_Chaturvedisatyam.com)
Date: Mon Jul 28 2003 - 03:43:20 CDT


Hi!

  We have to move our Content server on SAPDB to another machine.
Please suggest the possible ways for carrying out this activity.

With Regards
Amit
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Memory Overflow while running sapdb!

From: Danny Tramnitzke (vadusgmx.de)
Date: Mon Jul 28 2003 - 04:06:06 CDT


Hi all

I run a sapdb on a RedHat 8.0 System. This System has 1 GB Main Memory, and
2 Gb Swap Partition.
The SAPDB has 4 GB Data (2 GB full) and 1 GB Log (50 MB full) .
The ChacheSize of the sapdb amounts 800.000 Pages !
The Data Hit Chache Rate lies at 97 %.

Now the problem :

The sapdb writes the Main Memory till it's full. After that it writes the
Swap Partition, also untill it's full. The problem is, that after a sapdb
Process (e.g. select) is done, the memory is still full. So it wouldn't be
cleared by sapdb after a selection. And so, after time and time, the memory
and swap partition is full of sapdb data, and the system doesn't work
anymore (overflow).

What might be the reason for that ? The high ChacheSize ?

Best regards,
Danny

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Question about SQLStudio and DBPROCS

ilacostariu.es
Date: Mon Jul 28 2003 - 04:29:25 CDT


Hello,

I have an dbproc which is about 250 lines long. I created it without
problems, but I can't see the code when I enter "Show DB procedure
definition".

Is it normal ?

Thanks.

Ignacio Lacosta.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Memory Overflow while running sapdb!

From: Danny Tramnitzke (vadusgmx.de)
Date: Mon Jul 28 2003 - 04:47:49 CDT


Hi

I guess so, maybe I should decrease the CacheSize to 10.000 Pages, right..
But then I can say, that the CacheSize runs full while using sapdb, so that
sql-processes wouldn't be cleared, when there are finished, in the memory
(cache) ?

regards,
Danny

Am Mon, 28 Jul 2003 11:34:00 +0200 hat sapdbkomadev.de <kaifreshx.de>
geschrieben:

> Correct me if i am wrong, but are 800.000 pages *8kb = 6,4 GB cache,
> which will be used up on the first connect/use ?
>
> cheers Kai
>
>
> Zitat von Danny Tramnitzke <vadusgmx.de>:
>
>> Hi all
>>
>> I run a sapdb on a RedHat 8.0 System. This System has 1 GB Main Memory,
>> and 2 Gb Swap Partition.
>> The SAPDB has 4 GB Data (2 GB full) and 1 GB Log (50 MB full) .
>> The ChacheSize of the sapdb amounts 800.000 Pages !
>> The Data Hit Chache Rate lies at 97 %.
>>
>> Now the problem :
>>
>> The sapdb writes the Main Memory till it's full. After that it writes
>> the Swap Partition, also untill it's full. The problem is, that after a
>> sapdb Process (e.g. select) is done, the memory is still full. So it
>> wouldn't be cleared by sapdb after a selection. And so, after time and
>> time, the memory and swap partition is full of sapdb data, and the
>> system doesn't work anymore (overflow).
>>
>> What might be the reason for that ? The high ChacheSize ?
>>
>> Best regards,
>> Danny
>>
>> -- Using M2, Opera's revolutionary e-mail client:
>> http://www.opera.com/m2/
>> _______________________________________________
>> sapdb.general mailing list
>> sapdb.generallistserv.sap.com
>> http://listserv.sap.com/mailman/listinfo/sapdb.general
>>
>>
>
>
>
>

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Memory Overflow while running sapdb!

From: Danny Tramnitzke (vadusgmx.de)
Date: Mon Jul 28 2003 - 04:53:26 CDT


Sorry for spam again, but I found the definition-text of the ChacheSize :

----
 The value specifies the i/o capable memory used by the data cache and the
 converter. It is very important for the performance of the database.

 The converter transforms a logical page number into a physical block
 address on the data volumes. Caused by the importance the converter
 resides completely in the memory. The remaining memory is used by the
 data cache.

 Use the database monitoring to obtain information about the data cache
 hit rate and the performance of the system.

 The lower and upper limits are:
     800 <= CACHE_SIZE <= 2147483640

 (4 bytes integer)
----

What means 4 byte integer ? What might be the right CacheSize for round 80
MB ?

10.000 (80MB/8KB) or something bigger ( x GB / 4B ) ??

Danny

Am Mon, 28 Jul 2003 11:34:00 +0200 hat sapdbkomadev.de <kaifreshx.de>
geschrieben:

> Correct me if i am wrong, but are 800.000 pages *8kb = 6,4 GB cache,
> which will be used up on the first connect/use ?
>
> cheers Kai
>
>
> Zitat von Danny Tramnitzke <vadusgmx.de>:
>
>> Hi all
>>
>> I run a sapdb on a RedHat 8.0 System. This System has 1 GB Main Memory,
>> and 2 Gb Swap Partition.
>> The SAPDB has 4 GB Data (2 GB full) and 1 GB Log (50 MB full) .
>> The ChacheSize of the sapdb amounts 800.000 Pages !
>> The Data Hit Chache Rate lies at 97 %.
>>
>> Now the problem :
>>
>> The sapdb writes the Main Memory till it's full. After that it writes
>> the Swap Partition, also untill it's full. The problem is, that after a
>> sapdb Process (e.g. select) is done, the memory is still full. So it
>> wouldn't be cleared by sapdb after a selection. And so, after time and
>> time, the memory and swap partition is full of sapdb data, and the
>> system doesn't work anymore (overflow).
>>
>> What might be the reason for that ? The high ChacheSize ?
>>
>> Best regards,
>> Danny
>>
>> -- Using M2, Opera's revolutionary e-mail client:
>> http://www.opera.com/m2/
>> _______________________________________________
>> sapdb.general mailing list
>> sapdb.generallistserv.sap.com
>> http://listserv.sap.com/mailman/listinfo/sapdb.general
>>
>>
>
>
>
>

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
extended Parameter OPTIM_INV_ONLY

From: Andreas Grund (andreas-grundweb.de)
Date: Mon Jul 28 2003 - 05:07:48 CDT


Hi Mailinglist,

i tried to get the correct meaning of the parameter OPTIM_INV_ONLY, but i think i failed. Is it correct, that the optimizier,if it´s possible, only uses primary keys for seachring a result, if this parameter has the value YES, or waht is the correct meaning of it??

Thanks in advanced and greetings,
Andreas
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Query Bug

From: Zabach, Elke (elke.zabachsap.com)
Date: Mon Jul 28 2003 - 05:27:09 CDT


Robert Krueger wrote:

>
> Hi,
>
> I encountered a strange bug.
>
> the query (I know the conditions don't make sense but still
> it shouldn't
> behave that way):
>
> select ATH_ID, ATH_FIRSTNAME, ATH_LASTNAME
>
> from V_ATHLETE_INFO, ADDRESS, COUNTRY
>
> where ATH_ADR_ID=ADR_ID
> AND ADR_CTR_ISO=COUNTRY.CTR_ISO
> AND ATH_STATUS = 1
> AND (NOT ATH_STATUS = 2 AND NOT ATH_STATUS = 3)
> AND ATH_PF_ONLY = false
> AND ATH_DSC_ID = 'sfd'
>
> results in
>
> [-8004] (at 239): Constant must be compatible with column
> type and length
>
> if I change the order of the conditions it works, e.g. like so:
>
> select ATH_ID, ATH_FIRSTNAME, ATH_LASTNAME
>
> from V_ATHLETE_INFO, ADDRESS, COUNTRY
>
> where ATH_ADR_ID=ADR_ID
> AND ADR_CTR_ISO=COUNTRY.CTR_ISO
> AND ATH_STATUS = 1
> AND ATH_DSC_ID = 'sfd'
> AND (NOT ATH_STATUS = 2 AND NOT ATH_STATUS = 3)
> AND ATH_PF_ONLY = false
>
> That looks like a bug to me. Do you need all table and view
> definitions to
> investigate further?
>
> This happens on 7.3 and 7.4 (7.4.3 build 017-123-039-277).

Thank you for reporting.
Will be fixed as PTS 1123322 in 7.4.3 (>= 29).
The problem is the combination of
superfluous bracket + NOT + more than one qualification
behind the bracket.

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Failure in the german translation of sap db library

From: Andreas Grund (andreas-grundweb.de)
Date: Mon Jul 28 2003 - 05:29:50 CDT


Hi,

do i read something wrong or is there a failure in the german sap db library? In the entry of the parameter LOG_SEGEMENT_SIZE (in the english orginial version) you can read:<quote>
The size of the log segment depends on the size of the individual log volumes and must not be greater than the sum of all log volumes. </quote>
And this is translated with:
Die Größe der Log-Segmente ist unabhängig von der Größe der einzelnen Log-Volumes und darf nicht größer als die Summe aller Log-Volumes sein.
As far as i know depend means abhängig and not unabhängig as it´s translate. So do i understand then english version wrong or is there a failure in the translation??

Thanks in advanced and greetings,
Andreas
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SAP DB on FreeBSD

From: news.omnitel.net (pranashotmail.com)
Date: Mon Jul 28 2003 - 11:05:37 CDT


Has some one possibly tried running SAP DB in productions?

Please share your experience.

Thanks,
Pranas

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Status info on livecache db instance

From: Vanita Shroff (vanitasxentel.com)
Date: Mon Jul 28 2003 - 10:28:12 CDT


Hello:

I have come across several postings that say

"
16 Jan 2003:

As mentioned several time:
So far liveCache is not open source.

It will be in some future. Then docs fitting to that state will be released.
But by then no tries to install liveCache should be done, no help will
be given by SAP Labs.

There is no time schedule available for releasing it.
"

I am just curious to know if the livecache will be open source for sure, sometime soon? I am designing my database and am banking on the fact that I can use livecache database instance.

Regards,
Vanita

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
loadercli crash while catalogextract

MRistlstelcom.com
Date: Mon Jul 28 2003 - 10:30:58 CDT


Hi,

I have a parallel SapDB installation of 7.3.025, 7.4.3.25 and 7.4.3.27 on a
win2000 SP2.
as i described a few days the catalogextract crash with 7.4.3.27 too
(loadercli.exe - Application Errror: The instruction at "0x0043b370"
referenced memory at "0x013a7000". The memory could not be read. Click Ok
to terminate the program...).
The extract generate befor it crashs the sequences and a half of the table
create statements.

I can provide you with a zipped backup (664kB) of my test instance.

Thanks,
Michael

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: BoundsChecker and SAP ODBC Driver

From: Koetter, Thomas Theodor (thomas.theodor.koettersap.com)
Date: Mon Jul 28 2003 - 11:06:03 CDT


Hi Jeff,

> -----Original Message-----
> From: J. Jeff Roberts [mailto:jeffrobertskyyahoo.com]
> Sent: Freitag, 25. Juli 2003 19:31
> To: sapdb.generallistserv.sap.com
> Subject: BoundsChecker and SAP ODBC Driver
>
>
> While tracking down our own leaks, I found that BoundsChecker believes
> that we're leaking memory, handles and semaphores from the SAP ODBC
> driver (sqluser74.dll, sqlod32.dll).
>
> If I run the small program below to simply connect to a database and
> disconnect, BoundsChecker reports two regular memory leaks, one for
> something allocated by MapViewOfFile(), and 116 "nested leaks".

At our site we use Purify under Windows for such tasks. Actually
Purify reports similar things as mentioned in your mail, but I don't
believe, that these are leaks, because

 - our OS/machine independent runtime environment (that is of course
   used by the ODBC driver) has some initialize functions but no
   finalize functions. I.e. some resources (e.g. some thread local
   storage or semaphores etc.) is freed implicitely by ending a program.

 - other resources like the driver trace file cannot be closed since
   there is no "stop ODBC processing"-function (and therefore even
   if our runtime would have a finalize function we couldn't call it).

> Finally, it always claims that I've leaked the SQLHENV and
> the SQLHDBC.

This Purify does not report. I used the driver manager 3.520.9030.0
which should be part of the current MDAC 2.7. Do you have the same?

Of course there still might be (or shall I say: are) bugs
and maybe resource leaks in the ODBC driver. If you think that you
have found one, please try to exhibit the leak by a small program
for bug fixing.

Regards Thomas

PS: An excellent tool for Linux is valgrind!

----------------------------------------------
Dr. Thomas Kötter
SAP DB, SAP Labs Berlin

Hurry up, SAP DB is open source www.sapdb.org

 
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: BoundsChecker and SAP ODBC Driver

From: J. Jeff Roberts (jeffrobertskyyahoo.com)
Date: Mon Jul 28 2003 - 13:39:04 CDT


--- "Koetter, Thomas Theodor" <thomas.theodor.koettersap.com> wrote:
> Hi Jeff,
>
> > -----Original Message-----
[...]
> > Finally, it always claims that I've leaked the SQLHENV and
> > the SQLHDBC.
>
> This Purify does not report. I used the driver manager 3.520.9030.0
> which should be part of the current MDAC 2.7. Do you have the same?

The "Product Version" of my odbc32.dll is 3.520.6019.0 - I'm not sure
how to check the overall MDAC version, but I will try installing MDAC
2.7 and see if I get different results.

> Of course there still might be (or shall I say: are) bugs
> and maybe resource leaks in the ODBC driver. If you think that you
> have found one, please try to exhibit the leak by a small program
> for bug fixing.

I did attach a program to the original post. Even if some of the other
"leaks" are not problems, I can't explain away the 5-handle leak I get
every time I execute the program, which I will re-attach below:

#include "stdafx.h"

int main(int argc,char* argv[])
{
   SQLRETURN nResult;
   SQLHENV hEnvHandle;
   SQLHDBC hDBHandle;

   nResult = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE,
&hEnvHandle);

   nResult = SQLSetEnvAttr(hEnvHandle, SQL_ATTR_ODBC_VERSION,
(SQLPOINTER) SQL_OV_ODBC3, SQL_IS_INTEGER);

   nResult = SQLAllocHandle(SQL_HANDLE_DBC, hEnvHandle, &hDBHandle);

   SQLSMALLINT ConnInSize;
   SQLUSMALLINT DriverCompInd;
   SQLCHAR ConnOut[1500];
   SQLSMALLINT ConnOutMaxSize;
   SQLSMALLINT ConnOutSize;
   SQLHWND WinHandle;
   char szConnect[2048];

   strcpy(szConnect, "DRIVER={SAP
DB};SERVERNODE=localhost;SERVERDB=lddtest;UID=lexadmin;PWD=lexadmin;OPTION=3");

   ConnInSize = strlen(szConnect);
   DriverCompInd = SQL_DRIVER_NOPROMPT;
   ConnOutSize = 0;
   ConnOutMaxSize = 0;
   WinHandle = NULL;

   nResult = SQLDriverConnect(hDBHandle,
                              WinHandle,
                              (SQLCHAR*)szConnect,
                              ConnInSize,
                              ConnOut,
                              ConnOutMaxSize,
                              &ConnOutSize,
                              DriverCompInd);

   nResult= SQLDisconnect(hDBHandle);

   nResult = SQLFreeHandle(SQL_HANDLE_DBC, hDBHandle);

   nResult = SQLFreeHandle(SQL_HANDLE_ENV, hEnvHandle);

   return(0);
}

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Failure in the german translation of sap db library

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 14:25:19 CDT


Hi Andreas,

Andreas Grund wrote:
>
> Hi,
>
> do i read something wrong or is there a failure in the german sap db library? In the entry of the parameter LOG_SEGEMENT_SIZE (in the english orginial version) you can read:<quote>
> The size of the log segment depends on the size of the individual log volumes and must not be greater than the sum of all log volumes. </quote>
> And this is translated with:
> Die Größe der Log-Segmente ist unabhängig von der Größe der einzelnen Log-Volumes und darf nicht größer als die Summe aller Log-Volumes sein.
> As far as i know depend means abhängig and not unabhängig as it´s translate. So do i understand then english version wrong or is there a failure in the translation??

The german sentence is partly right. It has to be:

The size of the log segment does not depend on the size of the
individual log volumes and must not be greater than the half of the sum
of all log volumes.

This is also described in this way in the "ADM515 - Administration SAP
DB 7.3" training documentation.

You can set the value greater than the half size of the sum of all log
volumes but it will only be handles with the half as a maximum, as you
can see at the size of the log save files.

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Status info on livecache db instance

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 14:30:17 CDT


Hi Vanita,

> Vanita Shroff wrote:
>
> It will be in some future. Then docs fitting to that state will be
> released.
> But by then no tries to install liveCache should be done, no help will
> be given by SAP Labs.
>
> There is no time schedule available for releasing it.
> "
>
> I am just curious to know if the livecache will be open source for
> sure, sometime soon? I am designing my database and am banking on the
> fact that I can use livecache database instance.

Don't expect this to be published in the near future, this year or maybe
also not next year. This is all very vague.

I think you have to plan your application without this functionality or
you debug the source code :-).

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
ENC: Problem with OS crash

From: Alejandro Michelin Salomon ( Adinet ) (alejmsgadinet.com.uy)
Date: Mon Jul 28 2003 - 14:38:36 CDT


Adicional information :

The original instalation is sapdb 7.4.3.17 in win2k
 

-----Mensagem original-----
De: Alejandro Michelin Salomon ( Adinet ) [mailto:alejmsgadinet.com.uy]
Enviada em: segunda-feira, 28 de julho de 2003 16:36
Para: Sapdb General List
Assunto: Problem with OS crash

Hi :

My win2k pro crash ( only the OS ).

I make a backup of sapdb data directory to other harddrive.

The data directory is the directory treet thats old instalation have use.

The tree is D:\data\sapdb\IT
              D:\data\sapdb\PROBRAX
              D:\data\sapdb\PROBRAX\BCK

Instance IT, Data Tree:

D:\data\sapdb\IT has :

AUTOSAVE.001
DATA001
DATASAVE
LOG001
SYS001

Instance PROBRAX, Data Tree:

D:\data\sapdb\PROBRAX has :
AUTOSAVE.001
DATA001
DATASAVE
LOG001
SYS001

D:\data\sapdb\PROBRAX\BCK has :
DATASAVE

Both instance has default parameters.

I cant recreate this instances using this data files ?

If i cant, who i do this work ?

Cant you help me please.

Thanks in advance

Alejandro Michelin Salomon
PROBrax e-tech
Porto Alegre
Brasil
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: SAP DB on FreeBSD

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 14:35:11 CDT


Hi Pranas,

"news.omnitel.net" wrote:
>
> Has some one possibly tried running SAP DB in productions?
>
> Please share your experience.

there are over 1000 productive used SAP R/3 with SAP DB.

SAP DB is also used in many other delivered SAP tools (content server or
liveCache) - also productive - with another huge installation number.

Here are some more infos about at least two exemplary cases of usage of
SAP DB in different environments:
http://www.sapdb.org/7.4/pdf/linuxday2003.pdf

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Problem with OS crash

From: Alejandro Michelin Salomon ( Adinet ) (alejmsgadinet.com.uy)
Date: Mon Jul 28 2003 - 14:35:51 CDT


Hi :

My win2k pro crash ( only the OS ).

I make a backup of sapdb data directory to other harddrive.

The data directory is the directory treet thats old instalation have use.

The tree is D:\data\sapdb\IT
              D:\data\sapdb\PROBRAX
              D:\data\sapdb\PROBRAX\BCK

Instance IT, Data Tree:

D:\data\sapdb\IT has :

AUTOSAVE.001
DATA001
DATASAVE
LOG001
SYS001

Instance PROBRAX, Data Tree:

D:\data\sapdb\PROBRAX has :
AUTOSAVE.001
DATA001
DATASAVE
LOG001
SYS001

D:\data\sapdb\PROBRAX\BCK has :
DATASAVE

Both instance has default parameters.

I cant recreate this instances using this data files ?

If i cant, who i do this work ?

Cant you help me please.

Thanks in advance

Alejandro Michelin Salomon
PROBrax e-tech
Porto Alegre
Brasil
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Database Crash

dhaylexmark.com
Date: Mon Jul 28 2003 - 13:43:38 CDT


Hi,

While Holger is away, does anyone know how I can get around this crash?

As the notes below explain (especially the first one) we are issuing an
"update stat * estimate", and when we do we repeatedly (though not every
time) get a kernel.exe crash.

Once everything is loaded in the base tables, only our metrics table
changes much over time - all our printing is captured there, so it can
change dramatically.

Also, the explain for the query we commonly execute involves only an index
scan and a join on key column. Will this be seriously affected if we take
out the update stat altogether?

Cheers,

David

---------------------- Forwarded by David Hay/Lex/Lexmark on 28/07/2003
02:38 PM ---------------------------

"Becker, Holger" <holger.beckersap.com> on 18/07/2003 12:14:55 PM

To: "'dhaylexmark.com'" <dhaylexmark.com>
cc:
Subject: RE: Database Crash

Hi David,

until now we couldn't exclude any thing also the other activities
on your database because we don't know what happened exactly.

The update stat command changes some catalog informations and so
it have to be logged to be "rollbackable".
The trace shows that while writing the before and after image
a log error happened and this will result in an emergency shutdown.

My next reply will reach you in two weeks.

Kind regards,
Holger
SAP Labs Berlin

> -----Original Message-----
> From: dhaylexmark.com [mailto:dhaylexmark.com]
> Sent: Freitag, 18. Juli 2003 16:44
> To: Becker, Holger
> Subject: RE: Database Crash
>
>
>
> Hi Holger,
>
> Thanks for the quick reply!
>
> Will try that. There was lots of other database activity
> going on at the
> time, including some of the tables being locked exclusively.
> Will this
> affect the update stat? I thought I read that it wouldn't,
> but could well
> be wrong.
>
> Could you explain further on what you mean by "update
> statistic command and
> logging"? Is the logging affecting the update stat command? We have
> logging set to "auto overwrite on".
>
> Many thanks,
>
> David
>
>
>
>
>
> "Becker, Holger" <holger.beckersap.com> on 18/07/2003 10:34:40 AM
>
> To: "'dhaylexmark.com'" <dhaylexmark.com>
> cc:
> Subject: RE: Database Crash
>
>
> Hi David,
>
> sure, I'll tell the log developer to keep you up to date.
>
> But as I wrote it seems to be a problem with update statistic
> command and logging perhaps it could be a workaround to change
> your update stat behavior.
>
> In the vtrace I saw an "updtat statistics * estimate".
> Try it with an update statistics * estimate sample 10 percent.
>
> Kind regards,
> Holger
> SAP Labs Berlin
>
> > -----Original Message-----
> > From: dhaylexmark.com [mailto:dhaylexmark.com]
> > Sent: Freitag, 18. Juli 2003 16:21
> > To: Becker, Holger
> > Subject: RE: Database Crash
> >
> >
> >
> > Hi Holger,
> >
> > Thanks for the note.
> >
> > We are in some time crunch with solving this. Would there be
> > any way you
> > could have someone else monitor the issue while you're gone
> > and let us know
> > an update as soon as it becomes available?
> >
> > many thanks,
> >
> > David
> >
> >
> >
> >
> > "Becker, Holger" <holger.beckersap.com> on 18/07/2003 09:36:06 AM
> >
> > To: "'dhaylexmark.com'" <dhaylexmark.com>
> > cc:
> > Subject: RE: Database Crash
> >
> >
> > Hello David,
> >
> > no problem with direct mail but for the next two weeks
> > im on vacation so my answers will come with some delay.
> >
> > Now to your question.
> >
> > The provided knldiag and trace.txt shows a log error
> > at update statistics command. It seems to be a unknown bug.
> > I've forwarded your mail to our log developers.
> >
> > I think they will contact you if they need further information
> > and of course let you know if they find the bug.
> >
> > Best regards,
> > Holger
> > SAP Labs Berlin
> >
> > > -----Original Message-----
> > > From: dhaylexmark.com [mailto:dhaylexmark.com]
> > > Sent: Donnerstag, 17. Juli 2003 21:05
> > > To: Becker, Holger
> > > Subject: Database Crash
> > >
> > >
> > > Hi Holger,
> > >
> > > I guess zip file was too big the first time - took out log
> > and trying
> > > again!
> > >
> > > Cheers,
> > >
> > > David
> > > (See attached file: dbm.zip)
> > > ---------------------- Forwarded by David Hay/Lex/Lexmark on
> > > 17/07/2003
> > > 03:05 PM ---------------------------
> > >
> > >
> > > David Hay
> > > 17/07/2003 11:22 AM
> > >
> > > To: "Becker, Holger" <holger.beckersap.com>
> > > cc:
> > >
> > > Subject: Database Crash (Document link: David Hay)
> > >
> > > Hi Holger,
> > >
> > > Apologies for contacting you "off list" - not sure who to
> > > send these files
> > > to - we are seeing the database kernal just suddenly crashing
> > > - and you've
> > > been very helpful in the past.
> > >
> > > I turned vtrace on, and have extracted it into trace.txt in
> > > attached zip
> > > file, along with other files I thought you might need.
> > >
> > > Would really appreciate your help - can't see anything
> > > obvious, and not
> > > sure where to go next.
> > >
> > > Please let me know if you need more information.
> > >
> > > Cheers,
> > >
> > > David
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
>
>
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Memory Overflow while running sapdb!

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 14:55:03 CDT


Hi Danny,

Danny Tramnitzke wrote:
>
> Sorry for spam again, but I found the definition-text of the ChacheSize :
>
> ----
> The value specifies the i/o capable memory used by the data cache and the
> converter. It is very important for the performance of the database.
>
> The converter transforms a logical page number into a physical block
> address on the data volumes. Caused by the importance the converter
> resides completely in the memory. The remaining memory is used by the
> data cache.
>
> Use the database monitoring to obtain information about the data cache
> hit rate and the performance of the system.
>
> The lower and upper limits are:
> 800 <= CACHE_SIZE <= 2147483640
>
> (4 bytes integer)

The "(4 bytes integer)" only defines the storage size of the parameter-
Thus you can set values up to 2^32/2 in it.
The Link

http://www.sapdb.org/7.4/htmhelp/90/9e0d0c954e11d5993300508b6b8b11/content.htm

points out:

The general database parameter CACHE_SIZE denotes the size of the I/O
buffer cache in pages.

Therefore, as a page is 8kByte, you can calculate the right size of the
consumed memory. Sure, this memory should be smaler than the main memory
decreased by all the other needs in the system to prevent paging here.

BTW, for R/3 systems the hitrate of the Cache should be near to 99% or
even 100% after some time of full operation. But give it some time to
get its balance here.

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: ENC: Problem with OS crash

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 15:38:32 CDT


Hi Alejandro,

"Alejandro Michelin Salomon ( Adinet )" wrote:
>
> I make a backup of sapdb data directory to other harddrive.
>
> The data directory is the directory treet thats old instalation have use.
>
> The tree is D:\data\sapdb\IT
> D:\data\sapdb\PROBRAX
> D:\data\sapdb\PROBRAX\BCK
>

[...]

> I cant recreate this instances using this data files ?
>
> If i cant, who i do this work ?
>
> Cant you help me please.

oh, no, Alejandro, don't do it by copying data or the other volumes.
This won't work, if you do not have much knowledge of SAP DB. Please use
the DBMGUI to create a backup of the source database and then do an
"Instance -> Install" on the target server which creates the new
instance (please choose restore instance in the database wizard step 7
of 8 in your case) and after this you should restore the database in
ADMIN mode. Be sure that the database is not started to ONLINE until you
finished the restore.
This is the standard procedure.

I would have liked to give you a link with a good pictured guide (a
picture says more than thousand words) of the different steps of the
database wizard process but there isn't one on www.sapdb.org.
Therefore, you have to check the
http://www.sapdb.org/7.4/pdf/dbmgui_74eng.pdf
or
http://www.sapdb.org/htmhelp/30/5ada35596211d4aa83006094b92fad/content.htm

But be carefull. The html docu you can find here on www.sapdb.org is
sometimes already for the new DBMGUI 7.4 SE (SE for second edition) and
there are some changes in the DBMGUI and especially in the wizards. If
you find the "Instance -> Install" on the description page you are with
the standard DBMGUI 7.4.

Good luck!

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Problem with OS crash

From: Alejandro Michelin Salomon ( Adinet ) (alejmsgadinet.com.uy)
Date: Mon Jul 28 2003 - 16:16:43 CDT


> -----Mensagem original-----
> De: Dr. Ralf Czekalla [mailto:RalfCzekalla.COM]
> Enviada em: segunda-feira, 28 de julho de 2003 17:39
> Para: Alejandro Michelin Salomon ( Adinet )
> Cc: Sapdb General List
> Assunto: Re: ENC: Problem with OS crash
>
>
> Hi Alejandro,
>
> "Alejandro Michelin Salomon ( Adinet )" wrote:
> >
> > I make a backup of sapdb data directory to other harddrive.
> >
> > The data directory is the directory treet thats old instalation
> have use.
> >
> > The tree is D:\data\sapdb\IT
> > D:\data\sapdb\PROBRAX
> > D:\data\sapdb\PROBRAX\BCK
> >
>
> [...]
>
> > I cant recreate this instances using this data files ?
> >
> > If i cant, who i do this work ?
> >
> > Cant you help me please.
>
> oh, no, Alejandro, don't do it by copying data or the other volumes.
> This won't work, if you do not have much knowledge of SAP DB. Please use
> the DBMGUI to create a backup of the source database and then do an
> "Instance -> Install" on the target server which creates the new
> instance (please choose restore instance in the database wizard step 7
> of 8 in your case) and after this you should restore the database in
> ADMIN mode. Be sure that the database is not started to ONLINE until you
> finished the restore.
> This is the standard procedure.
>
> I would have liked to give you a link with a good pictured guide (a
> picture says more than thousand words) of the different steps of the
> database wizard process but there isn't one on www.sapdb.org.
> Therefore, you have to check the
> http://www.sapdb.org/7.4/pdf/dbmgui_74eng.pdf
> or
> http://www.sapdb.org/htmhelp/30/5ada35596211d4aa83006094b92fad/content.htm
>
> But be carefull. The html docu you can find here on www.sapdb.org is
> sometimes already for the new DBMGUI 7.4 SE (SE for second edition) and
> there are some changes in the DBMGUI and especially in the wizards. If
> you find the "Instance -> Install" on the description page you are with
> the standard DBMGUI 7.4.
>
> Good luck!
>
> Ciao Ralf

I format and reinstalled the win 2k machine, and install sapdb vercion
7.4.3.27.
I have no backups to restore, at this moment i have no instance created.

Only i have old disk strucure both, data tree and ( dependent and
independent instalation directories).

I reed the Restoring an Existing Database Instance in the manual.
I have Prerequisites OK for this procedure.

But´s i haven no instance registered in the DBMGUI becouse this instalations
is a new.

Howto import the Data from de older devspaces to de new instalation ?

Alejandro Michelin Salomon
PROBrax e-tech
Porto Alegre
Brasil

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Problem with OS crash

From: Martin Cordova S. (mcordovamegaserv.com)
Date: Mon Jul 28 2003 - 16:22:01 CDT


Alejandro, we have published a SAPDB how-to for these basic admin
activities. The article is written in spanish, and available for download:

http://java.megaserv.com/sapdb-quickstart.pdf

It does cover your case, using Linux instead of Windows, but the scripts are
almost identical. We only use dbmcli (no GUI, just simple scripts).

One thing is not covered, because we have not been able to make it work:
restore data AND last log bakups after a clean reinstall. We can only guide
you to restore your last full databackup after reinstall. Sorry, but we
could not find this specific know-how in SAPDB docs. Everything we tried,
failed. We will have to wait until someone writes a clear step-by-step
how-to restore up to the last log backup from total crash.

Regards,
Martin - http://java.megaserv.com

----- Original Message -----
From: "Alejandro Michelin Salomon ( Adinet )" <alejmsgadinet.com.uy>
To: "Dr. Ralf Czekalla" <RalfCzekalla.COM>
Cc: "Sapdb General List" <sapdb.generallistserv.sap.com>
Sent: Monday, July 28, 2003 5:16 PM
Subject: RE: Problem with OS crash

>
>
>
>
>
> > -----Mensagem original-----
> > De: Dr. Ralf Czekalla [mailto:RalfCzekalla.COM]
> > Enviada em: segunda-feira, 28 de julho de 2003 17:39
> > Para: Alejandro Michelin Salomon ( Adinet )
> > Cc: Sapdb General List
> > Assunto: Re: ENC: Problem with OS crash
> >
> >
> > Hi Alejandro,
> >
> > "Alejandro Michelin Salomon ( Adinet )" wrote:
> > >
> > > I make a backup of sapdb data directory to other harddrive.
> > >
> > > The data directory is the directory treet thats old instalation
> > have use.
> > >
> > > The tree is D:\data\sapdb\IT
> > > D:\data\sapdb\PROBRAX
> > > D:\data\sapdb\PROBRAX\BCK
> > >
> >
> > [...]
> >
> > > I cant recreate this instances using this data files ?
> > >
> > > If i cant, who i do this work ?
> > >
> > > Cant you help me please.
> >
> > oh, no, Alejandro, don't do it by copying data or the other volumes.
> > This won't work, if you do not have much knowledge of SAP DB. Please use
> > the DBMGUI to create a backup of the source database and then do an
> > "Instance -> Install" on the target server which creates the new
> > instance (please choose restore instance in the database wizard step 7
> > of 8 in your case) and after this you should restore the database in
> > ADMIN mode. Be sure that the database is not started to ONLINE until you
> > finished the restore.
> > This is the standard procedure.
> >
> > I would have liked to give you a link with a good pictured guide (a
> > picture says more than thousand words) of the different steps of the
> > database wizard process but there isn't one on www.sapdb.org.
> > Therefore, you have to check the
> > http://www.sapdb.org/7.4/pdf/dbmgui_74eng.pdf
> > or
> >
http://www.sapdb.org/htmhelp/30/5ada35596211d4aa83006094b92fad/content.htm
> >
> > But be carefull. The html docu you can find here on www.sapdb.org is
> > sometimes already for the new DBMGUI 7.4 SE (SE for second edition) and
> > there are some changes in the DBMGUI and especially in the wizards. If
> > you find the "Instance -> Install" on the description page you are with
> > the standard DBMGUI 7.4.
> >
> > Good luck!
> >
> > Ciao Ralf
>
> I format and reinstalled the win 2k machine, and install sapdb vercion
> 7.4.3.27.
> I have no backups to restore, at this moment i have no instance created.
>
> Only i have old disk strucure both, data tree and ( dependent and
> independent instalation directories).
>
> I reed the Restoring an Existing Database Instance in the manual.
> I have Prerequisites OK for this procedure.
>
> But´s i haven no instance registered in the DBMGUI becouse this
instalations
> is a new.
>
> Howto import the Data from de older devspaces to de new instalation ?
>
> Alejandro Michelin Salomon
> PROBrax e-tech
> Porto Alegre
> Brasil
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: ENC: Problem with OS crash

dhaylexmark.com
Date: Mon Jul 28 2003 - 15:50:27 CDT


Any rumors when the Second Edition is coming out?!

Cheers,

David

"Dr. Ralf Czekalla" <RalfCzekalla.COM>listserv.sap.com on 28/07/2003
04:38:32 PM

Sent by: sapdb.general-adminlistserv.sap.com

To: "Alejandro Michelin Salomon ( Adinet )" <alejmsgadinet.com.uy>
cc: Sapdb General List <sapdb.generallistserv.sap.com>
Subject: Re: ENC: Problem with OS crash

Hi Alejandro,

"Alejandro Michelin Salomon ( Adinet )" wrote:
>
> I make a backup of sapdb data directory to other harddrive.
>
> The data directory is the directory treet thats old instalation have use.
>
> The tree is D:\data\sapdb\IT
> D:\data\sapdb\PROBRAX
> D:\data\sapdb\PROBRAX\BCK
>

[...]

> I cant recreate this instances using this data files ?
>
> If i cant, who i do this work ?
>
> Cant you help me please.

oh, no, Alejandro, don't do it by copying data or the other volumes.
This won't work, if you do not have much knowledge of SAP DB. Please use
the DBMGUI to create a backup of the source database and then do an
"Instance -> Install" on the target server which creates the new
instance (please choose restore instance in the database wizard step 7
of 8 in your case) and after this you should restore the database in
ADMIN mode. Be sure that the database is not started to ONLINE until you
finished the restore.
This is the standard procedure.

I would have liked to give you a link with a good pictured guide (a
picture says more than thousand words) of the different steps of the
database wizard process but there isn't one on www.sapdb.org.
Therefore, you have to check the
http://www.sapdb.org/7.4/pdf/dbmgui_74eng.pdf
or
http://www.sapdb.org/htmhelp/30/5ada35596211d4aa83006094b92fad/content.htm

But be carefull. The html docu you can find here on www.sapdb.org is
sometimes already for the new DBMGUI 7.4 SE (SE for second edition) and
there are some changes in the DBMGUI and especially in the wizards. If
you find the "Instance -> Install" on the description page you are with
the standard DBMGUI 7.4.

Good luck!

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
 http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
ODBC Driver Name Change!!!!!!!!!!!!!!!!!!

dhaylexmark.com
Date: Mon Jul 28 2003 - 17:02:20 CDT


Hi,

We are looking to upgrade to 7.4.03.25, but my manager was a little alarmed
that the ODBC driver name change (from SAP DB 7.4 to SAP DB) was not
mentioned anywhere in the release notes!! (it broke our code when we did a
test upgrade).

Please could you let me know why this was, and if there is anything we need
to be aware of that didn't make the release notes?

Many thanks,

David

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SAPDB Installation problem

From: Michael Slinn (mslinnmslinn.com)
Date: Mon Jul 28 2003 - 18:39:33 CDT


I enclose the results of running an install script for SAPDB 7.3.0.34 on
Red Hat 9. The results of the script are shown below, and a complete
story is attached.

Thanks for your help.

Mike Slinn

sudo /opt/sapdb/indep_prog/bin/dbmcli -d zamples -u sapdb,myPassword -i
/var/opt/sapdb/zamplesCreate
>param_startsession
OK

---
>param_init
OK

---
>param_put MAXUSERTASKS 5
OK

---
>param_checkall
OK

---
>param_commitsession
OK

---
>param_addvolume 1 LOG LOG_001 F 2000
ERR
-24977,ERR_COMMAND: unknown command "param_addvolume"

Best regards,

Michael Slinn
Founder & CTO
http://zamples.com
650-345-1140

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general



 
Re: Problem with OS crash

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 19:13:54 CDT


Hi Alejandro,

"Alejandro Michelin Salomon ( Adinet )" wrote:
>
>
> I format and reinstalled the win 2k machine, and install sapdb vercion
> 7.4.3.27.
> I have no backups to restore, at this moment i have no instance created.
>
> Only i have old disk strucure both, data tree and ( dependent and
> independent instalation directories).
>
> I reed the Restoring an Existing Database Instance in the manual.
> I have Prerequisites OK for this procedure.
>
> But´s i haven no instance registered in the DBMGUI becouse this instalations
> is a new.
>
> Howto import the Data from de older devspaces to de new instalation ?

OK, that may be more difficult than I thought so far. I'm not sure if we
can solve this by only mailing because this is very complex to restore
the paramfile of the old instance so that we can copy the data devspaces
back so that the params and volumes fits together and the kernel will
accept this.

BTW, the registration can be easiely restored. Registrate it again in
the DBMGUI and it will be back.

But,
1. are you really sure that you have the same parameterfile
   now as before for the old instance?

2. Is this new instance already startable to ONLINE after the
   recreation?

3. Do you have the old paramfile of the old installation?
   Usually this file can be found in
   <indepdatapath>\config\<Databasename>

4. Do the newly created files DATA001, LOG001 and SYS001 have
   the same size down to the byte as the files you have from
   before the OS crash?

5. The files DATASAVE and AUTOSAVE.001 seems to be standard data
   and log backups of the SAP DB, can't you use them to start the
   standard process with the datanse wizard as described before?

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: ENC: Problem with OS crash

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Mon Jul 28 2003 - 19:16:21 CDT


Hi David,

dhaylexmark.com wrote:
>
> Any rumors when the Second Edition is coming out?!
>

I think it will not last very long now... :-).

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: SAPDB Installation problem

From: Schmoger, Daniel (daniel.schmogersap.com)
Date: Tue Jul 29 2003 - 01:30:45 CDT


hi michael,
this dbm command is used by SAP DB 7.4.
in your case it should be "param_adddevspace".
please look at the demo db script /opt/sapdb/depend/misc/create_demo_db.sh.

hth,
 daniel

> -----Original Message-----
> From: Michael Slinn [mailto:mslinnmslinn.com]
> Sent: Dienstag, 29. Juli 2003 01:40
> To: sapdb.generallistserv.sap.com
> Subject: SAPDB Installation problem
>
>
> I enclose the results of running an install script for SAPDB
> 7.3.0.34 on
> Red Hat 9. The results of the script are shown below, and a complete
> story is attached.
>
> Thanks for your help.
>
> Mike Slinn
>
>
>
> sudo /opt/sapdb/indep_prog/bin/dbmcli -d zamples -u
> sapdb,myPassword -i
> /var/opt/sapdb/zamplesCreate
> >param_startsession
> OK
>
> ---
> >param_init
> OK
>
> ---
> >param_put MAXUSERTASKS 5
> OK
>
> ---
> >param_checkall
> OK
>
> ---
> >param_commitsession
> OK
>
> ---
> >param_addvolume 1 LOG LOG_001 F 2000
> ERR
> -24977,ERR_COMMAND: unknown command "param_addvolume"
>
>
> Best regards,
>
> Michael Slinn
> Founder & CTO
> http://zamples.com
> 650-345-1140
>
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Urgent : 7.3 Instalation Fails

From: Joao (joaoinforap.pt)
Date: Tue Jul 29 2003 - 04:46:51 CDT


Hello,

I'm Trying to install the SAPDB 7.3.0.32
on AIX 4.3.2 (C++ runtime 4.0.2.1)
and the configuration program returns the folwing error:

-----------------------------------------
check unpacked archive...
check unpacked archive: ok
error occured while executing /usr/sapdb/depend/bin/xregcomp -c
/usr/sapdb/depen
d/lib/dbpinstall
commandline: Couldn't load library: /usr/sapdb/depend/lib/liboms
commandline: Symbol dlsym in /usr/sapdb/depend/lib/liboms.so is undefined
commandline: Symbol dlerror in /usr/sapdb/depend/lib/liboms.so is undefined
commandline: Symbol dlopen in /usr/sapdb/depend/lib/liboms.so is undefined
commandline: Symbol dlclose in /usr/sapdb/depend/lib/liboms.so is undefined
installation exited abnormally at Tu, Jul 29, 2003 at 09:33:25
--------------------------------------

Note : seams to me that the extraction phase is executed 2 times.... (maybe
because i'm repeating the instalation (because the first time give me an
error))

Tanks a lot,
João

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
before delete trigger event

From: Piotr Intres (piotrpower.com.pl)
Date: Tue Jul 29 2003 - 05:12:56 CDT


Hi,
I've found following answer:

>sapdb does not support BEFORE event triggers.
>If you want to check some constraints
>before deleting a row, you must execute this check in an AFTER event
>trigger
>and
>rollback the statement, if the constraint isn't fulfilled.
>The statement will be rollbacked automatically, if the trigger returns
>via a
>STOP statement with a negative return code.

>Thomas
>SAP Labs Berlin

but it was 2001 I.
Is it still actual? Or maybe it is (or will be soon) possible to create
"before delete" trigger.

Thanx a lot,
Piotr

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: before delete trigger event

From: Zabach, Elke (elke.zabachsap.com)
Date: Tue Jul 29 2003 - 06:09:56 CDT


Piotr Intres wrote:
>
> Hi,
> I've found following answer:
>
> >sapdb does not support BEFORE event triggers.
> >If you want to check some constraints
> >before deleting a row, you must execute this check in an
> AFTER event
> >trigger
> >and
> >rollback the statement, if the constraint isn't fulfilled.
> >The statement will be rollbacked automatically, if the
> trigger returns
> >via a
> >STOP statement with a negative return code.
>
> >Thomas
> >SAP Labs Berlin
>
> but it was 2001 I.
> Is it still actual? Or maybe it is (or will be soon) possible
> to create
> "before delete" trigger.

No change of state.
before-trigger are not implemented and there are no exact plans
to do it.

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
FW: Problem with OS crash

From: Montag, Marina (marina.montagsap.com)
Date: Tue Jul 29 2003 - 06:22:29 CDT


Holà Alejandro,
There is a HowTo called "Backup and Recovery with the Database Manager CLI" (Short Description) at www.sapdb.org -> Documentation, under the heading How To Work With SAP DB (http://www.sapdb.org/7.4/pdf/backrec_eng.pdf).
Best regards
Marina Montag
SAP DB Team
SAP Labs Berlin

  
-----Original Message-----
From: Alejandro Michelin Salomon ( Adinet )
[mailto:alejmsgadinet.com.uy]
Sent: Montag, 28. Juli 2003 23:17
To: Dr. Ralf Czekalla
Cc: Sapdb General List
Subject: RE: Problem with OS crash

> -----Mensagem original-----
> De: Dr. Ralf Czekalla [mailto:RalfCzekalla.COM]
> Enviada em: segunda-feira, 28 de julho de 2003 17:39
> Para: Alejandro Michelin Salomon ( Adinet )
> Cc: Sapdb General List
> Assunto: Re: ENC: Problem with OS crash
>
>
> Hi Alejandro,
>
> "Alejandro Michelin Salomon ( Adinet )" wrote:
> >
> > I make a backup of sapdb data directory to other harddrive.
> >
> > The data directory is the directory treet thats old instalation
> have use.
> >
> > The tree is D:\data\sapdb\IT
> > D:\data\sapdb\PROBRAX
> > D:\data\sapdb\PROBRAX\BCK
> >
>
> [...]
>
> > I cant recreate this instances using this data files ?
> >
> > If i cant, who i do this work ?
> >
> > Cant you help me please.
>
> oh, no, Alejandro, don't do it by copying data or the other volumes.
> This won't work, if you do not have much knowledge of SAP DB. Please use
> the DBMGUI to create a backup of the source database and then do an
> "Instance -> Install" on the target server which creates the new
> instance (please choose restore instance in the database wizard step 7
> of 8 in your case) and after this you should restore the database in
> ADMIN mode. Be sure that the database is not started to ONLINE until you
> finished the restore.
> This is the standard procedure.
>
> I would have liked to give you a link with a good pictured guide (a
> picture says more than thousand words) of the different steps of the
> database wizard process but there isn't one on www.sapdb.org.
> Therefore, you have to check the
> http://www.sapdb.org/7.4/pdf/dbmgui_74eng.pdf
> or
> http://www.sapdb.org/htmhelp/30/5ada35596211d4aa83006094b92fad/content.htm
>
> But be carefull. The html docu you can find here on www.sapdb.org is
> sometimes already for the new DBMGUI 7.4 SE (SE for second edition) and
> there are some changes in the DBMGUI and especially in the wizards. If
> you find the "Instance -> Install" on the description page you are with
> the standard DBMGUI 7.4.
>
> Good luck!
>
> Ciao Ralf

I format and reinstalled the win 2k machine, and install sapdb vercion
7.4.3.27.
I have no backups to restore, at this moment i have no instance created.

Only i have old disk strucure both, data tree and ( dependent and
independent instalation directories).

I reed the Restoring an Existing Database Instance in the manual.
I have Prerequisites OK for this procedure.

But´s i haven no instance registered in the DBMGUI becouse this instalations
is a new.

Howto import the Data from de older devspaces to de new instalation ?

Alejandro Michelin Salomon
PROBrax e-tech
Porto Alegre
Brasil

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Urgent : 7.3 Instalation Fails

From: Schmoger, Daniel (daniel.schmogersap.com)
Date: Tue Jul 29 2003 - 06:14:21 CDT


sorry, to get it running you need at least AIX 4.3.3.0

bye
 daniel

> -----Original Message-----
> From: Joao [mailto:joaoinforap.pt]
> Sent: Dienstag, 29. Juli 2003 11:47
> To: sapdb.generallistserv.sap.com
> Subject: Urgent : 7.3 Instalation Fails
>
>
> Hello,
>
> I'm Trying to install the SAPDB 7.3.0.32
> on AIX 4.3.2 (C++ runtime 4.0.2.1)
> and the configuration program returns the folwing error:
>
> -----------------------------------------
> check unpacked archive...
> check unpacked archive: ok
> error occured while executing /usr/sapdb/depend/bin/xregcomp -c
> /usr/sapdb/depen
> d/lib/dbpinstall
> commandline: Couldn't load library: /usr/sapdb/depend/lib/liboms
> commandline: Symbol dlsym in /usr/sapdb/depend/lib/liboms.so
> is undefined
> commandline: Symbol dlerror in
> /usr/sapdb/depend/lib/liboms.so is undefined
> commandline: Symbol dlopen in /usr/sapdb/depend/lib/liboms.so
> is undefined
> commandline: Symbol dlclose in
> /usr/sapdb/depend/lib/liboms.so is undefined
> installation exited abnormally at Tu, Jul 29, 2003 at 09:33:25
> --------------------------------------
>
>
> Note : seams to me that the extraction phase is executed 2
> times.... (maybe
> because i'm repeating the instalation (because the first time
> give me an
> error))
>
> Tanks a lot,
> João
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Packages?

From: Weiser, Michael (Michael.Weisert-systems.com)
Date: Tue Jul 29 2003 - 06:49:42 CDT


Hi,

how can I create packages in SAPDB or is
there any other way to organise procedures?

Michael Weiser
T-Systems
Systems Integration
Business Unit Entwicklungszentrum Süd-West
T-Systems Nova GmbH
Hausadresse: Neugrabenweg 4, 66123 Saarbrücken
E-Mail: mailto:Michael.Weisert-systems.com
Internet: http://www.t-systems.com

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
triggers and NEW variable

From: Piotr Intres (piotrpower.com.pl)
Date: Tue Jul 29 2003 - 07:34:41 CDT


Hello again,

I have written folowing trigger:

CREATE TRIGGER "PRZELEW_DOW_WEWN" FOR "PRZELEW" AFTER INSERT , UPDATE (
"DATA_ZAPLACENIA") EXECUTE
(
    VAR
          <some variables>
    TRY
       BEGIN
          IF (:NEW.DATA_ZAPLACENIA IS NULL OR :NEW.TYP != 53) THEN
             BEGIN
                <some code>
             END;
        .
        .
        .
       END;
    CATCH
        .
        .
        .
)

Documentation says that "... :NEW and :OLD variables must always be used
with a colon in SQL statements ...".
When I use :NEW.DATA_ZAPLACENIA inside of IF statement (as above) I
receive "Parameter spec not allowed" message, but when I remove colon
the message changes to "Table name must be in from list". Please tell
how to solve it.

Thanx a lot,
Piotr

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Adminstrating backup mediums

Chr.Zinkgmx.de
Date: Tue Jul 29 2003 - 07:58:08 CDT


Hallo,

With the help of the dbmcli commands "medium_get" and "medium_getall" it is
posible to list all the created mediums for a database. "medium_delete" is
used to delete a specific medium.

Every backupfile of a medium also has an unique id (as you can see in the
dbm.knl of a specific database).

The "medium_delete" command only excepts mediumlabels as option. My problem
at this point: I've created a medium serveral times with different
backupfiles. So how is it posible to delete a specific backupfile (via backupfilename
or the unique id)?

Thx. Chr. Zink

--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Urgent : 7.3 Instalation Fails

From: Joao (joaoinforap.pt)
Date: Tue Jul 29 2003 - 08:34:52 CDT


      http://www.sapdb.org/sap_db_aix.htm

      Tested:

      AIX 4.3.2

      We recommend that you use the latest version of the C++ runtime
library for the operating system release.
      (Tested in AIX 4.3.2 and C++ runtime 3.6.6.0)

I Sugest you to correct the Web Page.... :-)

Tanks a lot,
João
------------------------------------------------

"Schmoger, Daniel" <daniel.schmogersap.com> escreveu na mensagem
news:1275A224C449D4119CE900508B6FF0B308998186dewdfx20.wdf.sap.corp...
> sorry, to get it running you need at least AIX 4.3.3.0
>
> bye
> daniel
>
> > -----Original Message-----
> > From: Joao [mailto:joaoinforap.pt]
> > Sent: Dienstag, 29. Juli 2003 11:47
> > To: sapdb.generallistserv.sap.com
> > Subject: Urgent : 7.3 Instalation Fails
> >
> >
> > Hello,
> >
> > I'm Trying to install the SAPDB 7.3.0.32
> > on AIX 4.3.2 (C++ runtime 4.0.2.1)
> > and the configuration program returns the folwing error:
> >
> > -----------------------------------------
> > check unpacked archive...
> > check unpacked archive: ok
> > error occured while executing /usr/sapdb/depend/bin/xregcomp -c
> > /usr/sapdb/depen
> > d/lib/dbpinstall
> > commandline: Couldn't load library: /usr/sapdb/depend/lib/liboms
> > commandline: Symbol dlsym in /usr/sapdb/depend/lib/liboms.so
> > is undefined
> > commandline: Symbol dlerror in
> > /usr/sapdb/depend/lib/liboms.so is undefined
> > commandline: Symbol dlopen in /usr/sapdb/depend/lib/liboms.so
> > is undefined
> > commandline: Symbol dlclose in
> > /usr/sapdb/depend/lib/liboms.so is undefined
> > installation exited abnormally at Tu, Jul 29, 2003 at 09:33:25
> > --------------------------------------
> >
> >
> > Note : seams to me that the extraction phase is executed 2
> > times.... (maybe
> > because i'm repeating the instalation (because the first time
> > give me an
> > error))
> >
> > Tanks a lot,
> > João
> >
> >
> >
> > _______________________________________________
> > sapdb.general mailing list
> > sapdb.generallistserv.sap.com
> > http://listserv.sap.com/mailman/listinfo/sapdb.general
> >

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Packages?

From: Zabach, Elke (elke.zabachsap.com)
Date: Tue Jul 29 2003 - 10:20:24 CDT


 Weiser, Michael wrote:

> Hi,
>
> how can I create packages in SAPDB or is
> there any other way to organise procedures?

There is no feature available in SAP DB to organise dbprocs
in something like packages.
All dbprocs live for their own.

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: dataload with newlines

From: Schildberg, Steffen (steffen.schildbergsap.com)
Date: Tue Jul 29 2003 - 10:32:41 CDT


Hi Stefan,
sorry for the delay in answering your question. I just
returned from vacation.

Ludwig, Stefan (DZ-SH) [mailto:Stefan.Ludwigdzsh.de] wrote:
>
> There's another problem with dataload:
> when reading text files dataload is unable
> to correctly process newlines in string values.
> It interprets newlines as end-of-records.
>
Yes.
> Is there any way to avoid this problem?
>
This depends on the format used for the data file. In case
FWV (fixed width) format there would be a possibility. In case
using the CSV format (COMPRESSED keyword in dataload commands)
there is no chance.
How do you generate the data? In case you transport from
SAPDB to SAPDB there would be a proprietary format that could be
used thats free of such shortcomings.

Regards,
 Steffen
--
Steffen Schildberg
SAP DB Team
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: ODBC Driver Name Change!!!!!!!!!!!!!!!!!!

From: Koetter, Thomas Theodor (thomas.theodor.koettersap.com)
Date: Tue Jul 29 2003 - 10:54:33 CDT


> -----Original Message-----
> From: dhaylexmark.com [mailto:dhaylexmark.com]
> Sent: Dienstag, 29. Juli 2003 00:02
> To: sapdb.generallistserv.sap.com
> Subject: ODBC Driver Name Change!!!!!!!!!!!!!!!!!!
>
>
> Hi,
>
> We are looking to upgrade to 7.4.03.25, but my manager was a
> little alarmed
> that the ODBC driver name change (from SAP DB 7.4 to SAP DB) was not
> mentioned anywhere in the release notes!! (it broke our code
> when we did a
> test upgrade).

Sorry for that!

>
> Please could you let me know why this was, and if there is
> anything we need
> to be aware of that didn't make the release notes?

This change wasn't accidentally made properly in our development
tracking system and was lacking in the release notes then, which
are generated from this system.

The missing note will be added soon.

Regards Thomas

----------------------------------------------
Dr. Thomas Kötter
SAP DB, SAP Labs Berlin

Hurry up, SAP DB is open source www.sapdb.org

 
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
-25319 - Missing data for specified column

From: Vanita Shroff (vanitasxentel.com)
Date: Tue Jul 29 2003 - 11:47:34 CDT


Hello:

I have a table that whose all the columns, except for the first two, are fixed data type. And I am loading this table from a csv file ( structure as shown below). Most of the time the fixed data field is empty string in the csv file.

0160-050P000,AT01,5744.28,,,,,,417.44,,
0160-050P001,AT01,,,,5744.28,,,417.44,,

I am loading this data as:

DATALOAD TABLE $2 INSTREAM PIPE '$3' DELIMITER ' '

When I try to load this empty value into a table's fixed data field, it gives me an error -25319 - Missing data for specified column. How do I specify that the default value for the fixed data field is NULL (specifying default NULL in the table structure does not work)?

I did read the below mentioned article. But I have almost million records and it is not possible to manually edit the data.

"
Darn I knew I was overlooking something, thanks.
For the archive it should be noted when exporting from Microsoft Access 2000
that if the first column is a Number then
it is not wrapped in the qualifier " this has to added manually.
Ralph H.
"

Thanks,
Vanita

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: ODBC Driver Name Change!!!!!!!!!!!!!!!!!!

From: Stephen Gutknecht (SAPDB) (IML-sapdbi405.com)
Date: Tue Jul 29 2003 - 12:11:44 CDT


While we are bitching about the ODBC driver distribution...

Frankly, there are other problems:

1. Why does installing the database kernel also install the ODBC driver? I
don't believe it used to always be this way. You can often have file
locking issues (applications on same machine using driver). Why not stick
with the unique ODBC download on the web site?
2. The ODBC driver download on the web site always has the same filename.
the "Full version" is not encoded in the filename like it is for other SAPDB
downloads. There is a chance that a caching server will deliver the old
one, and it is also confusing.

I also find it confusing to be certain which is newer - the unique download
file or the latest kernel.

Thanks.

  Stephen Gutknecht

-----Original Message-----
From: Koetter, Thomas Theodor [mailto:thomas.theodor.koettersap.com]
Sent: Tuesday, July 29, 2003 8:55 AM
To: 'dhaylexmark.com'; sapdb.generallistserv.sap.com
Subject: RE: ODBC Driver Name Change!!!!!!!!!!!!!!!!!!

This change wasn't accidentally made properly in our development
tracking system and was lacking in the release notes then, which
are generated from this system.

The missing note will be added soon.

Regards Thomas

----------------------------------------------
Dr. Thomas Kötter
SAP DB, SAP Labs Berlin

Hurry up, SAP DB is open source www.sapdb.org
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SAPDB Installation problem

From: Michael Slinn (mslinnmslinn.com)
Date: Tue Jul 29 2003 - 12:27:05 CDT


I have prepared a web page that completely describes the problem at
http://69.36.229.249/sapdb.html

If anyone can assist me with a solution, I would be most appreciative.

Mike

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: sapdb 7.3 install error.

From: John Franklin (John.Franklinsylantro.com)
Date: Tue Jul 29 2003 - 12:29:57 CDT


The problem was actually in the patches(we installed all the recommended
patches for Solaris to date)applied on Solaris. We removed the recommended
patches for Solaris and everything worked fine.

I have another question? Is there a easy way to delete the oldest 5 records
from a table in SAPDB? When the number of records in a table exceeds a
threshold I want to remove the oldest ones.

Regards,
Johnf

-----Original Message-----
From: John Franklin [mailto:John.Franklinsylantro.com]
Sent: Wednesday, July 23, 2003 10:15 AM
To: 'sapdb.generallistserv.sap.com'
Subject: sapdb 7.3 install error.

Hi,

Installing sapdb-server-sun-32bit-sparc-7_3_0_21.tgz in solaris is giving a
bus error (coredump) while extracting SAPDBINT.TGZ. Anybody have a solution
or why is this happening?

Regards,
Johnf

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
More Win32 ODBC driver confusion with 7.4.03.27

From: Stephen Gutknecht (SAPDB) (IML-sapdbi405.com)
Date: Tue Jul 29 2003 - 12:52:59 CDT


There seems to be TWO drivers now.

"SAP DB"
"SAP DB (Unicode)"

Does this mean that the first is NOT unicode? And that apps written for
03.25 (which had the "SAP DB" driver name) will now have to switch?

  Stephen Gutknecht

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Deleting unused backup history - Was: Adminstrating backup mediums

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Tue Jul 29 2003 - 16:01:57 CDT


Hi Chris,

Chr.Zinkgmx.de wrote:
>
> With the help of the dbmcli commands "medium_get" and "medium_getall" it is
> posible to list all the created mediums for a database. "medium_delete" is
> used to delete a specific medium.
>
> Every backupfile of a medium also has an unique id (as you can see in the
> dbm.knl of a specific database).
>
> The "medium_delete" command only excepts mediumlabels as option. My problem
> at this point: I've created a medium serveral times with different
> backupfiles. So how is it posible to delete a specific backupfile (via backupfilename
> or the unique id)?

you are right, medium_delete is only for deleting unused media
definitions.

There were already many questions also mentioned to me and I forwarded
this wishes to the development but so far there is no solution for
steady growing backup histories. Especially database users which do
hourly log backups get huge histories in a very short time!

Some couldn't wait for an official tool and started to delete manually
entries in the history files but this is a little bit more complex than
to delete lines in one file. Instead, as far as I know, up to three
files has to be manipulated in a consistent way so that you don't loose
the very important backup history.
So, please be careful.

But maybe this list can help to get a simple functionality here :-) ...

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
/var full-how to move database

From: poornima ponnuswamy (poorni79yahoo.com)
Date: Tue Jul 29 2003 - 16:00:39 CDT


Hi,
I have installed sapdb and I have my database in
/var/opt/sapdb/indep_prog/wrk. The data file DAT_001
and and the log file LOG_001 present there occupies
about 95% space of the /var directory. Is there anyway
to move the database into any other location. Please
let me know if there anyway I can free the /var
directory.
Thanks,
poornima

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Win32 ODBC driver 7.4.03.27 - ASP.NET 1.1 stalls

From: Stephen Gutknecht (SAPDB) (IML-sapdbi405.com)
Date: Wed Jul 30 2003 - 00:22:05 CDT


Quick and dirty problem report. I do not yet have a simple reproduction
program. However, we are convinced there is a problem in the current Win32
ODBC driver.

Background
===============
We have two Windows 2000 SP 4 / ASP.NET 1.1 application servers. Both dual
CPU, but running ASP.NET only one CPU (Web Garden turned off).

The two servers have different configuration:
1) One application server uses a second machine for SAPDB, using a dedicated
network adapter to do ODBC over TCP/IP.
2) The application other server runs SAPDB on the same machine, using
localhost calls for ODBC.

Both machines running 7.4.03.27 and the included 7.4.03.27 ODBC driver.

PROBLEM
===========
Once in a while, ASP.NET will just "stick" and "stall" under high
concurrency. Regardless of the database location (same machine or over
network TCP/IP). The ODBC calls from ASP.NET will just call forever, no
exception or timeout ever happens.

A long-running SQL statement will often cause the ASP.NET process to get
stuck. Stopping inetinfo and restarting it (w3svc) will get the ASP.NET
pages to load - but all ODBC calls to SAPDB will hang. You have to kill
inetinfo,dllhost,aspnet_wp (all three) to get the SAPDB odbc stall to free
up. I think it is actually dllhost that is sticking to the ODBC driver.

Console applications we have running on the _same machine_ work fine, even
while ASP.NET SAPDB ODBC calls are stalled. So it isn't the SAPDB kernel
nor is it the ODBC driver interface. It is just the specific instance of
the SAPDB ODBC driver that sticks. I have seen the kernel idle while
ASP.NET odbc calls just queue up.

ODBC Driver Connection Pooling on or off makes no difference.

Speculation
=============
ASP.NET is doing multi-threaded calls to the ODBC driver. Our console
applications are single-threaded and never have problems.

Work Around
================
We finally found a work around... which was to put a wrapper method around
all our SAPDB ODBC calls. We basically serialize all the ODBC calls and the
driver never hangs! In other words, we make sure that no more than one
SAPDB ODBC call is in progress from ASP.NET 1.1 at the same time (eliminate
concurrent calls). We do this by using a static counter that we
increment/decrement around each SAPDB ODBC call. If there are other calls
in progress, we do a thread.sleep loop until the previous SQL statement
completes.

The problem entirely disappears. This slows down our ASP.NET application,
but our ASP.NET application is no longer hanging / stalling under high
concurrency.

More Information
=================
Obviously we would like to produce a simple console or ASP.NET program to
show this behavior in the SAPDB ODBC driver. We are going to try and
produce one. However, it is not easy situation to reproduce. If any other
SAPDB users can contribute to tracking this down, please chime in.

  Stephen Gutknecht

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
wahttp.exe error

From: Ariz Jacinto (arizdigi.com.ph)
Date: Wed Jul 30 2003 - 00:39:01 CDT


i'm testing sap db on XP and whenever i enter the login info at
http://127.0.0.1:9999/websql/ the server crashes (wahttp.exe error)

how do i fixed this?

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Perl interface in Sapdb

JSimoni1aol.com
Date: Wed Jul 30 2003 - 00:38:12 CDT


Hi,
I am having a problem trying to figure out how to integrate the perl
interface into SAPDB. I cannot find the required files (instperl.pl and two others
which i cant remember off the top of my head, I got this info from the sapdb
help menus). Does anyone know how/where to access these files, or if any
additional files or commands are required to install perl? If anyone can help out
with this, it will be greatly appreciated. Thanks!

Sincerely,
J. Simoni

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: sapdb 7.3 install error.

From: Zabach, Elke (elke.zabachsap.com)
Date: Wed Jul 30 2003 - 01:04:22 CDT


John Franklin wrote:
>
...
> I have another question? Is there a easy way to delete the
> oldest 5 records
> from a table in SAPDB? When the number of records in a table exceeds a
> threshold I want to remove the oldest ones.

in pure SQL I would say:

DECLARE curs CURSOR FOR
SELECT .. FROM my_table
ORDER BY <that column which has the knowledge of age of record>
FOR UPDATE

loop for <number of oldest records to be deleted>
  FETCH curs INTO <parameter, which are of no use>
  DELETE my_table WHERE CURRENT OF curs

In ODBC there are options to tell a resultset to be updateable
and then the loop can be done

Or if you know the oldest age you want to store:
DELETE my_table
WHERE <that column which has the knowledge of age of record>
   < <the first date you want to have in your table>

Elke
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
AW: sapdb 7.3 install error.

From: Lolling, Jan (Jan.Lollingt-systems.com)
Date: Wed Jul 30 2003 - 01:19:57 CDT


There is a way. Add a column containing appropriated timestamp and delete with a appropriated whrere clause.
It is not the job from a database to know what are the last 5 rows ! That is the job for the programmer to know which data is obsolute.

Jan

-----Ursprungliche Nachricht-----
Von: John Franklin [mailto:John.Franklinsylantro.com]
Gesendet: Dienstag, 29. Juli 2003 19:30
An: 'sapdb.generallistserv.sap.com'
Betreff: RE: sapdb 7.3 install error.

The problem was actually in the patches(we installed all the recommended
patches for Solaris to date)applied on Solaris. We removed the recommended
patches for Solaris and everything worked fine.

I have another question? Is there a easy way to delete the oldest 5 records
from a table in SAPDB? When the number of records in a table exceeds a
threshold I want to remove the oldest ones.

Regards,
Johnf

-----Original Message-----
From: John Franklin [mailto:John.Franklinsylantro.com]
Sent: Wednesday, July 23, 2003 10:15 AM
To: 'sapdb.generallistserv.sap.com'
Subject: sapdb 7.3 install error.

Hi,

Installing sapdb-server-sun-32bit-sparc-7_3_0_21.tgz in solaris is giving a
bus error (coredump) while extracting SAPDBINT.TGZ. Anybody have a solution
or why is this happening?

Regards,
Johnf

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Deleting unused backup history - Was: Adminstrating backup mediums

From: Christian Zink (chr.zinkgmx.de)
Date: Wed Jul 30 2003 - 02:32:04 CDT


Hi Ralf,

a) how is it posible to make a backupfile unused
b) which files have to be edit and in which order it have to be done, to
get rid of a specific backup file

Thanx, Chris

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
heavy load

From: Gerd König (koenigtransporeon.com)
Date: Wed Jul 30 2003 - 03:08:01 CDT


Hi,

this morning our database server is running under heavy load.
This means, the command "uptime" shows something like:

.... load average: 3.36, 3.03, 2.57

Until yesterday evening everything worked fine, means
a load of about 1.40.

What we've done yesterday late in the evening was a
"update statistics *", but this should increase the performance,
not decrease !?

On this server only SapDB(7.3.0.34) is running and owns the resources,
the devspaces are filled with 68% data.

Do we have to do something additional after "update statistics",
or where can this heavy load come from ???

any help appreciated

GERD KÖNIG

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Installing a new DB-Instance by recovery

From: Georg Schoepe (georg.schoepemotivaris.de)
Date: Wed Jul 30 2003 - 05:52:32 CDT


Hi,

I tried to install a new DB-instance by recovery from a comple-backup.
After starting the recovery I get the following message:

-24927
external backup tool not found [backup_ext_ids_get backup_intern_1]; The
file C:\Programme\sapdb\indep_data\wrk\TEST\bsi.env is missing or unreadable

what is bsi.env and where should it come from ?

(my SAPDB-download-version is 7.3.0.29, which contained the DBManager
GUI-version is 7.4.2.6)

thanks and greetings
Georg Schoepe

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Creating an instance -- DEPEND trailing slash bad

From: Dan Shick (danews.biotronik.de)
Date: Wed Jul 30 2003 - 06:35:32 CDT


Hi,

This is my first post to the list. I had a problem today that greatly
puzzled me and one of my database developers. I couldn't find anything
about it in the list archives, and since we found the solution I thought
I would post.

We were using SAPDB 7.3.0.25 on Linux (Debian, though we saw the
identical behavior on SuSE 8.0 and I'm convinced it is
architecture-independent), and we were working on restoring an instance
from backup. I created the instance like so:

% dbmcli -s -R /usr/local/sapdb/depend/ db_create DANBO <username,
password>

and wanted to log in and start a service session. This happened:

% dbmcli -d DANBO -u <username, password>
dbmcli on DANBO>service_connect
ERR
-24979,ERR_XPNOTFOUND: parameter not found

We tried many different things and narrowed it down to exactly one
difference, namely the trailing slash in the DEPEND directory argument.
Creating the instance with this line allowed us to create a service
session:

% dbmcli -s -R /usr/local/sapdb/depend db_create DANBO <username,
password>
OK

% dbmcli -d DANBO -u <username, password>
dbmcli on DANBO>service_connect
OK

HTH! HAND.

--
Dan Shick
System Administrator
Biotronik GmbH & Co.

if you love a process, kill -HUP it. if it respawns, it is yours
forever. if it dies, let it go -- it was never yours to begin with.
it belongs to the earth and the sea. if it doesn't die, truss it.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
many inserts

From: Gert Wohlgemuth (Wohlgemuthmpimp-golm.mpg.de)
Date: Wed Jul 30 2003 - 06:49:28 CDT


Hi,

A realy newbie question,

I using sapdb 7.4 and write a algorythm to analyse statistical datasets.
How can I tune the database for many inserts and also many selects.

The database shoud have over 3 Million entrys per Table.

Do you know some papers about sapdb database tuning?

Thanks in advance,

Gert

Gert Wohlgemuth

Max Planck Institut für Molekulare Pflanzenphysiologie
Am Mühlenberg 1
14424 Golm

Fon: +49-331-5678218
e-mail: wohlgemuthmpimp-golm.mpg.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Books and trainning

From: Gert Wohlgemuth (Wohlgemuthmpimp-golm.mpg.de)
Date: Wed Jul 30 2003 - 06:50:16 CDT


Hi

does anybody knows where I con order some books about sapdb and also some trainning courses?

Cheers gert

Gert Wohlgemuth

Max Planck Institut für Molekulare Pflanzenphysiologie
Am Mühlenberg 1
14424 Golm

Fon: +49-331-5678218
e-mail: wohlgemuthmpimp-golm.mpg.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Deleting unused backup history - Was: Adminstrating backup me diums

From: Heinrich, Tilo (tilo.heinrichsap.com)
Date: Wed Jul 30 2003 - 06:50:17 CDT


Hello Christian,
 
>a) how is it posible to make a backupfile unused

It is unused from the moment the backup is finished.
 
>b) which files have to be edit and in which order it have
>to be done, to get rid of a specific backup file
 
Just delete the file containing the backup to get rid of the backup.
 
Best Regards,
Tilo Heinrich
SAP Labs Berlin
 
 
 
-----Original Message-----
From: Christian Zink [mailto:chr.zinkgmx.de]
Sent: Wednesday, July 30, 2003 9:32 AM
To: sapdb.generallistserv.sap.com
Cc: RalfCzekalla.COM
Subject: Re: Deleting unused backup history - Was: Adminstrating backup mediums

Hi Ralf,

a) how is it posible to make a backupfile unused
b) which files have to be edit and in which order it have to be done, to get rid of a specific backup file

Thanx, Chris

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Installing a new DB-Instance by recovery

From: Heinrich, Tilo (tilo.heinrichsap.com)
Date: Wed Jul 30 2003 - 06:52:14 CDT


Hello Georg,

don't use a backup medium name starting with the magic string "BACK".

Best Regards,
Tilo Heinrich
SAP Labs Berlin

-----Original Message-----
From: Georg Schoepe [mailto:georg.schoepemotivaris.de]
Sent: Wednesday, July 30, 2003 12:53 PM
To: sapdb.generallistserv.sap.com
Subject: Installing a new DB-Instance by recovery

Hi,

I tried to install a new DB-instance by recovery from a comple-backup.
After starting the recovery I get the following message:

-24927
external backup tool not found [backup_ext_ids_get backup_intern_1]; The
file C:\Programme\sapdb\indep_data\wrk\TEST\bsi.env is missing or unreadable

what is bsi.env and where should it come from ?

(my SAPDB-download-version is 7.3.0.29, which contained the DBManager
GUI-version is 7.4.2.6)

thanks and greetings
Georg Schoepe

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
nested while statements / nested loops

From: Andreas Ackermann (ackermannpharmakologie.uni-erlangen.de)
Date: Wed Jul 30 2003 - 07:34:37 CDT


Hi,
maybe someone can help me with my problem.
I'm trying to chain more than one while-statement, but it won't work.

Thank you for your help.
Andi
----------------------------------------------
Create a result table:
CREATE TABLE TABLE3
(
    "A" Char (11) ASCII,
    "B" Char (11) ASCII,
    "C" Char (1) ASCII,
)
------------------------------------------------

This one works (only one while-statement):
CREATE DBPROC Test
AS
VAR var1 char(11); var2 char(11); var3 CHAR(1);
set var1 ='0'; set var2 ='0'; set var3= '0';
TRY
    SELECT VAR1, VAR2 FROM TABLE1;
    WHILE $rc = 0 DO BEGIN
          FETCH INTO :var1, :var2;
   
      insert into TABLE3 (a,b,c) Values (:var1, :var2, :var3);
    END;
CATCH
IF $rc <> 100 THEN STOP ($rc, 'unexpected error');

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

This one won't work, only one entry is generated !!!!
CREATE DBPROC Test
AS
VAR var1 char(11); var2 char(11); var3 CHAR(1);
set var1 ='0'; set var2 ='0'; set var3= '0';
TRY
    SELECT VAR1, VAR2 FROM TABLE1;
    WHILE $rc = 0 DO BEGIN
          FETCH INTO :var1, :var2;
      SELECT VAR3 FROM TABLE2 WHERE VAR1 = :var1;
        WHILE $rc = 0 DO BEGIN
               FETCH INTO :var3;
          insert into TABLE3 (a,b,c) Values (:var1, :var2, :var3);
        END;
    END;
CATCH
IF $rc <> 100 THEN STOP ($rc, 'unexpected error');

--

Andreas Ackermann
Institute for Experimental and Clinical Pharmacology and Toxicology,
Friedrich-Alexander University of Erlangen
Fahrstrasse 17
D-91054 Erlangen

Tel. +-49-9131-8522-968
Fax +-49-9131-8522-236
e-mail: ackermannpharmakologie.uni-erlangen.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Deleting unused backup history - Was: Adminstrating backup me diums

From: Christian Zink (chr.zinkgmx.de)
Date: Wed Jul 30 2003 - 07:44:56 CDT


Thx for your help, but by just deleting a backup file my backup histroy
becomes inconsistent. So my question: which files I have to edit, to
avoid an inconsistent backup history?

Thanx Chris

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: many inserts

From: Flessner, Falko (falko.flessnersap.com)
Date: Wed Jul 30 2003 - 09:56:14 CDT


Hi,

your question has been asked many times before, therefor I will only give a small overview of how to tune mass-inserts.

You may want to search the archive of this list at http://www.sapdb.org/7.4/sap_db_mailinglist.htm

There are two common usable ways to speed up inserts:

- Bundle many INSERTs into one transaction:
Interfaces (JDBC, DBI, ODBC...) usualy turn on AUTOCOMMIT by default. This means, that for every insert your Harddisks need to be accessed to make sure that the data is available after a crash.
By triggering a COMMIT manually and grouping many inserts in it, this will reduce I/O-load and therefor speed up your inserts.

- Make use of "prepared statements":
IIRC, all DB-Interfaces support "prepared statements". SAP DB spends a lot of time in parsing SQL statements. Prepared statements need to be parsed for only one time and will be feed with variable data later, as done in this perl-example:

#################################################
$sth = $dbh->prepare("INSERT INTO table (field) VALUES (?)");

foreach my $field (list) {
        $sth->execute($field);
}
#################################################

For further informations take a close look at the documentation of your Interface.

Regards,

    falko

Original from: Wohlgemuthmpimp-golm.mpg.de
> A realy newbie question,
> I using sapdb 7.4 and write a algorythm to analyse statistical datasets.
> How can I tune the database for many inserts and also many selects.
> The database shoud have over 3 Million entrys per Table.
> Do you know some papers about sapdb database tuning?

--
Falko Flessner
SAP Labs Berlin
SAP AG visit http://www.sapdb.org
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: nested while statements / nested loops

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 30 2003 - 10:22:20 CDT


> maybe someone can help me with my problem.
> I'm trying to chain more than one while-statement, but it won't work.
[...]
> SELECT VAR1, VAR2 FROM TABLE1;
> WHILE $rc = 0 DO BEGIN
> FETCH INTO :var1, :var2;
> SELECT VAR3 FROM TABLE2 WHERE VAR1 = :var1;
> WHILE $rc = 0 DO BEGIN
> FETCH INTO :var3;
> insert into TABLE3 (a,b,c) Values (:var1, :var2, :var3);
> END;
> END;

If you want to iterate through more than one cursor at a time, you'll have to name them. See DECLARE CURSOR on how to name them and FETCH <result_table_name> on how to access them.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Perl interface in Sapdb

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 30 2003 - 10:36:53 CDT


> I am having a problem trying to figure out how to
> integrate the perl interface into SAPDB. I cannot find
> the required files (instperl.pl and two others which i cant
> remember off the top of my head, I got this info from the sapdb help menus).
> Does anyone know how/where to access these files, or if any additional
> files or commands are required to install perl?

If you want to execute SQL via Perl, follow the instructions at
http://www.sapdb.org/7.4/sap_db_program.htm (Support for DBI).

If you want to use the interfaces to the DB Manager or the Loader, just add
<dependent_path>/misc to $PERL5LIB. It is probable that the files from the
server installation don't match your Perl version. Just write what platform
and Perl you're using and I'll try to build them.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Kernel died before reaching COLD state

From: Michael Slinn (mslinnmslinn.com)
Date: Wed Jul 30 2003 - 10:58:11 CDT


We are currently migrating our Oracle 8i dbf files to SAPDB 7.3.0.34
running on Red Hat 9. This is the script we are having problems with:

param_startsession
param_init
param_put MAXUSERTASKS 5
param_checkall
param_commitsession
param_adddevspace 1 LOG LOG_001 F 2000
param_adddevspace 1 DATA DAT_001 F 10000
db_cold
util_connect
util_execute INIT CONFIG
util_activate sapdb,myPassword
util_release
load_systab -ud myPassword
db_warm

The first half of the script ran fine, until this command:

>db_cold
-24994,ERR_RTE: runtime environment error
1,Check knldiag! Kernel died before reaching COLD state

Further details can be found at http://mslinn.com/sapdb.html

Any suggestions?

Mike

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: many inserts

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 30 2003 - 11:22:57 CDT


> Many thanks for the Answer and I using at the moment prepared
> statements
> in java and my autocommit is off. So I need help with the Parameter
> Settings like Cache Size and so on.

Add addBatch and executeBatch to the mix. This reduces communication overhead.

Don't make the batches too large or much time will be spent in java memory management.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Kernel died before reaching COLD state

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 30 2003 - 11:16:42 CDT


> We are currently migrating our Oracle 8i dbf files to SAPDB 7.3.0.34
> running on Red Hat 9. This is the script we are having problems with:

set LD_ASSUME_KERNEL=2.2.5 before starting the x_server.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: many inserts

From: Gert Wohlgemuth (Wohlgemuthmpimp-golm.mpg.de)
Date: Wed Jul 30 2003 - 11:10:15 CDT


Many thanks for the Answer and I using at the moment prepared statements
in java and my autocommit is off. So I need help with the Parameter
Settings like Cache Size and so on.

Cheers Gert

> -----Original Message-----
> From: Flessner, Falko [mailto:falko.flessnersap.com]
> Sent: Wednesday, July 30, 2003 4:56 PM
> To: Gert Wohlgemuth; sapdb.generallistserv.sap.com
> Subject: RE: many inserts
>
>
> Hi,
>
> your question has been asked many times before, therefor I
> will only give a small overview of how to tune mass-inserts.
>
> You may want to search the archive of this list at
> http://www.sapdb.org/7.4/sap_db_mailinglist.ht> m
>
> There are
> two common usable ways to speed up inserts:
>
> -
> Bundle many INSERTs into one transaction:
> Interfaces (JDBC, DBI, ODBC...) usualy turn on AUTOCOMMIT by
> default. This means, that for every insert your Harddisks
> need to be accessed to make sure that the data is available
> after a crash. By triggering a COMMIT manually and grouping
> many inserts in it, this will reduce I/O-load and therefor
> speed up your inserts.
>
> - Make use of "prepared statements":
> IIRC, all DB-Interfaces support "prepared statements". SAP DB
> spends a lot of time in parsing SQL statements. Prepared
> statements need to be parsed for only one time and will be
> feed with variable data later, as done in this perl-example:
>
> #################################################
> $sth = $dbh->prepare("INSERT INTO table (field) VALUES (?)");
>
> foreach my $field (list) {
> $sth->execute($field);
> }
> #################################################
>
> For further informations take a close look at the
> documentation of your Interface.
>
> Regards,
>
> falko
>
> Original from: Wohlgemuthmpimp-golm.mpg.de
> > A realy newbie question,
> > I using sapdb 7.4 and write a algorythm to analyse
> statistical datasets.
> > How can I tune the database for many inserts and also many selects.
> > The database shoud have over 3 Million entrys per Table.
> > Do you know some papers about sapdb database tuning?
>
> --
> Falko Flessner
> SAP Labs Berlin
> SAP AG visit http://www.sapdb.org
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Deleting unused backup history - Was: Adminstrating backup me diums

From: Heinrich, Tilo (tilo.heinrichsap.com)
Date: Wed Jul 30 2003 - 12:01:36 CDT


Hello Chris,
 
the backup history does only contain information of occurred backups and restores. It was never meant to represent the availability of backups, a task only achievable to a certain degree anyway.
 
But if you would like to manipulate your backup history to not contain backups deleted from the file system you could do so by deleting the corresponding backups from dbm.knl. But please consider that the backups in the backup history relate to each other, e.g. if you delete a complete backup, you should delete the incremental/differential backups based on that backup as well (in the history and in the file system). If you would like to keep all the backup history files short, you have to erase the corresponding entries from dbm.mdf and dbm.ebf as well. Corresponding entries have the same key and label (first 2 columns) in all three files. And make sure that the database kernel is not changing the history at the same time as you (e.g. switch of auto save log and do no backups or restores at this time).
 
Best Regards,
Tilo Heinrich
SAP Labs Berlin
 
-----Original Message-----
From: Christian Zink [mailto:chr.zinkgmx.de]
Sent: Wednesday, July 30, 2003 2:45 PM
To: sapdb.generallistserv.sap.com
Cc: Heinrich, Tilo
Subject: RE: Deleting unused backup history - Was: Adminstrating backup me diums

Thx for your help, but by just deleting a backup file my backup histroy becomes inconsistent. So my question: which files I have to edit, to avoid an inconsistent backup history?

Thanx Chris

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Kernel died before reaching COLD state

From: Döhr, Markus IDV (Markus.Doehrsiegenia-aubi.com)
Date: Wed Jul 30 2003 - 12:00:24 CDT


> > We are currently migrating our Oracle 8i dbf files to SAPDB
> 7.3.0.34
> > running on Red Hat 9. This is the script we are having
> problems with:
>
> set LD_ASSUME_KERNEL=2.2.5 before starting the x_server.

?? Can you explain why this is needed resp. What it does?

Thanx!

SIEGENIA-AUBI KG
Informationswesen
 
i.A.
 
Markus Döhr
SAP-CC/BC, SAPDB-DBA

Tel.: +49 6503 917-152
Fax: +49 6503 917-7152
E-Mail: markus.doehrsiegenia-aubi.com
Internet: http://www.siegenia-aubi.com
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Kernel died before reaching COLD state

From: Michael Slinn (mslinnmslinn.com)
Date: Wed Jul 30 2003 - 12:22:36 CDT


Should "LD_ASSUME_KERNEL=2.2.5" have been set at an earlier stage, perhaps
when SAPDB was installed?

$ sudo /opt/sapdb/indep_prog/bin/x_server stop
Password:
    10005 XSERVER stopped.
$ export LD_ASSUME_KERNEL=2.2.5
$ sudo /opt/sapdb/indep_prog/bin/x_server start
    12798 NISERVER server started.
    10007 XSERVER started, 'X32|LINUX 7.3.0 Build 034-000-089-879'
$ sudo /opt/sapdb/indep_prog/bin/dbmcli -d
zamples -u sapdb,myPassword -i /var/opt/sapdb/zamplesCreate
>db_cold
ERR
-24994,ERR_RTE: runtime environment error
1,Check knldiag! Kernel died before reaching COLD state

In the interest of brevity, the contents of klndiag, appldiag, etc are
shown at http://mslinn.com/sapdb.html

Mike

>>> We are currently migrating our Oracle 8i dbf files to SAPDB 7.3.0.34
>>> running on Red Hat 9. This is the script we are having problems
>>> with:
>>
>> set LD_ASSUME_KERNEL=2.2.5 before starting the x_server.
>>
>> Daniel Dittmar
>>
>> --
>> Daniel Dittmar
>> SAP DB, SAP Labs Berlin
>> daniel.dittmarsap.com
>> http://www.sapdb.org/
>> _______________________________________________
>> sapdb.general mailing list
>> sapdb.generallistserv.sap.com
>> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Kernel died before reaching COLD state

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 30 2003 - 16:00:47 CDT


> > set LD_ASSUME_KERNEL=2.2.5 before starting the x_server.
>
> ?? Can you explain why this is needed resp. What it does?

I think it has something to do with RedHat 9 having a new thread implementation which breaks the SAP DB tasking. It seems to break other stuff as well or they wouldn't have added that option.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Kernel died before reaching COLD state

From: Dittmar, Daniel (daniel.dittmarsap.com)
Date: Wed Jul 30 2003 - 16:24:02 CDT


The problem seems to be indeed that the database is started as root.

There is an explicit check in the kernel code that the process owner mustn't be root . This restriction has been removed in 7.4.x.

I'm not quite sure what isn't removed when you execute dbmcli ... db_drop on a root owned database. Does dbmcli db_enum still show the database?

About importing the files JspExplorer_data01.dbf and JSPEXPLORER_idx01.dbf: this depends on the format of the files. As it is very doubtful that they are in the format for the SAP DB Loader, you might want to use the Python script posted last week to this list. That was a very simple script that looked for a ; at the end of a line to separate SQL commands.

Daniel Dittmar

--
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmarsap.com
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Creating an instance -- DEPEND trailing slash bad

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Wed Jul 30 2003 - 16:37:25 CDT


Hi Dan,

Dan Shick wrote:
>
> % dbmcli -s -R /usr/local/sapdb/depend/ db_create DANBO <username,
> password>
>
> and wanted to log in and start a service session. This happened:
>
> % dbmcli -d DANBO -u <username, password>
> dbmcli on DANBO>service_connect
> ERR
> -24979,ERR_XPNOTFOUND: parameter not found
>
> We tried many different things and narrowed it down to exactly one
> difference, namely the trailing slash in the DEPEND directory argument.
> Creating the instance with this line allowed us to create a service
> session:
>
> % dbmcli -s -R /usr/local/sapdb/depend db_create DANBO <username,
> password>
> OK
>
> % dbmcli -d DANBO -u <username, password>
> dbmcli on DANBO>service_connect
> OK
>
> HTH! HAND.

trailing slashes or backslashes often produces errors and should be
avoided. But nevertheless this should be fixed.

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Books and trainning

From: Dr. Ralf Czekalla (RalfCzekalla.COM)
Date: Wed Jul 30 2003 - 16:52:00 CDT


Hi Gert,

> Gert Wohlgemuth wrote:
>
> does anybody knows where I con order some books about sapdb and also
> some trainning courses?
 
as far as I know there are currently no books concerning SAP DB
available.
There were some rumors that somebody was writing one, but it never
reached the market so far.

Concerning training, there are two really important trainings for SAP
DB:

1. ADM515 - Administration SAP DB 7.3
It's a startup training for SAP DB lasting three days where all
important things about administration and how to drive a SAP DB in a
productive environment mainly for SAP DB but this is unusally the same
for other productive used SAP DB system. There are extensive excercises
where you also will do databse instance copies etc. It is handled by the
training organisation of SAP and is presented at least four times a
year.
It is also possible to order this individually if you are a bigger
company and wish to get a more customer situation adapted training.

2. WB550 - SAP DB Workshop 7.3 later 7.4
This is a very deep training about how SAP DB is ticking :-). The
internal database structure, optimizers etc. are extensively expained.
This training lasts five days and is presented directly by the
development. Here usually no or only a very small part of adminstration
is presented.

Both can be ordered via http://service.sap.com as far as I know.

Ciao Ralf
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
AW: Books and trainning

From: Mosebach, Kai (sapdbkomadev.de)
Date: Wed Jul 30 2003 - 16:52:48 CDT


Hi,

check :

http://www.amazon.de/exec/obidos/ASIN/3932311965/qid=1059601858/sr=2-
1/ref=sr_aps_prod_1_1/028-3775942-2068501

even though i pre-ordered it already 6 month ago, and its still not
available yet ... but who knows

regards Kai

> -----Ursprüngliche Nachricht-----
> Von: sapdb.general-adminlistserv.sap.com [mailto:sapdb.general-
> adminlistserv.sap.com] Im Auftrag von Dr. Ralf Czekalla
> Gesendet: Mittwoch, 30. Juli 2003 23:52
> An: Gert Wohlgemuth
> Cc: sapdb.generallistserv.sap.com
> Betreff: Re: Books and trainning
>
> Hi Gert,
>
> > Gert Wohlgemuth wrote:
> >
> > does anybody knows where I con order some books about sapdb and also
> > some trainning courses?
>
> as far as I know there are currently no books concerning SAP DB
> available.
> There were some rumors that somebody was writing one, but it never
> reached the market so far.
>
> Concerning training, there are two really important trainings for SAP
> DB:
>
> 1. ADM515 - Administration SAP DB 7.3
> It's a startup training for SAP DB lasting three days where all
> important things about administration and how to drive a SAP DB in a
> productive environment mainly for SAP DB but this is unusally the same
> for other productive used SAP DB system. There are extensive
excercises
> where you also will do databse instance copies etc. It is handled by
the
> training organisation of SAP and is presented at least four times a
> year.
> It is also possible to order this individually if you are a bigger
> company and wish to get a more customer situation adapted training.
>
> 2. WB550 - SAP DB Workshop 7.3 later 7.4
> This is a very deep training about how SAP DB is ticking :-). The
> internal database structure, optimizers etc. are extensively expained.
> This training lasts five days and is presented directly by the
> development. Here usually no or only a very small part of
adminstration
> is presented.
>
> Both can be ordered via http://service.sap.com as far as I know.
>
> Ciao Ralf
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Kernel died before reaching COLD state

From: Michael Slinn (mslinnmslinn.com)
Date: Wed Jul 30 2003 - 17:36:59 CDT


Strangely enough, the following seems to work:
/opt/sapdb/indep_prog/bin/dbmcli -d zamples -u sapdb,myPassword db_start
OK

Why?

Mike

>> > set LD_ASSUME_KERNEL=2.2.5 before starting the x_server.
>>
>> ?? Can you explain why this is needed resp. What it does?
>
> I think it has something to do with RedHat 9 having a new thread
> implementation which breaks the SAP DB tasking. It seems to break other
> stuff as well or they wouldn't have added that option.
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> daniel.dittmarsap.com
> http://www.sapdb.org/
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general

Best regards,

Michael Slinn
Founder & CTO
http://zamples.com
650-345-1140

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
backint for Oracle

From: Michael Slinn (mslinnmslinn.com)
Date: Wed Jul 30 2003 - 18:30:15 CDT


We want import our Oracle 8i database into SAPDB and then access it via
JDBC.  The two files we have are called JspExplorer_data01.dbf and
JSPEXPLORER_idx01.dbf.  Both files are 52,436,992 bytes, and they are
binary files.  Oracle is not available to us any more. Seems like backint
is the tool to use (present in /opt/sapdb/depend/bin/backint).

$ /opt/sapdb/depend/bin/backint --help
     usage: /opt/sapdb/depend/bin/backint -u <user_id> [-f <function>] [-t
<type>]
     [-p <par_file>] [-i <in_file>] [-o <out_file>] [-c]

parameters can be:
     <user_id> : char(16)
     <function>: backup|restore|inquire|delete
     <type> : file
     <par_file>: char(255)
     <in_file> : char(255)
     <out_file>: char(255)

$ /opt/sapdb/depend/bin/backint -u sapdb -f inquire -i
/home/gblake/JspExplorer_data01.dbf
Reading parameter file .
No staging area is defined in the parameter file.
The path of Backint for Oracle is not defined in the parameter file.
The name of the history file is not defined in the parameter file.
The name of the input file of Backint for Oracle is not defined in the
parameter file.
The name of the output file of Backint for Oracle is not defined in the
parameter file.
The name of the error output file of Backint for Oracle is not defined in
the parameter file.

I found a posting in German (which I could not read -
http://listserv.sap.com/pipermail/sapdb.general/2002-June/012421.html)
discussing a file called bsi.env, which I fiddled with, knowing that I was
completely ignorant:

BACKINT /opt/sapdb/depend/bin/backint/opt/sapdb/depend/bin/backint
INPUT /home/gblake/JspExplorer_data01.dbf
OUTPUT /var/opt/sapdb/indep_data/backint/JspExplorer.out
ERROROUTPUT /var/opt/sapdb/indep_data/backint/Backint4Oracle.err
PARAMETERFILE /var/opt/sapdb/indep_data/backint/backint.par
TIMEOUT_SUCCESS 600
TIMEOUT_FAILURE 300
ORIGINAL_RUNDIRECTORY /var/opt/sapdb/indep_data/backint

As far as I can tell, /var/opt/sapdb/indep_data/backint/backint.par should
look something like:

STAGING AREA: /var/opt/sapdb/indep_data/backint/STAGE1 1 GB
STAGING AREA: /var/opt/sapdb/indep_data/backint/STAGE2 1024 MB
FILES PER BACKINT CALL: 2
BACKINT: /opt/sapdb/depend/bin/backint
PARAMETERFILE OF BACKINT: /var/opt/sapdb/indep_data/backint/backintparam.utl
HISTORY FILE: /var/opt/sapdb/indep_data/backint/BackintHistory
INPUTFILE FOR BACKINT: /home/gblake/JspExplorer_data01.dbf
OUTPUTFILE FOR BACKINT: /var/opt/sapdb/indep_data/backint/JspExplorer.out
ERRORFILE FOR BACKINT: /var/opt/sapdb/indep_data/backint/Backint4Oracle.err
MAXIMAL DELAY OF BACKINT CALL: 30

I wonder how far off the mark I am? Is this possible?

Mike

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Row-Lock

From: Jens Stier (j.stiermoser-drehteile.de)
Date: Thu Jul 31 2003 - 01:11:26 CDT


Hello,

I have an application that connects to sapdb with different users.

if a user opens a record for editing, i want this record to be locked for
other users. i do this with the following command:

LOCK (NOWAIT) ROW TBLADRESSE KEY ID=15 IN SHARE MODE

if now a second user tries to open this locked record for editing, i have to
check whether the record is locked or not.

How can I find out if it is locked?

regards

Jens

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Newbie question: Easy backup of Sapdb

From: Nikolaus Wagner (sapdb.10.hweissspamgourmet.com)
Date: Thu Jul 31 2003 - 01:55:33 CDT


Hello,
I recently installed sapdb on a Windows NT Server 4.0 box, which
already has a MS Sqlserver (which came with the KHK finance software
and might be replaced with a newer version any time the vendor
thinks this is a good idea) running on it.

At about 1am each morning the MS Sqlserver is shut down by a batch
file that is started by the backup software, when the SQL server no
longer locks its files all files, binaries as well as data files are
backed up and at about 2 am, when everything is backed up the SQL
server is restarted.

Sapdb may have nice enterprise features like backuping the entire
database while it is being used, but I only need a very easily
restored database (without using any magic commands, just
point-and-drool) that can be recovered by anyone being able to
handle the backup software.

I would like to know how I can start/stop the Sapdb instances on the
Windows NT box and if the database will function if all of the files
(binary files as well as data files) are simply put where they once
were.

Thanks in advane,
Nikolaus Wagner

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Row-Lock

From: Schroeder, Alexander (alexander.schroedersap.com)
Date: Thu Jul 31 2003 - 01:57:00 CDT


Hello Jens,

first, there are generally two LOCK modes: SHARE for reading a row (others may read too),
EXCLUSIVE for writing a row. An UPDATE on a row does implicitely need an EXCLUSIVE lock,
hereby waiting on the SHARE locks of other sessions, before the EXCLUSIVE lock can be
acquired.

An EXCLUSIVE lock forbids other sessions to read the data, so the database is
already doing what you try to do in the application.

Shortly speaking, specify the NOWAIT clause, so that the sql command
either get the lock, or returns with an error.

Also, perhaps it would be better use a SELECT with an update clause in these cases
(http://www.sapdb.org/7.4/htmhelp/ac/738eee3f4a11d3a98200a0c9449261/content.htm)
which can be specified also with the NOWAIT clause.

Alexander Schröder
SAP DB, SAP Labs Berlin

> -----Original Message-----
> From: Jens Stier [mailto:j.stiermoser-drehteile.de]
> Sent: Thursday, July 31, 2003 8:11 AM
> To: sapdb.generallistserv.sap.com
> Subject: Row-Lock
>
>
> Hello,
>
> I have an application that connects to sapdb with different users.
>
> if a user opens a record for editing, i want this record to
> be locked for
> other users. i do this with the following command:
>
> LOCK (NOWAIT) ROW TBLADRESSE KEY ID=15 IN SHARE MODE
>
> if now a second user tries to open this locked record for
> editing, i have to
> check whether the record is locked or not.
>
> How can I find out if it is locked?
>
>
>
>
> regards
>
> Jens
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: More Win32 ODBC driver confusion with 7.4.03.27

From: Koetter, Thomas Theodor (thomas.theodor.koettersap.com)
Date: Thu Jul 31 2003 - 02:53:45 CDT


Hi Stephen

> -----Original Message-----
> From: Stephen Gutknecht (SAPDB) [mailto:IML-sapdbi405.com]
> Sent: Dienstag, 29. Juli 2003 19:53
> To: Koetter, Thomas Theodor; 'dhaylexmark.com';
> sapdb.generallistserv.sap.com
> Subject: More Win32 ODBC driver confusion with 7.4.03.27
> Importance: High
>
>
> There seems to be TWO drivers now.
>
> "SAP DB"
> "SAP DB (Unicode)"
>
> Does this mean that the first is NOT unicode? And that apps
> written for
> 03.25 (which had the "SAP DB" driver name) will now have to switch?

To make it short:

"SAP DB" does not implement the Unicode-API of ODBC any more. There are
some drawbacks to use this API by default. The main reason is, that the
driver manager uses the Unicode-API, if it is in the driver.
Subsequently, pure ASCII clients suffer from some overhead which may hamper
the whole application. Nevertheless this driver can communicate with
an Unicode DB, but of course, only in ASCII.

"SAP DB (Unicode)" is identically to what was "SAP DB 7.4" before and
unfortunately "SAP DB" in one build step in between (build 25).

The release notes are updated now:
Excert:

    PTS: 1123343 since: 7.4.03.25

    New Feature:
        During installation the ODBC driver is registered under the
        name "SAP DB". Formerly, the name was "SAP DB 7.x" where x
        denoted the minor release number.

    PTS: 1123345 since: 7.4.03.26

    New Feature:
        Two ODBC drivers are installed. An ASCII version under the
        name "SAP DB" and an Unicode version under "SAP DB (Unicode)".
        If an application does not need Unicode, the ASCII driver
        has some advantages due to avoiding unnecessary conversions
        etc.

Please apologize the confusion due to this renaming stuff.
An updated ODBC driver (build 27) is available on the ftp-server, too:
ftp://ftp.sap.com/pub/sapdb/bin/win/odbc74-setup.exe

Regards Thomas

PS: Once the next release under the MySQL branding will appear,
    I'm afraid, that another renaming could take place.

----------------------------------------------
Dr. Thomas Kötter
SAP DB, SAP Labs Berlin

Hurry up, SAP DB is open source www.sapdb.org

 
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Newbie question: Easy backup of Sapdb

From: Eko Subagio (ekosbgcbn.net.id)
Date: Thu Jul 31 2003 - 03:01:41 CDT


There are interactive tutorial to use sapdb GUI Database Manager and SQL
Studio.
http://www.sapdb.org/7.4/sap_db_administration.htm
and also
http://www.sapdb.org/7.4/sap_db_documentation.htm

Good luck
Eko subagio
www.hanindogroup.com

----- Original Message -----
From: "Nikolaus Wagner" <sapdb.10.hweissspamgourmet.com>
To: <sapdb.generallistserv.sap.com>
Sent: Thursday, July 31, 2003 1:55 PM
Subject: Newbie question: Easy backup of Sapdb

> Hello,
> I recently installed sapdb on a Windows NT Server 4.0 box, which
> already has a MS Sqlserver (which came with the KHK finance software
> and might be replaced with a newer version any time the vendor
> thinks this is a good idea) running on it.
>
> At about 1am each morning the MS Sqlserver is shut down by a batch
> file that is started by the backup software, when the SQL server no
> longer locks its files all files, binaries as well as data files are
> backed up and at about 2 am, when everything is backed up the SQL
> server is restarted.
>
> Sapdb may have nice enterprise features like backuping the entire
> database while it is being used, but I only need a very easily
> restored database (without using any magic commands, just
> point-and-drool) that can be recovered by anyone being able to
> handle the backup software.
>
> I would like to know how I can start/stop the Sapdb instances on the
> Windows NT box and if the database will function if all of the files
> (binary files as well as data files) are simply put where they once
> were.
>
> Thanks in advane,
> Nikolaus Wagner
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Newbie question: Easy backup of Sapdb

From: Eko Subagio (ekosbgcbn.net.id)
Date: Thu Jul 31 2003 - 03:01:50 CDT


There are interactive tutorial to use sapdb GUI Database Manager and SQL
Studio.
http://www.sapdb.org/7.4/sap_db_administration.htm
and also
http://www.sapdb.org/7.4/sap_db_documentation.htm

Good luck
Eko subagio
www.hanindogroup.com

----- Original Message -----
From: "Nikolaus Wagner" <sapdb.10.hweissspamgourmet.com>
To: <sapdb.generallistserv.sap.com>
Sent: Thursday, July 31, 2003 1:55 PM
Subject: Newbie question: Easy backup of Sapdb

> Hello,
> I recently installed sapdb on a Windows NT Server 4.0 box, which
> already has a MS Sqlserver (which came with the KHK finance software
> and might be replaced with a newer version any time the vendor
> thinks this is a good idea) running on it.
>
> At about 1am each morning the MS Sqlserver is shut down by a batch
> file that is started by the backup software, when the SQL server no
> longer locks its files all files, binaries as well as data files are
> backed up and at about 2 am, when everything is backed up the SQL
> server is restarted.
>
> Sapdb may have nice enterprise features like backuping the entire
> database while it is being used, but I only need a very easily
> restored database (without using any magic commands, just
> point-and-drool) that can be recovered by anyone being able to
> handle the backup software.
>
> I would like to know how I can start/stop the Sapdb instances on the
> Windows NT box and if the database will function if all of the files
> (binary files as well as data files) are simply put where they once
> were.
>
> Thanks in advane,
> Nikolaus Wagner
>
>
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Row-Lock

From: Jens Stier (j.stiermoser-drehteile.de)
Date: Thu Jul 31 2003 - 02:55:36 CDT


Hello Alexander,

thanks for your answer, but this is not exactly what i was looking for.

in my application i have a edit-form. user1 wants to edit a record from
'tblkunde'. now the record with id=15 is fetched from the database and i put
it in the edit-form. the connection to the database is closed. now user1
changes the data and when he has finished he presses a 'save' button. now
the update-statement is executed.

and here is my problem now:
as long as user1 has this edit-form open, no other user should be able to
open this record in his edit-form.

Jens Stier

> -----Ursprüngliche Nachricht-----
> Von: Schroeder, Alexander [mailto:alexander.schroedersap.com]
> Gesendet: Donnerstag, 31. Juli 2003 08:57
> An: 'Jens Stier'; sapdb.generallistserv.sap.com
> Betreff: RE: Row-Lock
>
>
> Hello Jens,
>
> first, there are generally two LOCK modes: SHARE for reading a
> row (others may read too),
> EXCLUSIVE for writing a row. An UPDATE on a row does implicitely
> need an EXCLUSIVE lock,
> hereby waiting on the SHARE locks of other sessions, before the
> EXCLUSIVE lock can be
> acquired.
>
> An EXCLUSIVE lock forbids other sessions to read the data, so the
> database is
> already doing what you try to do in the application.
>
> Shortly speaking, specify the NOWAIT clause, so that the sql command
> either get the lock, or returns with an error.
>
> Also, perhaps it would be better use a SELECT with an update
> clause in these cases
> (http://www.sapdb.org/7.4/htmhelp/ac/738eee3f4a11d3a98200a0c944926
1/content.htm)
which can be specified also with the NOWAIT clause.

Alexander Schröder
SAP DB, SAP Labs Berlin

> -----Original Message-----
> From: Jens Stier [mailto:j.stiermoser-drehteile.de]
> Sent: Thursday, July 31, 2003 8:11 AM
> To: sapdb.generallistserv.sap.com
> Subject: Row-Lock
>
>
> Hello,
>
> I have an application that connects to sapdb with different users.
>
> if a user opens a record for editing, i want this record to
> be locked for
> other users. i do this with the following command:
>
> LOCK (NOWAIT) ROW TBLADRESSE KEY ID=15 IN SHARE MODE
>
> if now a second user tries to open this locked record for
> editing, i have to
> check whether the record is locked or not.
>
> How can I find out if it is locked?
>
>
>
>
> regards
>
> Jens
>
> _______________________________________________
> sapdb.general mailing list
> sapdb.generallistserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general
>

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
SQL Studio crashes by using saved SQL-statements

From: Hübschen, Peter (peter.huebschenvoit.de)
Date: Thu Jul 31 2003 - 03:03:50 CDT


Hello,

I'm trying to configure a complete new installation of a SAPDB through
SQL-Studio. The DB-Server is located on a RedHat-9 Box and it runs SAPDB
7.4.03.25 and SQL-Studio (Version: 7.4.3.17) on a Win2k-SP2 Workstation.
I've saved some SQL-Statements for creating new tables, grant rights etc.
under SQL Studio Objects -> Local Folder. My problem is, if I 'load' such a
statement, change it (like modifying a tablename) and want to save with a
different name, SQL Studio crashes. Sometimes it crashes even if I try to
execute such modified statement. That's very annoying.
Does anyone else have this problem.

Thanks in advance for any hint

P. Huebschen

P.S. I don't know if this e-mail is send correctly, since I have to use
Outlook 97 at work and I don't know how to set Outlook 97 to send plain text
e-mails.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Sapd training again

From: Gert Wohlgemuth (Wohlgemuthmpimp-golm.mpg.de)
Date: Thu Jul 31 2003 - 03:11:37 CDT


Dear group is it avaibble to make an trainning in Berlin?

Then Waldorf is far, far away....
thanks

Gert Wohlgemuth

Max Planck Institut für Molekulare Pflanzenphysiologie
Am Mühlenberg 1
14424 Golm

Fon: +49-331-5678218
e-mail: wohlgemuthmpimp-golm.mpg.de

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Row-Lock

From: Schroeder, Alexander (alexander.schroedersap.com)
Date: Thu Jul 31 2003 - 03:16:16 CDT


Hello Jens,
 
> thanks for your answer, but this is not exactly what i was
> looking for.
>
> in my application i have a edit-form. user1 wants to edit a
> record from
> 'tblkunde'. now the record with id=15 is fetched from the
> database and i put
> it in the edit-form. the connection to the database is
> closed. now user1
> changes the data and when he has finished he presses a 'save'
> button. now
> the update-statement is executed.

Usually people do exactly this when making a SELECT FOR UPDATE:

- you get your data to populate the form,
- you have the record locked so no other can write
- others may not read the record unless they don't care about locks

but you cannot do all this if you close the connection to the
database. The close of a connection aborts the ongoing transaction,
and releases all locks held by the session.

What if your user abandones the form, or his computer crashes
before 'save' could be pressed?

If your application is absolutely stateless (like a CGI program),
you have no possibly for using that LOCK stuff at all, as locks
live as long as the session live. You may want to add a column
to your table holding an flag for that editing, or something
similar.

>
> and here is my problem now:
> as long as user1 has this edit-form open, no other user
> should be able to
> open this record in his edit-form.
>

Regards
Alexander Schröder
SAP DB, SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Export database-instance from one win machine and import it on another win machine

From: Andreas Grund (andreas-grundweb.de)
Date: Thu Jul 31 2003 - 03:23:26 CDT


Hi Mailinglist,

i assume, that my question is ask several times, but i do not know, which word i should enter in the search...

So my problem ist, that i have a database-instance with 14 tables and i search an easy possibility to export the database with all it´s datas and import it on another windows machine. Is there any easy possibility to do this??

Both machine have windows NT technololgie. The exportmachine has NT 4 SP 6a and the importmachine has win 2k.

Thanks in advanced and greetings,
Andreas
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
RE: Sapd training again

From: Zabach, Elke (elke.zabachsap.com)
Date: Thu Jul 31 2003 - 03:29:00 CDT


Gert Wohlgemuth wrote:

> Dear group is it avaibble to make an trainning in Berlin?

> Then Waldorf is far, far away....
 

No, that is not possible because of the need of

room, laptops,...

Elke

SAP Labs Berlin

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Row-Lock

From: Gustav Brock (gustavcactus.dk)
Date: Thu Jul 31 2003 - 03:15:00 CDT


Hi Jens

If you close the connection, this looks to me like an application task
rather than a db engine task.
You could flag a field "EditingActive" and add some sort of time-out
function to clear the flag if the user falls asleep or gets lost.

/gustav

> in my application i have a edit-form. user1 wants to edit a record from
> 'tblkunde'. now the record with id=15 is fetched from the database and i put
> it in the edit-form. the connection to the database is closed. now user1
> changes the data and when he has finished he presses a 'save' button. now
> the update-statement is executed.

> and here is my problem now:
> as long as user1 has this edit-form open, no other user should be able to
> open this record in his edit-form.

_______________________________________________
sapdb.general mailing list
sapdb.generallistserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general


 
Re: Books and trainning

Andre.Seideltbiotronik.de
Date: Thu Jul 31 2003 - 03:36:55 CDT


Hi SAP-Team,

is training #2 the same as the SAP-DB lecture held by the developers some
years ago at the TU-Berlin?

Bye
        Andre Seidelt

--
Andre Seidelt
Softwareentwicklung EWS-18
BIOTRONIK GmbH & Co.
Woermannkehre 1
D-12359 Berlin
Germany

Tel (+49 30) 6 89 05 - 2910
Email andre.seideltbiotronik.de

"Dr. Ralf Czekalla" <RalfCzekalla.COM>
Sent by: sapdb.general-adminlistserv.sap.com
30.07.2003 23:52

 
        To: Gert Wohlgemuth <Wohlgemuthmpimp-golm.mpg.de>
        cc: sapdb.generallistserv.sap.com
        Subject: Re: Books and trainning

Hi Gert,

> Gert Wohlgemuth wrote:
>
> does anybody knows where I con order some books about sapdb and also
> some trainning courses?
 
as far as I know there are currently no books concerning SAP DB
available.
There were some rumors that somebody was writing one, but it never
reached the market so far.

Concerning training, there are two really important trainings for SAP
DB:

1. ADM515 - Administration SAP DB 7.3
It's a startup training for SAP DB lasting three days where all
important things about administration and how to drive a SAP DB in a
productive environment mainly for SAP DB but this is unusally the same
for other productive used SAP DB system. There are extensive excercises
where you also will do databse instance copies etc. It is handled by the
training organisation of SAP and is presented at least four times a
year.
It is also possible to order this individually if you are a bigger
company and wish to get a more customer situation adapted training.

2. WB550 - SAP DB Workshop 7.3 later 7.4
This is a very deep training about how SAP DB is ticking :-). The
internal data