Difference between revisions of "Template:SQWareProduction sqwrs ExecSQL.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwrs_Global.lib | + | Sourcing sqwrs_Global.lib v2020.01 SQWareProduction for SybaseRs (dbSQWare) ... |
Usage: sqwrs_ExecSQL.ksh [-h] -I <instance> [+ options] | Usage: sqwrs_ExecSQL.ksh [-h] -I <instance> [+ options] | ||
Line 15: | Line 15: | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | -Opt option : Additional | + | -Opt option : Additional options for sql connection. |
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
− | -NoMail : | + | -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). | ||
− | -AddMail email : Email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.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 ). | ||
− | -Exec : Run | + | -Exec : Run commands (default, display generated commands). |
</pre> | </pre> |
Revision as of 18:36, 8 March 2020
Sourcing sqwrs_Global.lib v2020.01 SQWareProduction for SybaseRs (dbSQWare) ... Usage: sqwrs_ExecSQL.ksh [-h] -I <instance> [+ options] DESCRIPTION sqwrs_ExecSQL.ksh execute SQL file on instance SUPPORT All rdbms type and version PARAMETERS -I instance : Target instance. -F FileName : Filename to execute. OPTIONS -h help : Display the full usage. -s : Display samples of usage. -Opt option : Additional options for sql connection. -FRT return_code : Force return code value on error. -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -Locale locale : Force Locale for help display (fr,en). -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -SendReport : Send execution log report. -Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ). -Exec : Run commands (default, display generated commands).