Template:SQWareProduction sqwrs RunJob.ksh example

From Wiki_dbSQWare
Revision as of 18:54, 23 February 2018 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwrs_Global.lib v4.0.03 SQWareProduction for SybaseRs (dbSQWare) ... 

#Standard help for script sqwrs_RunJob.ksh:


$gvsqw_RsBin/sqwrs_RunJob.ksh -h
#Display online help for this script

$gvsqw_RsBin/sqwrs_RunJob.ksh -S $DSQUERY -A <action>
#Search action <action> in $gvsqw_RootCfg/sqwrs_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