Template:SQWareProduction sqwdb2 ReorganizeDatabase.ksh help

From Wiki_dbSQWare
Revision as of 19:11, 5 October 2014 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwdb2_Global.lib v3.1.04 SQWareProduction for Db2 (dbSQWare GPL v3) ... 

Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I instance -D databasename [+ options]

DESCRIPTION
   sqwdb2_ReorganizeDatabase.ksh optimize tables of database
SUPPORT
   Db2 supported versions: 8.2 <= v <= 10.1

PARAMETERS
     -I  instance       : Target instance for optimize tables.
OPTIONS
     -h    help         : Display the full usage.
     -s                 : Display samples of usage.
     -FRT  return_code  : Force return code value on error.
     -AddMail email     : Email Address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -Dist              : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
     -NoMail            : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -RunOpt            : Option for RUNSTATS (default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL').
     -ChkOpt            : Stat option for REORGCHK (CURRENT or UPDATE) (default: 'UPDATE').
     -Type              : Type of table to reorg (ALL, SYSTEM, USER) (default: 'USER').
     -Exec              : Execute commands (default, display generated commands)