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
 
Load a Table that has Index Defined

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
santosh.ambaprasad

New User


Joined: 08 Mar 2009
Posts: 16
Location: London

PostPosted: Fri Jun 06, 2014 2:03 am    Post subject: Load a Table that has Index Defined
Reply with quote

Hello All, I hope some can share feed back on this...
I need to load a table with data. That table has index table defined. Am I correct in the following steps-

Load table
Force start table space after successful table
Rebuild Index
Run check data
Run check Index

Thanks
Back to top
View user's profile Send private message

Santoshkumar Sala

New User


Joined: 18 Jul 2010
Posts: 12
Location: Mumbai

PostPosted: Fri Jun 06, 2014 5:00 am    Post subject:
Reply with quote

LOAD DATA
LOG NO
COPY YES
RESUME YES
INDEX UPDATE
UNIQUECHECK NO
UPDATEDB2STATS YES
INTO TABLE

LOAD DATA
LOG NO
COPY YES
REPLACE
UPDATEDB2STATS YES
INTO TABLE
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1806
Location: NY,USA

PostPosted: Tue Jun 10, 2014 8:22 pm    Post subject:
Reply with quote

You might have to follow a standards defined at your shop and that only can be answered by DBA's around you.

This may help.

http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.ugref/src/tpc/db2z_loadsamples.dita?lang=en
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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

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