Example: Jobs from repository properties file

WSGrid can submit jobs stored in the job repository. You can use a repository properties file to specify the saved job definition and its substitution properties.

If the PostingsSample job is stored in the repository under the name PostingsSample, you can use the following properties file, named WSGrid.repo-postings.job, to specify the saved job definition and its substitution properties:

# This specifies which job from the repository to submit.  
repository-job=PostingsSample  
  
# The following substitution property values will be passed to the job.  
substitution-prop.wsbatch.count=5  
substitution-prop.checkpoint=timebased
substitution-prop.checkpointInterval=15  
substitution-prop.postingsDataStream=${was.install.root}/temp/postings"
The WSGrid invocation to submit the job described by the preceding properties file is:
WSGrid WGrid.cntl WSGrid.repo-postings.job
Reference topic    

Terms and conditions for information centers | Feedback

Last updated: April 18, 2014 05:01 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=rgrid_cg_example_repo
File name: rgrid_cg_example_repo.html