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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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