473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Unable to See"Sample Contents" of a Table

Lou
I created a small database and defined a simple table with about 12
columns. To load the table I imported data from a text file. I got a
successful message after importing the data; no error messages at all.
However, when I try to get a sample of the database, nothing comes
up. I only the the columns I defined, but no rows at all. What did I
do wrong? I'm using Personal DB2 8.1.

Thanks for your help.

Luis
Nov 12 '05 #1
3 2342
Did the import confirm that 10 rows were inserted and committed? i.e.

import from C:\IXF\ADDRESS.IXF of ixf commitcount 20 replace_c

SQL3150N The H record in the PC/IXF file has product "DB2
"20010621", and time "211427".

SQL3050W Conversions on the data will be made between the IXF
"850" and the application code page "1252".

SQL3153N The T record in the PC/IXF file has name "C:\IXF\ADD
qualifier "", and source " ".

SQL3109N The utility is beginning to load data from file
"C:\IXF\ADDRESS.IXF".

SQL3221W ...Begin COMMIT WORK. Input Record Count = "12".

SQL3149N "12" rows were processed from the input file. "12" rows were
successfully inserted into the table. "0" rows were rejected.

Number of rows read = 12
Number of rows skipped = 0
Number of rows inserted = 12

Lou wrote:
I created a small database and defined a simple table with about 12
columns. To load the table I imported data from a text file. I got a
successful message after importing the data; no error messages at all.
However, when I try to get a sample of the database, nothing comes
up. I only the the columns I defined, but no rows at all. What did I
do wrong? I'm using Personal DB2 8.1.

Thanks for your help.

Luis


Nov 12 '05 #2
Lou
No, Blair, I didn't see the confirmation of how many rows were
inserted/commited like in your example below. Another thing is that I
imported the data using the options in the Control Center interface.
Maybe I should try it using the "import" command in the Command Window
as in your example, right?

Thanks,

Luis

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message news:<bv**********@hanover.torolab.ibm.com>...
Did the import confirm that 10 rows were inserted and committed? i.e.

import from C:\IXF\ADDRESS.IXF of ixf commitcount 20 replace_c

SQL3150N The H record in the PC/IXF file has product "DB2
"20010621", and time "211427".

SQL3050W Conversions on the data will be made between the IXF
"850" and the application code page "1252".

SQL3153N The T record in the PC/IXF file has name "C:\IXF\ADD
qualifier "", and source " ".

SQL3109N The utility is beginning to load data from file
"C:\IXF\ADDRESS.IXF".

SQL3221W ...Begin COMMIT WORK. Input Record Count = "12".

SQL3149N "12" rows were processed from the input file. "12" rows were
successfully inserted into the table. "0" rows were rejected.

Number of rows read = 12
Number of rows skipped = 0
Number of rows inserted = 12

Lou wrote:
I created a small database and defined a simple table with about 12
columns. To load the table I imported data from a text file. I got a
successful message after importing the data; no error messages at all.
However, when I try to get a sample of the database, nothing comes
up. I only the the columns I defined, but no rows at all. What did I
do wrong? I'm using Personal DB2 8.1.

Thanks for your help.

Luis

Nov 12 '05 #3
You could do that - you also have to identify a message file with the
Control Center. Does the message file show any errors?

Lou wrote:
No, Blair, I didn't see the confirmation of how many rows were
inserted/commited like in your example below. Another thing is that I
imported the data using the options in the Control Center interface.
Maybe I should try it using the "import" command in the Command Window
as in your example, right?

Thanks,

Luis

Blair Adamache <ba*******@2muchspam.yahoo.com> wrote in message news:<bv**********@hanover.torolab.ibm.com>...
Did the import confirm that 10 rows were inserted and committed? i.e.

import from C:\IXF\ADDRESS.IXF of ixf commitcount 20 replace_c

SQL3150N The H record in the PC/IXF file has product "DB2
"20010621", and time "211427".

SQL3050W Conversions on the data will be made between the IXF
"850" and the application code page "1252".

SQL3153N The T record in the PC/IXF file has name "C:\IXF\ADD
qualifier "", and source " ".

SQL3109N The utility is beginning to load data from file
"C:\IXF\ADDRESS.IXF".

SQL3221W ...Begin COMMIT WORK. Input Record Count = "12".

SQL3149N "12" rows were processed from the input file. "12" rows were
successfully inserted into the table. "0" rows were rejected.

Number of rows read = 12
Number of rows skipped = 0
Number of rows inserted = 12

Lou wrote:

I created a small database and defined a simple table with about 12
columns. To load the table I imported data from a text file. I got a
successful message after importing the data; no error messages at all.
However, when I try to get a sample of the database, nothing comes
up. I only the the columns I defined, but no rows at all. What did I
do wrong? I'm using Personal DB2 8.1.

Thanks for your help.

Luis


Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Good Man | last post by:
Hi There A client of mine has some banner ads placed on the net. Instead of relying on the sites the ads are posted on tell us how many clicks they are getting, we wanted to track the number...
11
by: Junkguy | last post by:
I need some help programmatically causing a row in a DataGrid to "flush" its contents to its bound data (in Visual Studio 6 using Windows Forms with C#). My issue is I want to send an update to...
6
by: GD | last post by:
Hi, I wonder how to disable the "submit" behavior of a button. What I want is to assign values to dynamically added user controls without page postback. Problem: dynamically created control can...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
3
by: nsh | last post by:
mailing.database.mysql, comp.lang.php subject: does "LOAD DATA" EVER work?!? I've tried EVERYTHING! version info: my isp is running my web page on a linux box with php ver. 4.4.1 according to...
10
by: giannis | last post by:
How can i know ("see") the next record using the BindingSource without move to the next record ?
2
by: Zytan | last post by:
Is there a 'sync to contents' button anywhere in VC# 2005, like VS 2003 had? I'd like to be able to see more what is to offer when I find myself in a help page. Zytan
0
by: sherifffruitfly | last post by:
I've tried googling, but couldn't find anything. Basically, I want to see the cell's data more-exposed and less-exposed *while* I'm resizing the column. Is this even possible? Would I have to...
3
Claus Mygind
by: Claus Mygind | last post by:
I just switched to FireFox 3 and I noticed that all my custom popup windows now contain the location "Address" box even though this is not one of the features of the window. see sample code below. ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.