Template:SQWareProduction sqwmsq RotateErrorLog.ksh help

From Wiki_dbSQWare
Jump to: navigation, search
Sourcing sqwmsq_Global.lib v2024.03 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).