473,382 Members | 1,717 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,382 software developers and data experts.

Points of consistency are not getting created when running Load with Savecount!

$ db2 describe table venkat

Data type Column
Column name schema Data type name Length Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
EMPID SYSIBM INTEGER 4 0 Yes
EMPNAME SYSIBM VARCHAR 30 0 Yes


$ db2 "select * from venkat"

EMPID EMPNAME
----------- ------------------------------
1 a
2 b
3 c
4 d
5 e

5 record(s) selected.


$ more venkat.del ------------------------> created a file venkat.del with following lines.
6,"a"
7,"b"
8,"c"
9,"d"
10,"e"
11,"a"
12,"b"
1a,"c"
2a,"d"
13,"e"
14,"a"
3a,"b"
4a,"c"
15,"d"
16,"e"

$ db2 "load from venkat.del of del savecount 3 warningcount 3 insert into venkat"
SQL3501W The table space(s) in which the table resides will not be placed in
backup pending state since forward recovery is disabled for the database.

SQL3109N The utility is beginning to load data from file
"/home/db2inst1/venkat.del".

SQL3500W The utility is beginning the "LOAD" phase at time "03/06/2011
21:31:58.541317".

SQL3519W Begin Load Consistency Point. Input record count = "0".

SQL3520W Load Consistency Point was successful.

SQL3119W The field value in row "8" and column "1" cannot be converted to an
INTEGER value. A null was loaded.

SQL3119W The field value in row "9" and column "1" cannot be converted to an
INTEGER value. A null was loaded.

SQL3185W The previous error occurred while processing data from row "9" of
the input file.

SQL3502N The utility has encountered "3" warnings which exceeds the total
number of warnings allowed.

SQL3502N The utility has encountered "3" warnings which exceeds the total
number of warnings allowed.

As you can see i don't see any points of consistency being created or its messages as per "savecount 3"!


Restarting load:

$ db2 "load from venkat.del of del savecount 3 warningcount 3 restart into venkat"
SQL3531I A LOAD RESTART has occurred.

SQL3501W The table space(s) in which the table resides will not be placed in
backup pending state since forward recovery is disabled for the database.

SQL3109N The utility is beginning to load data from file
"/home/db2inst1/venkat.del".

SQL3500W The utility is beginning the "LOAD" phase at time "03/06/2011
21:33:24.685058".

SQL3519W Begin Load Consistency Point. Input record count = "0".----------------------------------------> As you can see load operation is restarting from record 1, it was the last consistency point.

SQL3520W Load Consistency Point was successful.

SQL3119W The field value in row "8" and column "1" cannot be converted to an
INTEGER value. A null was loaded.

SQL3119W The field value in row "9" and column "1" cannot be converted to an
INTEGER value. A null was loaded.

SQL3185W The previous error occurred while processing data from row "9" of
the input file.

SQL3502N The utility has encountered "3" warnings which exceeds the total
number of warnings allowed.

SQL3502N The utility has encountered "3" warnings which exceeds the total
number of warnings allowed.


My Question:

1. Why there are no consistency points created as per "savecount 3" when i first ran the load operation?
Mar 7 '11 #1
2 3540
vijay2082
112 100+
Hi Venkat,

Your output has got all answers hidden.

SQL3500W The utility is beginning the "LOAD" phase at time "03/06/2011
21:31:58.541317".

SQL3519W Begin Load Consistency Point. Input record count = "0".

As you see first consistency point is created with record count 0, after which you get 3 consecutive errors/warning and your load gets terminated. Try to load from a good del file and provide fresh records to avoid and error/warning for first 3 record and then see the consistency being created.

Cheers, Vijay
Mar 7 '11 #2
$ more venkat.del
6,"a"
7,"b"
8,"c"
9,"d"
10,"e"
11,"a"
12,"b"
----------->My first 7 records are good,they satisfy the table definition.
1a,"c"
2a,"d"
13,"e"
14,"a"
3a,"b"
4a,"c"
15,"d"
16,"e"

If you look at the error output you can see the first record that is failing is record 8 (1a,"c"). So there are already 7 good records, so as per savecount 3 there should have been 2 points of consistency already being created but it is not happening. Can you please tell me why?

$ db2 "load from venkat.del of del savecount 3 warningcount 3 insert into venkat"
SQL3501W The table space(s) in which the table resides will not be placed in
backup pending state since forward recovery is disabled for the database.

SQL3109N The utility is beginning to load data from file
"/home/db2inst1/venkat.del".

SQL3500W The utility is beginning the "LOAD" phase at time "03/06/2011
21:31:58.541317".

SQL3519W Begin Load Consistency Point. Input record count = "0".

SQL3520W Load Consistency Point was successful.

SQL3119W The field value in row "8" and column "1" cannot be converted to anINTEGER value. A null was loaded.

SQL3119W The field value in row "9" and column "1" cannot be converted to an
INTEGER value. A null was loaded.

SQL3185W The previous error occurred while processing data from row "9" of
the input file.

SQL3502N The utility has encountered "3" warnings which exceeds the total
number of warnings allowed.

SQL3502N The utility has encountered "3" warnings which exceeds the total
number of warnings allowed.
Mar 7 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: leke | last post by:
Hi, I am trying to learn PHP but am having some problems getting my code running in Explorer 6. <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?>...
4
by: maricel | last post by:
Could someone confirm which tablespace is being used when running ALTER & CREATE INDEX. Is it the tempspace or the tablespace where the table resides? Many thanks, maricel
0
by: Dhananjayan | last post by:
Hi, I have a java webservice running on Axis, Iam able to create a java client to invoke the webservice and obtain the result. But iam not able to invoke the service from .Net client.. Here are...
1
by: Dhananjayan | last post by:
Hi, I have a java webservice running on Axis, Iam able to create a java client to invoke the webservice and obtain the result. But iam not able to invoke the service from .Net client.. Here are...
1
by: utpal | last post by:
Hi, My CSharp program, when I run from the local drive it can create/modify registry. However running the program from a network drive, gives RegistryPremission error. I don't belive that just by...
5
by: Dan Fulbright | last post by:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors when running go-pear.bat: mmap cache can't open phar://go-pear.phar/index.php mmap cache can't open...
0
by: =?Utf-8?B?UmF2aQ==?= | last post by:
Hi, I have WCF service and integrated with STS (WS-Federation). The Service exposes 5 endpoints Win, UNT and Federated Windows, Federated UNT and Mex endpoint. My STS Service exposes 3 endpoints...
1
by: Wayne | last post by:
I've found a painful bug when running an Access 2003 database under Access 2007. It manifests in both XP and Vista. Some combo boxes on some forms become transparent when they lose focus. It...
0
pod
by: pod | last post by:
I have this Windows Form project in VB.NET, very simple, inserts and collects data from a MS Access database and nothing else other than having a few pretty icons and displaying the totals of the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.