Template:SQWareProduction sqwdb2 ReorganizeDatabase.ksh help: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
No edit summary
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
<pre>
Sourcing sqwdb2_Global.lib v4.0.06 SQWareProduction for Db2 (dbSQWare) ...  
Sourcing sqwdb2_Global.lib v2025.06 SQWareProduction for Db2 (dbSQWare) ...  


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


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


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


</pre>
</pre>

Latest revision as of 18:52, 1 July 2025

Sourcing sqwdb2_Global.lib v2025.06 SQWareProduction for Db2 (dbSQWare) ... 

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

DESCRIPTION
   sqwdb2_ReorganizeDatabase.ksh optimize tables
SUPPORT
   Db2 supported versions: 8.2 <= v <= 11.5

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