Difference between revisions of "Template:SQWareProduction sqwgen RunJob.ksh example"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwctl_Global.lib v2019. | + | Sourcing sqwctl_Global.lib v2019.03 SQWareProduction for Central (dbSQWare) ... |
− | + | #Standard generic help for script sqwgen_RunJob.ksh: | |
+ | |||
+ | |||
+ | $gvsqw_CtlBin/sqwctl_RunJob.ksh -h | ||
+ | #Display online help for this script | ||
+ | |||
+ | $gvsqw_CtlBin/sqwctl_RunJob.ksh -I <Instance> -A <action> | ||
+ | #Search action <action> in $gvsqw_RootCfg/sqwctl_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 | ||
+ | |||
+ | |||
+ | #Standard help for script sqwgen_RunJob.ksh: | ||
+ | |||
+ | |||
+ | $gvsqw_<gvsqw_RdbmsTrigram>Bin/sqw<gvsqw_RdbmsRoot>_RunJob.ksh -h | ||
+ | #Display online help for this script | ||
+ | |||
+ | $gvsqw_<gvsqw_RdbmsTrigram>Bin/sqw<gvsqw_RdbmsRoot>_RunJob.ksh -I <Instance> -A <action> | ||
+ | #Search action <action> in $gvsqw_RootCfg/sqw<gvsqw_RdbmsRoot>_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 | ||
</pre> | </pre> |
Revision as of 14:31, 14 April 2019
Sourcing sqwctl_Global.lib v2019.03 SQWareProduction for Central (dbSQWare) ... #Standard generic help for script sqwgen_RunJob.ksh: $gvsqw_CtlBin/sqwctl_RunJob.ksh -h #Display online help for this script $gvsqw_CtlBin/sqwctl_RunJob.ksh -I <Instance> -A <action> #Search action <action> in $gvsqw_RootCfg/sqwctl_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 #Standard help for script sqwgen_RunJob.ksh: $gvsqw_<gvsqw_RdbmsTrigram>Bin/sqw<gvsqw_RdbmsRoot>_RunJob.ksh -h #Display online help for this script $gvsqw_<gvsqw_RdbmsTrigram>Bin/sqw<gvsqw_RdbmsRoot>_RunJob.ksh -I <Instance> -A <action> #Search action <action> in $gvsqw_RootCfg/sqw<gvsqw_RdbmsRoot>_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