Template:SQWareProduction sqwmsq RotateErrorLog.ksh help: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
m Updated by BatchUser
Line 1: Line 1:
<pre>
<pre>
Sourcing sqwmsq_Global.lib v2024.01 SQWareProduction for MsSql (dbSQWare) ...  
Sourcing sqwmsq_Global.lib v2024.02 SQWareProduction for MsSql (dbSQWare) ...  


Usage: sqwmsq_RotateErrorLog.ksh [-h] -I <FreeTdsAlias> [+ options]
Usage: sqwmsq_RotateErrorLog.ksh [-h] -I <FreeTdsAlias> [+ options]
Line 10: Line 10:


PARAMETERS
PARAMETERS
     -I  Instance      : Target instance (freeTds alias) for rotation of log .
     -I  Instance      : Target instance (freeTds alias) for errorlog rotation.
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 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -SendReport        : Send execution log report.
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.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 (default, display generated commands)
     -Exec              : Execute commands (by default, display generated commands).


</pre>
</pre>

Revision as of 17:11, 7 April 2024

Sourcing sqwmsq_Global.lib v2024.02 SQWareProduction for MsSql (dbSQWare) ... 

Usage: sqwmsq_RotateErrorLog.ksh [-h] -I <FreeTdsAlias> [+ options]

DESCRIPTION
   sqwmsq_RotateErrorLog.ksh rotate errorlog
SUPPORT
   MsSql supported versions: 2000 <= v <= 2022

PARAMETERS
     -I   Instance      : Target instance (freeTds alias) for errorlog rotation.
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 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Execute commands (by default, display generated commands).