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

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


Usage: sqwdb2_RunStatsDatabase.ksh [-h] -I databasename [+ options]
Usage: sqwdb2_RunStatsDatabase.ksh [-h] -I databasename [+ options]
Line 16: Line 16:
     -Opt  option      : Option for RUNSTATS (by default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL').
     -Opt  option      : Option for RUNSTATS (by default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL').
     -FRT      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 database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
     -NoMail            : Deactivate 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).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Execute commands (by default, display generated commands).
     -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_RunStatsDatabase.ksh [-h] -I databasename [+ options]

DESCRIPTION
   sqwdb2_RunStatsDatabase.ksh RUNSTATS tables of database
SUPPORT
   Db2 supported versions: 8.2 <= v <= 11.5

PARAMETERS
     -I  database       : Target database for RUNSTATS tables.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -Opt  option       : Option for RUNSTATS (by default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL').
     -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 database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
     -NoMail            : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Execute commands (by default, display generated commands).