DB2 Questions and Answers

Recent IT Questions

41 - 60 of 387

How to check DB2 version in AS/400 green screen command line?

How to check db2 version in as400 green screen command line?

View Answer   |  Apr 3 2009  5:34 AM GMT
DB2/400, AS/400 command functions, Green Screen
asked by Hiraju11

  5 pts.

CPYTOIMPF --FLDDLM(*TAB) QUESTION

Our OS is V5R4. I am using cpytoimpf to import .txt file (tab delimited) to DB2 physical file. If I remove the FLDDLM(*TAB), I get all the records but the fields have overlapped data. If I use the (*TAB) I get one record and errors on the remaining copy.(error code 7) Here is the command I am...

View Answer   |  Mar 24 2009  6:19 PM GMT
CPYTOIMPF, V5R4, DB2
asked by VRSTEEL

  5 pts.

In DB2 when a select statement is executed, it is taking lot of time and the table is being locked.

In DB2 when I'm giving a select statement its taking lot of time, the reason is like the table is a very huge table. As a result some times it is locking the table. Can any one help me for executing the select query with any option which would not lock the table. Thank you in advance.

View Answer   |  Mar 24 2009  12:23 AM GMT
DB2 query, DB2, SELECT statement
asked by UmaGandreddi

  80 pts.

tablespace

when does alter Tablespace trackmod yes become active

View Answer   |  Mar 23 2009  3:40 PM GMT
TABLESPACES, DB2
asked by BLR

  5 pts.

Mainframe batch DB2 table I-O monitoring

Dear Sir or Madam: I can examine the excp counts for flat, VSAM, IMS files in the JCL batch JES JOB Log statistics, both while executing & when job has completed. How do you monitor that I/O for DB2 tables? Thank you, Michael Piccolo

View Answer   |  Mar 19 2009  2:17 PM GMT
DB2, I/O Monitoring, DB2 Table
asked by Pic

  40 pts.

db2/400

I need add a field in existing Physical file without imacting any thing file? i know CHGPF command but i am not sure about which parameter needs to be update... Please advice...

View Answer   |  Mar 6 2009  1:15 PM GMT
AS/400 DB2, DB2, CHGPF
asked by Askt

  265 pts.

How to Determine Database Access on AS/400

I have a client running JDEdwards on an AS/400. How can I determine which of the users have direct access to modify the DB2 database (access to DB without going through the JDE application)? Is there a particular security profile they must have? Thanks in advance.

View Answer   |  Mar 5 2009  3:36 PM GMT
AS/400 database, DB2/400, DB2
asked by DaCurryman

  5 pts.

DB2 SQL Confusion

I am failing to understand why the following won't work SELECT m.index, SUM(d1.amt), SUM(d2.amt) FROM master m, detail d1, detail d2 WHERE m.index = d1.index AND m.index = d2.index AND d2.qalif = 1 GROUP BY m.index I wrote another sql that does work, I just don't...

View Answer   |  Jan 9 2009  4:46 PM GMT
DB2 SQL, SQL, DB2
asked by ThorButtox

  5 pts.

Slow JDBC DB2 Connection

Hello, Having an issue with a new server we are setting up. The server is Linux RHE 4, running DB2 8.1 and Domino 7.03. Our DB2 databases reside an a separate dedicated DB2 server and are cataloged on our new server. Connections to these databases are working fine using SQL tools and from the...

Answer Question   |  Jan 8 2009  9:12 PM GMT
DB2, JDBC, Domino 7.x
asked by Biohazard42

  5 pts.

AS400

In DDS, Unique is file level keyword. Is there any specific key word for field level?

View Answer   |  Dec 29 2008  7:11 AM GMT
DB2
asked by Rajeshece

  480 pts.

Native database implementation on AS/400

Hi, I am searching for a native database implementation for AS400. Either an open source or that can be bought and used or ( a database impl that can be achieved by doing some programming). Can i get some help regarding this. Thanks all, teja.

View Answer   |  Dec 22 2008  2:32 AM GMT
DB2, DB2/400, AS/400 database
asked by Engineerteja

  5 pts.

What is the use of primary files in DB2/400?

whats the use of primary file any real example please? in what scenario should we prefer to fully procedural file?

View Answer   |  Dec 19 2008  6:22 AM GMT
DB2, DB2/400, DB2/400 primary files
asked by 6r

  155 pts.

How to configure the database instance to respond slowly for any request?

With default configuration settings at DB instance, the db server is responding quick. For my tests, i want the db server response to be slow. What configuration changes or anything else can be done so that the db instance will respond slowly (atleast take 1 minute time to execute). The request...

View Answer   |  Dec 16 2008  7:24 AM GMT
Oracle, DB2, SQL Server
asked by Saimadhu

  370 pts.

What are the possible situations where DB2 server FORCES to close the applications connected to it?

Possibile situations where DB server forces to close the applications connected to it? Some of the situations can be : DB2 restart, DB2 stop, DB2 suspend. What else situations in DB2 server forces to close the applications connected to it? Your help is greatly appreciated !

View Answer   |  Dec 8 2008  11:00 AM GMT
DB2, DB2 Universal Database, DB2 Update Query
asked by Saimadhu

  370 pts.

How to limit the number of application connections in DB2?

I want to limit the number of application connections to 1 in DB2 server. And try connecting with 2 applications to check the behavior?

View Answer   |  Dec 8 2008  10:54 AM GMT
DB2, DB2 administration, DB2 Universal Database
asked by Saimadhu

  370 pts.

Referential integrity and AS/400

Can anyone please explain what refrential integrity means and how does it relate to AS/400? Regards, Shaddy

View Answer   |  Dec 4 2008  6:42 AM GMT
Oracle, DB2, Database
asked by Shaddy

  20 pts.

How to test whether the Database tables designed to avoid deadlock occurence?

I heard from our dev team that our db tables are designed such that there is no chance of deadlock. How to test whether the Database tables design avoids deadlock? By reviewing the db scripts (table creation) can we find whether the db table design is deadlock proof or not? What else can we...

View Answer   |  Dec 3 2008  11:04 AM GMT
Oracle, DB2, SQL Server
asked by Saimadhu

  370 pts.

Database offline vs Database stopped vs Database network disconnected?

How Database Offline is different from Database Stopped? How Database Offline is different from DB network disconnection? How Database Stopped is different from DB network disconnection? Appreciate your help.

View Answer   |  Dec 3 2008  4:51 AM GMT
Oracle, DB2, Network connectivity
asked by Saimadhu

  370 pts.

How to push the Database into deadlock state?

Hi, We are doing Database FailOver testing (DBFO). As part of this, we want to check if primary db is in deadlock state then what happens? whether the transactions will go to back up db or not? How to get the primary db into deadlock state? Appreciate your help.

View Answer   |  Dec 1 2008  11:44 AM GMT
Oracle, DB2, SQL Server
asked by Saimadhu

  370 pts.

Granting and Revoking DB2 authority

We've had several requests to grant 'temporary' SELECT authority on a table (meaning they want the user to have the authority for today, and not tomorrow). The DBAs don't want the housework of remembering to revoke the authority tomorrow, so we were wondering if anyone knows a way to grant...

View Answer   |  Nov 24 2008  8:52 PM GMT
DB2, DB2 administration, DBA
asked by Nperk

  20 pts.

41 - 60 of 387