Template:SQWareProduction sqwdb2 RunJob.ksh example

From Wiki_dbSQWare
Revision as of 17:42, 5 April 2014 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwdb2_Global.lib v3.1-beta.05 SQWareProduction for Db2 (dbSQWare GPL v3) ... 

#Standard help for script sqwdb2_RunJob.ksh:


$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -h
#Display online help for this script

$gvsqw_Db2Bin/sqwdb2_RunJob.ksh -I $DB2INSTANCE -A <action>
#Search action <action> in $gvsqw_RootCfg/sqwdb2_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