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
 

 

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: 1742
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 Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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