JPH036627A - Job starting system - Google Patents
Job starting systemInfo
- Publication number
- JPH036627A JPH036627A JP14061889A JP14061889A JPH036627A JP H036627 A JPH036627 A JP H036627A JP 14061889 A JP14061889 A JP 14061889A JP 14061889 A JP14061889 A JP 14061889A JP H036627 A JPH036627 A JP H036627A
- Authority
- JP
- Japan
- Prior art keywords
- job
- message
- job information
- control language
- information
- 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
Links
- 238000000034 method Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims 2
- 230000004913 activation Effects 0.000 description 3
- 239000003550 marker Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、オペレーティングシステムのメツセージ出力
装置から出力されるメツセージを契機として、ジョブの
起動を行うジョブ起動方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a job starting method for starting a job in response to a message output from a message output device of an operating system.
従来、この種のジョブ起動方式では、ジョブ制御言語が
固定されていたため、ジョブを起動する契機としたい複
数のメツセージごとにそれぞれ対応するジョブ制御言語
を作成していた。Conventionally, in this type of job starting method, the job control language was fixed, so a corresponding job control language was created for each of a plurality of messages that were desired to be used as an opportunity to start a job.
上述した従来のジョブ起動方式は、ジョブを起動する契
機としたい複数のメツセージごとにそれぞれ対応するジ
ョブ制御言語を持つ方式であり、ジョブ制御言語は固定
的であった。そのため、時刻、媒体名等のように常に変
化し、一定の値として持つことのできない情報がジョブ
制御言語に必要な場合は、メツセージの出力を契機とし
てジョブを起動することができないという欠点がある。The conventional job starting method described above has a job control language corresponding to each of a plurality of messages to be used as an opportunity to start a job, and the job control language is fixed. Therefore, if the job control language requires information such as time, media name, etc. that constantly changes and cannot be held as a fixed value, there is a drawback that the job cannot be started by outputting a message. .
また、ジョブを起動する契機としたいメツセージを追加
する場合、かならず、該メツセージに対応するジョブ制
御言語を追加しなければならないという欠点もある。Another drawback is that when adding a message that is desired to be used as an opportunity to start a job, a job control language corresponding to the message must be added.
〔課題を解決するための手段〕
本発明のジョブ方式は、オペレーティングシステムのメ
ツセージ出力装置から出力されるメツセージを契機とし
てジョブを起動する方式において、ジョブを起動する契
機としたいメツセージの標識と、ジョブ制御言語の基本
パターンの名称と、前記ジョブ制御言語の基本パターン
を編集するための編集条件とからなるジョブ情報を、事
前に入力装置から入力するジョブ情報入力部と、前記ジ
ョブ情報入力部により入力されたジョブ情報をジョブ情
報ファイルに格納するジョブ情報格納部とを含むジョブ
起動情報格納手段と、オペレーティングシステムのメツ
セージ出力装置から出力されるメツセージを取得するメ
ツセージ取得部と、前記メツセージ取得部により取得さ
れたメツセージの標識と同じメツセージの標識を含有す
るジョブ情報を、ジョブ情報ファイルから取得するジョ
ブ情報取得部と、前記ジョブ情報取得部で取得したジョ
ブ情報のうち、ジョブ制御言語の基本パターンの名称を
キーとしてジョブ制御言語格納ファイル内より、前記基
本パターンを読み込んだ後、前記メツセージ取得部で取
得したメツセージと、前記ジョブ情報のうち基本パター
ンの編集条件とを利用して該基本パターンを編集しジョ
ブ制御言語を完成するジョブ情報編集部と、前記ジョブ
情報編集部により作成されたジョブ制御言語を利用して
、ジョブの起動をオペレーティングシステムに依頼する
ジョブ起動部とを含むジョブ起動手段とを具備している
。[Means for Solving the Problems] The job method of the present invention is a method in which a job is started based on a message output from a message output device of an operating system, and an indicator of a message to be used as a trigger for starting a job, and a job Job information consisting of a name of a basic pattern of a control language and editing conditions for editing the basic pattern of the job control language is inputted by a job information input unit that is input in advance from an input device and by the job information input unit. a job information storage unit that stores job information that has been sent to a job information file in a job information file; a message acquisition unit that acquires a message output from a message output device of an operating system; and a message acquisition unit that acquires a message by the message acquisition unit. A job information acquisition unit that acquires job information containing the same message indicator as the message indicator that was sent from the job information file, and the name of the basic pattern of the job control language among the job information acquired by the job information acquisition unit. After reading the basic pattern from within the job control language storage file using as a key, the basic pattern is edited using the message acquired by the message acquisition section and the editing conditions of the basic pattern among the job information. A job starting unit includes a job information editing unit that completes a job control language, and a job starting unit that uses the job control language created by the job information editing unit to request an operating system to start a job. are doing.
次に、本発明の実施例を図面を参照して説明する。第1
図は、本発明のジョブ自動起動方式の一実施例のブロッ
ク図である。Next, embodiments of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of an embodiment of the automatic job starting method of the present invention.
本実施例のジョブ自動起動方式lは、あらかじめ、入力
装置2から入力したジョブ情報をジョブ情報ファイル5
に格納するジョブ起動情報格納手段11と、オペレーテ
ィングシステム3のメツセージ出力装置31よりメツセ
ージを取得し、取得したメツセージとジョブ情報ファイ
ル5の中のジョブ情報とから、あらかじめ用意しておい
たジョブ制御言語格納ファイル6の中のジョブ制御言語
の基本パターンを編集しジョブ制御言語を完成させオペ
レーティングシステム3のジョブ起動装置32に対して
、ジョブ4の起動を要求するジョブ起動手段12とから
構成されている。In the automatic job starting method l of this embodiment, job information inputted from the input device 2 is sent to the job information file 5 in advance.
Messages are acquired from the job startup information storage means 11 stored in the computer and the message output device 31 of the operating system 3, and a job control language prepared in advance is generated from the acquired messages and the job information in the job information file 5. The job starting means 12 edits the basic pattern of the job control language in the storage file 6, completes the job control language, and requests the job starting device 32 of the operating system 3 to start the job 4. .
うちジョブ起動情報格納手段11は、入力装置2からの
指令によって起動され、まず、ジョブ情報入力部111
が入力装置を利用してジョブを起動する契機としたいメ
ツセージの標識と、ジョブ制御言語の基本パターンの名
称と、メツセージのパラメータを利用してジョブ制御言
語の基本パターンを編集するための編集条件とからなる
ジョブ情報を取得し、この情報をジョブ情報格納部11
2へ渡す。次にジョブ情報格納部112は、前記ジョブ
情報入力部111より渡されたジョブ情報をジョブ情報
ファイル5へ格納する。Of these, the job activation information storage unit 11 is activated by a command from the input device 2, and first, the job information input unit 111 is activated.
The indicator of the message that the user wants to use as an opportunity to start a job using an input device, the name of the basic pattern of the job control language, and the editing conditions for editing the basic pattern of the job control language using the parameters of the message. This information is stored in the job information storage unit 11.
Pass it to 2. Next, the job information storage unit 112 stores the job information passed from the job information input unit 111 into the job information file 5.
ジョブ起動手段12は、オペレーティングシステム3の
メツセージ出力装置31からメッセージが出力された時
に起動されると、まず、メツセージ取得部121が、オ
ペレーティングシステム3のメツセージ出力装置力31
から出力されるメツセージを取得した後、制御をジョブ
情報格納部122に渡す。When the job starting unit 12 is started when a message is output from the message output device 31 of the operating system 3, the message acquisition unit 121 first outputs the message from the message output device 31 of the operating system 3.
After acquiring the message output from the job information storage section 122, control is passed to the job information storage section 122.
ジョブ情報取得部122は、前記メツセージ取得部12
1の取得したメツセージの標識と同じメツセージの標識
を含んでいるジョブ情報をジョブ情報ファイル5の中よ
り検索し、該メツセージの標識が合致するジョブ情報を
取得した後、ジョブ情報編集部123に制御を渡す。The job information acquisition unit 122 includes the message acquisition unit 12
The job information file 5 is searched for job information that includes the same message indicator as the message indicator obtained in step 1, and after obtaining the job information that matches the message indicator, the job information editing unit 123 performs control. give.
ジョブ情報編集部123は、前記ジョブ情報取得部12
2の取得したジョブ情報のうちジョブ制御言語の基本パ
ターンの名称をキーとしてあらかじめ用意されたジョブ
制御言語格納ファイル6の中のジョブ制御言語の基本パ
ターンを読み込む。The job information editing section 123 includes the job information acquisition section 12
The basic pattern of the job control language in the job control language storage file 6 prepared in advance is read using the name of the basic pattern of the job control language among the job information obtained in Step 2 as a key.
その後、前記メツセージ取得部121が取得したメツセ
ージと前記ジョブ情報取得部122の取得したジョブ情
報のうちジョブ制御言語の編集条件とを利用して、前記
ジョブ制御言語の基本パターンを編集しジョブ制御言語
を完成させた後、これをジョブ起動部124に渡す。Thereafter, the basic pattern of the job control language is edited using the message acquired by the message acquisition unit 121 and the editing conditions of the job control language among the job information acquired by the job information acquisition unit 122. After completing the process, it is passed to the job starting unit 124.
ジョブ起動部124は、前記ジョブ制御言語を使用して
、オペレーティングシステム3のジョブ起動装置32に
対してジョブ4の起動を依頼する。The job starting unit 124 requests the job starting device 32 of the operating system 3 to start the job 4 using the job control language.
次に、第2図を参照してジョブ起動情報格納手段11の
動作を説明する。第2図のSllで示される部分はジョ
ブ起動情報格納手段11のうちジョブ情報入力部111
の動作を表し、S12で示される部分はジョブ情報格納
部112の動作を表す。Next, the operation of the job activation information storage means 11 will be explained with reference to FIG. The part indicated by Sll in FIG. 2 is the job information input section 111 of the job startup information storage means 11.
The part indicated by S12 represents the operation of the job information storage section 112.
まず、第2図のSllの部分は、ジョブを起動する契機
としたいメツセージの標識と、あらかじめ用意しておい
たジョブ制御言語格納ファイル6の中のジョブ制御言語
の基本パターンの名称と、メツセージのパラメータを利
用してジョブ制御言語の基本パターンを編集するための
編集条件とからなるジョブ情報を、入力装置2を使用し
て利用者に要求し取得した後、これを−旦記憶領域に蓄
える部分である。Sllの部分は、ジョブの起動の契機
とするメツセージの数だけ繰り返される。First, the Sll part in Figure 2 contains the indicator of the message that you want to use as a trigger for starting a job, the name of the basic pattern of the job control language in the job control language storage file 6 prepared in advance, and the message. A part that uses the input device 2 to request and obtain job information from the user, which consists of editing conditions for editing the basic pattern of the job control language using parameters, and then stores this information in the storage area. It is. The Sll portion is repeated as many times as there are messages that trigger job activation.
第2図の812の部分は、まず、ジョブ情報ファイル5
を開いてジョブ情報取得部111で一旦記憶領域に蓄え
られたジョブ情報を、メツセージ毎に1つのレコードと
してジョブ情報ファイル5に格納した後、ジョブ情報フ
ァイル5を閉じる部分である。The part 812 in FIG. 2 first includes the job information file 5.
This is the part where the job information acquisition section 111 opens the job information file 5, stores the job information temporarily stored in the storage area in the job information file 5 as one record for each message, and then closes the job information file 5.
次に、第3図を参照してジョブ起動手段12の動作を説
明する。第3図の821で示される部分はジョブ起動手
段12のうちのメツセージ取得部121の動作を表し、
822で示される部分はジョブ情報取得部122の動作
を表しS23で示させる部分はジョブ情報編集部123
の動作を表し、S24で示される部分はジョブ起動部1
24の動作を表す。Next, the operation of the job starting means 12 will be explained with reference to FIG. The part indicated by 821 in FIG. 3 represents the operation of the message acquisition section 121 of the job starting means 12,
The part indicated by 822 represents the operation of the job information acquisition unit 122, and the part indicated by S23 represents the operation of the job information editing unit 123.
The part indicated by S24 is the operation of the job starting unit 1.
24 operations.
まず第3図の821の部分はオペレーティングシステム
3のメツセージ出力装置31から出力されるメツセージ
を取得し、これを−旦記憶領域に蓄える部分である。First, a portion 821 in FIG. 3 is a portion that acquires a message output from the message output device 31 of the operating system 3 and temporarily stores it in a storage area.
第3図822の部分は、ジョブ情報ファイル5を開いて
ジョブ情報をルコードずつ入力し、メツセージ取得部1
21で一旦記憶領域に蓄えられたメツセージの標識を用
いて、同じメツセージの標識を含有するジョブ情報を取
得し、これらを−旦記憶領域に蓄えた後、ジョブ情報フ
ァイル5を閉じる部分である。The part 822 in FIG. 3 opens the job information file 5, inputs the job information code by code, and
This is the part in which job information containing the same message marker is acquired using the message marker once stored in the storage area in step 21, and after this is stored in the storage area, the job information file 5 is closed.
S23の部分は、ジョブ制御言語格納ファイル6を開き
、S22の部分で一旦記憶領域に蓄えられたジョブ情報
のうちのジョブ制御言語の基本パターンの名称をキーと
して、ジョブ制御言語格納ファイル6を検索し対応する
ジョブ制御言語の基本パターンを取得する部分である。In the S23 part, the job control language storage file 6 is opened, and the job control language storage file 6 is searched using the name of the basic pattern of the job control language among the job information temporarily stored in the storage area in the S22 part as a key. This is the part that obtains the basic pattern of the corresponding job control language.
さらに、取得したジョブ制御言語の基本パターンを、S
21の部分で一旦記憶領域に蓄えられたメツセージと、
S22の部分で一旦記憶領域に蓄えられたジョブ情報の
うちのジョブ制御言語の編集条件とから編集し、ジョブ
制御言語を完成させる。Furthermore, the basic patterns of the acquired job control language are
The message that was once stored in the storage area in part 21,
In step S22, editing is performed based on the editing conditions of the job control language of the job information once stored in the storage area, and the job control language is completed.
S24の部分は、完成された前記ジョブ制御言語を利用
して、オペレーティングシステム3のジョブ起動装置3
2に対して、ジョブ4の起動を依頼する部分である。The part of S24 uses the completed job control language to execute the job startup device 3 of the operating system 3.
This is the part that requests job 2 to start job 4.
以上説明したように本発明は、ジョブを起動する契機と
したいメツセージごとにジョブ制御言語をそれぞれ用意
するのではなく、ジョブを起動する契機としたいメツセ
ージの一部を利用して、あらかじめ用意しておいたジョ
ブ制御言語の基本パターンを編集しジョブ制御言語を完
成させた後、このジョブ制御言語を用いてジョブを起動
することにより、時刻、媒体名等のように常に変化し一
定の値として持つことのできない情報を必要とするジョ
ブの起動を行うことができ、また、同一のジョブ制御言
語の基本パターンで様々なメツセージに対応するジョブ
の起動を行うことができる。As explained above, the present invention does not have to prepare a job control language for each message that is to be used as an opportunity to start a job, but it is possible to prepare a job control language in advance using a part of the message that is to be used as an opportunity to start a job. After completing the job control language by editing the basic patterns of the job control language that you have set up, by starting a job using this job control language, you can keep values that always change, such as time and media name, as fixed values. It is possible to start jobs that require information that cannot be accessed, and it is also possible to start jobs corresponding to various messages using the same basic pattern of the job control language.
ジョブ自動起動方式のうちジョブ起動手段の動作を示す
フローチャートである。5 is a flowchart showing the operation of a job starting means in the automatic job starting method.
1・・・・・・ジョブ自動起動方式、11・・・・・・
ジョブ起動情報格納手段、111・・・・・・ジョブ情
報入力部、112・・・・・・ジョブ情報格納部、12
・・・・・・ジョブ起動手段、121・・・・・・メナ
セージ取得部、122・・・・・ジョブ情報取得部、1
23・・・・・・ジョブ情報編集部、124・・・・・
・ジョブ起動部、2・・・・・・入力装置、3・・・・
・・オペレーティングシステム、31・・・・・・メツ
セージ出力装置、32・・・・・・ジョブ起動装置、4
・・・・・・ジョブ、5・・・・・・ジョブ情報ファイ
ル、6・・・・・ジョブ制御言語格納ファイル。1...Job automatic startup method, 11...
Job startup information storage means, 111...Job information input section, 112...Job information storage section, 12
...Job starting means, 121...Menasage acquisition unit, 122...Job information acquisition unit, 1
23...Job Information Editorial Department, 124...
・Job starting unit, 2... Input device, 3...
...Operating system, 31...Message output device, 32...Job starting device, 4
...Job, 5...Job information file, 6...Job control language storage file.
Claims (1)
力されるメッセージを契機としてジョブを起動する方式
において、 ジョブを起動する契機としたいメッセージの標識と、ジ
ョブ制御言語の基本パターンの名称と、前記ジョブ制御
言語の基本パターンを編集するための編集条件とからな
るジョブ情報を、事前に入力装置から入力するジョブ情
報入力部と、 前記ジョブ情報入力部により入力されたジョブ情報をジ
ョブ情報ファイルに格納するジョブ情報格納部とを含む
ジョブ起動情報格納手段と、オペレーティングシステム
のメッセージ出力装置から出力されるメッセージを取得
するメッセージ取得部と、 前記メッセージ取得部により取得されたメッセージの標
識と同じメッセージの標識を含有するジョブ情報を、ジ
ョブ情報ファイル内から取得するジョブ情報取得部と、 前記ジョブ情報取得部で取得したジョブ情報のうち、ジ
ョブ制御言語の基本パターンの名称をキーとしてジョブ
制御言語格納ファイルより、前記基本パターンを読み込
んだ後、前記メッセージ取得部で取得したメッセージと
、前記ジョブ情報のうち基本パターンの編集条件とを利
用して該基本パターンを編集しジョブ制御言語を完成す
るジョブ情報編集部と、 前記ジョブ情報編集部により作成されたジョブ制御言語
を利用して、ジョブの起動をオペレーティングシステム
に依頼するジョブ起動部とを含むジョブ起動手段とを具
備したことを特徴とするジョブ起動方式。[Scope of Claims] A method for starting a job triggered by a message output from a message output device of an operating system, comprising: an indicator of a message desired to be triggered for starting a job; a name of a basic pattern of a job control language; A job information input section for inputting job information consisting of editing conditions for editing basic patterns of a job control language from an input device in advance; and storing job information input by the job information input section in a job information file. a job starting information storage unit including a job information storage unit for processing a message; a message acquisition unit for acquiring a message output from a message output device of an operating system; and a message indicator that is the same as the message indicator acquired by the message acquisition unit. a job information acquisition unit that acquires job information containing the job information from the job information file; and a job information acquisition unit that acquires job information containing the job information from the job control language storage file using the name of the basic pattern of the job control language as a key among the job information acquired by the job information acquisition unit. , a job information editing unit that reads the basic pattern and then edits the basic pattern using the message acquired by the message acquisition unit and the editing conditions of the basic pattern among the job information to complete the job control language; and a job starting unit that requests an operating system to start a job using the job control language created by the job information editing unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14061889A JPH036627A (en) | 1989-06-02 | 1989-06-02 | Job starting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14061889A JPH036627A (en) | 1989-06-02 | 1989-06-02 | Job starting system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH036627A true JPH036627A (en) | 1991-01-14 |
Family
ID=15272899
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14061889A Pending JPH036627A (en) | 1989-06-02 | 1989-06-02 | Job starting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH036627A (en) |
-
1989
- 1989-06-02 JP JP14061889A patent/JPH036627A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH036627A (en) | Job starting system | |
| JPH02165353A (en) | Conversation type data processing system | |
| JPH0362128A (en) | Output system for data contents | |
| JP2655610B2 (en) | Common area update device | |
| JPH0512312A (en) | Document graph printing and generating device | |
| JPS6244804A (en) | Method for accessing working program by numerical controller | |
| JPH0652495B2 (en) | Message text editing control method | |
| JPH05257655A (en) | Program managing system | |
| JPH06162021A (en) | Document preparing device and document preparation control method | |
| JPH01169506A (en) | numerical control device | |
| JPH05150963A (en) | Method for preparing program specifications | |
| JPH0290255A (en) | Automatic recognition system for constitution of input/ output device | |
| JPH02308355A (en) | Input procedure management method in interpreter | |
| JPH09330259A (en) | Computer system and file access method thereof | |
| JPH0594338A (en) | Trace editing system | |
| JPH0635778A (en) | Data record selection/edition output system | |
| JPH02257275A (en) | Document file control system | |
| JPH0786818B2 (en) | Plotting data file processing system | |
| JPH0480821A (en) | Source program editing system | |
| JPS62180437A (en) | File input/output system | |
| JPH0695309B2 (en) | Reuse method of intermediate language text | |
| JPH02297265A (en) | Index item editing system | |
| JPH03231340A (en) | File input/output method | |
| JPS61245232A (en) | Automatic editing method | |
| JPH0452966A (en) | Document data editing system |