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

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
<pre>
Sourcing sqwmsq_Global.lib v2020.03 SQWareProduction for MsSql (dbSQWare) ...  
Can't find if env is 'SqlCmd' or 'FreeTds' !
Sourcing sqwmsq_Global.lib v2025.06 SQWareProduction for MsSql (dbSQWare) ...  


Usage: sqwmsq_RotateErrorLog.ksh [-h] -I <FreeTdsAlias> [+ options]
Usage: sqwmsq_RotateErrorLog.ksh [-h] -I <FreeTdsAlias> [+ options]
Line 7: Line 8:
   sqwmsq_RotateErrorLog.ksh rotate errorlog
   sqwmsq_RotateErrorLog.ksh rotate errorlog
SUPPORT
SUPPORT
   MsSql supported versions: 2000 <= v <= 2019
   MsSql supported versions: 2000 <= v <= 2022


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 'demo-sqwarebox@dbsqware.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 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 (default, display generated commands)
     -Exec              : Execute commands (by default, display generated commands).


</pre>
</pre>

Latest revision as of 18:53, 1 July 2025

Can't find if env is 'SqlCmd' or 'FreeTds' !
Sourcing sqwmsq_Global.lib v2025.06 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 'demo-sqwarebox@dbsqware.com'.
     -SendReport        : Send execution log report.
     -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).