Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Laoding DATA in to multiple table spaces

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Laoding DATA in to multiple table spaces
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    Post subject: Reply to: Laoding DATA in to multiple table spaces
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    Post subject:
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    Post subject: Reply to: Laoding DATA in to multiple table spaces
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us