JPH05120096A - File overflow controlling system - Google Patents

File overflow controlling system

Info

Publication number
JPH05120096A
JPH05120096A JP3284316A JP28431691A JPH05120096A JP H05120096 A JPH05120096 A JP H05120096A JP 3284316 A JP3284316 A JP 3284316A JP 28431691 A JP28431691 A JP 28431691A JP H05120096 A JPH05120096 A JP H05120096A
Authority
JP
Japan
Prior art keywords
file
overflow
data
processing
end position
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
JP3284316A
Other languages
Japanese (ja)
Inventor
Shinji Ueda
慎司 上田
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP3284316A priority Critical patent/JPH05120096A/en
Publication of JPH05120096A publication Critical patent/JPH05120096A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a fault due to file overflow by enabling a processing program to recognize beforehand the risk of the file overflow in file batch update processing. CONSTITUTION:This system in provided with a file management part 1a having a file starting position 11, a data final position 12, a file overflow warning point 13 set at the time of ensuring a file area, and a file ending position 14, and execution time routine 2 to inform the processing program 3 of that the value of the data final position 12 reaches the value of the file overflow warning point 13 at the time of such a situation. In the batch processing, the program recognizes beforehand the risk of the overflow of the file.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置における
データファイル追加処理に関し、特にその際のファイル
オーバフローの危険性をプログラムに通知するファイル
オーバフロー管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data file addition process in an information processing apparatus, and more particularly to a file overflow management system for notifying a program of a risk of file overflow at that time.

【0002】[0002]

【従来の技術】従来のファイルオーバフロー管理方式に
ついて図面を参照して説明する。
2. Description of the Related Art A conventional file overflow management system will be described with reference to the drawings.

【0003】図3は従来例のファイルオーバフロー管理
方式の構成図である。
FIG. 3 is a block diagram of a conventional file overflow management system.

【0004】図3において、従来例のファイルオーバフ
ロー管理方式では、ファイルの領域確保時に、ファイル
管理部b1bにファイル開始位置11とファイル終了位
置14を設定し、データの最終位置12の値がファイル
終了位置14の値に達した際、もしくは、それを越えた
場合に、その旨がフログラムに対して通知される。
Referring to FIG. 3, in the conventional file overflow management method, a file start position 11 and a file end position 14 are set in the file management unit b1b when the file area is secured, and the value of the final position 12 of the data is the end of the file. When the value of the position 14 is reached or exceeded, the fact is notified to the program.

【0005】その際、ファイルデータ部4のデータ領域
41は終了位置14に達し、空き領域42はなくなり、
それ以上のデータの追加は不可能となる。
At this time, the data area 41 of the file data section 4 reaches the end position 14, the empty area 42 disappears,
It is impossible to add more data.

【0006】[0006]

【発明が解決しようとする課題】上述した従来のファイ
ルオーバフロー管理方式においては、データ終了位置が
ファイル終了位置に到達した時、つまりそれ以上のデー
タの出力が不可能になった時にはじめてその旨がプログ
ラムに通知されるため、通常はその時点で処理が停止
し、人手を介してファイルの領域を拡張した後、再処理
を実施することになり、正常な処理の流れを妨げるとい
う問題がある。
In the above-mentioned conventional file overflow management method, when the data end position reaches the file end position, that is, when it is impossible to output any more data, that effect is not recognized. Since the program is notified, the processing is usually stopped at that point, and the area of the file is expanded manually, and then the reprocessing is performed, which causes a problem that the normal processing flow is hindered.

【0007】それを回避するためには、従来技術では、
操作員が定期的にファイル管理部の情報を参照してファ
イルオーバフローに備えるという煩雑な作業が発生し、
作業効率が悪化するという欠点がある。
In order to avoid this, in the prior art,
The operator regularly refers to the information in the file management section to prepare for a file overflow, and the complicated work occurs.
There is a drawback that work efficiency deteriorates.

【0008】本発明の目的は、ファイル領域確保時に設
定されるファイルオーバフロー警告点と、データ最終位
置の値がファイルオーバフロー警告点の値に達した際
に、その旨を処理プログラムに通知する実行時ルーチン
とを備え、ファイルの一括処理において、処理プログラ
ムがファイルのオーバフローの危険性を事前に認識でき
るようにしたことにより、上記の欠点を解消し、ファイ
ルオーバフローによる障害を未然に防止でき、作業効率
を向上することができるファイルオーバフロー管理方式
を提供することにある。
An object of the present invention is to notify the processing program when a file overflow warning point set when a file area is secured and the value of the data end position reaches the value of the file overflow warning point. By including a routine to enable the processing program to recognize the risk of file overflow in advance in batch processing of files, the above drawbacks can be solved and problems due to file overflow can be prevented and work efficiency can be improved. It is to provide a file overflow management method capable of improving

【0009】[0009]

【課題を解決するための手段】本発明のファイルオーバ
フロー管理方式は、磁気ディスク装置におけるファイル
の開始位置を示すファイル開始位置と最終データの位置
を示すデータ最終位置とデータの追加可能域が残り少な
いことをプログラムに通知するために設定されるファイ
ルオーバ警告点とファイルの終了位置を示すファイル終
了位置とを有するファイル管理部と、ファイル内のデー
タ最終位置の値がファイルオーバ警告点に達した際にフ
ァイル管理部の該当ファイルを更新しているプログラム
に対してファイルオーバ警告点に達したことを通知する
実行時ルーチンとを備えている。
According to the file overflow management method of the present invention, the file start position indicating the file start position in the magnetic disk device, the data end position indicating the position of the last data, and the data addable area remain small. When the value of the data end position in the file reaches the file over warning point, the file management section has a file over warning point set to notify the program and a file end position indicating the end position of the file. A run-time routine is provided to notify the program updating the corresponding file in the file management unit that the file-over warning point has been reached.

【0010】[0010]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0011】図1は本発明の一実施例のファイルオーバ
フロー管理方式の構成図、図2は本実施例の入出力ファ
イルとプログラムの相関図である。
FIG. 1 is a block diagram of a file overflow management system of an embodiment of the present invention, and FIG. 2 is a correlation diagram of an input / output file and a program of this embodiment.

【0012】図1において、本実施例のファイルオーバ
フロー管理方式は、ファイル開始位置11とデータ最終
位置12とファイル領域確保時に設定されるファイルオ
ーバフロー警告点13とファイル終了位置14とを有す
るファイル管理部a1aと、データ最終位置12の値が
ファイルオーバフロー警告点13の値に達した際に、そ
の旨を該当ファイルを更新している処理プログラム3に
通知する実行時ルーチン2とを備えている。
In FIG. 1, the file overflow management system of this embodiment has a file management unit having a file start position 11, a data end position 12, a file overflow warning point 13 and a file end position 14 set when a file area is secured. a1a and a runtime routine 2 for notifying the processing program 3 that is updating the corresponding file when the value of the data final position 12 reaches the value of the file overflow warning point 13.

【0013】そして、ファイル領域確保時に、ファイル
オーバフロー警告点13を設定することにより、例え
ば、1万件のデータ件数を格納できるファイル領域を確
保する際、ファイルオーバフロー警告点13を9千件と
設定することにより、処理プログラム3がファイルオー
バフロー警告点13である9千件のデータを出力した時
点で残り千件のデータしか出力できないことを実行時ル
ーチン22より処理プログラム3に通知し、プログラム
3はその旨を印字・表示することによって操作員に通知
する。
By setting the file overflow warning point 13 when allocating the file area, for example, when allocating the file area capable of storing the data number of 10,000, the file overflow warning point 13 is set to 9,000. By doing so, when the processing program 3 outputs the file overflow warning point 13 of the data of 9000, the runtime routine 22 notifies the processing program 3 that only the remaining data of 1,000 can be output. The operator is notified by printing and displaying the message.

【0014】そこで、本実施例が最も有効となるのは、
図2に示す入出力ファイルである処理ファイル21を処
理プログラム23が順に読み込み、処理データの内容に
よって更新ファイル23に対してデータの登録、更新、
削除を一括して行う場合である。
Therefore, the most effective embodiment is that
The processing program 23 sequentially reads the processing file 21 which is the input / output file shown in FIG. 2, and registers and updates data in the update file 23 according to the contents of the processing data.
This is a case of deleting all at once.

【0015】次に、図2を参照してその具体的な例を説
明する。
Next, a specific example will be described with reference to FIG.

【0016】入力用の処理ファイル21は最大登録件数
4件で日々不特定データ件数が格納されており、そのデ
ータの内容は更新ファイル23に対する登録、更新、削
除の3種類である。
The input processing file 21 has a maximum number of registrations of 4 and stores the number of unspecified data every day, and the contents of the data are three types of registration, update, and deletion with respect to the update file 23.

【0017】出力用の更新ファイル23は最大登録件数
1万件で「ファイルオーバフロー警告点」が9千件登録
時と設定されている。
The output update file 23 has a maximum number of 10,000 registrations, and the "file overflow warning point" is set to 9000 registrations.

【0018】更新ファイル23は、処理ファイル21の
内容によってデータの登録・更新・削除が行われる周期
で内容が消去され、登録件数0件の状態に戻されるが、
それまでは、常に更新ファイル23のデータは保持され
ている。
The contents of the update file 23 are erased in the cycle of data registration / update / deletion according to the contents of the processing file 21, and the number of registered items is returned to 0.
Until then, the data of the update file 23 is always held.

【0019】処理プログラム22は、処理ファイル21
を順に読み込み、その内容によって更新ファイル23に
対してデータの登録・更新・削除を行う。
The processing program 22 is a processing file 21.
Are sequentially read, and data is registered / updated / deleted in the update file 23 according to the contents.

【0020】但し、その処理周期は日次であり、夜間無
人運転で実行される複数のプログラムのうちの一つとす
る。
However, the processing cycle is daily, and it is assumed to be one of a plurality of programs executed in the night unmanned operation.

【0021】表1は無人運転による処理開始後8日目以
降のデータ追加件数(登録件数と削除件数の相殺件数)
と処理プログラム22実行後の更新ファイル3のデータ
件数をまとめたものである。
Table 1 shows the number of data additions (the number of registrations and the number of deletions offset) from the 8th day after the start of unmanned operation.
And the number of data items in the update file 3 after the processing program 22 is executed.

【0022】[0022]

【表1】 [Table 1]

【0023】この例の場合、9日目の処理中にデータ件
数がオーバフロー警告点である9千件に達しているた
め、処理プログラム22は警告メッセージをプリンタに
印字して処理を終了する。
In the case of this example, since the number of data cases has reached the overflow warning point of 9000 during the processing on the ninth day, the processing program 22 prints a warning message on the printer and ends the processing.

【0024】操作員が翌日、その警告メッセージにより
更新ファイル23の容量を見直し、その容量を拡張する
ことにより、当日の夜間処理は支障なく運用される。
On the next day, the operator reviews the capacity of the update file 23 by the warning message and expands the capacity, so that the nighttime processing of the day can be operated without any trouble.

【0025】尚、上記において、ファイル開始値11
は、ファイルの削除、すなわち、ファイル管理部を初期
化する位置であり、ファイル終了位置14は、ファイル
の登録、すなわち、ファイル管理部を更新する位置で、
再度上記の処理を行うまではその内容は不変である。
In the above, the file start value 11
Is a position where a file is deleted, that is, a file management unit is initialized, and a file end position 14 is a position where a file is registered, that is, a file management unit is updated.
The contents are unchanged until the above process is performed again.

【0026】[0026]

【発明の効果】以上説明したように、本発明のファイル
オーバフロー管理方式は、ファイルの一括処理におい
て、プログラムがファイルのオーバフローの危険性を事
前に認識できるようにしたことにより、ファイルオーバ
フローによる障害を未然に防止でき、作業効率を向上す
ることができるという効果がある。
As described above, according to the file overflow management method of the present invention, in batch processing of files, a program can recognize the risk of file overflow in advance, so that a failure due to file overflow can be prevented. There is an effect that it can be prevented and the work efficiency can be improved.

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

【図1】本発明の一実施例のファイルオーバフロー管理
方式の構成図である。
FIG. 1 is a configuration diagram of a file overflow management system according to an embodiment of the present invention.

【図2】本実施例の入出力ファイルとプログラムの相関
図である。
FIG. 2 is a correlation diagram of an input / output file and a program according to this embodiment.

【図3】従来例のファイルオーバフロー管理方式の構成
図である。
FIG. 3 is a configuration diagram of a conventional file overflow management system.

【符号の説明】[Explanation of symbols]

1a ファイル管理部a 1b ファイル管理部b 2 実行時ルーチン 3 処理プログラム 4 ファイルデータ部 11 ファイル開始位置格納領域 12 データ最終位置格納領域 13 ファイルオーバフロー警告点格納領域 14 ファイル終了位置格納領域 21 処理ファイル 22 処理プログラム 23 更新ファイル 41 データ領域 42 空き領域 1a File management part a 1b File management part b 2 Runtime routine 3 Processing program 4 File data part 11 File start position storage area 12 Data end position storage area 13 File overflow warning point storage area 14 File end position storage area 21 Processing file 22 Processing program 23 Update file 41 Data area 42 Free area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 磁気ディスク装置におけるファイルの開
始位置を示すファイル開始位置と最終データの位置を示
すデータ最終位置とデータの追加可能域が残り少ないこ
とをプログラムに通知するために設定されるファイルオ
ーバ警告点と前記ファイルの終了位置を示すファイル終
了位置とを有するファイル管理部と、前記ファイル内の
前記データ最終位置の値が前記ファイルオーバ警告点に
達した際に前記ファイル管理部の該当ファイルを更新し
ているプログラムに対して前記ファイルオーバ警告点に
達したことを通知する実行時ルーチンとを備えることを
特徴とするファイルオーバフロー管理方式。
1. A file over warning set to notify a program that a file start position indicating a file start position in a magnetic disk device, a data end position indicating a position of final data, and a remaining data addable area are short. A file management unit having a point and a file end position indicating the end position of the file, and updating the corresponding file of the file management unit when the value of the data end position in the file reaches the file over warning point And a runtime routine for notifying a running program that the file overflow warning point has been reached.
JP3284316A 1991-10-30 1991-10-30 File overflow controlling system Pending JPH05120096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3284316A JPH05120096A (en) 1991-10-30 1991-10-30 File overflow controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3284316A JPH05120096A (en) 1991-10-30 1991-10-30 File overflow controlling system

Publications (1)

Publication Number Publication Date
JPH05120096A true JPH05120096A (en) 1993-05-18

Family

ID=17676975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3284316A Pending JPH05120096A (en) 1991-10-30 1991-10-30 File overflow controlling system

Country Status (1)

Country Link
JP (1) JPH05120096A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165645A (en) * 2006-12-29 2008-07-17 Nec Engineering Ltd Log analysis execution method and program recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165645A (en) * 2006-12-29 2008-07-17 Nec Engineering Ltd Log analysis execution method and program recording medium

Similar Documents

Publication Publication Date Title
US4435780A (en) Separate stack areas for plural processes
JP2019046052A (en) Control system, development support device, and control method
WO2001016746A3 (en) Method and apparatus for extracting first failure and attendant operating information from computer system devices
JPH05120096A (en) File overflow controlling system
JP3037375B2 (en) File compression processing method
JP2655612B2 (en) External reference update method
JP3330767B2 (en) Information processing apparatus and trace acquisition method in information processing apparatus
JPH0262633A (en) Inter-program communication system
JPH0319034A (en) Job control system
JPS63143662A (en) Text managing system
JPS6385938A (en) Controller for multiplex parallel operation of program
JPH05181650A (en) Remote maintenance system for information processor
JPH0715676B2 (en) Data driven control method for data processing device
JPH02216509A (en) Automatic operation control system for computer system
JPS6353650A (en) Computer
JPH0695987A (en) Data processor
JPH0362114A (en) Data input processing system
JPH04347740A (en) Message display storage device
JPH05313863A (en) System for outputting execution load module information
JPS62256147A (en) Buffer memory system
JPH05210547A (en) Load module storage device
JPH0573390A (en) Deadlock handling process system for data base
JPH07219785A (en) Device and method for controlling operating system
JPS62226213A (en) Power supply control system
JPS62280931A (en) Batch operation control system