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

Laoding DATA in to multiple table spaces


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

New User


Joined: 06 Sep 2010
Posts: 3
Location: hyderabad

PostPosted: Mon May 09, 2011 11:09 am
Reply with quote

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
View user's profile Send private message
rocky_balboa

New User


Joined: 24 Mar 2010
Posts: 61
Location: Cape of Good Hope

PostPosted: Mon May 09, 2011 3:23 pm
Reply with quote

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
View user's profile Send private message
vgchowdary85

New User


Joined: 06 Sep 2010
Posts: 3
Location: hyderabad

PostPosted: Mon May 09, 2011 3:35 pm
Reply with quote

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
View user's profile Send private message
rocky_balboa

New User


Joined: 24 Mar 2010
Posts: 61
Location: Cape of Good Hope

PostPosted: Mon May 09, 2011 3:44 pm
Reply with quote

icon_smile.gif Glad to know that it worked
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 Store the data for fixed length COBOL Programming 1
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top