DB2 Questions and Answers

Recent IT Questions

21 - 40 of 387

IBMDB2 runtime issues with HP 2730p laptop

When displaying catalogue with IBM DB2 Runtime, a blank display appears.  It will not display the command windowl  This problem occurs only with the HP 2730p Tablet. Software/Hardware used: IBM DB2 Runtime with HP 2730p Tablet

Answer Question   |  Aug 13 2009  1:57 PM GMT
IBM DB2, DB2, HP 2730p
asked by Jmonroe700ing

  5 pts.

What's a good, simple reliable way to log errors for later investigation?

I'm doing new work in an old old system. It's built with a bit of everything you could use from System/34 onwards - except maybe WSU. Naturally, as I Put together new functions, I test return codes, record locks, database integrity as I go. Just spent a couple of hours finding out that a...

View Answer   |  Aug 4 2009  12:42 AM GMT
i5, DB2, DB2 error logs
asked by Yorkshireman

  3200 pts.

CPYTOIMPF

i am new to as400 and i wanted to transfer file from as400 to pc using CPYTOIPMF as per advised here. BUt i am receiving an error File system error occurred. Error number 3025. whats wrong? thanks

View Answer   |  Aug 3 2009  7:41 AM GMT
CPYTOIMPF, AS/400 error messages, DB2
asked by Radycal

  30 pts.

Automatic transfer of AS400 output file to PC folder

Is there a way to automatically transfer an output file to PC folder in an Excel form? My boss want me to create a CL program that every time the output file was created, it automatically convert that output file to Excel(numeric values in comma seperated) in a PC folder. I usually do this...

View Answer   |  Aug 3 2009  2:09 AM GMT
AS/400 Transfer, AS/400 output files, DB2
asked by Radycal

  30 pts.

When I ran a SQL thru JCL and using DSNTIAUL/DSNTIB81 using PARMS(SQL), what kind of locks it puts on table in SELECT statement?

When I ran a SQL thru JCL and using DSNTIAUL/DSNTIB81 using PARMS(SQL), what kind of locks it puts on table in SELECT statement?

View Answer   |  Jul 27 2009  5:23 PM GMT
DB2
asked by Rofnh

  20 pts.

how to block update command when using STRSQL ( db2/400)?

Hi People , I got several analysts that they must only use Select command through STRSQL prompt, I found I can block update command changing the object authority but I have loads and load of tables to change, is there any easier way to do that?

View Answer   |  Jul 20 2009  4:46 PM GMT
AS/400, STRSQL, DB2
asked by Altino

  15 pts.

How to select 1 record in DB2

As usual, I often use: select top 1 * from table But in DB2, I can't. I use Toad tool to input SQL statement. Who have any solution? Please share with me. Tks a lot!

View Answer   |  Jul 16 2009  5:34 PM GMT
SELECT statement, DB2
asked by Linhntk

  5 pts.

SQL embedded in RPGLE

RPGLE program with five modules updating different set of files. Main module calls others each time a customer is being processed to change some specific detail in many files. There are many customers, so the modules are called many times (LR is set on only at the end of the whole process). Each...

View Answer   |  Jul 7 2009  7:20 AM GMT
SQL, RPGLE, performance
asked by Mawc

  5 pts.

Delete OLD files from Table not having date or timestamp

Hi, In DB2, Is it possible to get the insert date of a record in a table which doesn't have a seperate field for creation date or timestamp. I have a task where I have to delete record older than 1 year from a table, but the files doesn't have creation date field. So, like RRN does DB2 have any...

View Answer   |  Jul 3 2009  10:46 AM GMT
AS/400, as400/DB2, DB2/400
asked by RJES

  45 pts.

Difference between ODBC and JDBC?

I'm writing a java application. In short, this application needs to connect to DB2 on an AS/400 for some SQL data. I cannot find a straightforward comparison of ODBC and JDBC. Do any of you know where I can find one? Or, have any of you done java programming with the intent to connect to AS/400...

View Answer   |  Jun 18 2009  1:49 PM GMT
DB2, AS/400, SQL
asked by Schmidtw

  10495 pts.

understanding and detecting sql performance situation with abnormal 400 shutdown

Need help in understanding and detecting situation with logical files built for sql rpgle performance and abnormal shutdown. Our system went down due to ups failure. All of a sudden the rpgle sql program is a resource hog because it is not selecting the lf that was built specifically for...

View Answer   |  Jun 3 2009  2:32 PM GMT
RPGLE, SQL, DB2
asked by Modiyooch

  370 pts.

DB2 Views

How to find the number of views for a DB2 table?

View Answer   |  May 28 2009  10:02 AM GMT
DB2 Views, DB2
asked by Bharathbhaskar

  10 pts.

data base files

How are the negative values in the packed fields are stored in the PF? How to enter negative data in those fields?

View Answer   |  May 27 2009  5:51 PM GMT
DB2, PF
asked by Ten2008

  730 pts.

Windows ODBC driver for IBM DB2 database

I'm looking for a windows ODBC driver to access a DB2 database on the AS400. Does anyone have a link or suggested vendors?

View Answer   |  May 26 2009  9:24 PM GMT
DB2, ODBC drivers, AS/400
asked by Mshen

  23475 pts.

Transform DB2 to XML from AS/400

I have been requested to create XML files from AS/400 DB2 files to be used to update data on a client's web server. I have looked at IBM's XML Toolkit for iSeries, but the examples are all about parsing XML input and nothing about creating XML from native AS/400 database files. Is there something...

View Answer   |  May 10 2009  3:36 PM GMT
XML Toolkit for iSeries, DB2/400, AS/400 development
asked by LBurkett99

  800 pts.

AS/400 data mapping with CPYFRMIMPF

We have an application in which we need to expand the size of several fields within the record, ie the Amount field need to be larger. In the past I would create DDS for the new expanded file, create the file, then write an RPG or Cobol program to copy the data from the old file to the new...

View Answer   |  May 7 2009  2:10 AM GMT
CPYTOIMPF, DB2, Copy From Import File
asked by GarySouders

  10 pts.

Tables in DB2 z/OS

In which dataset will I be able to find the default tables of DB2 V9 in Z OS

View Answer   |  May 5 2009  4:28 AM GMT
DB2 Everyplace, z/OS, Mainframe Datasets
asked by KarishmaKapoor

  20 pts.

copy file to PC

I need to know how to copy a native iSeries DB2 file to the IFS in PC file format

View Answer   |  Apr 22 2009  1:39 PM GMT
File Transfer Protocols, iSeries, DB2
asked by StillKickin

  5 pts.

Conversion of SQL Server 2000 to iSeries DB2 V6R1

Hi there. We are converting SQL Server 2000 to DB2 on iSeries V6R1. We’re ok with the JDE tables and views, but are having difficulty with the non-JDE tables, views, and stored procedures. Is there a tool or something that could help us? Thank you.

View Answer   |  Apr 13 2009  7:50 PM GMT
SQL Server 2000, DB2, iSeries DB2
asked by Tprusko

  5 pts.

Is a DB on AS400 always DB2 ?

Please, I want to know if possible : when we speak about a data base on AS400, exactly a data base used by RPG, is it allways a DB2 database ? Is AS400 a database. Is it the same as DB2/400 ? I hope to be clear enough. Sincerely

View Answer   |  Apr 7 2009  3:25 PM GMT
DB2, AS/400 database, RPG
asked by Poussines

  35 pts.

21 - 40 of 387