Difference between revisions of "Template:SQWareProduction sqwmsq RunJob.ksh example"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwmsq_Global.lib v2024. | + | Sourcing sqwmsq_Global.lib v2024.02 SQWareProduction for MsSql (dbSQWare) ... |
#Standard generic help for script sqwmsq_RunJob.ksh: | #Standard generic help for script sqwmsq_RunJob.ksh: | ||
Line 9: | Line 9: | ||
$gvsqw_Msq/sqwgen_RunJob.ksh -Locale en -h | $gvsqw_Msq/sqwgen_RunJob.ksh -Locale en -h | ||
− | #Display online help for this script with forcing of the 'en' locale (default locale managed by | + | #Display online help for this script with forcing of the 'en' locale (by default locale managed by $gvsqw_Locale) |
$gvsqw_Msq/sqwgen_RunJob.ksh -s | $gvsqw_Msq/sqwgen_RunJob.ksh -s | ||
Line 19: | Line 19: | ||
#genarate log file "$gvsqw_LogDir/"$(basename $lvsqw_Script|sed 's,.ksh$,,')_$(date +'%Y%m%d_%H%M%S').log | #genarate log file "$gvsqw_LogDir/"$(basename $lvsqw_Script|sed 's,.ksh$,,')_$(date +'%Y%m%d_%H%M%S').log | ||
#genarate error file "$gvsqw_LogDir/"$(basename $lvsqw_Script|sed 's,.ksh$,,')_$(date +'%Y%m%d_%H%M%S').err | #genarate error file "$gvsqw_LogDir/"$(basename $lvsqw_Script|sed 's,.ksh$,,')_$(date +'%Y%m%d_%H%M%S').err | ||
− | |||
</pre> | </pre> |
Revision as of 16:10, 7 April 2024
Sourcing sqwmsq_Global.lib v2024.02 SQWareProduction for MsSql (dbSQWare) ... #Standard generic help for script sqwmsq_RunJob.ksh: $gvsqw_Msq/sqwgen_RunJob.ksh -h #Display online help for this script $gvsqw_Msq/sqwgen_RunJob.ksh -Locale en -h #Display online help for this script with forcing of the 'en' locale (by default locale managed by $gvsqw_Locale) $gvsqw_Msq/sqwgen_RunJob.ksh -s #Display usage examples for this script $gvsqw_Msq/sqwgen_RunJob.ksh -I <Instance> -A <action> #Search action <action> in $gvsqw_RootCfg/sqwmsq_Jobs.cfg #and execute command line with eval function #genarate log file "$gvsqw_LogDir/"$(basename $lvsqw_Script|sed 's,.ksh$,,')_$(date +'%Y%m%d_%H%M%S').log #genarate error file "$gvsqw_LogDir/"$(basename $lvsqw_Script|sed 's,.ksh$,,')_$(date +'%Y%m%d_%H%M%S').err