Forums: Open Discussion (Thread #23196)

【バッチFW】ジョブ管理テーブルの項目追加について (2009-06-25 10:19 by Anonymous #44554)

お世話になります。
非同期ジョブのジョブ管理テーブルに項目を追加し、起動待ち解除時刻を新たに設定したいと考えております。
バッチFWの機能説明書内 BE-02 非同期型ジョブ起動機能 ページ11/14において拡張後のSQL文が記載されておりますが、これについての質問です。
①これはbatchapps\common\jobControl-sqlMap.xml内の記述を変更するのでしょうか?
②SQL文の中でTEST001が何を表すテーブルなのかが理解できません。解説願えないでしょうか?
<select id="SELECT002" resultClass="……">
SELECT
REQUEST_NO AS jobRequestNo ,
JOB_ID AS jobId ,
JOB_FILE AS jobDiscriptorPath ,
PARAMETER AS jobParameters,
STATE AS jobState,
END_CODE AS jobExitCode,
UPDATE_TIME AS updateTime,
REGISTER_TIME AS registerTime
FROM JOB_CONTROL
WHERE REQUEST_NO = (
SELECT
MIN(REQUEST_NO)
FROM
JOB_CONTROL
WHERE
PRIORITY = (
SELECT MIN(PRIORITY)
FROM TEST001
WHERE
STATE = 0 AND
WAIT_FOR_TIME <= current_timestamp)
)
</select>

Reply to #44554×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 【バッチFW】ジョブ管理テーブルの項目追加について (2009-06-25 11:34 by ahn #44556)

①これはbatchapps\common\jobControl-sqlMap.xml内の記述を変更するのでしょうか?
-> はい、そうです。
②SQL文の中でTEST001が何を表すテーブルなのかが理解できません。解説願えないでしょうか?
-> 説明書をみる限りでは「JOB_CONTROL」の間違いだと思います。
Reply to #44554

Reply to #44556×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 【バッチFW】ジョブ管理テーブルの項目追加について (2009-06-25 11:42 by Anonymous #44558)

ahnさま

早速のご解説ありがとうございました。
内容についてはおそらくそうであろうことは予想していたのですが、確信ができなかったので非常に良かったです。
ありがとうございました。
※機能説明書の訂正は必要かと考えます。
Reply to #44554

Reply to #44558×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login