JPH02222056A - Batch job submitting system - Google Patents

Batch job submitting system

Info

Publication number
JPH02222056A
JPH02222056A JP4351989A JP4351989A JPH02222056A JP H02222056 A JPH02222056 A JP H02222056A JP 4351989 A JP4351989 A JP 4351989A JP 4351989 A JP4351989 A JP 4351989A JP H02222056 A JPH02222056 A JP H02222056A
Authority
JP
Japan
Prior art keywords
time
job
batch job
control data
batch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4351989A
Other languages
Japanese (ja)
Inventor
Etsuo Shinohara
悦男 篠原
Hironobu Oura
大浦 裕信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4351989A priority Critical patent/JPH02222056A/en
Publication of JPH02222056A publication Critical patent/JPH02222056A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically start a batch job at midnight by attaining a constitution where the monitor time and the executing time are set by a system input part and the designated time is detected by a monitor part for execution of an automatic submitting operation of the batch job. CONSTITUTION:When a monitor part 2 is started to carry out a monitor program, the control data on the starting time of a batch job is read out of a system input part 1. Then a clocking part 6 checks the present time and a comparison part 5 compares the present time with the designated start time after this start time is recognized in the part 2. At the designated start time, the control data including a JCL (job control language) data set name is read out the part 1. Then the JCL data to be submitted are read from a job control data part 3. In such a constitution, the batch job can be automatically started at midnight.

Description

【発明の詳細な説明】 〔目次] 概要 産業上の利用分野 従来の技術(第3図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用 実施例(第2図) 発明の効果 〔概要〕 バッチジョブサブミツト方式に関し、 予めサブミツトしておいたバッチジョブを自動的に起動
できるようにして、めんどうな作業をなくし、CPUの
有効利用ができるようにすると共に、確実にバッチジョ
ブの実行ができるようにすることを目的とし、 監視プログラムを制御する制御データを格納するシステ
ム人力部と、監視プログラムを有し、かつ現在時刻を知
るため剃十時部、及び起動指定時刻と現在時刻との比較
を行う比較部とを有する監視部と、バッチジップを起動
するためのインタナルリーダと、そのバッチジョブを起
動するためのジョブ制御データ(JCLデータセット)
が格納されているジョブ制御データ部とを備え、システ
ム入力部において、監視時間、実施時刻を任意に設定可
能とし、該監視部により指定時刻に達したことを検出し
た時、自動的にバッチジョブをサブミツトするように構
成する。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Conventional technology (Fig. 3) Means for solving the problems to be solved by the invention (Fig. 1) Working examples (Fig. 2) ) Effects of the invention [Summary] Regarding the batch job submission method, it is possible to automatically start batch jobs that have been submitted in advance, eliminating troublesome work, making effective use of the CPU, and ensuring reliable The purpose of this system is to be able to execute batch jobs at any time, and it has a system human part that stores control data to control the monitoring program, a shaving part to know the current time, and a startup specification part. A monitoring unit having a comparison unit that compares the time with the current time, an internal reader for starting batch zip, and job control data (JCL data set) for starting the batch job.
The monitoring time and execution time can be set arbitrarily in the system input section, and when the monitoring section detects that the specified time has been reached, the batch job is automatically executed. Configure to submit.

〔産業上の利用分野〕[Industrial application field]

本発明はバッチジョブサブミツト方式に関し、更に詳し
くいえば、コンピュータシステムのテスト、あるいは保
守のためのプログラム開発等に使用されるものであり、
CPUを有効に利用し、かつ、めんどうな作業をするこ
となく、確実にバッチジップの実行ができるようにした
バッチジョブサブミツト方式に関する。
The present invention relates to a batch job submission method, and more specifically, it is used for testing computer systems or developing programs for maintenance.
The present invention relates to a batch job submission method that makes effective use of a CPU and allows batch zip to be reliably executed without any troublesome work.

〔従来の技術〕[Conventional technology]

従来、コンピュータシステムのテストプログラムの開発
、あるいは保守用のプログラム開発等においては、コン
ピュータを使用して各種の作業が行われていた。
2. Description of the Related Art Conventionally, computers have been used to perform various tasks in developing test programs for computer systems, maintenance programs, and the like.

この作業において、昼間は主にCPUと端末装置との間
でTSS業務を行い、比較的CPUは空いているという
状態でコンピュータが運用されている場合、昼間のTS
S業務を行っている時に使用している開発用の資源をバ
ッチジョブとして使用することを避け、夜間にバッチジ
ョブをサブミツトすることが行われていた。
In this work, during the daytime, TSS work is mainly performed between the CPU and the terminal device, and if the computer is operated with the CPU relatively idle, the TSS work during the daytime
Batch jobs were submitted at night to avoid using the development resources used during S operations as batch jobs.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記のような従来のものにおいては次のような欠点があ
った。
The above-mentioned conventional devices had the following drawbacks.

(1)コンピュータの利用者がバッチジョブを起動しよ
うとした時、バッチジョブを起動しようとする時刻まで
待機していなければならず、利用者への負担が大きい。
(1) When a computer user attempts to start a batch job, he or she must wait until the time when the batch job is to be started, which places a heavy burden on the user.

(2)予めバッチジョブを実行保留状態とし、スプール
にホールドしておき、オペレータコマンドにより起動し
ようとした時、オペレータに連絡する煩わしさや、オペ
レータ介入による間違いにより、うまく実行されないこ
とがある。
(2) When a batch job is placed in an execution pending state and held in a spool in advance, and an attempt is made to start it by an operator command, the job may not be executed successfully due to the hassle of contacting the operator or due to errors caused by operator intervention.

本発明は、このような従来の欠点を解決し、予めサブミ
ツトしておいたバッチジョブを自動的に起動できるよう
にして、めんどうな作業をなくし、CPUの有効利用が
できるようにすると共に、確実にバッチジョブの実行が
できるようにすることを目的とする。
The present invention solves these conventional drawbacks by automatically starting batch jobs that have been submitted in advance, thereby eliminating troublesome work and making effective use of the CPU. The purpose is to enable batch job execution.

〔課題を解決するための手段〕[Means to solve the problem]

上記の目的を達成するため、本発明は次のようにしたも
のである。
In order to achieve the above object, the present invention is as follows.

第1図は、本発明に係るバッチジョブサブミツト方式の
原理図である。
FIG. 1 is a diagram showing the principle of a batch job submission method according to the present invention.

先ず、監視部2は予め起動させておく。この監視部2が
起動されて監視プログラムが実行を開始すると、システ
ム人力部Iより、バッチジョブを起動すべき時刻の制御
データを読み込む。
First, the monitoring unit 2 is activated in advance. When the monitoring section 2 is started and the monitoring program starts executing, control data of the time at which the batch job should be started is read from the system human resources section I.

前記監視部2内では、前記制御データから時刻指定起動
を認識すると、計時部6により現在の時刻を調べ、比較
部5で現在の時刻と起動指定時刻との比較を行う。
In the monitoring section 2, when the specified time activation is recognized from the control data, the clock section 6 checks the current time, and the comparison section 5 compares the current time with the specified activation time.

このようにして、一定のインターバル時間で起動指定時
刻の監視を続ける。
In this way, monitoring of the designated start time is continued at regular intervals.

そして、起動指定時刻に到達すると、システム人力部1
からJ CL (job control langu
age)データセット名の入った制御データを読み込み
、サブミツトすべきJCLの入ったジョブ制御データ部
3からJCLデータを読み込む。
Then, when the specified startup time is reached, the system human power section 1
From J CL (job control language
age) Read the control data containing the data set name, and read the JCL data from the job control data section 3 containing the JCL to be submitted.

監視部2は、ジョブ制御データ部3から読み込んだJC
Lデータを、インタナルリーダ4へ出力する。
The monitoring unit 2 reads the JC data from the job control data unit 3.
Output the L data to the internal reader 4.

これにより、バッチジョブが起動されて実行される。This will launch and execute the batch job.

以上のことを、システム人力部lからジョブ制御データ
部3の指定がなくなるまで繰返す。
The above steps are repeated until the job control data section 3 is no longer specified by the system human resources section 1.

〔作用〕[Effect]

上記のように構成したので、従来、人間の手によってし
か出来なかった深夜のバッチジョブ起動等、時刻指定に
よるバッチジョブの起動が自動的に行える。
With the above configuration, it is possible to automatically start a batch job by specifying a time, such as starting a batch job late at night, which conventionally could only be done manually.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。第2
図は本発明の1実施例であるバッチジョブサブミツト方
式のブロック図、第3図は動作フローチャート、第4図
はシステム入力部の制御ブタ例、第5図はジョブ制御デ
ータ部内のJCLデータセット例を示した図である。
Embodiments of the present invention will be described below based on the drawings. Second
The figure is a block diagram of a batch job submission method that is an embodiment of the present invention, Figure 3 is an operation flowchart, Figure 4 is an example of a control button in the system input section, and Figure 5 is a JCL data set in the job control data section. It is a figure showing an example.

1はシステム入力部(SySiNデータセット)、2は
監視部であり、計時部6と比較部5を備える。
1 is a system input section (SySiN data set), 2 is a monitoring section, and includes a clock section 6 and a comparison section 5.

3はジョブ制御データ部(JCLデータセット)、4は
インクナルリーグ、7はプリンタ(SySPRiNTデ
ータセット)、8はスプールである。
3 is a job control data section (JCL data set), 4 is an internal league, 7 is a printer (SySPRiNT data set), and 8 is a spool.

先ず、監視プログラムをスタートさせる。First, start the monitoring program.

監視プログラムは、プリンタフのrs3FsPRiNT
データセット」をオーブンし、続いてシステム人力部1
のrSySiNデータセット」をオブンして、制御デー
タをlレコード読む。
The monitoring program is Printerf's rs3FsPRiNT.
Dataset” and then System Human Resources Department 1
rSySiN data set" and read l records of control data.

前記制御データとしては、例えば第4図のようになって
いる。最初のデータは、’SUBM i T、DATE
=yy、mm、、dd%TiME=hh。
The control data is as shown in FIG. 4, for example. The first data is 'SUBM i T, DATE
=yy, mm,, dd%TiME=hh.

mm、SSJとなっていて、サブミツトする時刻の指定
を行う。
mm, SSJ, and specify the time to submit.

2一番目のデータは、rDSN=Q2892、COM、
JCLI (¥AAA)Jとなっていて、サブミツトす
るJCLの指定を行う。
2 The first data is rDSN=Q2892, COM,
JCLI (¥AAA)J, and specify the JCL to be submitted.

次の3番にもサブミツトするJCLの指定があり、以下
同様にサブミツトするJCLの指定が続く。
The next number 3 also specifies the JCL to be submitted, and the JCL to be submitted is specified in the same manner.

上記のように、制御データには、バッチジョブの起動時
刻を指定するためのr S U B M i T Jと
サブミツトすべきJCLの格納されているデータセット
名を指示するためのfDSN=Jがある。
As mentioned above, the control data includes rSUBMITJ for specifying the startup time of the batch job and fDSN=J for specifying the dataset name in which the JCL to be submitted is stored. be.

監視プログラムは、制御データを認識して「SUBMi
T、DATE=yy、mm、dd、TiME=h h、
mm、s SJのデータが読み出される。
The monitoring program recognizes the control data and selects “SUBMi”.
T, DATE=yy, mm, dd, TiME=h h,
mm, s SJ data is read.

この制御データは、’SUBMiT」であるから、監視
部2では、計時部6から現在時刻を読み取り、比較部5
において指定時刻と現在時刻との比較を行う。
Since this control data is 'SUBMiT', the monitoring section 2 reads the current time from the timer section 6, and the comparison section 5 reads the current time.
The specified time is compared with the current time.

その結果、指定起動時刻になっていなければrs7si
NJをクローズしてrWAiTjの処理に入る。
As a result, if the specified startup time has not arrived, rs7si
NJ is closed and rWAiTj processing begins.

指定時刻に到達するまで上記の動作を繰返し、起動指定
時刻となったら、JCLデータをサブミツトするために
インタナルリーダをオーブンするや続いて、監視部2の
監視プログラムは、システム入力部1のrsysiNデ
ータセット」から起動すべきJCLデータセット名の指
定情報をlレコード読み込む。
The above operation is repeated until the specified time is reached, and when the specified startup time is reached, the internal reader is opened to submit the JCL data.Then, the monitoring program of the monitoring section 2 executes the rsysiN of the system input section 1. Read the specification information of the JCL data set name to be activated from ``Dataset'' in one record.

次に、ジョブ制御データ部3の起動すべきJCLデータ
セットをオーブンして、そのデータを読み込んだ後、イ
ンタナルリーダへ出力し、終わりになるまで(EOF)
続ける。
Next, open the JCL data set to be started in the job control data section 3, read the data, and output it to the internal reader until the end (EOF)
continue.

JCLデータセットがEOF (END  0FFiL
E)を検出するとJCLデータセットをクローズし、1
つのサブミツトが終了する。
JCL dataset is EOF (END 0FFiL
When E) is detected, the JCL dataset is closed and 1
One submission is completed.

第5図は上記のJCLデータセット例を示した図であり
、任意のジョブを任意の数だけセットしである。
FIG. 5 is a diagram showing an example of the above JCL data set, in which an arbitrary number of arbitrary jobs are set.

このようなジョブ、即ち、ジョブ側御データ部3のJC
Lデータセットをインタナルリーダ4へ出力し、さらに
スプール8へ送られてバッチジョブが実行される。
Such a job, that is, the JC of the job side control data section 3
The L data set is output to the internal reader 4, and further sent to the spool 8, where a batch job is executed.

これをシステム入力部1の5ySiNデータセツトから
起動すべきJCLデータの指定がなくなるまで繰返し、
5ySiNデータセツトから「EOFJが検出されると
、インタナルリーダ4、rsysiNデータセット」、
’SySPRiNTデータセットJをそれぞれクローズ
する。
This is repeated until the 5ySiN data set in the system input section 1 no longer specifies the JCL data to be activated.
``When EOFJ is detected, internal reader 4, rsysiN dataset'' from 5ySiN dataset,
'Close each SySPRiNT data set J.

これにより、すべてのバッチジョブが終了したことにな
り、監視プログラム、は消滅する。
This means that all batch jobs have ended, and the monitoring program disappears.

以上のような方式で、指定時刻になった時、複数のバッ
チジョブが起動されて実行される。
Using the method described above, multiple batch jobs are started and executed at the specified time.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば次のような効果が
ある。
As explained above, the present invention has the following effects.

(1)  夜間にバッチ処理を依頼しようとした場合、
事前にサブミツトしておくことが出来るので、その時刻
まで本人が居る必要がない。
(1) If you try to request batch processing at night,
Since the submission can be made in advance, there is no need for the person in question to be present at that time.

(2)昼間の時間帯を避け、夜間にジョブとして実行さ
せることにより、同一のデータセットをアクセスしてい
るTSSユーザとの干渉がなくなるので、CPUの利用
効率が向上する。
(2) By avoiding daytime hours and executing the job as a job at night, there is no interference with TSS users accessing the same data set, which improves CPU usage efficiency.

(3)自動的に、目的とするバッチジョブの起動ができ
るから、従来のように、オペレータの介入による間違い
等がなくなり、確実なバッチジョブの実行が可能となる
(3) Since the desired batch job can be started automatically, there is no need to make mistakes due to operator intervention as in the past, and batch jobs can be executed reliably.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るバッチジョブサブミツト方式の原
理図、 第2図は本発明の1実施例であるバッチジョブサブミツ
ト方式のブロック図、 第3図は上記実施例の動作フローチャート、第4図はシ
ステム入力部の制御データ例、第5図はJCLデータセ
ット例を示した図である。 ■−システム入力部 2−監視部 3−・−・ジョブ制御データ部 4−・−・インクナルリーダ 5・・−比較部 6−計時部
FIG. 1 is a principle diagram of a batch job submission system according to the present invention, FIG. 2 is a block diagram of a batch job submission system that is an embodiment of the present invention, and FIG. 3 is an operation flowchart of the above embodiment. FIG. 4 shows an example of control data for the system input section, and FIG. 5 shows an example of JCL data set. -System input section 2-Monitoring section 3--Job control data section 4--Incinal reader 5--Comparison section 6-Time measurement section

Claims (1)

【特許請求の範囲】 監視プログラムを制御する制御データを格納するシステ
ム入力部(1)と、 監視プログラムを有し、かつ現在時刻を知るための計時
部(6)、及び起動指定時刻と現在時刻との比較を行う
比較部(5)とを有する監視部(2)と、 バッチジョブを起動するためのインタナルリーダ(4)
と、 そのバッチジョブを起動するためのジョブ制御データ(
JCLデータセット)が格納されているジョブ制御デー
タ部(3)とを備え、 上記システム入力部(1)において、監視時間、実施時
刻を任意に設定可能とし、該監視部(2)により指定時
刻に達したことを検出した時、自動的にバッチジョブを
サブミットすることを特徴とするバッチジョブサブミッ
ト方式。
[Scope of Claims] A system input unit (1) that stores control data for controlling a monitoring program; a timekeeping unit (6) that has the monitoring program and is configured to know the current time; and a designated start time and the current time. a monitoring unit (2) having a comparison unit (5) that performs a comparison with the data; and an internal reader (4) that starts a batch job.
and the job control data (
JCL data set) is stored, the monitoring time and implementation time can be arbitrarily set in the system input section (1), and the monitoring section (2) A batch job submission method that automatically submits a batch job when it is detected that the batch job has been reached.
JP4351989A 1989-02-23 1989-02-23 Batch job submitting system Pending JPH02222056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4351989A JPH02222056A (en) 1989-02-23 1989-02-23 Batch job submitting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4351989A JPH02222056A (en) 1989-02-23 1989-02-23 Batch job submitting system

Publications (1)

Publication Number Publication Date
JPH02222056A true JPH02222056A (en) 1990-09-04

Family

ID=12665996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4351989A Pending JPH02222056A (en) 1989-02-23 1989-02-23 Batch job submitting system

Country Status (1)

Country Link
JP (1) JPH02222056A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076104A (en) * 1993-06-17 1995-01-10 Nec Corp Data processing indicating system
JPH07295875A (en) * 1994-04-22 1995-11-10 Sharp Corp Information retrieval device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63291107A (en) * 1987-05-22 1988-11-29 Nec Corp Automatic job activating system by time designation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63291107A (en) * 1987-05-22 1988-11-29 Nec Corp Automatic job activating system by time designation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076104A (en) * 1993-06-17 1995-01-10 Nec Corp Data processing indicating system
JPH07295875A (en) * 1994-04-22 1995-11-10 Sharp Corp Information retrieval device

Similar Documents

Publication Publication Date Title
EP0491342A2 (en) Method for fast communication between user program and operating system
JPS5812611B2 (en) Data Tensou Seigiyohoushiki
JPS61272833A (en) Data processor
JPH02222056A (en) Batch job submitting system
JPH07281909A (en) Control system for execution of real-time task cycle
JPS61246843A (en) Multiple job start control system
JP2629051B2 (en) File organization information acquisition processing method
JP2511544B2 (en) System definition change method
JP3649756B2 (en) Automatic starter
JPS6395557A (en) Job application system to another host computer
JPS59133655A (en) Address stop control circuit
JP2842609B2 (en) Program execution schedule processing method
JP2560106B2 (en) Unqualified job reduction method from job queue
JPS61141045A (en) Patch system of program
JPH0462093B2 (en)
JPH0378034A (en) Program parallel execution device
JPS6141016B2 (en)
JPH0440532A (en) Real time processor
JP2504833B2 (en) Process execution management method
JPS63196935A (en) Reservation information retrieving device
JPH0233176B2 (en) JOBUJITSUKOJUNJONOSEIGYOHOSHIKI
JPH0131223B2 (en)
JPH03168846A (en) File transfer operation control system
JPS63163640A (en) Scheduling system
JPH08212104A (en) Information processor and instruction trace method for the same