Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us