Template:SQWareProduction sqwdb2 ReorganizeAllDatabases.ksh help

From Wiki_dbSQWare
Jump to: navigation, search
Sourcing sqwdb2_Global.lib v3.1.14 SQWareProduction for Db2 (dbSQWare GPL v3) ... 

Usage: sqwdb2_ReorganizeAllDatabases.ksh [-h] -I instance [+ options]

DESCRIPTION
   sqwdb2_ReorganizeAllDatabases.ksh optimize tables of databases in //
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.
     -P    Nb threads   : Number of threads in parallel (by default 2).
     -ID   listdb       : Databases list for running optimize tables (by default all).
     -ED   listdb       : Databases list to exclude.
     -AGR  Nb sec       : Nb of seconds between two run (by default 1s).
     -AGE  Nb sec       : Nb of seconds between two check of end (by default 1s).
     -FRT  return_code  : Force return code value 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').
     -NoMail            : Desactivate sendmail on error default@dbsqware.com (by default, send on error).
     -Exec              : Execute commands (default, display generated commands)