Difference between revisions of "Template:SQWareProduction sqwmys RunJob.ksh example"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwmys_Global.lib v4.0.04 SQWareProduction for MySQL (dbSQWare) ...  
+
Sourcing sqwmys_Global.lib v2024.03 SQWareProduction for MySQL (dbSQWare) ...  
  
#Standard help for script sqwmys_RunJob.ksh:
+
#Standard generic help for script sqwmys_RunJob.ksh:
  
  
$gvsqw_MysBin/sqwmys_RunJob.ksh -h
+
$gvsqw_Mys/sqwgen_RunJob.ksh -h
 
#Display online help for this script
 
#Display online help for this script
  
$gvsqw_MysBin/sqwmys_RunJob.ksh -I $MYSQL_SID -A <action>
+
$gvsqw_Mys/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_Mys/sqwgen_RunJob.ksh -s
 +
#Display usage examples for this script
 +
 
 +
$gvsqw_Mys/sqwgen_RunJob.ksh -I <Instance> -A <action>
 
#Search action <action> in $gvsqw_RootCfg/sqwmys_Jobs.cfg
 
#Search action <action> in $gvsqw_RootCfg/sqwmys_Jobs.cfg
 
#and execute command line with eval function
 
#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 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>

Latest revision as of 16:14, 26 April 2024

Sourcing sqwmys_Global.lib v2024.03 SQWareProduction for MySQL (dbSQWare) ... 

#Standard generic help for script sqwmys_RunJob.ksh:


$gvsqw_Mys/sqwgen_RunJob.ksh -h
#Display online help for this script

$gvsqw_Mys/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_Mys/sqwgen_RunJob.ksh -s
#Display usage examples for this script

$gvsqw_Mys/sqwgen_RunJob.ksh -I <Instance> -A <action>
#Search action <action> in $gvsqw_RootCfg/sqwmys_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