473,472 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why is LOAD API messing up the order of presorted records in the source data?

1 New Member
Hi all,

I am using the CLI load interface to insert data into my DB2 table. My source data is already presorted and this order is necessary to be preserved. But i am seeing that LOAD api is inserting the data in random order.

All the options of LOAD have been set to default/zero. On a hunch i changed the iCpuParallelism option from zero( Db2 chooses the optimal thread count) to one(use only 1 thread). On doing this it makes LOAd API to load data in the correct order. What could be going wrong here? If possible i would like to keep the iCpuParallelism option at 0. Do I need to initialize some other option so that LOAD API can load data in the correct order even with multiple threads?

An extra info: my DB2 table has an identity column with Generated always option.

I have another doubt. DB2 online help says that setting the file type modifier to NULL gives it default specification? What exactly is enabled and disabled in default specification?

Thanks in advance for your help
./Parth
Feb 11 '11 #1
1 1687
pramodds
7 New Member
Please paste the load command being used. Will check in my local setup and try to get back with solution
Feb 14 '11 #2

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

Similar topics

5
by: Jonathan Edwards | last post by:
The parser library module only records source line numbers for tokens. I need a parser that records ranges of line and character locations for each AST node, so I can map back to the source. Does...
7
by: Eric.Jones | last post by:
I've encountered a strange error with loading delimited files from a Samba (SMB) network drive, has anyone else seen this before? (Platform: WinXP Pro, UDB PE 8015, level 02060106, SAMPLE db) ...
2
by: Miguel Dias Moura | last post by:
Hello, i have this SQL code in my dataSet (I am working in ASP.Net / VB): SELECT Author, COUNT(Author) AS totalDocuments FROM documents GROUP BY Author ORDER BY COUNT(Author) DESC What i...
5
by: Sherry | last post by:
Is there a way to automatically, or by using say a function key, call/paste into a current table or query's field the same value entered for the same field in the immediately preceeding record,...
3
by: Reshmi Jacob | last post by:
Hi all I would like to know the order in which the records are saved in a table. I am a beginner in SQL, in Oracle we have the ROWNUM to retrive the same. Any option for this in SQL Server??? ...
1
by: ramapv | last post by:
How to order the records in a table such that the elements in a field strating with a particular alphabet apper first. ie.,the elements in the field names are as follows: amar Bob joy mana...
4
by: garzon | last post by:
I'm trying to import numbers from an excel spreadsheet into a SQL table using a DTS package. I'm getting null values imported when my source data contains a dash (-). The data type for the source...
0
by: Eric Davidson | last post by:
I am try to find a way to get load to reject a record if the data is too large and not just truncate it. eg. c:\temp\fred3.txt ------ a23456789012345678901234567890...
1
bugboy
by: bugboy | last post by:
Ok so this has got me stumped. I need to insert 400,000 words into a (unique) column and i have two problems: 1. My source data is not clean, there are around 1% repeated words.. i'm pretty sure...
1
by: Brit | last post by:
I have an ASP file that retrieves names from an Access database for 4 different categories of membership, which the visitor to the page selects (corporate, institutional, regular, or student). The...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.