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


ネイティブ実行 ジョブの xJCL サンプル

以下に、ネイティブ実行 ジョブの xJCL サンプルを示します。 現在では、単一ステップのジョブのみがサポートされています。

<?xml version="1.0"?>
<job name="GridUtilitySample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <job-step name="Step1" application-name="tryit">
    <env-entries>
      <env-var name="PATH" value="/opt/IBM/WebSphere/AppServer/java/jre/bin"/>
      <env-var name="CLASSPATH" value="/user/classes"/>
    </env-entries>
    <exec executable="java">
       <arg line="GridUtilitySample"/>
    </exec>
  </job-step>
</job>

数値計算ジョブの xJCL サンプル

<?xml version="1.0" encoding="UTF-8"?>
<job name="OpenGrid" class="xyz" accounting="accounting info" default-application-name="tryit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<job-scheduling-criteria>
<required-capability expression="someExpression" />
<required-capability expression="anotherExpression" />
</job-scheduling-criteria>

<substitution-props>
<prop name="PATH" value="C:¥¥windows;C:¥¥java¥¥jre¥¥bin" />
</substitution-props>

<job-step name="Step1" application-name="tryit">

<env-entries>
<env-var name="PATH" value="${PATH}" />
<env-var name="CLASSPATH" value="C:¥¥windows" />
</env-entries>

<exec executable="java">
<arg line="command line args here" />
<arg line=" and more command line args here" />
</exec>

</job-step>

</job>



関連概念
xJCL エレメント
ネイティブ・ジョブの XML スキーマ
概念のトピック    

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

最終更新: 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/cxdbatchcij.html