JPH03225444A - File control job start system - Google Patents

File control job start system

Info

Publication number
JPH03225444A
JPH03225444A JP2021340A JP2134090A JPH03225444A JP H03225444 A JPH03225444 A JP H03225444A JP 2021340 A JP2021340 A JP 2021340A JP 2134090 A JP2134090 A JP 2134090A JP H03225444 A JPH03225444 A JP H03225444A
Authority
JP
Japan
Prior art keywords
file
job
overflow
storage means
recovery
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
JP2021340A
Other languages
Japanese (ja)
Inventor
Masahiro Yamaguchi
昌宏 山口
Tatsuya Suzuki
達也 鈴木
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.)
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Tohoku 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 TOHOKU NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Tohoku Ltd filed Critical TOHOKU NIPPON DENKI SOFTWARE KK
Priority to JP2021340A priority Critical patent/JPH03225444A/en
Publication of JPH03225444A publication Critical patent/JPH03225444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To prevent data from being absent and necessary data from being erased and to accurately grasp the state of the system by starting a recovery job immediately when the overflow of a file is detected. CONSTITUTION:An analyzing means 12 detects the name of a file where an overflow occurs from the file name control table 15 according to a code when an overflow detecting means 11 detects the overflow. A control means 13 retrieves whether or not the file name analyzed by the analyzing means 12 is present in control information that a 1st storage means 16 holds and determines the recovery job started with the control information when the file name is present. A job start means 14 starts the recovery job determined by the control means 13 by a command procedure stored in a 2nd storage means 17. Consequently, neither data absence nor the erasure of necessary data is caused and the state of the system can accurately be grasped.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数のファイルをサイクリックに使用、また
はオーバーフローした時間−フアイルの先頭からデータ
を書き込むいわゆる上ぬりで使用しているシステムに関
し、特にファイルのオーバーフローを検出した時にその
リカバリを行うジョブを起動させる方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a system that uses a plurality of files cyclically or uses overflow time - so-called overprinting in which data is written from the beginning of the file. In particular, the present invention relates to a method for starting a job for recovery when a file overflow is detected.

〔従来の技術〕[Conventional technology]

コンピュータシステムでは、コンピュータで処理した各
種データ等を外部記憶媒体上のファイルに格納しておく
事が通常行われている。
In computer systems, it is common practice to store various data processed by a computer in files on an external storage medium.

ファイルの使用方法として、ファイルがオーバーフロー
した時、別のファイルを用いてデータを書き込んでいく
事、また同一ファイルの先頭がらデータを書き込むいわ
ゆる上ぬりという事を行っている。
As for how files are used, when a file overflows, data is written using another file, and data is written from the beginning of the same file, which is called overprinting.

従来、ファイルのオーバーフローを操作員が検出した時
に、オーバーフローしたファイルをセーブする等のリカ
バリジョブを起動させる処理を操作員が行う方法と、ま
たシステムの運用を管理する制御ジョブがファイルのオ
ーバーフローをコンソールメツセージを受けとることに
より検出し、リカバリジョブを起動させる方法をとって
いた。
Conventionally, when an operator detects a file overflow, the operator initiates a recovery job such as saving the overflowed file, and a control job that manages system operations detects the file overflow using the console. The method was to detect it by receiving a message and start a recovery job.

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

これらの従来の方法においては、操作員がファイルのオ
ーバーフローを見落した時、またシステムの運用を管理
する制御ジョブがコンソールメツセージをリカバリジョ
ブ起動を契機としているなめ、他のコンソールメツセー
ジが多く発生していると、オーバーフローのメツセージ
が受けとれず実際にオーバーフローが発生してからリカ
バリジョブを起動させるまでに時間のずれが生じた時な
ど、データ抜けや必要なデータが消されたりすることが
ある。
In these conventional methods, many other console messages are generated when the operator overlooks a file overflow, or because the control job that manages system operations uses console messages as an opportunity to start a recovery job. If the overflow message is not received and there is a time lag between when an overflow actually occurs and when a recovery job is started, data may be lost or necessary data may be deleted.

〔課題を解決するための手段〕 本発明によれば、コンピュータシステムで利用するファ
イルのリカバリシステムにおいて、ファイルのオーバー
フロー時に必要なファイル名、ジョブ名等の管理情報を
記憶する第一の記憶手段と、ジョブを起動させる時のコ
マンドプロシジャ群を記憶する第二の記憶手段と、ファ
イル名とコードを管理するファイル名管理テーブルと、
ファイルのオーバーフローを検出するオーバーフロー検
出手段と、前記オーバーフロー検出手段により検出され
たコードを解析する解析手段と、前記解析手段により解
析されたファイル名に対するリカバリジョブを前記第一
の記憶手段により決定する制御手段と、前記制御手段に
より決定されたリカバリジョブを前記第二の記憶手段よ
り起動させるジョブ起動手段とを備え、ファイルのオー
バーフロー時にオーバーフローしたファイルに対応する
リカバリジョブが起動することを特徴とするファイル制
御ジョブ起動方式が得られる。
[Means for Solving the Problems] According to the present invention, in a file recovery system used in a computer system, a first storage means for storing management information such as file names and job names required when a file overflows; , a second storage means for storing a group of command procedures when starting a job, a file name management table for managing file names and codes,
overflow detection means for detecting an overflow of a file; analysis means for analyzing the code detected by the overflow detection means; and control for determining, by the first storage means, a recovery job for the file name analyzed by the analysis means. and job starting means for starting a recovery job determined by the control means from the second storage means, wherein when a file overflows, a recovery job corresponding to the overflowed file is started. A controlled job starting method is obtained.

〔実施例〕〔Example〕

次に、本発明の一実施例を示した図面を参照して、詳細
に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例によるファイル
制御ジョブ起動方式1は、オーバーフロー検出手段11
と、解析手段12と、制御手段13と、ジョブ起動手段
14と、ファイル名管理テーブル15と、第1記憶手段
16と、第2記憶手段17とを有している。
Referring to FIG. 1, in a file control job starting method 1 according to an embodiment of the present invention, an overflow detection means 11
, an analysis means 12 , a control means 13 , a job starting means 14 , a file name management table 15 , a first storage means 16 , and a second storage means 17 .

ファイル名管理テーブル15は、オーバーフロー時に検
出されるコードと、コードに対応するファイル名を記憶
しておくための管理テーブルである。
The file name management table 15 is a management table for storing codes detected at the time of overflow and file names corresponding to the codes.

第1記憶手段16は、ファイルのオーバーフロー時に必
要となるファイル名と、ファイル名に対応しているリカ
バリジョブ名等の管理情報を記憶しておくための記憶手
段である。
The first storage unit 16 is a storage unit for storing management information such as a file name and a recovery job name corresponding to the file name, which are required when a file overflows.

第2記憶手段17は、実際に起動するコマンドプロシジ
ャ−群を記憶しておくための記憶手段である。
The second storage means 17 is a storage means for storing a group of command procedures to be actually started.

ファイルへのデータの書き込み処理は、コンピュータシ
ステムが有する入出力管理手段2が行っているが、ファ
イルのオーバーフローを入出力管理手段2が検出した時
、入出力管理手段2はオーバーフロー検出手段11にオ
ーバーフロー時のコードを通知する。
The process of writing data to a file is performed by the input/output management means 2 included in the computer system, but when the input/output management means 2 detects an overflow of the file, the input/output management means 2 detects the overflow in the overflow detection means 11. Notify the code of the time.

解析手段12は、オーバーフロー検出手段11によって
オーバーフローが検出された時のコードをもとに、ファ
イル名管理テーブル15よりオーバーフローしたファイ
ル名を検出する。
The analysis means 12 detects the overflowed file name from the file name management table 15 based on the code when the overflow was detected by the overflow detection means 11.

制御手段13は、解析手段12によって解析されたファ
イル名が第1記憶手段16で保有している管理情報に存
在しているか否かを検索し、存在しているのであれば管
理情報より起動させるリカバリジョブを決定する。
The control means 13 searches whether the file name analyzed by the analysis means 12 exists in the management information held in the first storage means 16, and if it exists, starts it from the management information. Decide on recovery jobs.

ジョブ起動手段14は、制御手段13によって決定した
リカバリジョブ名を第2記憶手段17に記憶しであるコ
マンドプロシジャ−により起動させる。
The job starting means 14 stores the recovery job name determined by the control means 13 in the second storage means 17, and starts the recovery job using a command procedure.

第2図を参照すると、ファイル名管理テーブル15には
、オーバーフロー検出手段11により返されるコードと
ファイル名が対応づけて格納されるようになっている。
Referring to FIG. 2, the file name management table 15 stores codes returned by the overflow detection means 11 and file names in association with each other.

第3図を参照すると、第1記憶手段15には、複数のフ
ァイルをファイルがオーバーフローする毎に交互に使用
するもの、またファイルがオーバーフローした時に同一
ファイルの先頭から再度書き込みを行う使い方をしてい
るもののファイル名と、オーバーフローした時に起動さ
せるリカバリジョブ名がファイル名毎に対応づけて格納
されるようになっている。
Referring to FIG. 3, the first storage means 15 can be used to alternately use multiple files each time a file overflows, or to rewrite from the beginning of the same file when a file overflows. The file name of the existing file and the name of the recovery job to be started in the event of an overflow are stored in association with each file name.

以上のファイル制御ジョブ起動方式1によって例えばA
というファイルがオーバーフローした時には、ファイル
をセーブするリカバリジョブが起動され、Bというファ
イルがオーバーフローした時にはファイルの内容をリス
トに出力するリカバリジョブが起動される。
For example, by using the above file control job startup method 1,
When file B overflows, a recovery job is started to save the file, and when file B overflows, a recovery job is started to output the contents of the file to a list.

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

以上説明したように本発明は、ファイル名管理テーブル
、第1記憶手段、第2記憶手段、オーバーフロー検出手
段、解析手段、制御手段、ジョブ起動手段を設けた事に
より、ファイルのオーバーフローを検出すると、ただち
にリカバリジョブが起動されるため、データ抜けや必要
のデータが消されたりという事を防ぐことが可能となり
、システムの状態を正確に把握できるという効果がある
As explained above, the present invention includes a file name management table, a first storage means, a second storage means, an overflow detection means, an analysis means, a control means, and a job starting means, so that when a file overflow is detected, Since the recovery job is started immediately, it is possible to prevent data loss or necessary data from being deleted, and it has the effect of accurately grasping the system status.

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

第1図は本発明の一実施例のファイル制御ジョブ起動方
式の構成を示すブロック図、第2図は第1図中のファイ
ル制御ジョブ起動方式が保有しているファイル名管理テ
ーブルの構造を例示する図、第3図は第1図中のファイ
ル制御ジョブ起動方式が保有している第1記憶手段の構
造を例示する図である。
Fig. 1 is a block diagram showing the configuration of a file control job starting method according to an embodiment of the present invention, and Fig. 2 illustrates the structure of a file name management table held by the file control job starting method in Fig. 1. FIG. 3 is a diagram illustrating the structure of the first storage means held by the file control job starting method in FIG. 1.

Claims (1)

【特許請求の範囲】[Claims] コンピュータシステムで利用するファイルのリカバリシ
ステムにおいて、ファイルのオーバーフロー時に必要な
ファイル名、ジョブ名等の管理情報を記憶する第一の記
憶手段と、ジョブを起動させる時のコマンドプロシジャ
群を記憶する第二の記憶手段と、ファイル名とコードを
管理するファイル名管理テーブルと、ファイルのオーバ
ーフローを検出するオーバーフロー検出手段と、前記オ
ーバーフロー検出手段により検出されたコードを解析す
る解析手段と、前記解析手段により解析されたファイル
名に対するリカバリジョブを前記第一の記憶手段により
決定する制御手段と、前記制御手段により決定されたリ
カバリジョブを前記第二の記憶手段より起動させるジョ
ブ起動手段とを備え、ファイルのオーバーフロー時にオ
ーバーフローしたファイルに対応するリカバリジョブが
起動することを特徴とするファイル制御ジョブ起動方式
In a file recovery system used in a computer system, there is a first storage means that stores management information such as file names and job names required in the event of a file overflow, and a second storage means that stores a group of command procedures for starting a job. a storage means, a file name management table for managing file names and codes, an overflow detection means for detecting file overflow, an analysis means for analyzing the code detected by the overflow detection means, and an analysis means for analyzing the code by the analysis means. control means for causing the first storage means to determine a recovery job for a given file name; and job activation means for activating the recovery job determined by the control means from the second storage means; A file control job starting method characterized by starting a recovery job corresponding to an overflowed file.
JP2021340A 1990-01-30 1990-01-30 File control job start system Pending JPH03225444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021340A JPH03225444A (en) 1990-01-30 1990-01-30 File control job start system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021340A JPH03225444A (en) 1990-01-30 1990-01-30 File control job start system

Publications (1)

Publication Number Publication Date
JPH03225444A true JPH03225444A (en) 1991-10-04

Family

ID=12052381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021340A Pending JPH03225444A (en) 1990-01-30 1990-01-30 File control job start system

Country Status (1)

Country Link
JP (1) JPH03225444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334146A (en) * 1992-05-29 1993-12-17 Oki Electric Ind Co Ltd Database management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334146A (en) * 1992-05-29 1993-12-17 Oki Electric Ind Co Ltd Database management system

Similar Documents

Publication Publication Date Title
JP2000259456A (en) File revision management system
US8271454B2 (en) Circular log amnesia detection
JPH03225444A (en) File control job start system
JPH05233413A (en) File recovery system
JPH0594353A (en) Database management system
JP2509936B2 (en) Output control device
JPH0713817A (en) File management system
JPH01108634A (en) System for preventing erroneous usage of external recording medium
JP2674693B2 (en) Trace information management method
JP2630215B2 (en) Method of deleting unnecessary file data while online
JPH06274404A (en) Data storage managing method
JPH0731723B2 (en) Document processing apparatus and document processing method
JP2912046B2 (en) File server control method
JP2000276449A (en) Method and system for starting job
JPH02126319A (en) Input job managing system
JPS6254347A (en) Processing system for fault of file
JPH06187217A (en) System for synchronization between data base and normal file
JPS63116254A (en) System loading processing method
JPS62211716A (en) Job control information shunting and restoring system
JPH10333957A (en) Working area securing system
JPH08328836A (en) Graphic information managing device
JPH0668030A (en) Data input processing system for distributed processing system
JPH02166674A (en) System for checking block sequence number of magnetic tape
JPH0612309A (en) File restoration assistance system
JPH06282463A (en) Memory control method for program test