Quantcast
Channel: SCN : Popular Discussions - SAP MaxDB
Viewing all 1545 articles
Browse latest View live

How to Check Which Statements Return Big Results

$
0
0

Hi there,

 

We have a production problem at the moment as follows: A WAS Java is running on MaxDB (7.5.00.32; I know, it is old), had no issues for years.

 

Now, since 12 days, the system halts every morning, due to the DB not answering any more. On the DB side, normally (after a WAS / DB restart), the DATA area is filled up to 79%. We observed now that during the issue, this goes up to > 95%. So I expect this coming from results, as this space gets free after a restart immediately.

 

We also had a bad design for the DATA area (one DATA file with 15GB). We will change this within the next hours to 5 * 5GB DATA files, removing the 15GB DATA file afterwards. That should (a) offer more parallelism (we see many IOWaits and "IOWait(R)(041): b13get_node: await read              :-(" during the critical situation), and (b) offer enough space.

 

If this succeeds (any additional thoughts welcome), I would like to analyse which statements lead to big results, as probably this is what has changed 12 days ago. Question: How to check this?

 

Thanks in advance

Detlev


How to start maxdb instance.

$
0
0

Hi,

 

I installed the content server and maxdb.

 

1- After install of content server and maxdb, how do I find out the maxdb is running or not?

2- Is there a command to check status of maxdb instance and name of database of maxdb?

 

3- How do I start maxdb with dbmcli?

4- What is the parameter file of maxdb and it's location (just like Oracle has a parameter file init.ora)?

 

Thanks,

haleem

MAXDB Installation error - Some Database application might still be running

$
0
0

Hi All ,

 

I am trying to install SAP  trial version . While installation of MAXDB serve , I am getting an error " Some database application might still be running"

 

I dont have any other database installed on my system .

 

Kindly reply what can be the possible reason for this .

 

Thanks n Regards

Manik L Dhakate

RFCEXEC program

$
0
0

Hi Gurus,

 

One of our development systems was recently upgraded to EHP5. We had also completed the upgrade using one sandbox system which is a copy of DEV system.

After the systems were upgraded to EHP5, we are finding that the Program RFCEXEC vanishing from EXE directory. And Because of this, XI connectivity fails. Is this due to the EHP5 upgrade? Please help me in this.

 

Thanks

Ranga

Uninstalling MaxDB

$
0
0

Hi,

I have installed SAP Netweaver developer Studio 6.40 which installed MAXDB database also. Due to some reason I had to unistall the trial version of Developer studio, in this process developer studio got unistalled but not MAXDB.

*----


I use Add/Remove programs and uninstall MaxDB. I get the messages like this.....

 

Start uninstallation now (y/n) : Y (resoponse)

 

then message displays

found instance of J2E, cannot remove package..first remove all instances...

*----


 

I have stopped all the services, even then Iam getting such error message. How do I uninstall?

 

Help needed.

 

-Suresh

MaxDB database studio usermanagement errors

$
0
0

Hi,

 

I (succesfully, as far as I can tell) installed MaxDB on a Windows 7 Professional x64 Vmware virtual PC (maxdb-all-win-64bit-x86_64-7_8_02_28) and now want to also install MaxDB database studio (maxdb-studio-win-64bit-x86_64-7_9_08_01). While the installation seems to finish successfully, I'm running into errors after starting (as administrator). First error is

 

'Loading preference values failed; default values will be used

 

Reason:

Missing object type: :Loader'

 

then

 

'Could not read preferences

 

Reason:

Missing object type: :SQLSTUDIO'

 

The Event log viewer shows warnings about the utilities path not specified and again Errors about 'Missing object type:: preferences'

 

While Eclipse then starts up, it is not possible to work with the locally installed DB (which seems to be detectect, however). Again there are errors about

'Missing object type::preferences' as well as

'Could not load mounted Local Folders'

'Can not get registration preferences'

'Get login attributes failed'

'User management exception: Missing object tye::UM_CONNECTION_KEY_REPLACE_WITH_DATABASE_NAME'

 

Searching the web using these errors does result in too much help, , unfortunately, for UM_CONNECTION_KEY_REPLACE_WITH_DATABASE_NAME I do net get a single hit with google.

 

First I thought my Java SDK 1.7, is too recent, so I uninstalled DB studio and Java and tried again with Oracle jdk-6u37-windows-x64, but I'm getting the same errors. I also noted that, as it seems, the DB Studio remembered the password from the previous installation. It did not ask for a new one during the new installation but asked for the old one after I started it (I consider this a bug).

 

Any ideas anyone? Any help would be appreciated.

 

Maybe I should also note that at first I had a broken MaxDB installation (it failed to load the system tables), which I uninstalled, however and reinstalled (then succesfully).

 

Thanks in advance and best regards,

 

Thomas

How to Check Which Statements Return Big Results

$
0
0

Hi there,

 

We have a production problem at the moment as follows: A WAS Java is running on MaxDB (7.5.00.32; I know, it is old), had no issues for years.

 

Now, since 12 days, the system halts every morning, due to the DB not answering any more. On the DB side, normally (after a WAS / DB restart), the DATA area is filled up to 79%. We observed now that during the issue, this goes up to > 95%. So I expect this coming from results, as this space gets free after a restart immediately.

 

We also had a bad design for the DATA area (one DATA file with 15GB). We will change this within the next hours to 5 * 5GB DATA files, removing the 15GB DATA file afterwards. That should (a) offer more parallelism (we see many IOWaits and "IOWait(R)(041): b13get_node: await read              :-(" during the critical situation), and (b) offer enough space.

 

If this succeeds (any additional thoughts welcome), I would like to analyse which statements lead to big results, as probably this is what has changed 12 days ago. Question: How to check this?

 

Thanks in advance

Detlev

MAXDB Installation error - Some Database application might still be running

$
0
0

Hi All ,

 

I am trying to install SAP  trial version . While installation of MAXDB serve , I am getting an error " Some database application might still be running"

 

I dont have any other database installed on my system .

 

Kindly reply what can be the possible reason for this .

 

Thanks n Regards

Manik L Dhakate


MaxDB Upgrade, unable to establish DB instance session

$
0
0

Hi all, I am trying for to perform a SAP DB upgrade from 7.3.0.28 to version 7.5.0.21. My problem is that when I execute command SDBUPD the following messages appear on screen almost immediately and the update is terminated:

 

beginning to check sap db instances

start new instance update

cannot establish database instance session

 

I followed the instructions in the upgrade guide and notes mentioned but this issue is nowhere mentioned. I am not a database specialist so any help and/or suggestions are more then welcome.

 

Thanks in advance, Tiest

Recommended Backup process for Content Server

$
0
0

Hi all,

 

I have been tasked with sorting out the backups for our SAP Content Server 6.40 running MaxDB 7.6.

 

I have since discovered that there is no backup of redo logs occurring.

 

Having read the MaxDB 7.6 documentation about backups, it doesn't seem to suggest a backup strategy although it does give an example SAP Library - Basic Information

 

However I am considering the following strategy.

 

1) Full online backup (already happens - I recently got this working properly with Omniback 6.11, by setting DBM_KTO_SUCCESS = 1800)

2) Automatic log backups every 30mins (currently not set to time interval)

3) Archiving log backups every ?

 

As it stands there is no back up of the redo logs to tape and they are only written to the logs when log segment reaches 3.33GB (1/3) the size of the database is reached.  Which doesn't happen often as we are only storing word documents in the Content Server.

 

So to minimize a disk failure during the day, I want to override the log backups hence setting it to every 30mins.

 

Anyone got any suggestions or comments to my thinking here?

 

Thanks

Craig

Content Server (MAXDB 7.6) DB size appears incorrect

$
0
0

Hi all,

 

I've read a lot of forum threads about various ways of finding out the size of tables in KB.  However I have a slight problem.

 

My DB shows the following in the Data Area :-

 

Description of Valuein KBin Pagesin %
Total Size293,601,50436,700,188100
Used Area244,719,75230,589,96983
Permanent used Area244,715,48830,589,43683
Temporary Used Area240300
Free Area48,881,7526,110,21917

 

However when I look at the size of the tables I see this :-

 

Table NameTotal Size in KBSize w/out BLOBS in KBBLOBS in KBDescription
DOCUMENTS00012,386,0562,386,0488
COMPONENTS00011,195,6721,195,6720
CONTREP880

 

The above was taken from DBACOCKPIT in Solution Manager and DB59 > Assistant.  This matches what's shown in Database Manager also.

 

I have checked system tables sysinfo.schemasize and sysinfo.tablesize and these seem to match the entries from above.

What am I missing here?  These numbers don't translate into the Used Area!

 

Is there a better way of determining why it seems to think the database is 233GB when the used tables only account for maybe 4GB?

 

Also whilst looking at sysinfo.tablesize it shows the following :-

 

SCHEMANAMETABLENAMEUSEDSIZEROWCOUNT

SAPR3

CONTREP81
SAPR3DOCUMENTS000123957604259205
SAPR3COMPONENTS0001??
SAPR3PLAN_TABLE82
SAPR3/MAXDB/UPDSTATS80

 

For some reason I get ? in the USEDSIZE and ROWCOUNT fields for COMPONENTS0001.

 

Any help much appreciated.

 

Thanks

Craig

/SAPAPO/OM_DELETE_OLD_SIMSESS - Fails

$
0
0

hi,

 

/SAPAPO/OM_DELETE_OLD_SIMSESS - periodic job fails says as below log. I could not find OSS note in my search.

 

Looks to me, the lock corresponds to a simulation version is missing. Job tries to delete simulation version/ lock together.. however it fails.

 

If this is the case, how to clear old SIMM versions?

 

Job Log:

07/21/2011 08:31:13 JYKhRvRmN6dX0000f6VRCW lock does not exist

07/21/2011 08:31:14 Cannot delete simulation version

07/21/2011 08:31:14 Job cancelled after system exception ERROR_MESSAGE

 

Thanks,

RajS

MAXDB Installation error - Some Database application might still be running

$
0
0

Hi All ,

 

I am trying to install SAP  trial version . While installation of MAXDB serve , I am getting an error " Some database application might still be running"

 

I dont have any other database installed on my system .

 

Kindly reply what can be the possible reason for this .

 

Thanks n Regards

Manik L Dhakate

RFCEXEC program

$
0
0

Hi Gurus,

 

One of our development systems was recently upgraded to EHP5. We had also completed the upgrade using one sandbox system which is a copy of DEV system.

After the systems were upgraded to EHP5, we are finding that the Program RFCEXEC vanishing from EXE directory. And Because of this, XI connectivity fails. Is this due to the EHP5 upgrade? Please help me in this.

 

Thanks

Ranga

How to Check Which Statements Return Big Results

$
0
0

Hi there,

 

We have a production problem at the moment as follows: A WAS Java is running on MaxDB (7.5.00.32; I know, it is old), had no issues for years.

 

Now, since 12 days, the system halts every morning, due to the DB not answering any more. On the DB side, normally (after a WAS / DB restart), the DATA area is filled up to 79%. We observed now that during the issue, this goes up to > 95%. So I expect this coming from results, as this space gets free after a restart immediately.

 

We also had a bad design for the DATA area (one DATA file with 15GB). We will change this within the next hours to 5 * 5GB DATA files, removing the 15GB DATA file afterwards. That should (a) offer more parallelism (we see many IOWaits and "IOWait(R)(041): b13get_node: await read              :-(" during the critical situation), and (b) offer enough space.

 

If this succeeds (any additional thoughts welcome), I would like to analyse which statements lead to big results, as probably this is what has changed 12 days ago. Question: How to check this?

 

Thanks in advance

Detlev


Problem with ERP 6.0 EHP 6 Update

$
0
0

Hello Maxdb experts!

 

I have a problem with an upgrade to ERP 6.0 EHP6. With many trouble i've installed maxdb 7.9.07.14. Here is the sdbregview text:

 

sapides6:gi6adm 59> sdbregview -l
Installation: Global    /sapdb/programs
Global Listener                7.9.07.14    valid    64 bit
Installation Compatibility     7.9.07.14    valid    64 bit
Installer                      7.9.07.14    valid
SAP Utilities Compatibility    7.9.07.14    valid    64 bit

Installation: Legacy    /sapdb/programs
DB Analyzer      /sapdb/programs    7.6.00.35     valid    64 bit
Fastload API     /sapdb/programs    7.6.06.22     valid    64 bit
JDBC             /sapdb/programs    7.6.05.06     valid
Loader           /sapdb/programs    7.6.06.22     valid    64 bit
Messages         /sapdb/programs    MSG 0.8215    valid
ODBC             /sapdb/programs    7.6.06.22     valid    64 bit
PCR 7300         /sapdb/programs    7.3.00.60     valid
PCR 7301         /sapdb/programs    7.3.01.22     valid
PCR 7500         /sapdb/programs    7.5.00.52     valid    64 bit
Redist Python    /sapdb/programs    7.6.06.22     valid    64 bit
SQLDBC           /sapdb/programs    7.6.06.22     valid    64 bit
SQLDBC 76        /sapdb/programs    7.6.06.22     valid    64 bit

Installation: GI6    /sapdb/GI6/db
Base                7.9.07.14      valid    64 bit
DB Analyzer         7.9.07.14      valid    64 bit
Database Kernel     7.9.07.14      valid    64 bit
Fastload API        7.9.07.14      valid    64 bit
JDBC                7.6.06.09      valid
Loader              7.9.07.14      valid    64 bit
Messages            MSG 0.10302    valid
ODBC                7.9.07.14      valid    64 bit
Redist Python       7.9.07.14      valid    64 bit
SAP Utilities       7.9.07.14      valid    64 bit
SQLDBC              7.9.07.14      valid    64 bit
SQLDBC 76           7.6.06.22      valid    64 bit
SQLDBC 77           7.9.07.14      valid    64 bit
Server Utilities    7.9.07.14      valid    64 bit

 

Everthing seems to be fine for me.

 

For installing EHP 6 there is a new tool from SAP, the SUM (Software Update Manager, the new EHPI). In Phase Prep_init/Checkprof_ini  i get the following error:

 

ERROR: The new SAP tools in /usr/sap/GI6/SUM/abap/exe cannot connect to your database.

Possible reasons are:

 

- Environment variables are not properly set for the version of the
database client which is used by the new tools.

 

- Required database libraries are not accessible or cannot be found neither
through a compiled-in path nor through explicit search via the
shared library path.

 

- Auxiliary files such as language files etc. are not compatible with
this version of the database client.

 

Please check database / OS specific notes referenced in the manual for more help.

 

The log file /usr/sap/GI6/SUM/abap/log/DBCONNCHK.LOG contains more
details about the failure.

 

Here ist DBCONNCHK.LOG:

 

4 ETW000 R3trans version 6.22 (release 720 - 18.11.11 - 11:29:00).

4 ETW000 unicode enabled version

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 04.06.2012 - 13:24:12

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -d -w /usr/sap/GI6/SUM/abap/log/DBCONNCHK.LOG

4 ETW000  trace at level 2 opened for a given file pointer

4 ETW000  [     dev trc,00000]  Mon Jun  4 13:24:12 2012                                                  70  0.000070

4 ETW000  [     dev trc,00000]  db_con_init called                                                        20  0.000090

4 ETW000  [     dev trc,00000]  set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used        24  0.000114

4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3

4 ETW000                                                                                                  22  0.000136

4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 18  0.000154

4 ETW000  [     dev trc,00000]  Loading DB library '/usr/sap/GI6/SUM/abap/exe/dbsdbslib.so' ...           38  0.000192

 

 

4 ETW000  [    dlux.c  ,00000]  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/GI6/SUM/abap/exe/dbsdbslib.so") FAILED

4 ETW000                          "libSQLDBC77.so: cannot open shared object file: No such file or directory"

4 ETW000                                                                                                 209  0.000401

 

4 ETW000  [    dbcon.c ,00000]  *** ERROR => Couldn't load library '/usr/sap/GI6/SUM/abap/exe/dbsdbslib.so'

4 ETW000                                                                                                  59  0.000460

2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/GI6/SUM/abap/exe') or dbms_type ('ADA')"

 

 

 

It tried so many thing but found no solution for this error:

 

When i execute R3trans in the Update Kernel direktory (sap/Gi6/SUM/abap/exe) i got this error in trans-log:

(insteadt of

 

*** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/GI6/SUM/abap/exe/dbsdbslib.so") FAILED

4 ETW000                          "libSQLDBC77.so: cannot open shared object file: No such file or directory"

4 ETW000                                                                                                 209  0.000401

 

4 ETW000  [    dbcon.c ,00000]  *** ERROR => Couldn't load library '/usr/sap/GI6/SUM/abap/exe/dbsdbslib.so'

 

from the DBCONNCHK):

 

 

4 ETW000  [    dbcon.c ,00000]  *** ERROR => Version mismatch between kernel (720.00) and DBSL shared library (700.08)

 

Does anyone of you has an idea what to do now?

the log says that the DIR_LIBRARY Path should be "/usr/sap/GI6/SUM/abap/exe". But it is /usr/sap/GI6/SYS/exe/run. Shall i change it? I haven't a good feeling when changing this Path

Cannot connect to MaxDB after a system copy (recovery method)

$
0
0

Hello all,

 

I wanted to refresh our QAS DB with our PRD DB. So, I have carried out a recovery with a PRD backup. I have made a mistake when I loaded the system tables with Database Studio. I used SUPERDBA for the login and not the SAP<SID> login.

 

I tried :

dbmcli -d QAS -u CONTROL,pass -uSQL SUPERDBA,Pass sql_execute rename user SUPERDBA to SAPQAS

But no effect ...

 

How can I come back ?

 

Thanks,

 

--

Fabien

Content Server (MAXDB 7.6) DB size appears incorrect

$
0
0

Hi all,

 

I've read a lot of forum threads about various ways of finding out the size of tables in KB.  However I have a slight problem.

 

My DB shows the following in the Data Area :-

 

Description of Valuein KBin Pagesin %
Total Size293,601,50436,700,188100
Used Area244,719,75230,589,96983
Permanent used Area244,715,48830,589,43683
Temporary Used Area240300
Free Area48,881,7526,110,21917

 

However when I look at the size of the tables I see this :-

 

Table NameTotal Size in KBSize w/out BLOBS in KBBLOBS in KBDescription
DOCUMENTS00012,386,0562,386,0488
COMPONENTS00011,195,6721,195,6720
CONTREP880

 

The above was taken from DBACOCKPIT in Solution Manager and DB59 > Assistant.  This matches what's shown in Database Manager also.

 

I have checked system tables sysinfo.schemasize and sysinfo.tablesize and these seem to match the entries from above.

What am I missing here?  These numbers don't translate into the Used Area!

 

Is there a better way of determining why it seems to think the database is 233GB when the used tables only account for maybe 4GB?

 

Also whilst looking at sysinfo.tablesize it shows the following :-

 

SCHEMANAMETABLENAMEUSEDSIZEROWCOUNT

SAPR3

CONTREP81
SAPR3DOCUMENTS000123957604259205
SAPR3COMPONENTS0001??
SAPR3PLAN_TABLE82
SAPR3/MAXDB/UPDSTATS80

 

For some reason I get ? in the USEDSIZE and ROWCOUNT fields for COMPONENTS0001.

 

Any help much appreciated.

 

Thanks

Craig

MaxDB 7.9 DB connection failed DB50/DB59

$
0
0

Hello,

 

i have installed a new ERP 6.06 SAP System on MaxDB 7.9/Sles 11 Linux. After successful installation i have tested the database connection.

The database connection failed. What could i do to solve the problem?

 

SAP transaction DB59 Test:

Result:

p01_P01_02 (p01 )

SAP Kernel Release : 720_EXT_REL

SAP Kernel Patch : 401

DBMRFC Release : 7.9.07.14

DBMCLI Release : 7.9.07.14

DBSL Release : 720.00

DBSL Patch : 421

SQLDBC Version : 7.8.02.17

SQLDBC Runtime : 7.9.07.14

1.DBSL Library Availability -Connection test successful

2.Client Software Availability -Connection test successful

3.Execute an external operating system command (DBMCLI) -Connection test successful

4.Determine status using SQL connection -Error in connection test

5.Test the SQL connection (Native SQL at CON_NAME) -Connection test successful

 

 

 

Report: RSSDBCHECKDBMRFC

 

 

  Main Analysis

       SMGW - Checking existence and correctness of registered client

       WARNING: dbmrfc@sapdb not registered. Trying to start the SAPDB_DBM_DAEMON

 

       SM59 - Checking existence and connection of RFC destinations SAPDB_DBM and SAPDB_DBM_DAEMON

       SAPDB_DBM exists

       SAPDB_DBM_DAEMON exists

       SAPDB_DBM connection successful

       WARNING: SAPDB_DBM_DAEMON connection not successful. Trying to start SAPDB_DBM_DAEMON

       SM59 - Checks were successful

 

       CONN - Determining database state via TCP/IP connection SAPDB_DBM and SAPDB_DBM_DAEMON

  DBM_EXECUTE_SDB error: dbm_execute_error

  Name and Server     : P01 - p01

  Function            : DBM_EXECUTE

  Command             : db_state

  Error               : DBM Error

  Return Code         : -24941

  Error Message       : ERR_NEEDLOGON: DBM server logon required

  ERR

  -24941,ERR_NEEDLOGON: DBM server logon required

       ERROR: Error in determination via command mode "dbmrfc db_state"

  DBM_EXECUTE_SDB: dbm_execute_error

  Name and Server     : P01 - p01

  Function            : DBM_EXECUTE

  Command             : db_state

  Error               : DBM Error

  Return Code         : -24941

  Error Message       : ERR_NEEDLOGON: DBM server logon required

  ERR

  -24941,ERR_NEEDLOGON: DBM server logon required

       ERROR: Error in determination via session mode "dbmrfc db_state"

       CONN - Check was not successful

 

       TP - Get connection information and existence of program

       Connection information used by DBMRFC:

       dbnode: p01 ; dbname: P01 ; sysid: P01 ; conn: P01 ; profile: no_longer_used

       Transport profile is not specified, trying to determine it

       ERROR in TMS_CFG_READ_LOCAL_CONFIG:  tms_is_not_configured

       ERROR in TMS_CFG_READ_LOCAL_CONFIG: Could not get transport domain.

       Executing command: dbmcli -d P01 -n p01 -tpp no_longer_used -tpi P01 -tpc P01 db_state

       TP - Checks were successful

 

 

 

Detail Analysis

       Checking MAXDB Version and searching independent program path via SDBREGVIEW

       Independent program path exists: /sapdb/programs

       Client installation path exists: /sapdb/clients/P01

 

       Checking paths in environment variables

       Checking correctness of environment variable "path"

       /sapdb/programs/bin  exists

       ERROR: Set the following path before all other paths in environment variable: /sapdb/clients/P01/bin

       /usr/sap/P01/DVEBMGS02/exe (DIR_EXECUTABLE) exists

       Checking correctness of environment variable "ld_library_path"

       /usr/sap/P01/DVEBMGS02/exe (DIR_EXECUTABLE) exists

       ERROR: Set the following path before all other paths in environment variable: /sapdb/programs/lib

       ERROR: Set the following path before all other paths in environment variable: /sapdb/clients/P01/lib

       Error found in one step

 

       Checking existence of necessary libraries in /sapdb/programs/lib

       libicudata.so.<version> exists

       libicui18n.so.<version> exists

       libicuuc.so.<version> exists

       libsapni.so exists

       WARNING: libsapu16.so was not found

       Check your MAXDB installation

 

       Checking existence of necessary executables

       tp exists in /usr/sap/P01/DVEBMGS02/exe

       sapdbmrfc exists in /usr/sap/P01/DVEBMGS02/exe

       dbmrfc exists in /sapdb/programs/bin

       sdbregview exists in /sapdb/programs/bin

       sdbverify exists in /sapdb/programs/bin

       dbmcli exists in /sapdb/programs/bin

 

 

Xuser test on OS:

 

p01:p01adm 57> dbmcli -U c

dbmcli on p01 : P01>exit

OK

 

---

p01:p01adm 58> dbmcli -U w

dbmcli on p01 : P01>exit

OK

 

---

p01:p01adm 59> dbmcli -d P01 -u control,<password>

dbmcli on P01>exit

OK

 

---

p01:p01adm 59> dbmcli -d P01 -u superdba,<password>

dbmcli on P01>exit

OK

 

---

 

p01:p01adm 61> R3trans -d

This is R3trans version 6.23 (release 720 - 31.10.12 - 20:12:06).

unicode enabled version

R3trans finished (0000).

p01:p01adm 62> R3trans -x

This is R3trans version 6.23 (release 720 - 31.10.12 - 20:12:06).

unicode enabled version

R3trans finished (0000).

p01:p01adm 63>

 

p01:p01adm 58> dbmcli -d P01 -U c db_enum

OK

P01     /sapdb/P01/db                           7.9.07.14       fast    running

P01     /sapdb/P01/db                           7.9.07.14       quick   offline

P01     /sapdb/P01/db                           7.9.07.14       slow    offline

P01     /sapdb/P01/db                           7.9.07.14       test    offline

p01:p01adm 59>

 

 

p01:p01adm 60> x_server start

2013-10-19 12:17:28 30139 44640 INF  12916          Found running XServer on port 7200

2013-10-19 12:17:28 30139 44640 INF  13011            version 'U64/LIX86 7.9.07   Build 014-123-244-287'

2013-10-19 12:17:28 30139 44640 INF  13010            installation P01  - path: /sapdb/P01/db

2013-10-19 12:17:28 30141 86336 ERR  11931 XSERVER  Open update pipe '/sapdb/data/fifo/xserver_p01_update' failed:No such file or directory

2013-10-19 12:17:28 30141 86336 INF  12916          Found running sdbgloballistener on port 7210

2013-10-19 12:17:28 30141 86336 INF  13011            version 'UNKNOWN'

2013-10-19 12:17:28 30141 86336 ERR  11941 XSERVER  Version string conversion failed:expected format %-9.9s %-8.8s Build %-3.3s-%-11.11s

p01:p01adm 60>

 

p01:p01adm 60> cd /sapdb/data/fifo/

p01:p01adm 61> ls -altr

total 8

drwxrwxr-x 12 sdb sdba 4096 Oct 18 18:30 ..

prw-rw----  1 sdb sdba    0 Oct 19 12:05 xserver_p01_7200_logger

prw--w--w-  1 sdb sdba    0 Oct 19 12:05 P01

prw-rw----  1 sdb sdba    0 Oct 19 12:17 xserver_p01_7200_update

drwxrwxr-x  2 sdb sdba 4096 Oct 19 12:17 .

p01:p01adm 62>

 

There´s no entry with "xserver_p01_update"

How can i create this entry?

 

 

I have no idea to solved this problem. Who can help?

 

Best regards

Dennis

Strange errors when using user defined function in where clause

$
0
0

Hello,

 

I am having trouble with a function that, when used in the where clause of a select will cause an error if the first column selected is of type INTEGER. Not sure whether I am doing something wrong or whether this is a bug.

Here is a very simple test case:

 

create table test(

col1 integer not null,

col2 varchar(20) ascii default ''

)

 

insert into test values(1,'2011-03-15 05:00:00')

insert into test values(2,'2011-03-15 07:00:00')

 

CREATE FUNCTION BTR_TAG  RETURNS VARCHAR AS

    VAR ret VARCHAR(20);

  SET ret='2011-03-15 06:00:00';

  RETURN ret;

 

Select * from test where col2 >= BTR_TAG()

Select col1,col2 from test where col2 >= BTR_TAG()

=>  Error in assignment;-3016 POS(1) Invalid numeric constant

 

Select '',* from test where col2 >= BTR_TAG()

Select col2,col1 from test where col2 >= BTR_TAG()

=> works as it should

 

MaxDB V 7.7.07.16 running on Windows Server 2003

I can replicated the test case above with Sql Studio and other ODBC based tools.

 

Thanks in advance,

Silke Arnswald

Viewing all 1545 articles
Browse latest View live


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