JP2643850B2 - File processing device - Google Patents

File processing device

Info

Publication number
JP2643850B2
JP2643850B2 JP6197690A JP19769094A JP2643850B2 JP 2643850 B2 JP2643850 B2 JP 2643850B2 JP 6197690 A JP6197690 A JP 6197690A JP 19769094 A JP19769094 A JP 19769094A JP 2643850 B2 JP2643850 B2 JP 2643850B2
Authority
JP
Japan
Prior art keywords
record
management information
storage area
area
entry
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.)
Expired - Fee Related
Application number
JP6197690A
Other languages
Japanese (ja)
Other versions
JPH0844600A (en
Inventor
薫 宮田
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6197690A priority Critical patent/JP2643850B2/en
Publication of JPH0844600A publication Critical patent/JPH0844600A/en
Application granted granted Critical
Publication of JP2643850B2 publication Critical patent/JP2643850B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ファイル内のレコード
の存在している位置を相対レコード番号として管理して
いるファイル処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file processing apparatus which manages the position of a record in a file as a relative record number.

【0002】[0002]

【従来の技術】ファイル編成の一種にVSAM(Vir
tual Storage Access Metho
d)ファイル編成がある。このVSAMファイル編成で
は、レコードを入力順に記憶した順次編成,レコードの
相対番号をキーにした相対編成,索引順編成の3つの編
成法によるファイルを扱えるが、順次編成ではレコード
の追加,削除が行なえないという欠点があり、索引順編
成では、レコードのアクセスに際して索引を検索し且つ
制御インターバル(CI)内で該当レコードを検索する
必要があるためアクセス速度が遅いという欠点がある。
このため、高速なアクセスを必要とし且つ追加,削除が
必要となる場合には、相対編成が一般に用いられてい
る。
2. Description of the Related Art One type of file organization is VSAM (Vir).
dual Storage Access Metho
d) There is a file organization. In this VSAM file organization, files can be handled by three organization methods: sequential organization in which records are stored in the order of input, relative organization using record relative numbers as keys, and index sequential organization. In the sequential organization, records can be added and deleted. The index sequential organization has a disadvantage that the access speed is slow because it is necessary to search the index when accessing a record and to search the corresponding record within the control interval (CI).
Therefore, when high-speed access is required and addition / deletion is required, relative knitting is generally used.

【0003】このVSAMファイル編成における相対編
成ファイルは、レコードの存在している位置を相対レコ
ード番号として管理しており、レコードのキーフィール
ドの内容と相対レコード番号とを関係付け、レコードを
その相対レコード番号と対応するレコード実体格納領域
中のレコード格納域に格納することで、レコードのアク
セス,追加,削除を相対レコード番号で行なうことを可
能としている(例えば、図解コンピュータシリーズ,フ
ァイル編成入門,P120〜P123,昭和59年3月
30日,第1版第9刷,オーム社発行)。
[0003] The relative organization file in the VSAM file organization manages the position where a record exists as a relative record number, associates the contents of the key field of the record with the relative record number, and associates the record with the relative record number. By storing in a record storage area in a record substance storage area corresponding to a number, access, addition, and deletion of a record can be performed by a relative record number (for example, illustrated computer series, introduction to file organization, P120- P123, March 30, 1984, 1st edition, 9th printing, published by Ohmsha).

【0004】[0004]

【発明が解決しようとする課題】上述したように、ファ
イル内のレコードの存在している位置を相対レコード番
号として管理するファイルとして、従来は前述したよう
なVSAMファイル編成における相対編成ファイルが知
られているが、レコードをその相対レコード番号と対応
するレコード格納域に格納しているため、最大相対レコ
ード番号数分のレコード格納域を有するレコード実体格
納域を磁気ディスク等の記憶媒体上に設けることが必要
になる。従って、格納するレコードの数が、最大相対レ
コード番号に比べて少ない場合に於いても、レコードの
格納されていないレコード格納域によって、ファイルを
作成する記憶媒体の使用効率が低いものになってしまう
という問題がある。
As described above, a relative organization file in the VSAM file organization as described above is conventionally known as a file for managing the position of a record in a file as a relative record number. However, since records are stored in the record storage area corresponding to the relative record number, a record substance storage area having a record storage area for the maximum number of relative record numbers must be provided on a storage medium such as a magnetic disk. Is required. Therefore, even when the number of records to be stored is smaller than the maximum relative record number, the use efficiency of the storage medium for creating a file is reduced due to the record storage area where no records are stored. There is a problem.

【0005】本発明の目的は、ファイル内のレコードの
存在している位置を相対レコード番号として管理するフ
ァイルにおいて、最大格納レコード数が最大相対レコー
ド番号よりも小さい場合、ファイルを作成する記憶媒体
の使用効率を高いものにすることができるファイル処理
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a file for managing the position where a record exists in a file as a relative record number, and when the maximum number of stored records is smaller than the maximum relative record number, a storage medium for creating the file is used. An object of the present invention is to provide a file processing device capable of improving the usage efficiency.

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するため、最大相対レコード番号数分のエントリを有し
各々のエントリが相対レコード番号と1対1に対応する
レコード管理情報領域と、前記最大相対レコード番号よ
り小さな最大格納レコード数分のレコード格納域を有し
各々のレコード格納域に1レコードが格納されるレコー
ド実体格納領域とで構成され、レコードの格納されてい
るレコード格納域の位置情報が、該格納されているレコ
ードの相対レコード番号に対応する前記レコード管理情
報領域中のエントリに設定されたファイル領域と、レコ
ードの参照または更新時、参照または更新すべきレコー
ドの相対レコード番号に対応する前記レコード管理情報
領域中のエントリに設定されている位置情報の示す前記
レコード格納域のレコードを参照または更新するレコー
ド参照・更新手段と、レコードの追加時、前記レコード
実体格納領域の未使用レコード格納域に追加すべきレコ
ードを格納し、そのレコード格納域の位置情報を、追加
したレコードの相対レコード番号に対応する前記レコー
ド管理情報領域中のエントリに設定するレコード追加手
段とを備えたものである。
In order to achieve the above object, the present invention provides a record management information area having entries corresponding to the maximum number of relative record numbers, each entry having a one-to-one correspondence with a relative record number. A record entity storage area having a record storage area for the maximum number of record records smaller than the maximum relative record number, and one record being stored in each record storage area; The location information is a file area set in the entry in the record management information area corresponding to the relative record number of the stored record, and the relative record number of the record to be referenced or updated when the record is referenced or updated Of the record storage area indicated by the position information set in the entry in the record management information area corresponding to A record reference / update means for referring to or updating a code, and a record to be added to an unused record storage area of the record substance storage area when a record is added, and position information of the record storage area being added to the added record. Record adding means for setting an entry in the record management information area corresponding to the relative record number of

【0007】更に、本発明は、レコード実体格納領域に
格納されているレコードの内、特定のフィールドの内容
が特定の条件を満たしているレコードの参照を高速に行
なえるようにするという目的を達成するため、新規レコ
ード管理情報領域の作成時、前記最大相対レコード番号
数分のエントリを有し、各々のエントリが相対レコード
番号と1対1に対応し、前記レコード実体格納領域中の
レコード格納域に格納されているレコードの内の、指定
されたフィールドの内容が指定された条件を満足させて
いるレコードが格納されているレコード格納域の位置情
報が、前記レコードの相対レコード番号に対応するエン
トリに設定された新規レコード管理情報領域を作成する
新規レコード管理情報領域作成手段と、前記新規レコー
ド管理情報領域を利用したレコードの参照時、前記新規
レコード管理情報領域の先頭のエントリから設定されて
いる位置情報を順次取得し、取得した位置情報が示すレ
コード格納域に格納されているレコードを順次参照する
レコード参照手段とを備えたものである。
Further, the present invention achieves the object of enabling a high-speed reference to a record whose specific field satisfies a specific condition among records stored in a record substance storage area. Therefore, when the new record management information area is created, it has entries for the maximum relative record number, each entry corresponding to the relative record number one-to-one, and the record storage area in the record entity storage area. Among the records stored in the record, the position information of the record storage area in which the record in which the content of the specified field satisfies the specified condition is stored is the entry corresponding to the relative record number of the record A new record management information area creating means for creating a new record management information area set in the When referring to the used record, the record reference sequentially acquires the set position information from the first entry of the new record management information area, and sequentially refers to the record stored in the record storage area indicated by the acquired position information. Means.

【0008】また、更に、本発明は、レコード実体格納
領域に格納されているレコードを或るフィールドをキー
にしてソートした時のソート結果を、順次参照によって
取得できるようにするという目的を達成するため、順次
参照用レコード管理情報領域の作成時、少なくとも前記
レコード実体格納領域に格納されているレコード数分の
エントリを有し、先頭のエントリから順番に、前記レコ
ード実体格納領域中のレコード格納域に格納されている
レコードを指定されたフィールドをキーにしてソートし
た時のレコードの並びに従ってレコードを格納している
レコード格納域の位置情報を設定した順次参照用レコー
ド管理情報領域を作成する順次参照用レコード管理情報
領域作成手段と、前記順次参照用レコード管理情報領域
を利用したレコードの参照時、前記順次参照用レコード
管理情報領域の先頭のエントリから設定されている位置
情報を順次取得し、取得した位置情報が示すレコード格
納域に格納されているレコードを順次参照するレコード
参照手段とを備えたものである。
Further, the present invention achieves the object of sequentially acquiring records obtained by sorting records stored in a record substance storage area using a certain field as a key. Therefore, when the record management information area for sequential reference is created, the record management information area has at least as many entries as the number of records stored in the record substance storage area, and the record storage area in the record substance storage area is sequentially arranged from the first entry. Creates a record management information area for sequential reference that sets the position information of the record storage area that stores the records according to the arrangement of the records when the records stored in the field are sorted using the specified field as a key Sequential reference Record management information area creating means, and a record using the sequential reference record management information area Record reference means for sequentially acquiring the set position information from the first entry of the record management information area for sequential reference at the time of reference, and sequentially referring to the records stored in the record storage area indicated by the acquired position information It is provided with.

【0009】また、本発明は、レコードの削除,復旧を
容易に行なえるようにするという目的を達成するため、
最大相対レコード番号数分のエントリを有し各々のエン
トリが相対レコード番号と1対1に対応するレコード管
理情報領域と、前記最大相対レコード番号より小さな最
大格納レコード数分のレコード格納域を有し各々のレコ
ード格納域に1レコードが格納されるレコード実体格納
領域とで構成され、レコードの格納されているレコード
格納域の位置情報が、該格納されているレコードの相対
レコード番号に対応する前記レコード管理情報領域中の
エントリに設定され、前記レコード実体格納領域中のレ
コード格納域に格納されているレコードの有効性を示す
レコード有効性フラグが、該格納されているレコードの
相対レコード番号に対応する前記レコード管理領域中の
エントリに設定されたファイル領域と、レコードの削除
時、削除すべきレコードの相対レコード番号に対応する
前記レコード管理情報領域中のエントリにレコードの無
効を示すレコード有効フラグを設定するレコード削除手
段と、レコードの復旧時、復旧すべきレコードの相対レ
コード番号に対応する前記レコード管理情報領域中のエ
ントリにレコードの有効を示すレコード有効フラグを設
定するレコード復旧手段と、レコードの参照または更新
時、参照または更新要求されたレコードの相対レコード
番号に対応する前記レコード管理情報領域中のエントリ
に有効を示すレコード有効フラグが設定されていること
により、前記エントリに設定されている位置情報の示す
前記レコード格納域のレコードを参照または更新するレ
コード参照・更新手段と、レコードの追加時、未使用レ
コード格納域或いはレコード有効フラグが無効になって
いるレコードが格納されているレコード格納域の内の1
つに追加すべきレコードを格納すると共に、前記レコー
ド管理情報領域の内容をレコード追加後の状態に合致し
たものに更新するレコード追加手段とを備えたものであ
る。
Further, the present invention achieves the object of facilitating record deletion and restoration.
It has a record management information area that has entries for the maximum number of relative record numbers and each entry has a one-to-one correspondence with the relative record number, and a record storage area for the maximum number of records that is smaller than the maximum relative record number. A record entity storage area in which one record is stored in each record storage area, wherein the position information of the record storage area in which the record is stored corresponds to the relative record number of the stored record. The record validity flag set in the entry in the management information area and indicating the validity of the record stored in the record storage area in the record entity storage area corresponds to the relative record number of the stored record The file area set in the entry in the record management area and the record to be deleted when the record is deleted. Record deletion means for setting a record valid flag indicating record invalidity in an entry in the record management information area corresponding to the relative record number of the record, and corresponding to the relative record number of the record to be restored when the record is restored Record recovery means for setting a record valid flag indicating the validity of a record in an entry in the record management information area, and when referencing or updating a record, the record management information corresponding to the relative record number of the record referred or updated A record reference / update unit for referring to or updating a record in the record storage area indicated by the position information set in the entry by setting a record valid flag indicating validity in an entry in the area; When adding, unused record storage area or record valid file 1 of the record vaults record grayed is disabled is stored
And a record adding means for storing a record to be added to the first record and updating the contents of the record management information area to match the state after the record is added.

【0010】[0010]

【作用】ファイル領域は、レコード管理情報領域と、レ
コード実体格納領域とから構成されている。レコード管
理情報領域は、最大相対レコード番号数分のエントリを
有し、各々のエントリが相対レコード番号と1対1に対
応している。また、レコード実体格納領域は、最大相対
レコード番号より小さな最大格納レコード数分のレコー
ド格納域を有し、各々のレコード格納域には1レコード
が格納される。また、レコードの格納されているレコー
ド格納域の位置情報が、そのレコード格納域に格納され
ているレコードの相対レコード番号に対応するレコード
管理情報領域中のエントリに設定されている。
The file area includes a record management information area and a record substance storage area. The record management information area has entries for the maximum number of relative record numbers, and each entry has a one-to-one correspondence with a relative record number. The record entity storage area has a record storage area for the maximum number of stored records smaller than the maximum relative record number, and one record is stored in each record storage area. The position information of the record storage area where the record is stored is set in the entry in the record management information area corresponding to the relative record number of the record stored in the record storage area.

【0011】そして、レコードを参照または更新する場
合は、レコード参照・更新手段が、参照または更新すべ
きレコードの相対レコード番号に対応するレコード管理
情報領域中のエントリに格納されている位置情報が示す
レコード格納域のレコードを参照または更新する。ま
た、レコードを追加する場合は、レコード追加手段が、
追加すべきレコードをレコード実体格納領域中の未使用
レコード格納域に格納し、そのレコード格納域の位置情
報を、追加したレコードの相対レコード番号に対応する
レコード管理情報領域中のエントリに設定する。また、
レコード実体格納領域に格納されているレコードの内、
特定のフィールドの内容が特定の条件を満たしているレ
コードの参照を高速に行なえるようにする場合は、先
ず、新規レコード管理情報領域作成手段により、新規レ
コード管理情報領域を作成する。この新規レコード管理
情報領域は、最大相対レコード番号数分のエントリを有
し、各々のエントリが相対レコード番号と1対1に対応
している。また、指定されたフィールドの内容が指定さ
れた条件を満足させているレコードの相対レコード番号
と対応する新規レコード管理情報領域のエントリには、
上記レコードを格納しているレコード格納域の位置情報
が設定されている。
When referring to or updating a record, the record referring / updating means indicates the position information stored in the entry in the record management information area corresponding to the relative record number of the record to be referenced or updated. Reference or update records in the record storage area. When adding a record, the record adding means
The record to be added is stored in an unused record storage area in the record substance storage area, and the position information of the record storage area is set in an entry in the record management information area corresponding to the relative record number of the added record. Also,
Of the records stored in the record entity storage area,
When a record in which the content of a specific field satisfies a specific condition can be referred to at high speed, first, a new record management information area is created by a new record management information area creating means. This new record management information area has entries for the maximum number of relative record numbers, and each entry has a one-to-one correspondence with a relative record number. The entry of the new record management information area corresponding to the relative record number of the record in which the content of the specified field satisfies the specified condition includes:
The position information of the record storage area that stores the record is set.

【0012】このような新規レコード管理情報領域を作
成しておくことにより、新規レコード管理情報領域に設
定されている位置情報が示す全てのレコード格納域に格
納されているレコードを順次参照するレコード参照手段
を使用して、特定のフィールドの内容が特定の条件を満
たしているレコードを高速に参照することが可能にな
る。
[0012] By creating such a new record management information area, a record reference that sequentially refers to records stored in all record storage areas indicated by the position information set in the new record management information area. By using the means, it is possible to quickly refer to a record in which the content of a specific field satisfies a specific condition.

【0013】更に、レコード実体格納領域に格納されて
いるレコードを、或るフィールドをキーにしてソートし
た時のソート結果を、順次参照によって取得できるよう
にする場合は、先ず、順次参照用レコード管理情報領域
作成手段を用いて順次参照用レコード管理情報領域を作
成しておく。この順次参照用レコード管理情報領域は、
少なくともレコード実体格納領域に格納されているレコ
ード数分のエントリを有し、先頭のエントリから順番
に、レコードを格納しているレコード格納域の位置情報
が、前記レコード実体格納領域中のレコード格納域に格
納されているレコードを指定されたフィールドをキーに
してソートした時のレコードの並びに従って設定されて
いる。
Further, in order to obtain, by sequential reference, the result of sorting the records stored in the record entity storage area by using a certain field as a key, first, a record management for sequential reference is performed. Reference record management information areas are sequentially created using information area creation means. This sequential reference record management information area
It has at least as many entries as the number of records stored in the record substance storage area, and the position information of the record storage area storing the records in order from the first entry is the record storage area in the record substance storage area. Are set according to the arrangement of the records when the records stored in are sorted using the designated field as a key.

【0014】このような順次参照用レコード管理情報領
域を作成しておくことにより、順次参照用レコード管理
情報領域に設定されている位置情報が示す全てのレコー
ド格納域に格納されているレコードを順次参照するレコ
ード参照手段を使用して、レコード実体格納領域に格納
されているレコードを或るフィールドをキーにしてソー
トした時のソート結果を取得することができる。
By creating such a sequential reference record management information area, records stored in all the record storage areas indicated by the position information set in the sequential reference record management information area are sequentially stored. The result of sorting the records stored in the record entity storage area by using a certain field as a key can be obtained by using the referred record reference means.

【0015】更に、レコード管理情報領域のエントリ
に、レコードの有効性を示すフラグを設定できるように
することにより、削除または復旧すべきレコードの相対
レコード番号に対応するレコード管理情報領域中のエン
トリにレコードの無効または有効を示すレコード有効フ
ラグを設定するレコード削除手段,レコード復旧手段を
用いてレコードの削除,復旧を容易に行なうことが可能
になる。
Further, a flag indicating the validity of the record can be set in the entry of the record management information area, so that the entry in the record management information area corresponding to the relative record number of the record to be deleted or restored can be set. It is possible to easily delete and restore a record by using a record deletion means and a record recovery means for setting a record valid flag indicating whether the record is invalid or valid.

【0016】[0016]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0017】図1は本発明の一実施例のブロック図であ
り、ファイル操作部1と、制御手段2と、一時ファイル
3と、磁気ディスク装置4と、アプリケーションプログ
ラム(AP)5とから構成されている。ファイル操作部
1は、ファイル作成手段11と、レコード参照・更新手
段12と、レコード追加手段13と、レコード削除手段
14と、レコード復旧手段15とから構成されている。
FIG. 1 is a block diagram of one embodiment of the present invention, which comprises a file operation unit 1, a control unit 2, a temporary file 3, a magnetic disk device 4, and an application program (AP) 5. ing. The file operation unit 1 includes a file creation unit 11, a record reference / update unit 12, a record addition unit 13, a record deletion unit 14, and a record restoration unit 15.

【0018】ファイル作成手段11は、磁気ディスク装
置4上にレコード管理情報領域41とレコード実体格納
領域42とから構成されるファイル領域を作成する機能
を有する。
The file creating means 11 has a function of creating a file area composed of a record management information area 41 and a record substance storage area 42 on the magnetic disk device 4.

【0019】レコード管理情報領域41は、作成時に指
定された数のエントリを有する。各エントリは、相対レ
コード番号411と1対1に対応し、レコード有効フラ
グ412と、位置情報413とが設定される。レコード
有効フラグ412は、それが設定されているエントリの
相対レコード番号に対応するレコードが有効であるの
か、無効であるのかを示し、位置情報413は、それが
設定されているエントリの相対レコード番号に対応する
レコードのレコード実体格納領域42に於ける格納位置
(レコード格納域の位置)を示す。尚、レコード有効フ
ラグ412,位置情報413は初期状態に於いては、N
ULLになっている。
The record management information area 41 has the number of entries specified at the time of creation. Each entry has a one-to-one correspondence with the relative record number 411, and a record valid flag 412 and position information 413 are set. The record valid flag 412 indicates whether the record corresponding to the relative record number of the entry in which the record is set is valid or invalid, and the position information 413 indicates the relative record number of the entry in which the record is set. Indicates the storage position (the position of the record storage area) in the record entity storage area 42 of the record corresponding to. Note that the record valid flag 412 and the position information 413 are initially set to N.
It is ULL.

【0020】レコード実体格納領域42は、作成時に指
定された数の固定長のレコード格納域を有し、各々のレ
コード格納域には1つのレコードが格納される。図2は
レコード実体格納領域42のレコード格納域に格納され
るレコードの構成例を示した図であり、レコードは複数
のフィールドから構成されている。
The record entity storage area 42 has a fixed number of record storage areas of the number specified at the time of creation, and each record storage area stores one record. FIG. 2 is a diagram showing a configuration example of a record stored in the record storage area of the record entity storage area 42. The record is composed of a plurality of fields.

【0021】レコード参照・更新手段12は、レコード
管理情報領域41を利用してレコード実体格納領域42
に格納されているレコードを参照または更新する機能を
有する。レコード追加手段13は、追加すべきレコード
をレコード実体格納領域42に格納する機能,追加する
レコードの相対レコード番号と対応するレコード管理情
報領域41中のエントリの内容を更新する機能を有す
る。レコード削除手段14は、削除すべきレコードの相
対レコード番号と対応するレコード管理情報領域41中
のエントリに、無効を示すレコード有効フラグを設定す
る機能を有する。レコード復旧手段15は、復旧すべき
レコードの相対レコード番号と対応するレコード管理情
報領域41中のエントリに、有効を示すレコード有効フ
ラグを設定する機能を有する。
The record reference / update means 12 uses the record management information area 41 to store the record entity storage area 42
Has a function of referring to or updating a record stored in the. The record adding means 13 has a function of storing the record to be added in the record substance storage area 42 and a function of updating the contents of the entry in the record management information area 41 corresponding to the relative record number of the record to be added. The record deletion means 14 has a function of setting a record valid flag indicating invalidity in an entry in the record management information area 41 corresponding to the relative record number of the record to be deleted. The record restoration unit 15 has a function of setting a record valid flag indicating validity in an entry in the record management information area 41 corresponding to a relative record number of a record to be restored.

【0022】図3はファイル作成手段11の処理例を示
す流れ図、図4,図5はレコード参照・更新手段12の
処理例を示す流れ図、図6,図7はレコード追加手段1
3の処理例を示す流れ図、図8はレコード削除手段14
の処理例を示す流れ図、図9はレコード復旧手段15の
処理例を示す流れ図であり、以下各図を参照して本実施
例の動作を説明する。
FIG. 3 is a flow chart showing an example of processing by the file creating means 11, FIGS. 4 and 5 are flow charts showing an example of processing by the record referring / updating means 12, and FIGS.
3 is a flowchart showing a processing example of FIG. 3, and FIG.
FIG. 9 is a flowchart showing a processing example of the record restoration means 15, and the operation of the present embodiment will be described below with reference to the drawings.

【0023】先ず、ファイル作成時の動作を説明する。
ファイル作成時、アプリケーションプログラム5は、作
成したファイルに格納するレコードの相対レコード番号
の最大値(最大相対レコード番号),作成したファイル
に格納するレコードの最大数(最大格納レコード数),
作成したファイルに格納するレコードが格納されている
一時ファイルのファイル名を指定したファイル作成要求
を出力する。今、例えば、最大相対レコード番号として
X,最大格納レコード数としてY,一時ファイルのファ
イル名として一時ファイル3のファイル名を指定したフ
ァイル作成要求が出力されたとする。
First, the operation at the time of file creation will be described.
At the time of file creation, the application program 5 determines the maximum relative record number of records stored in the created file (maximum relative record number), the maximum number of records stored in the created file (maximum number of stored records),
Outputs a file creation request specifying the file name of the temporary file storing the records to be stored in the created file. Now, for example, it is assumed that a file creation request that specifies X as the maximum relative record number, Y as the maximum number of stored records, and the file name of the temporary file 3 as the file name of the temporary file is output.

【0024】制御手段2は、アプリケーションプログラ
ム5からファイル作成要求が出力されると、それをファ
イル作成手段11に渡す。ファイル作成手段11は、制
御手段2から上記したファイル作成要求が出力される
と、図3の流れ図に示すように、磁気ディスク装置4上
に、ファイル作成要求によって指定された最大相対レコ
ード数分(X個)のエントリを有するレコード管理情報
領域41と、ファイル作成要求によって指定された最大
格納レコード数分(Y個)のレコード格納域を有するレ
コード実体格納領域42とを確保する (ステップS
1)。
When a file creation request is output from the application program 5, the control means 2 passes it to the file creation means 11. When the above-described file creation request is output from the control means 2, the file creation means 11 stores, on the magnetic disk device 4, the maximum number of relative records specified by the file creation request (as shown in the flowchart of FIG. 3). A record management information area 41 having X entries and a record entity storage area 42 having a maximum (Y number) of record storage areas specified by the file creation request are secured (step S).
1).

【0025】次いで、ファイル作成手段11は、レコー
ド実体格納領域42の何番目のレコード格納域なのかを
示す変数iの値を「1」にする (ステップS2)。その
後、ファイル作成手段11は、ファイル作成要求によっ
て指定された一時ファイル3からレコードを1つ読み込
み (ステップS3)、読み込んだレコードをレコード実
体格納領域42の第1番目のレコード格納域に格納する
(ステップS4,S5)。更に、ファイル作成手段11
は、読み込んだレコードの相対レコード番号に対応する
レコード管理情報領域41のエントリにレコードの格納
位置を示す位置情報を設定すると共に、上記エントリに
レコードの有効を示すレコード有効フラグを設定する
(ステップS6,S7)。
Next, the file creating means 11 sets the value of the variable i indicating the number of the record storage area in the record substance storage area 42 to "1" (step S2). Thereafter, the file creating means 11 reads one record from the temporary file 3 specified by the file creation request (step S3), and stores the read record in the first record storage area of the record entity storage area 42.
(Steps S4 and S5). Further, the file creation means 11
Sets the position information indicating the storage position of the record in the entry of the record management information area 41 corresponding to the relative record number of the read record, and sets the record valid flag indicating the validity of the record in the entry.
(Steps S6 and S7).

【0026】レコード実体格納領域42の第1番目のレ
コード格納域にレコードを格納すると、ファイル作成手
段11は、変数iの値を+1してレコードを格納するレ
コード格納域を第2番目のレコード格納域に変更し (ス
テップS8)、その後、ステップS3の処理を行なう。
ファイル作成手段11は、一時ファイル3に格納されて
いるレコードを全てレコード実体格納領域42に格納す
るまで、上記した処理を繰り返し行なう。
When a record is stored in the first record storage area of the record substance storage area 42, the file creating means 11 sets the value of the variable i to +1 to store the record in the second record storage area. Area (step S8), and then the process of step S3 is performed.
The file creation means 11 repeats the above processing until all records stored in the temporary file 3 are stored in the record substance storage area 42.

【0027】次に、レコード実体格納領域42に格納さ
れているレコードの参照時の動作を説明する。アプリケ
ーションプログラム5は、レコード実体格納領域42に
格納されているレコードの参照時、特定の相対レコード
番号のレコードを参照するのであれば、その相対レコー
ド番号を指定した参照要求を出力し、また、レコード実
体格納領域42に格納されているレコードを相対レコー
ド番号順に順次参照するのであれば、相対レコード番号
の指定を含まない参照要求を出力する。その参照要求
は、制御手段2で受け付けられ、レコード参照・更新手
段12に渡される。
Next, the operation of referring to a record stored in the record entity storage area 42 will be described. When referring to the record stored in the record entity storage area 42, the application program 5 outputs a reference request specifying the relative record number if the record refers to a record having a specific relative record number. If the records stored in the entity storage area 42 are to be sequentially referred to in the order of the relative record number, a reference request not including the designation of the relative record number is output. The reference request is accepted by the control means 2 and passed to the record reference / update means 12.

【0028】レコード参照・更新手段12は、図4に示
すように、制御手段2から参照要求が渡されると(ステ
ップS11)、それに相対レコード番号の指定があるか
否かを、即ち、ランダムアクセスであるのか、順次アク
セスであるのかを判断する (ステップS12)。
As shown in FIG. 4, when the reference request is passed from the control means 2 (step S11), the record referring / updating means 12 determines whether or not a relative record number is designated, that is, a random access. Or sequential access is determined (step S12).

【0029】相対レコード番号の指定がある場合 (ステ
ップS12がYES)は、レコード管理情報領域41中
の上記指定された相対レコード番号と対応するエントリ
の内容を取得する (ステップS13)。尚、指定された
相対レコード番号に対応するエントリがレコード管理情
報領域41に存在しない場合は、レコード参照・更新手
段12は、アプリケーションプログラム5にエラー通知
を行なった後、その処理を終了する。その後、レコード
参照・更新手段12は、上記エントリ中のレコード有効
フラグが有効になっているか否かを判断する (ステップ
S14)。そして、有効になっていると判断した場合
(ステップS14がYES)は、上記エントリに設定さ
れている位置情報によって示されるレコード格納域に格
納されているレコードを、制御手段2を介してアプリケ
ーションプログラム5に渡す (ステップS15)。ま
た、有効になっていないと判断した場合 (ステップS1
4がNO)は、制御手段2を介してアプリケーションプ
ログラム5にエラー通知を行なう (ステップS16)。
If a relative record number is specified (YES in step S12), the contents of the entry corresponding to the specified relative record number in the record management information area 41 are obtained (step S13). If the entry corresponding to the specified relative record number does not exist in the record management information area 41, the record referring / updating unit 12 notifies the application program 5 of an error, and ends the processing. Thereafter, the record referring / updating unit 12 determines whether or not the record valid flag in the entry is valid (step S14). And if you determine that it is enabled
(Step S14: YES) transfers the record stored in the record storage area indicated by the position information set in the entry to the application program 5 via the control means 2 (Step S15). Also, if it is determined that it is not valid (step S1
4 is NO), an error notification is sent to the application program 5 via the control means 2 (step S16).

【0030】また、相対レコード番号の指定がない場
合、即ち順次アクセスの場合 (ステップS12がNO)
は、レコード管理情報領域41の何番目のエントリなの
かを示す変数jの値を「1」にし (ステップS17)、
その後、レコード管理情報領域41の第j番目のエント
リの内容を取得する (ステップS18)。
When there is no relative record number specified, that is, in the case of sequential access (NO in step S12)
Sets the value of the variable j indicating the number of the entry in the record management information area 41 to "1" (step S17),
Thereafter, the contents of the j-th entry in the record management information area 41 are obtained (Step S18).

【0031】そして、第1番目のエントリ中のレコード
有効フラグが有効でない場合 (ステップS20がNO)
は、レコード管理情報領域41の第j+1番目のエント
リの内容を取得する (ステップS22,S18)。ま
た、上記エントリ中のレコード有効フラグが有効である
場合 (ステップS20がYES)は、上記エントリに設
定されている位置情報によって示されるレコード実体格
納領域42中のレコード格納域に格納されているレコー
ドを、制御手段2を介してアプリケーションプログラム
5に渡し (ステップS21)、その後、レコード管理情
報領域41の第j+1番目のエントリの内容を取得する
(ステップS22,S18)。レコード参照・更新手段
12は、レコード管理情報領域41の最後のエントリに
ついての処理が終了するまで (ステップS19がYES
となるまで)、上述した処理を繰り返し行なう。
When the record valid flag in the first entry is not valid (NO in step S20)
Acquires the contents of the (j + 1) th entry in the record management information area 41 (steps S22 and S18). If the record valid flag in the entry is valid (YES in step S20), the record stored in the record storage area in the record substance storage area 42 indicated by the position information set in the entry Is passed to the application program 5 via the control means 2 (step S21), and then the contents of the (j + 1) th entry of the record management information area 41 are obtained.
(Steps S22 and S18). The record referring / updating unit 12 continues processing until the processing of the last entry in the record management information area 41 is completed (YES in step S19).
The above-mentioned processing is repeatedly performed until it becomes.

【0032】次に、レコード実体格納領域42に格納さ
れているレコードの内容を更新する場合の動作を説明す
る。アプリケーションプログラム5は、レコード実体格
納領域42に格納されているレコードの内容を更新する
場合、更新するレコードの相対レコード番号及び更新後
のレコードの内容を含む更新要求を出力する。この更新
要求は、制御手段2で受け付けられ、レコード参照・更
新手段12に渡される。
Next, the operation for updating the contents of the record stored in the record entity storage area 42 will be described. When updating the contents of the record stored in the record entity storage area 42, the application program 5 outputs an update request including the relative record number of the record to be updated and the contents of the updated record. This update request is accepted by the control means 2 and passed to the record reference / update means 12.

【0033】レコード参照・更新手段12は、制御手段
2から更新要求が渡されると(図4,ステップS11が
YES)、図5の流れ図に示すように、レコード管理情
報領域41中の上記更新要求によって指定された相対レ
コード番号と対応するエントリの内容を取得する (ステ
ップS23)。尚、指定された相対レコード番号に対応
するエントリがレコード管理情報領域41に存在しない
場合は、レコード参照・更新手段12は、アプリケーシ
ョンプログラム5にエラー通知を行なった後、その処理
を終了する。
When the update request is passed from the control unit 2 (YES in step S11 in FIG. 4), the record referring / updating unit 12 stores the update request in the record management information area 41 as shown in the flowchart of FIG. Then, the contents of the entry corresponding to the relative record number specified by (1) are obtained (step S23). If the entry corresponding to the specified relative record number does not exist in the record management information area 41, the record referring / updating unit 12 notifies the application program 5 of an error, and ends the processing.

【0034】そして、上記したエントリ中のレコード有
効フラグが有効である場合は (ステップS24がYE
S)、上記エントリに設定されている位置情報によって
示されるレコード格納域にアプリケーションプログラム
5から渡されたレコードを格納し (ステップS25)、
有効でない場合 (ステップS24がNO)は、制御手段
2を介してアプリケーションプログラム5にエラー通知
を行なう (ステップS26)。
If the record valid flag in the entry is valid (YES in step S24)
S), the record passed from the application program 5 is stored in the record storage area indicated by the position information set in the entry (step S25),
If it is not valid (NO in step S24), an error notification is sent to the application program 5 via the control means 2 (step S26).

【0035】次に、レコード実体格納領域42にレコー
ドを追加する場合の動作を説明する。アプリケーション
プログラム5は、レコード実体格納領域42にレコード
を追加する場合、追加するレコード及びその相対レコー
ド番号を含む追加要求を出力する。この追加要求は制御
手段2で受け付けられ、レコード追加手段13に渡され
る。
Next, the operation for adding a record to the record entity storage area 42 will be described. When adding a record to the record entity storage area 42, the application program 5 outputs an addition request including the record to be added and its relative record number. This addition request is accepted by the control means 2 and passed to the record addition means 13.

【0036】レコード追加手段13は、制御手段2から
追加要求が渡されると、図6の流れ図に示すように、レ
コード管理情報領域41中の、追加するレコードの相対
レコード番号と対応するエントリの内容を取得する (ス
テップS31)。尚、追加するレコードの相対レコード
番号と対応するエントリがレコード管理情報領域41に
存在しない場合は、レコード追加手段13は、アプリケ
ーションプログラム5にエラー通知を行ない、その処理
を終了する。その後、レコード追加手段13は、上記エ
ントリに設定されているレコード有効フラグが有効にな
っているか否かを判断する (ステップS32)。
When the addition request is passed from the control means 2, the record adding means 13, as shown in the flow chart of FIG. 6, stores the contents of the entry corresponding to the relative record number of the record to be added in the record management information area 41. Is acquired (step S31). If an entry corresponding to the relative record number of the record to be added does not exist in the record management information area 41, the record adding unit 13 notifies the application program 5 of an error, and ends the processing. Thereafter, the record adding unit 13 determines whether or not the record valid flag set in the entry is valid (step S32).

【0037】そして、上記エントリ中のレコード有効フ
ラグが有効になっていると判断した場合 (ステップS3
2がYES)は、レコード追加手段13は、制御手段2
を介してアプリケーションプログラム5に対してエラー
通知を行なう (ステップS41)。
If it is determined that the record valid flag in the entry is valid (step S3)
2 is YES), the record adding means 13
An error notification is sent to the application program 5 via (step S41).

【0038】また、レコード有効フラグが有効になって
いない場合は、ステップS33に於いてレコード実体格
納領域42の空きのレコード格納域を検索する。この空
きのレコード格納域の検索では、先ず、追加するレコー
ドの相対レコード番号と対応するレコード管理情報領域
のエントリのレコード有効フラグに注目し、無効になっ
ている時は、そのエントリに設定されている位置情報に
よって示されるレコード格納域を空きのレコード格納域
の検索結果とする。また、レコード有効フラグがNUL
Lの時は未使用のレコード格納域を検索するが、存在し
ない場合もあるため、未使用のレコード格納域の検索の
過程で、レコード有効フラグが無効を示しているエント
リが見つかれば、そのエントリに設定されている位置情
報を仮の検索結果として保管しておき、未使用のレコー
ド格納域が見つからなかった時はその仮の検索結果が示
すレコード格納域を空きのレコード格納域とするもので
ある。尚、ステップS33の処理についでは、後に図7
を用いて詳細に説明する。
If the record valid flag is not valid, an empty record storage area in the record substance storage area 42 is searched in step S33. In the search for the empty record storage area, first, the relative record number of the record to be added and the record valid flag of the entry in the record management information area corresponding to the relative record number are noted. The record storage area indicated by the position information is used as a search result of the empty record storage area. If the record valid flag is NULL
In the case of L, an unused record storage area is searched, but it may not exist. In the process of searching for an unused record storage area, if an entry whose record valid flag indicates invalid is found, the entry is searched for. Is stored as a temporary search result, and when no unused record storage area is found, the record storage area indicated by the temporary search result is used as an empty record storage area. is there. Note that the processing in step S33 will be described later with reference to FIG.
This will be described in detail with reference to FIG.

【0039】空きのレコード格納域の検索が終了する
と、次に、ステップS34に於いて、空きのレコード格
納域の検索が成功したか否かを判断し、空きのレコード
格納域を見つけられなかった場合は、アプリケーション
プログラム5に対してエラー通知を行なう (ステップS
41)。
When the search for the empty record storage area is completed, it is next determined in step S34 whether or not the search for the empty record storage area was successful, and no empty record storage area was found. In this case, an error notification is sent to the application program 5 (step S
41).

【0040】また、空きのレコード格納域が見つかった
場合は、そのレコード格納域がステップS33に於いて
仮の検索結果として保管しておいた位置情報によって示
されるレコード格納域なのかを判断する (ステップS3
5)。そして、仮の検索結果として保管しておいた位置
情報によって示されるレコード格納域であると判断した
場合は、探し出したレコード格納域に今回追加するレコ
ードを格納した後 (ステップS38)、レコード管理情
報領域41中の追加したレコードの相対レコード番号と
対応するエントリに、有効を示すレコード有効フラグを
設定すると共に、レコードを格納したレコード格納域の
位置情報を設定し (ステップS39)、更に、レコード
の追加前に上記レコード格納域に格納されていたレコー
ドの相対番号と対応するレコード管理情報領域41中の
エントリにレコード有効フラグ,位置情報としてNUL
Lを設定する (ステップS40)。
If an empty record storage area is found, it is determined whether the record storage area is the record storage area indicated by the position information stored as the provisional search result in step S33 ( Step S3
5). If it is determined that the record storage area is indicated by the position information stored as the provisional search result, the record to be added this time is stored in the found record storage area (step S38), and the record management information is stored. A record valid flag indicating validity is set in the entry corresponding to the relative record number of the added record in the area 41, and the position information of the record storage area storing the record is set (step S39). An entry in the record management information area 41 corresponding to the relative number of the record stored in the record storage area before the addition has a record valid flag and NULL as position information.
L is set (step S40).

【0041】また、空きのレコード格納域が、追加する
レコードの相対レコード番号と対応するエントリに設定
されている位置情報が示すレコード格納域か、或いは、
未使用のレコード格納域であった場合 (ステップS35
がNO)は、探しだしたレコード格納域に追加すべきレ
コードを格納した後 (ステップS36)、レコード管理
情報領域41中の追加したレコードの相対レコード番号
と対応するエントリに、有効を示すレコード有効フラグ
を設定すると共に、レコードを格納したレコード格納域
の位置情報を設定する (ステップS37)。
The empty record storage area is the record storage area indicated by the position information set in the entry corresponding to the relative record number of the record to be added, or
If it is an unused record storage area (step S35
Is NO), after the record to be added is stored in the found record storage area (step S36), the record validity indicating validity is added to the entry corresponding to the relative record number of the added record in the record management information area 41. The flag is set, and the position information of the record storage area storing the record is set (step S37).

【0042】図7は図6のステップS33の詳細な処理
例を示す流れ図であり、以下図7を参照して空きレコー
ド格納域の検索方法の一例を詳しく説明する。
FIG. 7 is a flowchart showing a detailed processing example of step S33 in FIG. 6. An example of a method for searching for an empty record storage area will be described below in detail with reference to FIG.

【0043】レコード追加手段13は、レコード実体格
納領域42から空きのレコード格納域を検索する場合、
先ず、追加すべきレコードの相対レコード番号に対応す
るレコード管理情報領域41中のエントリに設定されて
いるレコード有効フラグが無効であるか、NULLであ
るかを判断する (ステップS51)。そして、無効であ
ると判断した場合 (ステップS51がYES)は、その
レコード有効フラグが設定されているエントリ中の位置
情報によって示されるレコード格納域を検索結果とし
(ステップS52)、その後、図6のステップS34の
処理を行なう。また、NULLであると判断した場合
(ステップS51がNO)は、レコード実体格納領域4
2の何番目のレコード格納域であるのかを示す変数kの
値を、レコード実体格納領域42中の最後のレコード格
納域を示す値にし (ステップS53)、その後、最後の
レコード格納域の位置情報がレコード管理情報領域41
に設定されているかを調べる (ステップS54)。
When retrieving an empty record storage area from the record substance storage area 42,
First, it is determined whether the record valid flag set in the entry in the record management information area 41 corresponding to the relative record number of the record to be added is invalid or NULL (step S51). If it is determined that the record is invalid (YES in step S51), the record storage area indicated by the position information in the entry for which the record valid flag is set is set as the search result.
(Step S52) Then, the process of Step S34 of FIG. 6 is performed. Also, when it is determined to be NULL
(NO in step S51) is the record entity storage area 4
The value of the variable k indicating the 2nd record storage area is set to a value indicating the last record storage area in the record substance storage area 42 (step S53), and then the position information of the last record storage area is set. Is the record management information area 41
Is checked (step S54).

【0044】そして、設定されていない場合 (ステップ
S55がNO)は、第k番目のレコード格納域は未使用
のレコード格納域であるので、第k番目のレコード格納
域の位置情報を検索結果とし (ステップS62)、その
後、図6のステップS34の処理を行なう。
If it is not set (NO in step S55), since the k-th record storage area is an unused record storage area, the position information of the k-th record storage area is used as a search result. (Step S62) Then, the process of step S34 of FIG. 6 is performed.

【0045】また、設定されている場合 (ステップS5
5がYES)は、既に仮の検索結果を求めているか否か
を判断する (ステップS56)。そして、求めていない
と判断した場合は、上記第k番目のレコード格納域の位
置情報が設定されているレコード管理情報領域41中の
エントリに設定されているレコード有効フラグが、無効
であるのか、有効であるのかを判断する (ステップS5
7)。
If it has been set (step S5)
5 is YES), it is determined whether or not a provisional search result has already been obtained (step S56). If it is determined that the record validity flag set in the entry in the record management information area 41 in which the position information of the k-th record storage area is set is invalid, Judge whether it is valid (step S5
7).

【0046】そして、無効であると判断した場合 (ステ
ップS57がYES)は、第k番目のレコード格納域の
位置情報を仮の検索結果とし (ステップS58)、その
後、処理対象を第(k−1)番目のレコード格納域に変
更し (ステップS59)、前述したと同様の処理を行な
う。また、ステップS56で既に仮の検索結果を求めて
いると判断した場合及びステップS57でレコード有効
フラグが有効であると判断した場合も、処理対象を第
(k−1)番目のレコード格納域に変更し (ステップS
59)、前述したと同様の処理を行なう。
If it is determined that the record is invalid (YES in step S57), the position information of the k-th record storage area is set as a provisional search result (step S58). Change to the 1) th record storage area (step S59), and perform the same processing as described above. Also, when it is determined in step S56 that a provisional search result has already been obtained, and when it is determined in step S57 that the record valid flag is valid, the processing target is stored in the (k-1) th record storage area. Change (Step S
59), the same processing as described above is performed.

【0047】そして、レコード実体格納領域42の先頭
のレコード格納域(第1番目のレコード格納域)まで処
理を行なっても未使用のレコード格納域を探し出せなか
った場合 (ステップS60がYES)は、仮の検索結果
を検索結果とし (ステップS61)、その後、図6のス
テップS34の処理を行なう。
If an unused record storage area cannot be found even after processing up to the first record storage area (first record storage area) of the record substance storage area 42 (YES in step S60), The provisional search result is set as the search result (step S61), and then the process of step S34 in FIG. 6 is performed.

【0048】次に、レコード実体格納領域42に格納さ
れているレコードを削除する場合の動作を説明する。レ
コード実体格納領域42に格納されているレコードを削
除する場合、アプリケーションプログラム5は、削除す
るレコードの相対レコード番号を指定した削除要求を出
力する。この削除要求は、制御手段2を介してレコード
削除手段14に渡される。
Next, the operation for deleting a record stored in the record entity storage area 42 will be described. When deleting a record stored in the record entity storage area 42, the application program 5 outputs a deletion request specifying the relative record number of the record to be deleted. This deletion request is passed to the record deletion unit 14 via the control unit 2.

【0049】削除要求が渡されると、レコード削除手段
14は、図8の流れ図に示すように、レコード管理情報
領域41中の、削除要求によって指定された相対レコー
ド番号と対応するエントリの内容を取得する (ステップ
S71)。尚、指定された相対レコード番号と対応する
エントリがレコード管理情報領域41に存在しない場合
は、レコード削除手段14は、アプリケーションプログ
ラム5にエラー通知を行なった後、その処理を終了す
る。その後、レコード削除手段14は、上記エントリに
設定されているレコード有効フラグが有効であるか否か
を判断する (ステップS72)。そして、上記エントリ
に設定されているレコード有効フラグが有効であると判
断した場合 (ステップS72がYES)は、レコード有
効フラグを無効にする (ステップS73)。また、有効
でないと判断した場合、即ち無効或いはNULLである
と判断した場合は、制御手段2を介してアプリケーショ
ンプログラム5にエラー通知を行なう (ステップS7
4)。
When the deletion request is passed, the record deletion means 14 acquires the contents of the entry corresponding to the relative record number designated by the deletion request in the record management information area 41 as shown in the flowchart of FIG. Yes (step S71). If the entry corresponding to the specified relative record number does not exist in the record management information area 41, the record deletion unit 14 notifies the application program 5 of an error, and ends the processing. Thereafter, the record deletion unit 14 determines whether the record valid flag set in the entry is valid (step S72). If it is determined that the record valid flag set in the entry is valid (YES in step S72), the record valid flag is invalidated (step S73). If it is determined that it is not valid, that is, if it is invalid or NULL, an error notification is sent to the application program 5 via the control means 2 (step S7).
4).

【0050】次に、レコード削除手段14によって削除
されたレコードを復旧する場合の動作を説明する。レコ
ード削除手段14によって削除されたレコードを復旧す
る場合、アプリケーションプログラム5は、復旧するレ
コードのレコード相対番号を指示した復旧要求を出力す
る。この復旧要求は、制御手段2を介してレコード復旧
手段15に渡される。
Next, the operation for recovering a record deleted by the record deletion means 14 will be described. When restoring a record deleted by the record deletion means 14, the application program 5 outputs a restoration request indicating the record relative number of the record to be restored. This restoration request is passed to the record restoration unit 15 via the control unit 2.

【0051】レコード復旧手段15は、復旧要求が渡さ
れると、図9の流れ図に示すように、レコード実体格納
領域42中の、復旧要求によって指定された相対レコー
ド番号と対応するエントリの内容を取得する (ステップ
S81)。尚、指定された相対レコード番号と対応する
エントリがレコード管理情報領域41に存在しない場合
は、レコード復旧手段15は、アプリケーションプログ
ラム5にエラー通知を行なった後、その処理を終了す
る。その後、レコード復旧手段15は、上記エントリに
設定されているレコード有効フラグが無効であるか否か
を判断する (ステップS82)。
Upon receiving the restoration request, the record restoration means 15 acquires the contents of the entry corresponding to the relative record number designated by the restoration request in the record substance storage area 42 as shown in the flow chart of FIG. Yes (step S81). If the entry corresponding to the specified relative record number does not exist in the record management information area 41, the record recovery unit 15 notifies the application program 5 of an error, and ends the processing. Thereafter, the record restoration unit 15 determines whether the record valid flag set in the entry is invalid (Step S82).

【0052】そして、上記エントリに設定されているレ
コード有効フラグが無効であると判断した場合 (ステッ
プS82がYES)は、そのレコード有効フラグを有効
にする (ステップS83)。また、上記エントリに設定
されているレコード有効フラグが無効でないと判断した
場合、即ち、有効或いはNULLと判断した場合 (ステ
ップS82がNO)は、制御手段2を介してアプリケー
ションプログラム5にエラー通知を行なう (ステップS
84)。
If it is determined that the record valid flag set in the entry is invalid (YES in step S82), the record valid flag is validated (step S83). If it is determined that the record valid flag set in the entry is not invalid, that is, if it is valid or NULL (NO in step S82), an error notification is sent to the application program 5 via the control means 2. Perform (Step S
84).

【0053】次に本発明の他の実施例について説明す
る。図10は本発明の他の実施例のブロック図であり、
図1の実施例の構成に派生ファイル操作部6を付加する
ことにより、レコード実体格納領域42に格納されてい
るレコードの内の、特定のフィールドの内容が特定の条
件を満たしているレコードを高速に参照できるようにし
たものである。尚、図10に於いて、図1と同一符号は
同一部分を表している。
Next, another embodiment of the present invention will be described. FIG. 10 is a block diagram of another embodiment of the present invention.
By adding the derived file operation unit 6 to the configuration of the embodiment of FIG. 1, among records stored in the record entity storage area 42, records whose specific fields satisfy specific conditions can be processed at high speed. This can be referred to. In FIG. 10, the same reference numerals as those in FIG. 1 denote the same parts.

【0054】派生ファイル操作部6は、新規レコード管
理情報領域作成手段61と、レコード参照手段62と、
レコード削除手段63と、レコード復旧手段64とから
構成されている。
The derived file operation unit 6 includes a new record management information area creation unit 61, a record reference unit 62,
It comprises a record deleting means 63 and a record restoring means 64.

【0055】新規レコード管理情報領域作成手段61
は、磁気ディスク装置4上に新規レコード管理情報領域
43を作成する機能を有する。
New record management information area creating means 61
Has a function of creating a new record management information area 43 on the magnetic disk device 4.

【0056】新規レコード管理情報領域43は、レコー
ド管理情報領域41と同数のエントリを有し、各エント
リは相対レコード番号431と1対1に対応している。
また、各エントリにはレコード有効フラグ432と、位
置情報433とが設定される。レコード有効フラグ43
2は、それが設定されているエントリと対応する相対レ
コード番号のレコードが有効であるのか、無効であるの
かを示し、位置情報433はそれが設定されているエン
トリと対応する相対レコード番号のレコードのレコード
実体格納領域42に於ける格納位置を示す。
The new record management information area 43 has the same number of entries as the record management information area 41, and each entry has a one-to-one correspondence with the relative record number 431.
In each entry, a record valid flag 432 and position information 433 are set. Record valid flag 43
2 indicates whether the record of the relative record number corresponding to the entry in which it is set is valid or invalid, and the position information 433 indicates the record of the relative record number corresponding to the entry in which it is set. Indicates the storage position in the record entity storage area 42.

【0057】レコード参照手段62は、新規レコード管
理情報領域43を利用して、レコード実体格納領域42
に格納されているレコードの内の、特定のフィールドの
内容が特定の条件を満たしているレコードを全て参照す
る機能を有する。レコード削除手段63は、削除すべき
レコードの相対レコード番号と対応する、新規レコード
管理情報領域43中のエントリに無効を示すレコード有
効フラグを設定する機能を有する。レコード復旧手段6
4は、復旧すべきレコードの相対レコード番号と対応す
る、新規レコード管理情報領域43中のエントリに有効
を示すレコード有効フラグを設定する機能を有する。
The record reference means 62 uses the new record management information area 43 to store the record entity storage area 42
Has a function of referring to all the records in which the content of a specific field satisfies a specific condition among the records stored in. The record deletion unit 63 has a function of setting a record valid flag indicating invalidity in an entry in the new record management information area 43 corresponding to the relative record number of the record to be deleted. Record recovery means 6
Reference numeral 4 has a function of setting a record valid flag indicating validity in an entry in the new record management information area 43 corresponding to the relative record number of the record to be restored.

【0058】図11は新規レコード管理情報領域作成手
段61の処理例を示す流れ図、図12はレコード参照手
段62の処理例を示す流れ図であり、以下各図を参照し
て本実施例の動作を説明する。
FIG. 11 is a flow chart showing a processing example of the new record management information area creating means 61, and FIG. 12 is a flow chart showing a processing example of the record reference means 62. The operation of this embodiment will be described below with reference to the drawings. explain.

【0059】レコード管理情報領域41,レコード実体
格納領域42から構成されるファイル領域の作成、レコ
ード管理情報領域41を利用したレコードの参照,更
新,追加,削除,復旧は、ファイル操作部1により前述
したと同様に行なわれる。
The creation of a file area composed of the record management information area 41 and the record substance storage area 42, and reference, update, addition, deletion, and restoration of records using the record management information area 41 are performed by the file operation unit 1 as described above. Performed in the same way as

【0060】また、レコード実体格納領域42に格納さ
れているレコードの内の、特定のフィールドの内容が特
定の条件を満たしているレコードの参照を高速に行なえ
るようにするための新規レコード管理情報領域43の作
成は、次のようにして行なわれる。アプリケーションプ
ログラム5は、新規レコード管理情報領域43の作成
時、レコードのフィールドの指定及び指定したフィール
ドの内容が満たすべき条件の指定を含む新規レコード管
理情報領域作成要求を出力する。例えば、レコード実体
格納領域42中のレコードが、販売月についてのフィー
ルドを有し、販売月が7月のレコードの参照を高速に行
なうための新規レコード管理情報領域43を作成するの
であれば、フィールドとして販売月についてのフィール
ドを指定し、条件として7月を指定した新規レコード管
理情報領域作成要求を出力する。この新規レコード管理
情報領域作成要求は制御手段2を介して新規レコード管
理情報領域作成手段61に渡される。
Also, new record management information for enabling a high-speed reference to a record whose contents of a specific field satisfy a specific condition among records stored in the record substance storage area 42. The creation of the area 43 is performed as follows. When creating the new record management information area 43, the application program 5 outputs a new record management information area creation request including the specification of the fields of the record and the specification of the conditions to be satisfied by the contents of the specified fields. For example, if the record in the record entity storage area 42 has a field for the sales month and creates a new record management information area 43 for quickly referring to the record for the sales month of July, the field And a field for the sales month is specified, and a new record management information area creation request specifying July as a condition is output. This new record management information area creation request is passed to the new record management information area creation means 61 via the control means 2.

【0061】新規レコード管理情報領域作成手段61
は、新規レコード管理情報領域作成要求が渡されると、
図11の流れ図に示すように、レコード管理情報領域4
1をコピーすることにより、新規レコード管理情報領域
43を作成し (ステップS91)、その後、新規レコー
ド管理情報領域の何番目のエントリなのかを示す変数m
の値を「1」にする (ステップS92)。
New record management information area creating means 61
When a new record management information area creation request is passed,
As shown in the flowchart of FIG. 11, the record management information area 4
1 to create a new record management information area 43 (step S91), and thereafter, a variable m indicating the number of the entry in the new record management information area.
Is set to "1" (step S92).

【0062】次いで、新規レコード管理情報領域作成手
段61は、新規レコード管理情報領域43の第1番目の
エントリの内容を取得し (ステップS93)、そのエン
トリに設定されているレコード有効フラグが有効である
か否かを判断する (ステップS94)。
Next, the new record management information area creating means 61 acquires the contents of the first entry of the new record management information area 43 (step S93), and the record valid flag set in the entry is valid. It is determined whether or not there is (step S94).

【0063】そして、有効であると判断した場合は (ス
テップS94がYES)は、そのエントリに設定されて
いる位置情報によって示されるレコード実体格納領域4
2中のレコード格納域に格納されているレコードを取得
し (ステップS95)、取得したレコードが新規レコー
ド管理情報領域作成要求によって指定された条件を満た
すレコードであるか否かを判断する (ステップS9
6)。
If it is determined that the entry is valid (YES in step S94), the record entity storage area 4 indicated by the position information set in the entry is set.
2 is obtained (step S95), and it is determined whether the obtained record satisfies the condition specified by the new record management information area creation request (step S9).
6).

【0064】そして、条件を満たすレコードであると判
断した場合 (ステップS96がYES)は、新規レコー
ド管理情報領域43中の第2番目のエントリの内容を取
得した後 (ステップS98,S93)、前述したと同様
の処理を行なう。
If it is determined that the record satisfies the condition (YES in step S96), the contents of the second entry in the new record management information area 43 are obtained (steps S98 and S93). The same processing is performed.

【0065】また、ステップS94で新規レコード管理
情報領域43中の第1番目のエントリに設定されている
レコード有効フラグが無効またはNULLであると判断
した場合及びステップS96で新規レコード管理情報領
域43中の第1番目のエントリに設定されている位置情
報によって示されるレコード実体格納領域42中のレコ
ード格納域に格納されているレコードが新規レコード管
理情報領域作成要求によって指定された条件を満たして
いないと判断した場合は、新規レコード管理情報領域4
3の第1番目のエントリを初期化してその内容をNUL
Lにした後 (ステップS97)、新規レコード管理情報
領域43中の第2番目のエントリの内容を取得し (ステ
ップS98,S93)、前述したと同様の処理を行な
う。以上の処理を新規レコード管理情報領域作成手段6
1は、mの値が最大エントリ数を越えるまで (ステップ
S99がYESとなるまで)、繰り返し行なう。
When it is determined in step S94 that the record valid flag set in the first entry in the new record management information area 43 is invalid or NULL, and in step S96, the new record management information area 43 If the record stored in the record storage area in the record entity storage area 42 indicated by the position information set in the first entry of the first record does not satisfy the condition specified by the new record management information area creation request If it is determined, the new record management information area 4
3 is initialized and its contents are NULL
After setting L (step S97), the contents of the second entry in the new record management information area 43 are obtained (steps S98 and S93), and the same processing as described above is performed. The above processing is performed by the new record management information area creating means 6
Step 1 is repeated until the value of m exceeds the maximum number of entries (until step S99 becomes YES).

【0066】これにより、新規レコード管理情報領域作
成要求によって指定されたフィールドの内容が指定され
た条件を満たしているレコードの相対レコード番号と対
応するエントリのみに、レコードの位置情報及び有効を
示すレコード有効フラグが設定され、それ以外のエント
リにはNULLが設定された新規レコード管理情報領域
43を作成することができる。例えば、レコード管理情
報領域41,レコード実体格納領域42の内容が図13
に示すものであり、新規レコード管理情報領域作成要求
が、販売月のフィールドを指定し、且つそのフィールド
の内容の条件として7月を指定したものであれば、新規
レコード管理情報領域43の内容は同図に示すものとな
る。即ち、販売月が7月のレコードの相対レコード番号
に対応するエントリのみに、レコードの位置情報及び有
効を示すレコード有効フラグが設定され、それ以外のエ
ントリにNULLが設定されたものとなる。
As a result, only the entry corresponding to the relative record number of the record in which the contents of the field specified by the new record management information area creation request satisfies the specified condition is included in the record indicating the record position information and validity. A new record management information area 43 in which a valid flag is set and NULL is set in other entries can be created. For example, the contents of the record management information area 41 and the record entity storage area 42 are shown in FIG.
If the request for creating a new record management information area specifies the field of the sales month and specifies July as a condition of the contents of the field, the contents of the new record management information area 43 are This is shown in FIG. That is, only the entry corresponding to the relative record number of the record in which the sales month is July has the record validity flag indicating the record position information and validity, and NULL is set in the other entries.

【0067】次に、新規レコード管理情報領域43を利
用してレコードを参照する場合の動作を説明する。アプ
リケーションプログラム5は、新規レコード管理情報領
域43を利用してレコードを参照する場合、新規レコー
ド管理情報領域43の指定を含む参照要求を出力する。
この参照要求は、制御手段2を介してレコード参照手段
62に渡される。
Next, the operation of referring to a record using the new record management information area 43 will be described. When referring to a record using the new record management information area 43, the application program 5 outputs a reference request including designation of the new record management information area 43.
This reference request is passed to the record reference means 62 via the control means 2.

【0068】レコード参照手段62は、新規レコード管
理情報領域43の指定を含む参照要求が渡されると、図
12の流れ図に示すように、新規レコード管理情報領域
43の何番目のエントリなのかを示す変数nの値を
「1」にし (ステップS101)、次いで、新規レコー
ド管理情報領域43の第1番目のエントリの内容を取得
する (ステップS102)。
When the reference request including the designation of the new record management information area 43 is passed, the record referring means 62 indicates the order of the entry in the new record management information area 43 as shown in the flowchart of FIG. The value of the variable n is set to "1" (step S101), and the contents of the first entry of the new record management information area 43 are obtained (step S102).

【0069】その後、レコード参照手段62は、第1番
目のエントリに設定されているレコード有効フラグが有
効であるか否かを判断する (ステップS104)。そし
て、有効でないと判断した場合 (ステップS104がN
O)は、新規レコード管理情報領域の第2番目のエント
リの内容を取得し (ステップS106,S102)、前
述したと同様の処理を行なう。また、有効であると判断
した場合 (ステップS104がYES)は、新規レコー
ド管理情報領域43の第1番目のエントリに設定されて
いる位置情報が示すレコード実体格納領域42中のレコ
ード格納域に格納されているレコードを、制御手段2を
介してアプリケーションプログラム5に渡し (ステップ
S105)、その後、新規レコード管理情報領域43の
第2番目のエントリの内容を取得し (ステップS10
6,S102)、前述したと同様の処理を行なう。
Thereafter, the record referring means 62 determines whether or not the record valid flag set in the first entry is valid (step S104). Then, when it is determined that it is not valid (step S104 is N
O) acquires the contents of the second entry in the new record management information area (steps S106 and S102), and performs the same processing as described above. If it is determined that the new record management information area 43 is valid (YES in step S104), the new record management information area 43 is stored in the record storage area of the record entity storage area 42 indicated by the position information set in the first entry. The passed record is passed to the application program 5 via the control means 2 (step S105), and then the contents of the second entry of the new record management information area 43 are obtained (step S10).
6, S102), the same processing as described above is performed.

【0070】レコード参照手段62は、以上の処理を繰
り返し行ない、新規レコード管理情報領域43の最後の
エントリについての処理が終了すると (ステップS10
3がYES)、その処理を終了する。
The record referring means 62 repeats the above processing, and when the processing for the last entry in the new record management information area 43 is completed (step S10).
3 is YES), and the processing is ended.

【0071】このように、新規レコード管理情報領域4
3を利用してレコード実体格納領域42に格納されてい
るレコードを参照することにより、アプリケーションプ
ログラム5には、新規レコード管理情報領域43の作成
時に指定した条件を満たすレコードのみが渡されること
になるので、特定の条件を満たすレコードの参照を高速
に行なうことが可能になる。
As described above, the new record management information area 4
By referring to the record stored in the record entity storage area 42 by using No. 3, only the records that satisfy the conditions specified when the new record management information area 43 was created are passed to the application program 5. Therefore, it is possible to refer to a record satisfying a specific condition at a high speed.

【0072】次に、新規レコード管理情報領域43によ
って管理しているレコードを削除する場合の動作を説明
する。新規レコード管理情報領域43によって管理して
いるレコードを削除する場合、アプリケーションプログ
ラム5は、削除するレコードの相対レコード番号及び新
規レコード管理情報領域43を指定した削除要求を出力
する。
Next, the operation for deleting a record managed by the new record management information area 43 will be described. When deleting a record managed by the new record management information area 43, the application program 5 outputs a relative record number of the record to be deleted and a deletion request specifying the new record management information area 43.

【0073】この削除要求は制御手段2を介してレコー
ド削除手段63に渡され、レコード削除手段63は削除
要求が渡されると、図1に示したレコード削除手段14
と同様の処理を行ない、新規レコード管理情報領域43
中の指定された相対レコード番号と対応するエントリに
設定されているレコード有効フラグが有効であれば、そ
れを無効を示すものに変更し、無効或いはNULLであ
れば、アプリケーションプログラム5に対してエラー通
知を行なう。
This deletion request is passed to the record deletion means 63 via the control means 2, and when the deletion request is passed, the record deletion means 63 shown in FIG.
The same processing as that described above is performed, and the new record management information area 43 is executed.
If the record valid flag set in the entry corresponding to the specified relative record number is valid, it is changed to invalid, and if invalid or NULL, an error is issued to the application program 5. Make a notification.

【0074】次に新規レコード管理情報領域43によっ
て管理しているレコードの復旧を行なう場合の動作を説
明する。
Next, an operation for restoring a record managed by the new record management information area 43 will be described.

【0075】新規レコード管理情報領域43によって管
理しているレコードを復旧する場合、アプリケーション
プログラム5は、復旧するレコードの相対レコード番号
及び新規レコード管理情報領域43を指定した復旧要求
を出力する。
When restoring a record managed by the new record management information area 43, the application program 5 outputs a restoration request specifying the relative record number of the record to be restored and the new record management information area 43.

【0076】この復旧要求は、制御手段2を介してレコ
ード復旧手段64に渡され、レコード復旧手段64は復
旧要求が渡されると、図1に示したレコード復旧手段1
5と同様の処理を行ない、新規レコード管理情報領域4
3中の指定された相対レコード番号と対応するエントリ
に設定されているレコード有効フラグが無効であれば、
それを有効を示すものに変更し、有効或いはNULLで
あれば、アプリケーションプログラム5に対してエラー
通知を行なう。
This restoration request is passed to the record restoration means 64 via the control means 2, and when the restoration request is passed, the record restoration means 64 shown in FIG.
The same processing as in step 5 is performed, and the new record management information area 4
If the record valid flag set in the entry corresponding to the designated relative record number in 3 is invalid,
It is changed to a value indicating validity, and if valid or NULL, an error notification is sent to the application program 5.

【0077】尚、上述した実施例に於いては、新規レコ
ード管理情報領域43を1つしか作成しなかったが、目
的に応じて複数の新規レコード管理情報領域を作成する
ようにしても良い。
In the above-described embodiment, only one new record management information area 43 is created, but a plurality of new record management information areas may be created according to the purpose.

【0078】次に本発明のその他の実施例を説明する。
図14は本発明のその他の実施例のブロック図であり、
図1に示した実施例の構成に派生ファイル操作部7を付
加することによりレコード実体格納領域42に格納され
ているレコードを或るフィールドをキーにしてソートし
た時のソート結果を、レコード実体格納領域42に於け
るレコードの並びを変更せずとも、順次参照によって取
得できるようにしたものである。
Next, another embodiment of the present invention will be described.
FIG. 14 is a block diagram of another embodiment of the present invention.
By adding a derived file operation unit 7 to the configuration of the embodiment shown in FIG. 1, the result of sorting the records stored in the record entity storage area 42 using a certain field as a key is stored in the record entity storage. The arrangement is such that the records can be obtained sequentially by reference without changing the arrangement of records in the area 42.

【0079】派生ファイル操作部7は、順次参照用レコ
ード管理情報領域作成手段71と、レコード参照手段7
2とから構成されている。
The derived file operation unit 7 includes a record management information area creating unit 71 for sequentially referring to
And 2.

【0080】順次参照用レコード管理情報領域作成手段
71は、磁気ディスク装置4上に順次参照用レコード管
理情報領域44を作成する機能を有する。順次参照用レ
コード管理情報領域44は、レコード実体格納領域42
のレコード格納域に格納されているレコードの内の、レ
コード有効フラグが有効になっているレコードの数と同
じ数のエントリを有し、各エントリにはレコード実体格
納領域42中のレコード格納域の位置情報が格納され
る。レコード参照手段72は、順次参照用レコード管理
情報領域44を使用してレコードを参照する機能を有す
る。
The sequential reference record management information area creation means 71 has a function of sequentially creating the reference record management information area 44 on the magnetic disk device 4. The record management information area for sequential reference 44 includes a record entity storage area 42.
Has the same number of entries as the number of records for which the record valid flag is valid among the records stored in the record storage area, and each entry has a record storage area in the record substance storage area 42. Position information is stored. The record reference means 72 has a function of referring to records using the record management information area for sequential reference 44.

【0081】図15は順次参照用レコード管理情報領域
作成手段71の処理例を示す流れ図、図16はレコード
参照手段72の処理例を示す流れ図であり、以下各図を
参照して本実施例の動作を説明する。
FIG. 15 is a flow chart showing an example of processing of the record management information area for sequential reference means 71, and FIG. 16 is a flow chart showing an example of processing of the record reference means 72. The operation will be described.

【0082】レコード管理情報領域41,レコード実体
格納領域42の作成,レコード管理情報領域41を利用
したレコードの参照,更新,追加,削除,復旧は、前述
したと同様に、ファイル操作部1によって行なわれる。
The creation of the record management information area 41 and the record entity storage area 42, and reference, update, addition, deletion, and restoration of records using the record management information area 41 are performed by the file operation unit 1 as described above. It is.

【0083】また、レコード実体格納領域42に格納さ
れているレコードを或るフィールドをキーにしてソート
した時のソート結果を、順次参照によって取得できるよ
うにするための順次参照用レコード管理情報領域44の
作成は、次のようにして行なう。
Further, a record management information area 44 for sequentially referring to a record stored in the record substance storage area 42 so that the result of sorting the records by using a certain field as a key can be obtained by sequential reference. Is created as follows.

【0084】アプリケーションプログラム5は、順次参
照用レコード管理情報領域44の作成時、ソート時にキ
ーとするフィールド及びソート種別(昇順,降順)を指
定した順次参照用レコード管理情報領域作成要求を出力
する。この順次参照用レコード管理情報領域作成要求
は、制御手段2を介して順次参照用レコード管理情報領
域作成手段71に渡される。
When creating the sequential reference record management information area 44, the application program 5 outputs a sequential reference record management information area creation request specifying a field to be used as a key at the time of sorting and a sort type (ascending or descending order). This sequential reference record management information area creation request is passed to the sequential reference record management information area creation means 71 via the control means 2.

【0085】順次参照用レコード管理情報領域作成手段
71は、順次参照用レコード管理情報領域作成要求が渡
されると、図15の流れ図に示すように、先ず、レコー
ド管理情報領域41中の何番目のエントリなのかを示す
変数pの値を「1」にする (ステップS111)。その
後、順次参照用レコード管理情報領域作成手段71は、
レコード管理情報領域41の第1番目のエントリの内容
を取得し (ステップS112)、そのエントリに設定さ
れているレコード有効フラグが有効であるか否かを判断
する (ステップS114)。
When the sequential reference record management information area creation request is passed, the sequential reference record management information area creation means 71 first determines what number in the record management information area 41 as shown in the flowchart of FIG. The value of a variable p indicating whether the entry is an entry is set to "1" (step S111). After that, the sequential record management information area creating means 71
The contents of the first entry in the record management information area 41 are acquired (step S112), and it is determined whether or not the record valid flag set in the entry is valid (step S114).

【0086】そして、レコード有効フラグが有効でない
と判断した場合 (ステップS114がNO)は、レコー
ド管理情報領域41中の第2番目のエントリの内容を読
み込み (ステップS116,S112)、前述したと同
様の処理を行なう。また、レコード有効フラグが有効で
あると判断した場合 (ステップS114がYES)は、
第1番目のエントリに設定されている位置情報と、その
位置情報によって示されるレコード実体格納領域42中
のレコード格納域に格納されているレコードとを1レコ
ードとして、順次参照用レコード管理情報領域作成手段
71の内部に設けられているワークメモリ(図示せず)
に格納し、その後、レコード管理情報領域41中の第2
番目のエントリの内容を取得し (ステップS114,S
115,S116,S112)、前述したと同様の処理
を行なう。
If it is determined that the record valid flag is not valid (NO in step S114), the contents of the second entry in the record management information area 41 are read (steps S116 and S112), and the same as described above. Is performed. If it is determined that the record valid flag is valid (YES in step S114),
Creating the record management information area for reference sequentially with the position information set in the first entry and the record stored in the record storage area in the record substance storage area 42 indicated by the position information as one record Work memory (not shown) provided inside the means 71
In the record management information area 41.
The content of the entry is acquired (steps S114, S
115, S116, S112), the same processing as described above is performed.

【0087】レコード管理情報領域41の最後のエント
リまで、上記した処理を行なうと (ステップS113が
YES)、順次参照用レコード管理情報領域作成手段7
1は、ワークメモリに格納してあるレコードを、順次参
照用レコード管理情報領域作成要求によって指定された
フィールドをキーにして指定されたソート種別でソート
する (ステップS117)。
When the above-described processing is performed up to the last entry of the record management information area 41 (YES in step S113), the reference record management information area creating means 7 is sequentially read.
In step S117, the records stored in the work memory are sequentially sorted by the specified sort type using the fields specified by the reference record management information area creation request as keys.

【0088】その後、順次参照用レコード管理情報領域
作成手段71は、磁気ディスク装置4上に、ワークメモ
リに格納されているレコード数とエントリ数が同数の順
次参照用レコード管理情報領域44を確保し (ステップ
S118)、次いで、ソート後の何番目のレコードかを
示す変数qの値を「1」とし (ステップS119)、ソ
ート後の第1番目のレコードを取得する (ステップS1
20)。
Thereafter, the sequential reference record management information area creating means 71 secures the sequential reference record management information area 44 on the magnetic disk device 4 in which the number of records and the number of entries stored in the work memory are the same. (Step S118) Then, the value of the variable q indicating the numbered record after sorting is set to “1” (Step S119), and the first record after sorting is obtained (Step S1).
20).

【0089】ソート後の第1番目のレコードを取得する
と、順次参照用レコード管理情報領域作成手段71は、
そのレコード中の位置情報を順次参照用レコード管理情
報領域44の第1番目のエントリに設定し (ステップS
122)、その後、ソート後の第2番目のレコードを取
得し (ステップS123,S120)、前述したと同様
の処理を行なう。
When the first record after the sorting is acquired, the record management information area for sequential reference unit 71
The position information in the record is sequentially set in the first entry of the reference record management information area 44 (step S
122) Then, the second record after the sorting is obtained (steps S123 and S120), and the same processing as described above is performed.

【0090】そして、ソート後の最後のレコードまで前
述した処理を行なうと (ステップS121がYES)、
順次参照用レコード管理情報領域作成手段71はその処
理を終了する。
When the above-described processing is performed up to the last record after sorting (YES in step S121),
The sequential reference record management information area creating means 71 ends the processing.

【0091】今、例えば、図17に示すように、レコー
ド実体格納領域42の第1番目〜第5番目のレコード格
納域のみにレコードが格納されている場合に於いて、ア
プリケーションプログラム5からフィールドとしてフィ
ールド42−aを指定し、ソート種別として昇順を指定
した順次参照用レコード管理情報領域作成要求が出力さ
れたとすると、順次参照用レコード管理情報領域作成手
段71によって同図に示す順次参照用レコード管理情報
領域44が作成されることになる。
Now, for example, as shown in FIG. 17, in the case where records are stored only in the first to fifth record storage areas of the record substance storage area 42, the Assuming that a field 42-a is designated and a sequential reference record management information area creation request in which ascending order is designated as a sort type is output, the sequential reference record management information area creation means 71 shown in FIG. An information area 44 is created.

【0092】次に、フィールド42−aをキーにしてレ
コードを昇順にソートした時のソート結果を参照する時
の動作を説明する。この場合、アプリケーションプログ
ラム5は、順次参照用レコード管理情報領域44を指定
した参照要求を出力する。順次参照用レコード管理情報
領域44を指定した参照要求は、制御手段2で受け付け
られ、レコード参照手段72に渡される。
Next, the operation of referring to the sorting result when the records are sorted in ascending order using the field 42-a as a key will be described. In this case, the application program 5 sequentially outputs a reference request designating the reference record management information area 44. The reference request designating the record management information area for sequential reference 44 is accepted by the control means 2 and passed to the record reference means 72.

【0093】レコード参照手段72は、参照要求が渡さ
れると、図16の流れ図に示すように、順次参照用レコ
ード管理情報領域44の何番目のエントリなのかを示す
変数rの値を「1」にする (ステップS131)。次い
で、レコード参照手段72は、順次参照用レコード管理
情報領域44の第1番目のエントリの内容を取得し (ス
テップS132)、そのエントリに設定されている位置
情報によって示されるレコード格納域に格納されている
レコードをアプリケーションプログラム5に渡す (ステ
ップS134)。その後、レコード参照手段72は、順
次参照用レコード管理情報領域44の第2番目のエント
リの内容を取得し (ステップS135,S132)、前
述したと同様の処理を行なう。そして、順次参照用レコ
ード管理情報領域44の最後のエントリについての処理
が終了すると (ステップS133)、レコード参照手段
72はその処理を終了する。
When the reference request is passed, the record reference means 72 sets the value of the variable r indicating the order of the entry in the record management information area for reference 44 to "1" as shown in the flowchart of FIG. (Step S131). Next, the record referring means 72 sequentially acquires the contents of the first entry in the record management information area for reference 44 (step S132), and stores the contents in the record storage area indicated by the position information set in the entry. The passed record is passed to the application program 5 (step S134). Thereafter, the record referring means 72 sequentially acquires the contents of the second entry in the record management information area for reference 44 (steps S135, S132), and performs the same processing as described above. Then, when the processing for the last entry in the record management information area for sequential reference 44 ends (step S133), the record referring means 72 ends the processing.

【0094】尚、前述した実施例に於いては、順次参照
用レコード管理情報領域44を1つしか作成しなかった
が、目的に応じた順次参照用レコード管理情報領域を複
数作成するようにしても良いことは勿論である。
In the above-described embodiment, only one record management information area for sequential reference 44 is created, but a plurality of record management information areas for sequential reference according to the purpose are created. Of course, it is also good.

【0095】[0095]

【発明の効果】以上説明したように本発明は、最大相対
レコード番号数分のエントリを有し、各エントリにその
エントリの相対番号に対応するレコードが格納されてい
るレコード実体格納領域中のレコード格納域の位置情報
が設定されるレコード管理情報領域を備え、レコード管
理情報領域を利用してレコードの参照,更新,追加を行
なうので、最大格納レコード数が最大相対レコード番号
よりも小さい場合、レコードを実際に格納するレコード
管理情報領域のレコード格納域の数を最大相対レコード
番号より少なくすることができ、この結果、ファイルを
作成する記憶媒体の使用効率を高いものにすることがで
きる効果がある。また、特定のレコードのアクセス時、
レコード管理情報領域のみを検索するだけであるので、
2回の検索が必要であった索引順編成ファイルに比較し
てアクセス速度を高速化できる効果もある。
As described above, according to the present invention, the records in the record entity storage area having the maximum number of relative record numbers and each entry storing the record corresponding to the relative number of the entry are stored. A record management information area in which the location information of the storage area is set is provided, and records are referenced, updated, and added using the record management information area. If the maximum number of stored records is smaller than the maximum relative record number, the record Can be made smaller than the maximum relative record number in the record management information area where the file is actually stored, and as a result, the use efficiency of the storage medium for creating the file can be increased. . Also, when accessing a specific record,
Since it only searches the record management information area,
There is also an effect that the access speed can be increased as compared with the index sequential organization file which required two searches.

【0096】更に、レコード実体格納領域に格納されて
いるレコードの内の、指定されたフィールドの内容が指
定された条件を満たしているレコードの位置情報のみを
格納した新規レコード管理情報領域を作成する新規レコ
ード管理情報領域作成手段を備えているので、レコード
実体格納領域に格納されているレコードの内、特定のフ
ィールドの内容が特定の条件を満たしているレコードの
参照を高速に行なうことが可能になる効果がある。
Further, among the records stored in the record entity storage area, a new record management information area is created which stores only the position information of the record whose specified field satisfies the specified condition. Equipped with a new record management information area creation means, so that among records stored in the record entity storage area, records whose specific field contents satisfy specific conditions can be referenced at high speed. There is an effect.

【0097】また、更に、先頭のエントリから順番に、
レコードを格納しているレコード格納域の位置情報を、
前記レコード実体格納領域中のレコード格納域に格納さ
れているレコードを指定されたフィールドをキーにして
ソートした時のレコードの並びに従って設定した順次参
照用レコード管理情報領域を作成する順次参照用レコー
ド管理情報領域作成手段を備えているので、レコード実
体格納領域に格納されているレコードを或るフィールド
をキーにしてソートした時のソート結果を、レコード実
体格納領域に於けるレコードの並びを変更することな
く、順次参照によって取得できる効果がある。
Further, in order from the first entry,
The location information of the record storage area that stores the records,
Sequential reference record management for creating a sequential reference record management information area set in accordance with the arrangement of records when records stored in the record storage area in the record entity storage area are sorted using a designated field as a key Since the information area creation means is provided, it is possible to change the sort result when the records stored in the record substance storage area are sorted using a certain field as a key, and to rearrange the records in the record substance storage area. However, there is an effect that it can be obtained by sequential reference.

【0098】また、レコード管理情報領域にレコードの
有効,無効を示すレコード有効フラグを設定するように
したので、レコードの削除,復旧を容易に行なうことが
できる効果がある。
Further, since the record validity flag indicating the validity / invalidity of the record is set in the record management information area, the record can be easily deleted and restored.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】レコードの構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of a record.

【図3】ファイル作成手段11の処理例を示す流れ図で
ある。
FIG. 3 is a flowchart showing a processing example of a file creation means 11;

【図4】レコード参照・更新手段12の処理例を示す流
れ図である。
FIG. 4 is a flowchart showing a processing example of a record reference / update means 12;

【図5】レコード参照・更新手段12の処理例を示す流
れ図である。
FIG. 5 is a flowchart showing a processing example of a record reference / update means 12;

【図6】レコード追加手段13の処理例を示す流れ図で
ある。
FIG. 6 is a flowchart showing a processing example of a record adding unit 13;

【図7】レコード追加手段13の処理例を示す流れ図で
ある。
FIG. 7 is a flowchart showing a processing example of a record adding unit 13;

【図8】レコード削除手段14の処理例を示す流れ図で
ある。
FIG. 8 is a flowchart showing a processing example of a record deletion unit 14;

【図9】レコード復旧手段15の処理例を示す流れ図で
ある。
FIG. 9 is a flowchart showing a processing example of a record restoration unit 15;

【図10】本発明の他の実施例のブロック図である。FIG. 10 is a block diagram of another embodiment of the present invention.

【図11】新規レコード管理情報領域作成手段61の処
理例を示す流れ図である。
FIG. 11 is a flowchart showing a processing example of a new record management information area creating means 61;

【図12】レコード参照手段62の処理例を示す流れ図
である。
FIG. 12 is a flowchart showing a processing example of a record reference unit 62;

【図13】新規レコード管理情報領域43の内容例を示
す図である。
13 is a diagram showing an example of the contents of a new record management information area 43. FIG.

【図14】本発明のその他の実施例のブロック図であ
る。
FIG. 14 is a block diagram of another embodiment of the present invention.

【図15】順次参照用レコード管理情報領域作成手段7
1の処理例を示す流れ図である。
FIG. 15 shows a record management information area creating unit for sequential reference 7;
6 is a flowchart illustrating a processing example of No. 1;

【図16】レコード参照手段72の処理例を示す流れ図
である。
FIG. 16 is a flowchart showing a processing example of a record reference unit 72;

【図17】順次参照用レコード管理情報領域44の内容
例を示す図である。
FIG. 17 is a diagram showing an example of the contents of a record management information area for sequential reference 44;

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

1…ファイル操作部 11…ファイル作成手段 12…レコード参照・更新手段 13…レコード追加手段 14…レコード削除手段 15…レコード復旧手段 2…制御手段 3…一時ファイル 4…磁気ディスク装置 41…レコード管理情報領域 42…レコード実体格納領域 43…新規レコード管理情報領域 44…順次参照用レコード管理情報領域 5…アプリケーションプログラム 6…派生ファイル操作部 61…新規レコード管理情報領域作成手段 62…レコード参照手段 63…レコード削除手段 64…レコード復旧手段 7…派生ファイル操作部 71…順次参照用レコード管理情報領域作成手段 72…レコード参照手段 DESCRIPTION OF SYMBOLS 1 ... File operation part 11 ... File creation means 12 ... Record reference / update means 13 ... Record addition means 14 ... Record deletion means 15 ... Record recovery means 2 ... Control means 3 ... Temporary file 4 ... Magnetic disk device 41 ... Record management information Area 42: Record entity storage area 43: New record management information area 44: Record management information area for sequential reference 5: Application program 6: Derived file operation unit 61: New record management information area creation means 62: Record reference means 63: Record Deletion unit 64 Record recovery unit 7 Derived file operation unit 71 Sequential reference record management information area creation unit 72 Record reference unit

フロントページの続き (56)参考文献 特開 平4−3234(JP,A) 特開 平1−112446(JP,A) 特開 昭61−245252(JP,A) 特開 昭61−240345(JP,A) 特開 昭61−163449(JP,A) 特開 昭61−28148(JP,A) 特開 平5−134908(JP,A) 特開 平2−96850(JP,A) 山谷 正己著「ファイル編成入門」 (昭55−7−25)オーム社,P.45− 64,”直接編成ファイルの編成方法と処 理方法を把握しよう"Continuation of front page (56) References JP-A-4-3234 (JP, A) JP-A-1-112446 (JP, A) JP-A-61-245252 (JP, A) JP-A-61-240345 (JP, A) , A) JP-A-61-163449 (JP, A) JP-A-61-28148 (JP, A) JP-A-5-134908 (JP, A) JP-A-2-96850 (JP, A) Masami Yamatani "Introduction to File Organization" (Showa 55-7-25) Ohmsha, p. 45-64, "Let's Understand How to Organize and Process Directly Organized Files"

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 最大相対レコード番号数分のエントリを
有し各々のエントリが相対レコード番号と1対1に対応
するレコード管理情報領域と、前記最大相対レコード番
号より小さな最大格納レコード数分のレコード格納域を
有し各々のレコード格納域に1レコードが格納されるレ
コード実体格納領域とで構成され、レコードの格納され
ているレコード格納域の位置情報が、該格納されている
レコードの相対レコード番号に対応する前記レコード管
理情報領域中のエントリに設定されたファイル領域と、 レコードの参照または更新時、参照または更新すべきレ
コードの相対レコード番号に対応する前記レコード管理
情報領域中のエントリに設定されている位置情報の示す
前記レコード格納域のレコードを参照または更新するレ
コード参照・更新手段と、 レコードの追加時、前記レコード実体格納領域の未使用
レコード格納域に追加すべきレコードを格納し、そのレ
コード格納域の位置情報を、追加したレコードの相対レ
コード番号に対応する前記レコード管理情報領域中のエ
ントリに設定するレコード追加手段とを備えたことを特
徴とするファイル処理装置。
1. A record management information area having entries corresponding to a maximum relative record number, each entry corresponding to a relative record number, and records corresponding to a maximum storage record number smaller than the maximum relative record number. A record entity storage area having a storage area and one record stored in each record storage area, and the position information of the record storage area in which the record is stored is a relative record number of the stored record. And a file area set in the entry in the record management information area corresponding to the record, and when the record is referenced or updated, the file area is set in the entry in the record management information area corresponding to the relative record number of the record to be referenced or updated Referencing or updating records in the record storage area indicated by the location information When adding a record, a record to be added is stored in an unused record storage area of the record substance storage area, and position information of the record storage area is stored in the record management area corresponding to a relative record number of the added record. A file processing apparatus comprising: a record adding unit that sets an entry in an information area.
【請求項2】 新規レコード管理情報領域の作成時、前
記最大相対レコード番号数分のエントリを有し、各々の
エントリが相対レコード番号と1対1に対応し、前記レ
コード実体格納領域中のレコード格納域に格納されてい
るレコードの内の、指定されたフィールドの内容が指定
された条件を満足させているレコードが格納されている
レコード格納域の位置情報が、前記レコードの相対レコ
ード番号に対応するエントリに設定された新規レコード
管理情報領域を作成する新規レコード管理情報領域作成
手段と、 前記新規レコード管理情報領域を利用したレコードの参
照時、前記新規レコード管理情報領域の先頭のエントリ
から設定されている位置情報を順次取得し、取得した位
置情報が示すレコード格納域に格納されているレコード
を順次参照するレコード参照手段とを備えたことを特徴
とする請求項1記載のファイル処理装置。
2. When a new record management information area is created, the new record management information area has entries corresponding to the maximum number of relative record numbers, each entry having a one-to-one correspondence with a relative record number, and a record in the record entity storage area. Of the records stored in the storage area, the position information of the record storage area in which the record in which the content of the specified field satisfies the specified condition corresponds to the relative record number of the record New record management information area creating means for creating a new record management information area set in an entry to be set, and when a record using the new record management information area is referenced, the new record management information area is set from the first entry of the new record management information area. Location information, and sequentially refers to the records stored in the record storage area indicated by the acquired location information. File processing apparatus according to claim 1, characterized in that a record reference means for.
【請求項3】 順次参照用レコード管理情報領域の作成
時、少なくとも前記レコード実体格納領域に格納されて
いるレコード数分のエントリを有し、先頭のエントリか
ら順番に、前記レコード実体格納領域中のレコード格納
域に格納されているレコードを指定されたフィールドを
キーにしてソートした時のレコードの並びに従ってレコ
ードを格納しているレコード格納域の位置情報を設定し
た順次参照用レコード管理情報領域を作成する順次参照
用レコード管理情報領域作成手段と、 前記順次参照用レコード管理情報領域を利用したレコー
ドの参照時、前記順次参照用レコード管理情報領域の先
頭のエントリから設定されている位置情報を順次取得
し、取得した位置情報が示すレコード格納域に格納され
ているレコードを順次参照するレコード参照手段とを備
えたことを特徴とする請求項1記載のファイル処理装
置。
3. When the record management information area for sequential reference is created, the record management information area has at least as many entries as the number of records stored in the record substance storage area. Creates a record management information area for sequential reference that sets the position information of the record storage area that stores records according to the arrangement of records when the records stored in the record storage area are sorted using the specified field as a key Means for creating a record management information area for sequential reference, and sequentially obtaining position information set from the first entry of the record management information area for sequential reference when referring to a record using the record management information area for sequential reference Records that sequentially refer to the records stored in the record storage area indicated by the acquired location information. File processing apparatus according to claim 1, characterized in that a reference means.
【請求項4】 最大相対レコード番号数分のエントリを
有し各々のエントリが相対レコード番号と1対1に対応
するレコード管理情報領域と、前記最大相対レコード番
号より小さな最大格納レコード数分のレコード格納域を
有し各々のレコード格納域に1レコードが格納されるレ
コード実体格納領域とで構成され、レコードの格納され
ているレコード格納域の位置情報が、該格納されている
レコードの相対レコード番号に対応する前記レコード管
理情報領域中のエントリに設定され、前記レコード実体
格納領域中のレコード格納域に格納されているレコード
の有効性を示すレコード有効性フラグが、該格納されて
いるレコードの相対レコード番号に対応する前記レコー
ド管理領域中のエントリに設定されたファイル領域と、 レコードの削除時、削除すべきレコードの相対レコード
番号に対応する前記レコード管理情報領域中のエントリ
にレコードの無効を示すレコード有効フラグを設定する
レコード削除手段と、 レコードの復旧時、復旧すべきレコードの相対レコード
番号に対応する前記レコード管理情報領域中のエントリ
にレコードの有効を示すレコード有効フラグを設定する
レコード復旧手段と、 レコードの参照または更新時、参照または更新要求され
たレコードの相対レコード番号に対応する前記レコード
管理情報領域中のエントリに、有効を示すレコード有効
フラグが設定されていることにより、前記エントリに設
定されている位置情報の示す前記レコード格納域のレコ
ードを参照または更新するレコード参照・更新手段と、 レコードの追加時、未使用レコード格納域或いはレコー
ド有効フラグが無効になっているレコードが格納されて
いるレコード格納域の内の1つに追加すべきレコードを
格納すると共に、前記レコード管理情報領域の内容をレ
コード追加後の状態に合致したものに更新するレコード
追加手段とを備えたことを特徴とするファイル処理装
置。
4. A record management information area having a number of entries corresponding to the maximum relative record number, each entry corresponding to the relative record number on a one-to-one basis, and a record having a maximum storage record number smaller than the maximum relative record number. A record entity storage area having a storage area and one record stored in each record storage area, and the position information of the record storage area where the record is stored is a relative record number of the stored record. The record validity flag set in the entry in the record management information area corresponding to the record validity indicating the validity of the record stored in the record storage area in the record entity storage area is a relative value of the stored record. The file area set in the entry in the record management area corresponding to the record number, and when deleting a record Record deletion means for setting a record valid flag indicating record invalidity in an entry in the record management information area corresponding to the relative record number of the record to be deleted; A record recovery means for setting a record validity flag indicating the validity of the record in the corresponding entry in the record management information area; and when referencing or updating the record, the record corresponding to the relative record number of the record requested or updated A record reference / update means for referring to or updating a record in the record storage area indicated by the position information set in the entry by setting a record valid flag indicating validity in an entry in the management information area; , When adding records, unused record storage area or Stores the record to be added to one of the record storage areas in which the record in which the record valid flag is invalid is stored, and matches the content of the record management information area with the state after the record is added. A file processing apparatus comprising: a record adding unit for updating a file.
JP6197690A 1994-07-30 1994-07-30 File processing device Expired - Fee Related JP2643850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6197690A JP2643850B2 (en) 1994-07-30 1994-07-30 File processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6197690A JP2643850B2 (en) 1994-07-30 1994-07-30 File processing device

Publications (2)

Publication Number Publication Date
JPH0844600A JPH0844600A (en) 1996-02-16
JP2643850B2 true JP2643850B2 (en) 1997-08-20

Family

ID=16378738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6197690A Expired - Fee Related JP2643850B2 (en) 1994-07-30 1994-07-30 File processing device

Country Status (1)

Country Link
JP (1) JP2643850B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
山谷 正己著「ファイル編成入門」(昭55−7−25)オーム社,P.45−64,"直接編成ファイルの編成方法と処理方法を把握しよう"

Also Published As

Publication number Publication date
JPH0844600A (en) 1996-02-16

Similar Documents

Publication Publication Date Title
US6516320B1 (en) Tiered hashing for data access
US6209000B1 (en) Tracking storage for data items
US6738790B1 (en) Approach for accessing large objects
US5628007A (en) Methods for storing a database in extended attributes of a file system
CA2281287C (en) Method and system for efficiently searching for free space in a table of a relational database having a clustering index
US5999943A (en) Lob locators
US6954759B2 (en) Data processing method using record division storing scheme and apparatus therefor
JP2002501256A (en) Database device
JPH0358249A (en) Access method of file
JP2643850B2 (en) File processing device
JPH08123713A (en) File storage managing system for data base
JP2972548B2 (en) File management method
JPH08235040A (en) Data file management system
JPH10111821A (en) Client server system
JPH06131517A (en) Ic card
JP2924786B2 (en) Exclusive control system, exclusive control method, and medium for storing exclusive control program for shared file in loosely coupled multiple computer system
JPH096653A (en) Data base checking information processor
JP2002140218A (en) Data processing method, computer-readable recording medium and data processing device
JP2616686B2 (en) Database reorganization during business process
JP3980326B2 (en) Data management method and computer-readable recording medium
JP2604787B2 (en) Two-dimensional data storage method
JPH0449132B2 (en)
JPH05265821A (en) Index managing system for data base
JP3398672B2 (en) Intermediate data storage device
JPH09305449A (en) Data base managing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees