DB2 is a relational DBMS (Database Management System) created by IBM.

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

IBM DB2 9.7 determining default tablespace [migrated]

I have a DB2 9.7 database. I have defined any specific tablespace, so all tables go to USERSPACE1. Now I have created two new tablespaces and assign two tables to each of the two new tablespaces with ...
1
vote
0answers
17 views

Getting the DB2 Resource online in Failover Cluster

I'm using DB2 10.1 Enterprise Server Edition on Windows Server 2012 R2 After adding the DB2 resource to the cluster using the db2wolfi command, I go to the resources tab which is in the cluster ...
0
votes
0answers
22 views

AIX JFS2 I/O performance problems

I have a fresh installation of AIX 7.1. I noticed that JFS2 file system with logging enabled (log=/dev/hd8) is dramatically slower than one with log=NULL. Simple zip archive extraction takes 5 minutes ...
0
votes
0answers
39 views

Windows DB2 9.7 FP8 - The request failed because private virtual memory could not be allocated. SQLSTATE=57011

I have a Windows DB2 9.7 FP8 server running on Windows 2003 x86 that for some reason every time I launch Center Administrator or the CLI and try to connect to a database, I get the error "[IBM][CLI ...
1
vote
0answers
64 views

Example pyodbc db2 connection

I am trying to get a pyodbc connection (on a Centos machine), to a DB2 database running on an IBM i. Whatever connection string or configuration I add, I always get the same message .. Traceback ...
1
vote
2answers
46 views

Simulating AS400 iSeries for ADO.NET

I' have to write an import procedure in c# for a customer. The procedure needs to read data from an AS400 iSeries, so my first Question is: what's "better" (pro/cons) between direct connection (using ...
0
votes
1answer
96 views

php_ibm_db2.dll on IIS 7.5 using PHP 5.3 error message

I'm trying to use ibm_db2 extension to access iSeries DB2 database. This is the testcode (taken from here) <?php $database = 'ALI452BFAL'; //library $user = 'STN452'; $password = '**********'; ...
0
votes
1answer
363 views

How to establish ODBC connection through ssh tunnel?

I have SSH access to an iSeries (DB2 Database) through a firewall. I am trying yo make queries to a db in the machine using ODBC. I have found several tables explaining what ports are used by the ...
1
vote
0answers
28 views

Is it possible to enable WLM for Stored Procedures through DB2 on z/OS

If core WLM is not available for all built-in Stored Procedures in a DB2 on z/OS, would it be at all possible for a DB2 user with all privileges to setup the core WLM environments through a CLPPlus ...
0
votes
1answer
183 views

Command to list event monitors in DB2

I see the following commands: drop event monitor set event monitor create event monitor But nothing like list event monitor or get event monitor. Is there a DB2 command to list all current event ...
1
vote
0answers
364 views

Error code 610 backing up DB2 to TSM

I'm trying to back up a DB2 database using Tivoli Storage Manager (TSM), but it's erroring out. I'm now getting this error message: [db2inst1@hostname ~]$ export DSMI_CONFIG=/etc/adsm/dsm.opt ...
1
vote
0answers
107 views

LAMP using ODBC to DB2

I have connected an openSUSE LAMP and an Ubuntu LAMP server to DB2 using ODBC. The openSUSE system we're using for a development environment, and the final deployment is to be on the Ubuntu system. ...
0
votes
2answers
579 views

No match for a database image file was found based on the source database alias “URCDB”

I used IBM Data Studio to backup a test database named URCTEST. Now, I want to restore it to the actual (empty) database, URCDB. I've got little experience with IBM DB2, so I assumed this was ...
0
votes
1answer
49 views

DB2-Express-C and Postgresql using raw harddrive as datastore

I have a system running Solaris with 2 harddrives. One holding the OS and the other unpartitioned. I was thinking about using the second as database space. My question is, if it is possible to let ...
0
votes
1answer
401 views

DB2 'The string constant beginning with…is too long' error when inserting 40000 characters to CLOB(50000) field [closed]

I have created a CLOB(50000) field in a DB2 table, and verified it has correctly created with DB2 DESCRIBE TABLE dbname ...however I received the following error message even when only attempting ...
2
votes
1answer
156 views

Configure DB2 LDAP authentication

I want to configure LDAP auth in DB2. From IBM docs I learned that first I need to configure LDAP authentication in operating system. But in documentation described old way of configuring LDAP for ...
0
votes
1answer
48 views

OS LDAP auth when LDAP server located in same machine

Is it normal to make LDAP authorization on Linux OS (CentOS 6.3) when LDAP server will run on same machine? I think I can't make authetication through LDAP when I start operating system, because my ...
1
vote
0answers
256 views

Intel cpu hyperthreading on or off for ibm db2? [closed]

Has anyone ever done any database performance comparisons with hyper-threading enabled vs disabled? We are running ibm db2 and I'm curious if anyone has an recommendations for enabling hyper-threading ...
0
votes
0answers
2k views

Configuring DB2 ODBC driver on Windows

I'm trying to configure a DB2 DSN on a Windows 7 machine, to a remote DB2 server. I've installed the driver, per the instructions here. That appeared to work fine; I've already cataloged the node and ...
0
votes
1answer
150 views

Why does database of db2 HADR standby server deactivate automatically?

Im trying to configure SAP HADR with the primary and standby server. Configurations seems to be ok but the database of standby server deactivates automatically. When i run the command db2 activate ...
3
votes
2answers
107 views

Migration from oracle to DB2

I want to migrate my oracle schema to db2. Any tool available for migration? Please help
-1
votes
2answers
261 views

Regular expressions to find SQL Errors in Logs

I am running a log parser to find SQL errors in my log files. If the search string (regular expression) is evaluated to true, the line will be marked. So far I used the search expression "SQL0", which ...
1
vote
1answer
569 views

DB2 Integrity Checks and Exception Tables

I am working on planning a migration of a DB2 8.1 database from a horrible IBM encoding to UTF-8 to support further languages etc. I am encountering an issue that I am stuck on. A few notes on this ...
0
votes
1answer
57 views

What causes DB2 to have log file times out of order?

I routinely see the following in the logs of a DB2 LUW 9.7.4 server: -rw------- 1 db2inst1 db2iadm1 129M Feb 23 11:20 S0000045.LOG -rw------- 1 db2inst1 db2iadm1 129M Feb 23 12:10 S0000046.LOG ...
0
votes
1answer
93 views

DB2 to Oracle Migration

I am migrating a very large and complex database from DB2 to Oracle 11g. Can someone suggest any tools / processes to do this very quickly. My database is about 500 GB and it cannot have downtime ...
1
vote
0answers
312 views

Errors installing iSeries Access for Windows on Win 2008 server

I am desperately in need of help here. I am trying to install the iSeries Access for Windows software on our development server and can't get past the install. Here were my installation ...
1
vote
3answers
108 views

Will I need more system resources to run DB2 instead of MySQL?

I need to convert my web application from MySQL to run on DB2. I need to know in advance whether I will need a high spec server to ensure the web application performs at the same speed as it does now ...
1
vote
1answer
295 views

How to connect to DB2 when the password ends with '!' in Windows

I am facing a problem to use the DB2 tools when using generic account with a generated password which ends with the Bang sign '!' to connect to DB2 database. I am not allowed to change the password ...
0
votes
1answer
249 views

DB2 2 Slow Authentication / Connection Establish

I have a DB2 server installed on Windows 2008, and found that the local OS users are instantly authenticated, but the server take a long time to authenticate LDAP (AD) users, more than 3 minutes but ...
1
vote
1answer
503 views

Installing DB2 9.7.4 Express-C on Ubuntu 11.04 64 bit

Im trying to install DB2 9.7.4 Express-C on Ubuntu 64 bit. Ive done it before on 32 bit Ubuntu with no problem, however on the 64 bit architecture the installation hangs / freezes. As per this ...
0
votes
1answer
166 views

DB2 Express-C 9.5.2 error SQL0980C

We identified that the daily backup scheduled for our database was not obtained because the tablespace "SYSTOOLSPACE" was offline, so looking in the internet found that could be solved by running the ...
0
votes
1answer
409 views

Move DB2 services user from local to domain

I have a Windows Server 2008 R2 running IBM DB2 using the local account .\DB2 for services. As I have to promote this server to domain controller, local users won't be available anymore and I need to ...
2
votes
4answers
2k views

iSeries DB2 - SQL GUI Tool

Can someone suggest a good free Database tool with SQL support for connection to an iSeries. Currently I am using the green screen and it is quite frustrating.
0
votes
1answer
115 views

DB2 UDF Permissions

I have a custom function that I'm working on... the problem I'm having is simple: Permssions. example function: drop function circle_area go CREATE FUNCTION circle_area (radius FLOAT) RETURNS ...
2
votes
2answers
3k views

Running DB2 universal client on 64 bits windows 7 machine?

We are trying to set up a development environment on a new machine. Previously we have used this software on 32bit windows XP machines. We tried installing the 32 bit version of DB2 universal client ...
1
vote
2answers
195 views

AS400 and Remote Commands

On the AS400 I want to remotely execute: strpgrprg topgr(userx) message(ALERT!) What options are available to me? update: I want to run a AS400 program from outside of the AS400. I want to ...
1
vote
5answers
10k views

How to find DB2 port number (note: it does not use port listed in services file and db2 listing is missing from netstat command output) in windows?

I want to find DB2 port in windows, please help. Some information: DB2 v 9.7 Personal Edition - new/fresh install netstat command does not list db2 port. db2 entry missing was missing in ...
0
votes
1answer
408 views

DB2 V9.7 upgrade failure

I'm upgrading a V9.1 to a v9.7 The scripts for compatibility checks pass but /opt/ibm/db2/V9.7/instance/db2iupgrade -d -u db2fenc1 db2inst1 fails with the following error message: db2: ...
1
vote
1answer
665 views

cannot drop existing db2 database

db2 list database directory gives me Database 1 entry: Database alias = M Database name = M Local database directory = ...
0
votes
1answer
305 views

db2 cannot restore from mounted directory?

db2 restore db databaseName from Directory doesn't work (hangs there and does nothing, no error, no time out) for me if the Directory is a nfs mounted directory. Any idea how to make it work? db2 v ...
0
votes
1answer
443 views

Need DB2 OLEDB Driver / ODBC Driver

I am trying to establish a connection between excel and db2. I am able to successfully query and retrieve data from my DB. I am using the below connection string ...
1
vote
1answer
337 views

What could cause a file system to spontaneously unmount or become invalid for a short time?

We've got DB2 LUW running on a RHEL box. We had a crash of DB2 and IBM came back and said that a file that DB2 was trying to access (through open64()) unmounted or became invalid. We have done ...
0
votes
1answer
222 views

Is ALTER COLUMN SET DATA TYPE supported for DB2 8.2.4 for AIX?

I am trying to expand a column from SMALLINT to BIGINT. I get the error: SQL0104N An unexpected token "BIGINT" was found following ""TYPE SET DATA TYPE". Expected tokens may include:"". SQLSTATE=42601 ...
0
votes
1answer
66 views

Oracle/DB2 compare

I need to find definitions or explanations (DB2 and Oracle) for: instance database connection authority authorization transaction log tablespace application agent lock lock timeout Do someone know ...
0
votes
1answer
479 views

How can i back up transaction log of a db2 database?

i search infocenter of Ibm Db2 for backing up the transaction log but i can't figure out. using Tivoli Storage manager software is an option for back up i learned from infocenter. but how can i back ...
0
votes
1answer
262 views

db2 SQL30082N error

We're using db2 9.5 and on rare occasions get the following error when attempting to connect to the database. The program is forked from another process and trying a second time always succeeds. ...
0
votes
1answer
245 views

What steps are required to get DB2 working again after renaming the Windows XP system it was running on?

I think this is a fairly well known problem, but I haven't found a really solid solution to add to my toolbox. Here's the sequence of steps that leads to the problem: Install Windows (e.g., XP), ...
0
votes
2answers
687 views

db2 tablespace size and performance impact

Originally when we began moving to db2 LUW we ran into some issues where our tables were too big to fit into the default 4K table space. As a result of "pressure" to get it done we just went with a ...
1
vote
1answer
627 views

SQL Error: -443, SQLState: 38111 when accessing table metadata on DB2 zOS

I'm getting following error when using Hibernate in a Java application over my DB2 database. This error occurs with one DB2 database and not with another (I'm almost sure the problem is in DB2 server ...
0
votes
1answer
134 views

How to do a database backup in DB2 in Vista?

How to do a database backup in DB2 in Vista? Whenever I issued this command (login in Vista as Administrator): restore database myDB from D: taken at 20081013134446 the command line processor ...