View previous topic :: View next topic
|
Author |
Message |
vgchowdary85
New User
Joined: 06 Sep 2010 Posts: 3 Location: hyderabad
|
|
|
|
Hi,,
Have a Table which is in 12 partitions,i am trying to load data in to the table form a flat file.But the data is loading in to only one partition.Please advicee how to update in reamining partitions also.PLease find the output i got in sysprint also below.
CODE:
LOAD DATA LOG NO REPLACE INDDN SYSREC00 NOCOPYPEND INTO TABLE
D2DHFCA.SC_CHAR_CYC_Y9
DB2T 128 23:55:58.31 DSNURBDC - DICTIONARY WITH 4096 ENTRIES HAS BEEN SUCCESSFULY BUILT FROM 187 ROWS FOR .TABLE SPACE HFCDDGY9.HFCDSGY9, PARTITION 3
-DB2T 128 23:56:22.72 DSNURWBF - THE COMPRESSION DICTIONARY WAS NOT BUILT FOR TABLE SPACE HFCDDGY9.HFCDSGY9,PARTITION 1,2,4,5,6,7,8,9,10,11,12
Please advice how i can load in to teh remaining partions too..Do i need to mention teh partion names also for loading? |
|
Back to top |
|
|
rocky_balboa
New User
Joined: 24 Mar 2010 Posts: 61 Location: Cape of Good Hope
|
|
|
|
What is happenning to rest of the data? Is it getting rejected? Check your o/p messages to find whether the data is getting rejected because it might not be satisfying the 'HIGH KEY' and 'LOW KEY ' values in case of table controlled partioning.
Yes you nedd to specify the partition numbers to be loaded
LOAD DATA INDDN SYSREC LOG NO
INTO TABLE XXXXX.YYY PART 2 REPLACE
LOAD DATA INDDN SYSREC LOG NO
INTO TABLE DSN8910.EMP PART 3 REPLACE
..... extend this for as many partitions as you have |
|
Back to top |
|
|
vgchowdary85
New User
Joined: 06 Sep 2010 Posts: 3 Location: hyderabad
|
|
|
|
Rocky,
Thanks for your reply...it worked fine.
INTO TABLE D2DHFCA.SC_CHAR_CYC_Y9 PART 1 REPLACE
INTO TABLE D2DHFCA.SC_CHAR_CYC_Y9 PART 2 REPLACE
.
.
.
.
.
INTO TABLE D2DHFCA.SC_CHAR_CYC_Y9 PART 12 Replace |
|
Back to top |
|
|
rocky_balboa
New User
Joined: 24 Mar 2010 Posts: 61 Location: Cape of Good Hope
|
|
|
|
Glad to know that it worked |
|
Back to top |
|
|
|