WebSphere Extended Deployment Compute Grid, Version 6.1.1
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows,


トランザクション・バッチのプロパティー・ファイル

サンプル・ファイル WSGrid.batch.job には、PostingsSample バッチ・ジョブの ファースト・ステップの定義に必要なプロパティーが示されています。

# Specify name by which this job is known job-name=PostingsSample
  
# Use default job class - uncomment to specify custom class 
# job-class=<enter class name here>	
  
# This is the jndi name of the BatchController system SLSB.
controller-jndi-name=ejb/com/ibm/websphere/samples/PostingsJob  
  
# Specify name of target j2ee app
application-name=PostingsSampleEar
  
# A timebased checkpoint algorithm is provided with XD 6.1 and its interval property

checkpoint-algorithm=com.ibm.wsspi.batch.checkpointalgorithms.timebased

# (units are seconds) decides how often to commit the global transaction when invoking a batch job step
checkpoint-algorithm.interval=10  

# This is a logical jndi name for the batch step; it has to match the ejb-reference declared 
# in the system SLSB for this batch step  entity bean

batch-bean-jndi-name=ejb/DataCreationBean  
  
# This the output bds used by the DataCreationBean.
# The logical name expected by the DataCreationBean is 'myoutput'

bds.myoutput=com.ibm.websphere.samples.PostingOutputStream

# Specify the implementation class and bds input property named 'FILENAME', expected 
# by this bds class. The value of the 'FILENAME' property should be changed to a path
# in the filesystem to write the postings output file. 
bds.myoutput.FILENAME=/root/bds/sample/myostingsfile	
# generic properties can be passed to the Batch Step. The DataCreationBean step uses 
# this property to control how many postings to create in the file associated with 
# PostingsOutputStream prop.name.wsbatch.count=5

上記のプロパティー・ファイルで記述されているジョブを実行依頼する WSGrid 呼び出しは、次のとおりです。

WSGrid WGrid.cntl WSGrid.batch.job 



関連概念
WSGrid コマンド行ユーティリティー
関連情報
Compute Grid ジョブのプロパティー
WSGrid プロパティー・ファイルの例
参照トピック    

ご利用条件 | フィードバック

最終更新: 2009/09/17 16時38分07秒EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1m1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/reference/rcg_example_batch.html