Template:SQWareProduction sqwpg RunJob.ksh example

From Wiki_dbSQWare
Revision as of 19:51, 18 January 2013 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

#Standard help for script sqwpg_RunJob.ksh:


$gvsqw_PgBin/sqwpg_RunJob.ksh -h
#Display online help for this script

$gvsqw_PgBin/sqwpg_RunJob.ksh -I $PG_SID -A <action>
#Search action <action> in $gvsqw_RootCfg/sqwpg_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