JPS63145530A - Job generating system - Google Patents

Job generating system

Info

Publication number
JPS63145530A
JPS63145530A JP61293227A JP29322786A JPS63145530A JP S63145530 A JPS63145530 A JP S63145530A JP 61293227 A JP61293227 A JP 61293227A JP 29322786 A JP29322786 A JP 29322786A JP S63145530 A JPS63145530 A JP S63145530A
Authority
JP
Japan
Prior art keywords
job
program
time
input queue
time point
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
JP61293227A
Other languages
Japanese (ja)
Inventor
Hiroko Koyanagi
小柳 裕子
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61293227A priority Critical patent/JPS63145530A/en
Publication of JPS63145530A publication Critical patent/JPS63145530A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the operating efficiency of a job generating system by checking the propriety of the received data to register a job together with its start time point to a job input queue and starting the corresponding job at the start time point. CONSTITUTION:The name of a job, a reserved time point and a destination receiving the information at the reserved time point are registered into a time reservation control table 19 and then informed to a time reservation means 16. The means 16 sets the reserved time point of the table 19 to a time device 17. Thus the job to be started is informed to a job input queue extracting means 14 from the means 16 at the reserved time point. Then the means 14 starts the relevant job based on the information registered into a job input queue control table 18. In such a way, the operating efficiency is improved with a job generating system.

Description

【発明の詳細な説明】 (産業上の利用分野ン 本発明は、電子計算機における実行中プ四グラムからの
ジョブ発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a job generation method from a program being executed in an electronic computer.

(従来の技術) 従来、’!II!行中のプログラムから別ジョブを発生
させろ方式は、ジョブ発生を要求した時点でジョブが起
動されるように構成され友ものであp、*行中のプログ
ラムから起動時刻を指定してジョブの起動を予約するこ
とはできなかつ九〇起動時刻を指定してジョブの起動予
約を行う手段は、ジョブ制a言飴のみであつ友。
(Conventional technology) Conventionally, '! II! The method of generating another job from the running program is a friendly method in which the job is started at the time when the job generation is requested. * Starting the job by specifying the start time from the running program It is not possible to make a reservation for a job, and the only way to reserve a job by specifying a start time is to use the job system.

(発明が解決しようとする問題点) 上述し几従来のジョブ発生方式では、実行中のプログラ
ムから起動時刻を指定してジョブの起動を予約すること
ができなかった。この友め、プログラム内で作成し九ジ
ョブ起動情報によって成る特定の時刻にジョブを起動さ
せたい場合には、起動情報を外部記憶装置上に保持し友
うえでプログラムt&:終了させ、ジョブ制御言語によ
って改めてジョブの起動予約を行わなければならないと
云う欠点があつ友。
(Problems to be Solved by the Invention) In the conventional job generation method described above, it is not possible to reserve the start of a job by specifying the start time from the program being executed. If you want to start a job at a specific time based on job startup information created within the program, save the startup information on an external storage device, terminate the program, and use the job control language The disadvantage is that you have to make a new job startup reservation.

本発明の目的は、実行中のプログラムから別のジョブを
発生させろ方式において、実行中のプログラムからのジ
ョブ発生要求の際、プログラムによって指定嘔れ次起動
すべきジョブ名。
SUMMARY OF THE INVENTION An object of the present invention is to generate another job from a running program, and when the running program issues a job generation request, the program specifies the name of the job to be started next.

および上記ジョブの起動時刻を含むデータを受取り、受
取られ九データの妥当性を検査し、ジョブ入力待ち行列
に起動時刻とともに上記ジョブ2i+−登録しておき、
起動時刻に達したときには、対応するジョブを起動する
ことによって上記欠点を除去し、ジョブの起動にともな
う複雑な操作を必要としないように構成したジョブ発生
方式を提供することにある。
and receives data including the start time of the job, checks the validity of the received data, and registers the job 2i+- along with the start time in a job input queue;
To provide a job generation method configured to eliminate the above-mentioned drawbacks by starting a corresponding job when the start time has been reached, and to eliminate the need for complicated operations associated with starting a job.

(間亀点を解決するための手段〕 本発明に工ろジョブ発生方式は実行中のプログラムから
別のジョブ全発生させることができるように構成したも
のであって、実行中のプログラムからのジョブの発生要
求が送出され友ときにプログラムで指定されt起動すべ
きジョブ名およびジョブの起動時刻を含むデータを受取
る九めの第1の手段と、受取られたデータの妥当性を検
査して起動時刻とともにジョブをジョブ人力待ち行列に
登録する九めの第2の手段と、起動時刻に達したときに
対応するジョブを起動させろtめの第3の手段とを具備
して構成し友ものである。
(Means for Solving the Problem) The job generation method of the present invention is configured so that all other jobs can be generated from the program being executed. a first means for receiving data specified in a program when a request for generating a job is sent and including a job name to be started and a job start time, and checking the validity of the received data and starting the job; The present invention comprises a ninth second means for registering a job in a job queue along with a time, and a third means for starting a corresponding job when the start time is reached. be.

(実 施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は1本発明によるジョブ発生方式に従って発生し
たジョブの流れを示す説明図である。
FIG. 1 is an explanatory diagram showing the flow of jobs generated according to the job generation method according to the present invention.

第1図において、ジョブA内のプログラムAにおいて、
次の日の07:30にジョブCt−起動させるように要
求を送出する。この要求によりジョブ入力待ち行列21
にジョブCが「起動時刻が1日後の07:30である。
In FIG. 1, in program A within job A,
A request is sent to start job Ct at 07:30 on the next day. This request causes the job input queue 21
Job C says, ``Start time is 07:30 one day later.

」と云う形で登録され、次の日の07:30に自動的に
ジョブ入力待ち行列21から取出され、ジョブCが起動
される。このとき、ジョブAは続行中であっても、ある
いは終了していてもよい。
” and is automatically taken out from the job input queue 21 at 7:30 the next day, and job C is started. At this time, job A may be continuing or may have ended.

また、ジョブB内のプログラムBにおいて起動QycI
lt一本日16:00と指定し、ジョブD(D発生t−
i求すると、ジョブDはジョブ入力待ち行列21に「起
動時刻が本日16:00である。」と云う形で登録され
、その日の16:00に自動的に取出されて起動される
。上記と同様に、ジョブDが起動されろ時点で、ジョブ
Bは続行中であっても、あるいは終了していてもよい。
In addition, in program B in job B, start QycI
lt Specify 16:00 today, and job D (D occurrence t-
When job D is requested, job D is registered in the job input queue 21 in the form ``Start time is today at 16:00'', and is automatically retrieved and started at 16:00 on that day. Similarly to the above, when job D is started, job B may be continuing or may have ended.

第2図は、本発明によるジョブ発生方式を実現する一実
施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of the job generation method according to the present invention.

第1図において、本発明はジョブ発生制御手段12と、
ジョブ入力待ち行列登録手段13と、ジョブ入力待ち行
列取出し手段14と、時刻予約手段16と、時刻装置1
7と、ジョブ入力待ち行列管理テーブル18と、時刻予
約管理テーブル19とから構成される。
In FIG. 1, the present invention includes a job generation control means 12,
Job input queue registration means 13, job input queue extraction means 14, time reservation means 16, and time device 1
7, a job input queue management table 18, and a time reservation management table 19.

第3図は、ジョブ入力待ち行列管理テーブル18に格納
されるジョブの起動情報を示す説明図である。第3図に
おいて、ジョブ人力待ち行列登録手段13によってジョ
ブ入力待ち行列管理テーブル18に起動情報が格納され
、ジョブ入力待ち行列取出し手段14によって取出され
、ジョブが起動される。
FIG. 3 is an explanatory diagram showing job activation information stored in the job input queue management table 18. In FIG. 3, activation information is stored in the job input queue management table 18 by the job manual queue registration means 13, and retrieved by the job input queue extraction means 14, and the job is activated.

第4図は、時刻予約管理テーブル19に格納される情報
を示す説明図である。予約時刻に達し九とき、時刻予約
手段16によって通知先に対して予約時刻に達し念こと
が通知畜れる仕組みになっている。
FIG. 4 is an explanatory diagram showing information stored in the time reservation management table 19. When the reserved time is reached, the time reservation means 16 notifies the destination that the reserved time has been reached.

次に、第1図に示す本発明のジョブ発生方式に従って、
実行中のプログラムから起動時刻を指定してジョブ全発
生させろ模様を説明する。
Next, according to the job generation method of the present invention shown in FIG.
This section explains how to specify the startup time from the running program and generate all jobs.

ジョブの発生を要求するコマンドを含むプログラム11
(以下、プログラムと記述する。2では上記コマンドt
−夷行し、起動時Aljを含むジョブ起動情報群をジョ
ブ発生手段12に通知する。第5図および第6図に示す
ように、起動時刻はジョブ起動情報群のなかに文字デー
タとして格納しておけばよい。第5図は本日の16二〇
〇にジョブを起動させろ場合のデータを示し、第6図は
明後日の07:30にジョブを起動させる場合のデータ
を示している。
Program 11 including a command requesting job generation
(Hereinafter, it will be described as a program. In 2, the above command t
- At the time of starting, the job starting information group including Alj is notified to the job generating means 12. As shown in FIGS. 5 and 6, the startup time may be stored as character data in the job startup information group. FIG. 5 shows data for starting a job at 16200 today, and FIG. 6 shows data for starting a job at 07:30 the day after tomorrow.

ジョブ発生手段12ではプログラム11から通知され次
起動時刻に関してデータの妥当性を検査し、起動時刻が
妥当なデータではない場合にはプログラム11に対して
ジョブ発生要求が受付けられなかつ九旨を通知する。
The job generation means 12 receives the notification from the program 11 and checks the validity of the data regarding the next startup time, and if the startup time is not valid data, it notifies the program 11 that the job generation request is not accepted. .

通知され之起動時刻が妥当なデータである場合には、起
動時刻を含むジョブ起動情報をジョブ入力待ち行列登録
手段13に通知するとともに、プログラム11に対して
ジョブ発生要求が受付けられ友ことvi−通知する。こ
の時点で、プログラム11は次のコマンドの実行に移る
If the notified startup time is valid data, the job startup information including the startup time is notified to the job input queue registration means 13, and the job generation request is accepted by the program 11 and the friend vi- Notice. At this point, the program 11 moves on to executing the next command.

ジョブ入力待ち行列登録手段13では、ジョブ発生手段
12から通知され九起動時刻を含むジョブ起動情報をジ
ョブ入力待ち行列管理テーブル18に登録する。時刻予
約管理テーブル19にジョブ名、予約時刻(上記起動時
刻)、および予約時刻に達し友ときの通知先(本実施例
においてはジョブ入力待ち行列M1i出し手段14)を
登録し危うえで、時刻予約手段16にこれを通知する。
The job input queue registration means 13 registers the job start information including the start time notified from the job generation means 12 in the job input queue management table 18. In the time reservation management table 19, register the job name, reservation time (the above-mentioned start time), and notification destination (in this embodiment, the job input queue M1i output means 14) when the reservation time is reached. This is notified to the reservation means 16.

時刻予約手段16では1時刻予約管理テーブル19にセ
ットされ友予約時刻を時刻装置17にセットする。
The time reservation means 16 sets the friend reservation time in the time reservation management table 19 and in the time device 17.

以上のような処理により、予約時刻に達し九時点で時刻
予約手段16からジョブ入力待ち行列取出し手段14に
起動すべきジョブが通知される。ジョブ入力待ち行列取
出し手段14では上記の通知を受けて、ジョブ入力待ち
行列管理テーブルに登録され次情報をもとにして該当す
るジョブを起動する。
Through the above-described processing, the time reservation means 16 notifies the job input queue extraction means 14 of the job to be started when the reservation time is reached. Upon receiving the above notification, the job input queue extraction means 14 starts the corresponding job based on the next information registered in the job input queue management table.

(発明の効果) 以上説明したように本発明は、プログラム内で作成した
起動情報に従って起動時刻を指足し、別のジョブを発生
させる場合には、いつ几んプログラムを終了させること
によって、改めてジョブ制御言語で指定すると云うよう
な面倒な制御を行うことなく、プログラム内から容易ニ
起動時刻を指足してジョブが発生できるようになるため
、システムの運用が効率化されると云う効果がある。
(Effects of the Invention) As explained above, the present invention adds the startup time according to the startup information created within the program, and when generating another job, the program is terminated and the job is restarted. This has the effect of making system operation more efficient because jobs can be generated by simply specifying the start time from within a program without the need for troublesome control such as specifying it in a control language.

特に、業務用オンラインプログラムのよりに長時間にわ
穴って立上げ7′?、ままになっていることの多いプロ
グラムにおいては、プログラム内で上記のようにジョブ
が容易に発生できると云う効果がある。
In particular, it takes a long time to start up a commercial online program? , in a program that is often left unattended, there is an advantage that a job can be easily generated as described above within the program.

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

第1図は、本発明によるジョブ発生方式を実現する一実
施例全時系列的に示すブロック図である。 第2図は、本発明によるジョブの流れを示す説明図であ
る。 第3図は、第1図のジョブ入力待ち行列管理テーブルの
詳細を示す説明図である。 第4図は、第1図の時刻予約管理テーブルの詳細を示す
説明図である。 第5図および第6図は、本発明によるジョブ発生を要求
するプログラムからジョブ発生手段に通知されるジョブ
起動情報群t−表わす説明図である。 11・・・プログラム  12・・・ジョブ発生手段1
3・・・ジョブ入力待ち行列登録手段14・・・ジョブ
入力待ち行列取出し手段15・・・ジョブ    16
・・・時刻予約手段17・・・時刻装置
FIG. 1 is a block diagram illustrating, in full chronological order, an embodiment for realizing the job generation method according to the present invention. FIG. 2 is an explanatory diagram showing the flow of a job according to the present invention. FIG. 3 is an explanatory diagram showing details of the job input queue management table of FIG. 1. FIG. 4 is an explanatory diagram showing details of the time reservation management table of FIG. 1. FIGS. 5 and 6 are explanatory diagrams representing a group of job activation information t notified to job generation means from a program requesting job generation according to the present invention. 11...Program 12...Job generation means 1
3...Job input queue registration means 14...Job input queue extraction means 15...Job 16
...Time reservation means 17...Time device

Claims (1)

【特許請求の範囲】[Claims] 実行中のプログラムからのジョブの発生要求が送出され
たときにプログラムで指定された起動すべきジョブ名お
よび前記ジョブの起動時刻を含むデータを受取るための
第1の手段と、前記受取られたデータの妥当性を検査し
て前記起動時刻とともに前記ジョブをジョブ入力待ち行
列に登録するための第2の手段と、前記起動時刻に達し
たときに対応する前記ジョブを起動させるための第3の
手段とを具備し、実行中のプログラムから別のジョブを
発生させることができるように構成したジョブ発生方式
a first means for receiving data including a job name to be started and a start time of the job specified by the program when a job generation request is sent from the program being executed; and the received data. second means for checking the validity of the job and registering the job in a job input queue with the start time; and third means for starting the corresponding job when the start time is reached. A job generation method configured so that another job can be generated from a program being executed.
JP61293227A 1986-12-09 1986-12-09 Job generating system Pending JPS63145530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61293227A JPS63145530A (en) 1986-12-09 1986-12-09 Job generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61293227A JPS63145530A (en) 1986-12-09 1986-12-09 Job generating system

Publications (1)

Publication Number Publication Date
JPS63145530A true JPS63145530A (en) 1988-06-17

Family

ID=17792070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61293227A Pending JPS63145530A (en) 1986-12-09 1986-12-09 Job generating system

Country Status (1)

Country Link
JP (1) JPS63145530A (en)

Similar Documents

Publication Publication Date Title
WO2016078326A1 (en) Method, apparatus and system for displaying names of virtual machine
JPS63145530A (en) Job generating system
JPH01248241A (en) Job generating system
JP2817652B2 (en) Online system management transaction control system
JPS59197915A (en) System for responding to operator message
JP2871931B2 (en) Form output control method
CN117407077A (en) Configuration editing method and device, storage medium and electronic equipment
JPH1115677A (en) Process controller
JPH06110712A (en) Terminal start processing monitoring system
CN118093655A (en) Query processing method, medium and program product in database transaction
CN117032855A (en) Multilingual conversion device and multilingual conversion method
JPH05346867A (en) Processor for restarting data transfer
JP2655610B2 (en) Common area update device
JPS61283947A (en) Automatic deciding method for input and output buffer size
JPH07104665A (en) Method of transferring comment for control system cad device
CN112764693A (en) Method and apparatus for printing template management
JPH03255554A (en) Temporary file input/output control system
JPH02118816A (en) Variable input field display system
JPH04178731A (en) Reuse system for method cache information in object oriented processing system
JPH05334249A (en) Nesting management system for catalog in interactive processing system
JP2001249903A (en) Information processing system
JPS6065349A (en) Generating system of test data
JPH04287151A (en) Process control method for computer system
JPH0883297A (en) Data conversion processing method in drawing control system
JPH05298251A (en) Automatic information system for end state of background job