IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

LOAD REPLACE-ABEND S04E


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ykishor
Currently Banned

New User


Joined: 11 Aug 2007
Posts: 24
Location: my pc

PostPosted: Sat Feb 14, 2009 5:10 pm
Reply with quote

Hi

I have defined a partitioned tablespace with 6 partitions. I have used table partitioning instead of index partitioning. The table does not have any referential constraints,only a few NOT NULL constraints. Part of table DDL is given below.
-------table DDL-------------------------
PARTITION BY (BR)
(PARTITION 1 ENDING AT (8),
PARTITION 2 ENDING AT (16),
PARTITION 3 ENDING AT (24),
PARTITION 4 ENDING AT (32),
PARTITION 5 ENDING AT (40),
PARTITION 6 ENDING AT (999))
--------------------------------------------
BR can have any value between 1-999
INDEX DDL is given below
---------------------------------------------
SET CURRENT SQLID ='xxxxx';
CREATE UNIQUE INDEX "yyyyyy"."zzzzz"
ON "xxxxx"."ANMST"
("BK" ASC<possible values 700,704,720,800>
,"BR" ASC
,"CUS" ASC
,"LN" ASC
)
USING STOGROUP "STOISST2" PRIQTY 48000 SECQTY 4000
FREEPAGE 0 PCTFREE 10
CLUSTER
BUFFERPOOL BP2
CLOSE YES COPY NO;
-------------------------------------------------------------
While using LOAD replace I am getting the following error message
----
DSNU255I DSNURSIX - KEY COUNT INCONSISTENT FOR SORT-RD PHASE, NUMBER OF KEYS EXPECTED =4063100, NUMBER OF KEYS PROCESSED=2669406
SNU016I DSNUGBAC - UTILITY BATCH MEMORY EXECUTION ABENDED, REASON=X'00E4030A'
-----
--------------LOAD--used--------
LOAD DATA
LOG(NO)
KEEPDICTIONARY
REPLACE
SORTDEVT SYSDA
SORTNUM 4
STATISTICS TABLE(ALL) INDEX(ALL KEYCARD) REPORT YES UPDATE ALL
-------------------------------

Please help.

Thanks
yugal
Back to top
View user's profile Send private message
ykishor
Currently Banned

New User


Joined: 11 Aug 2007
Posts: 24
Location: my pc

PostPosted: Sat Feb 21, 2009 10:38 am
Reply with quote

Finally ,I got it.....

there was a memory overflow prblem...that is why it was not able to SORT and LOAD the entire table.....

The culprit was
STATISTICS TABLE(ALL) INDEX(ALL KEYCARD) REPORT YES UPDATE ALL

this is taking a lot of time and consumes a lot of CPU.....any ideas how to update stats differently.....

will this work better in a segmented tablespace....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts How to load to DB2 with column level ... DB2 6
No new posts ISAM and abend S03B JCL & VSAM 10
Search our Forums:

Back to Top