DB2 UDB

675 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
675
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

DB2 UDB

  1. 1. DB2 UDB® Utilities for Application Programmer Course No. 1092 Description This course uses a combination of lecture and numerous hands-on workshops to provide a working knowledge of the IBM DB2 UDB® utilities that are installed with the database manager. Participants learn how to execute UDB’s major utilities including LOAD, CHECK DATA, COPY, QUIESCE, REORG, RECOVER, RUNSTATS, and UNLOAD. Audience This course is recommended for application developers who are responsible for creating, and/or maintaining DB2 UDB® utility JOBs. Prerequisites A working knowledge of DB2 UDB® table structures is required. Objectives • Define the characteristics of a DB2 UDB® environment • Execute DB2 UDB® commands such as –START, -STOP, and –DISPLAY • Restart utilities which abnormally terminate • Load tables using the LOAD utility • Check referential integrity using CHECK DATA • Gather statistics efficiently using RUNSTATS • Develop and implement a backup/recovery strategy • Reorganize a tablespace using several different strategies • Unload data from DB2 UDB • Process multiple objects using LISTDEF and TEMPLATE • Define the use of the IBM Service Aids DSN1PRNT, DSN1COPY, DSN1COMP, and DSN1LOGP Major Topics • DB2 UDB® Overview • The DB2 UDB® Command Interface • DB2 UDB® Load Process • DB2 UDB® Backup and Recovery • DB2 UDB® REORG and UNLOAD • Processing multiple objects • Standalone utilities Duration 3 days ©2007-08 | Keane, Inc. Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www.keane.com/education/ info@keane.com
  2. 2. Course Contents 1. DB2 UDB® Utilities Overview and Commands • Combining LOAD Parameters • Common DB2 Objects • LOADing More Than One Table • Common DB2 Commands • Overriding Default DD Names • Displaying Objects • High Performance LOAD – Parallel Index Build • -DISPLAY Database • Creating an Image Copy when LOADing • Other Options • Preformatting Pages with LOAD • DB2 Option 7 ® • LOADing Data Extracted by REORG • Status Codes • Gathering Statistics When LOADing • -START Database • V7 LOAD Enhancements • -STOP Database • LOAD Performance Tips • Logical/Physical Design for Lab • Gathering Statistics Via RUNSTATS • RUNSTATS Parameters 2. The DB2 UDB® LOAD Process and Utilities • Removing Historical Statistics • Alternatives for Loading Tables • Application Program Load Algorithm 3. The DB2 UDB® LOAD Process and Utilities • Application Program vs. LOAD Utility (Continued) • RUNSTATS Correlated Statistics • Load Capabilities • Removing “Pending” Statuses after LOADing • LOAD Overview • “Parent” CHKP Events • LOAD JCL • “Child” CHKP Events • LOAD JCL Components • Removing CHKP Status • LOAD Schematic • The Check Data Utility • Utility Phases • Removing Erroneous Data Using the Check Data • Load Phases Utility • LOAD Control Statement • LOADing a File That Matches the Table Definition 4. DB2 UDB® and RECOVER Utilities • Loading a File that Does Not Match the Table Definition • Summary of Recovery –Related Utilities • LOAD Statement Notes • Important Recovery Factors • COBOL Datatypes vs. Load Datatypes • Recovery and R.I. • The DB2I Utility Panel • Developing a Backup/Recovery Strategy • Utility Ids • Your Backup Strategy • Tracking Utilities • Your Recovery Strategy • LOAD Return Codes/Abends • Effective Backup/Recovery • Logical/Physical Design for Lab • The COPY Utility • DDL Labs • Specifying Objects to COPY • Load Control Statement Options • COPY Parameters – DD Names • LOAD – Append vs. Overlay • COPY Parameters – Performance • High Performance LOAD – Logging • COPY Parameters – Automating the COPY Type Decision • High Performance LOAD – R.I. • Copying a List of Objects • LOAD Discard Limits • COPY – Other Notes • LOADing Partitions in Parallel • Image Copies in SYCOPY • LOAD – Compressed Data • Recovery Enhancement Utilities • LOADing Only Selected Input Records • The QUIESCE Utility • Massaging Data As It Is Loaded Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www.keane.com/education/ info@keane.com
  3. 3. • QUIESCE Parameters • Statistics That May Drive REORG • The REPORT Utility • REORG Schematic • The MODIFY RECOVERY Utility • Off-Line REORG Phases • The Modify Utilities • REORG Datasets • The RECOVER Utility • Sample REORG Control Statement • Point-In-Time Recovery • REORG Parameters – Performance • What Makes Recovery Necessary? • REORG Parameter – Unloading Only • The RECOVER Utility • REORG Parameters – Autoinitiation • Eight Steps to Recovery • RESTART • RECOVER Parameter • Return Codes/Abends and Restartability • Controlling the Recovery Point • Online REORG Phases • Tablespace Recovery Example • Online REORG – REFERENCE Considerations • Notes on RECOVER Rebuilding and • Online REORG – CHANGE Considerations Index Using REBUILD INDEX • Online REORG Mapping Table • Notes on Point-In-Time Recovery • REORG INDEX • The COPYTOCOPY Utility • REORG INDEX – Parameters • The MERGECOPY Utility • CHECK INDEX • Stacking Image Copies on Tape • The UNLOAD Utility 5. The REORG Utility • UNLOAD Control Statement • Reasons to REORG • UNLOAD Parameters • Off-Line vs. Online REORG Australia | Canada | China | France | India | New Zealand | Singapore | Switzerland | UAE | UK | USA www.keane.com/education/ info@keane.com

×