JPH05151042A - Method for designing file for computer processing system - Google Patents

Method for designing file for computer processing system

Info

Publication number
JPH05151042A
JPH05151042A JP3312299A JP31229991A JPH05151042A JP H05151042 A JPH05151042 A JP H05151042A JP 3312299 A JP3312299 A JP 3312299A JP 31229991 A JP31229991 A JP 31229991A JP H05151042 A JPH05151042 A JP H05151042A
Authority
JP
Japan
Prior art keywords
file
item
subordinate
identification key
processing system
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.)
Withdrawn
Application number
JP3312299A
Other languages
Japanese (ja)
Inventor
Naoki Kawamoto
直規 河本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3312299A priority Critical patent/JPH05151042A/en
Publication of JPH05151042A publication Critical patent/JPH05151042A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To simplify the addition and deletion of the subordinate item by taking the set having the same identification key item from among multiple physical record as logical record at the time of the access of files. CONSTITUTION:A set of multiple physical records is made up of identification key item corresponding to each subordinate item. For example, a physical record 1 corresponds to an identification key item 001 and an item 1 of the subordinate item, and a physical record 2 corresponds to the identification key item 001 and the item 2 of the subordinate item. It also corresponds to the same identification key item from among sets 1 to 6 of the physical code. In short, collections of records 1 to 3 corresponding to the identification key item 001 and sets 4 to 6 of the physical record corresponding to an identification key item 002 are programmed to become logical records 1 and 2 at the time of the access to the file. Thus, the addition or deletion of the subordinate item can be performed without changing the layout of the physical record.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の物理レコードか
ら構成されるファイルを備えたコンピュータ処理システ
ムにおけるファイル設計方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file design method in a computer processing system having a file composed of a plurality of physical records.

【0002】[0002]

【従来の技術】従来、汎用的なコンピュータ処理システ
ムは、識別キー項目と、この識別キー項目に従属する従
属項目とから成る物理レコードにより構成されるファイ
ルを備えている。このようなコンピュータ処理システム
におけるファイル設計は、図4に示すように、例えば識
別キー項目とこれに従属する複数の集合的な従属項目
1,2,3とを物理レコードとして設計し、当該ファイ
ル用のプログラムによりファイル処理を行い得るように
している。このファイル処理は、1回のアクセスで物理
レコードの識別キー項目を指定し、該識別キー項目に従
属する各従属項目1,2,3を順次遂行するものであ
る。
2. Description of the Related Art Conventionally, a general-purpose computer processing system has a file composed of a physical record including an identification key item and a subordinate item subordinate to the identification key item. As shown in FIG. 4, a file design in such a computer processing system is performed by designing, for example, an identification key item and a plurality of collective subordinate items 1, 2, and 3 subordinate to this as physical records, and File processing can be performed by this program. In this file processing, the identification key item of the physical record is designated by one access, and the subordinate items 1, 2, and 3 subordinate to the identification key item are sequentially executed.

【0003】[0003]

【発明が解決しようとする課題】従来のコンピュータ処
理システムにおけるファイル設計方式の場合、識別キー
項目に従属する複数の集合的な従属項目を物理レコード
としているので、従属項目に追加や削除の必要が生じる
と、ファイルのレコードレイアウトを変更しなければな
らない上、ファイル処理を行うためのプログラムに対し
ても修正を行わなければならない。即ち、従来のファイ
ル設計方式の場合、従属項目に対する追加や削除に手間
がかかり過ぎるという難点がある。
In the file design method in the conventional computer processing system, since a plurality of collective dependent items subordinate to the identification key item are physical records, it is necessary to add or delete the dependent items. When it happens, the record layout of the file must be changed, and the program for processing the file must be modified. That is, in the case of the conventional file design method, there is a problem that it takes too much time to add or delete the subordinate items.

【0004】本発明は、かかる事情を鑑みなされたもの
で、その技術的課題は、従属項目の追加や削除を容易に
行い得るコンピュータ処理システムにおけるファイル設
計方式を提供することにある。
The present invention has been made in view of such circumstances, and a technical problem thereof is to provide a file design method in a computer processing system capable of easily adding or deleting a subordinate item.

【0005】[0005]

【課題を解決するための手段】本発明によれば、識別キ
ー項目と、該識別キー項目に従属する複数の従属項目と
から成る物理レコードにより構成されるファイルを備え
たコンピュータ処理システムにおけるファイル設計方式
において、識別キー項目を複数個の従属項目の各々に対
応させて付して複数の物理レコードと成し、該複数の物
理レコードのうちの同一の識別キー項目を持つものの集
合を当該ファイルのアクセス時に論理レコードとするよ
うにしたコンピュータ処理システムにおけるファイル設
計方式が得られる。
According to the present invention, a file design in a computer processing system having a file composed of a physical record consisting of an identification key item and a plurality of subordinate items subordinate to the identification key item. In the method, an identification key item is attached to each of a plurality of subordinate items to form a plurality of physical records, and a set of those having the same identification key item among the plurality of physical records is stored in the file. There is obtained a file design method in a computer processing system in which a logical record is used at the time of access.

【0006】又、本発明によれば、上記コンピュータ処
理システムにおけるファイル設計方式において設計され
たファイルが得られる。更に、上記コンピュータ処理シ
ステムにおけるファイル設計方式において、論理レコー
ドを当該ファイル用のプログラムによりファイルをアク
セスするとき、識別キー項目の項目値が変わるまで連続
的にアクセスし、従属項目のうちの必要なものの項目を
プログラムに蓄積させたファイル設計方式が得られる。
Further, according to the present invention, a file designed by the file design method in the above computer processing system can be obtained. Further, in the file design method in the computer processing system, when a file for a logical record is accessed by a program for the file, the logical key is continuously accessed until the item value of the identification key item changes, and necessary items of the subordinate items are A file design method in which items are stored in a program can be obtained.

【0007】[0007]

【実施例】以下に実施例を挙げ、本発明のコンピュータ
処理システムにおけるファイル設計方式について図面を
参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A file design method in a computer processing system according to the present invention will be described in detail below with reference to the drawings.

【0008】図1(A)は、コンピュータ処理システム
が備えるファイルに対し、本発明のファイル設計方式に
より設計されたファイルを表したもの(具体的にはファ
イル中のレコードレイアウトとレコードの実体とを表し
ている)で、同図(B)は、更に該ファイルに対して従
属項目の項目を追加した場合を表したものである。
FIG. 1A shows a file designed by the file design method of the present invention with respect to a file included in a computer processing system (specifically, the record layout and the substance of the record in the file are shown). (B) shows the case where items of subordinate items are further added to the file.

【0009】図1(A)から明らかなように、本発明の
ファイル設計方式によりファイル設計されたファイル
は、識別キー項目を複数個の従属項目の各々に対応させ
て付して複数の物理レコードの集合体を成している。例
えば、物理レコード1は識別キー項目001及び従属項
目の項目1に対応し、物理レコード2は識別キー項目0
01及び従属項目の項目2に対応している。
As is apparent from FIG. 1A, a file designed by the file design method of the present invention has a plurality of physical records in which identification key items are associated with a plurality of subordinate items. Form a collection of. For example, the physical record 1 corresponds to the identification key item 001 and the subordinate item 1, and the physical record 2 corresponds to the identification key item 0.
01 and subordinate item 2.

【0010】又、物理レコードの集合体1〜6のうちの
同一の識別キー項目に相当するもの、即ち、識別キー項
目001に対応する物理レコードの集合体1〜3と、識
別キー項目002に対応する物理レコードの集合体4〜
6とに対しては、当該ファイルに対するアクセス時にそ
れぞれ論理レコード1,2となるようにプログラミング
されている。即ち、論理レコードは、複数の物理レコー
ドのうちの同一の識別キー項目を持つものの集合を当該
ファイルのアクセス時に当該ファイル用プログラムに蓄
積したものである。この論理レコード1,2を構成する
為には、当該ファイル用のプログラムによりファイルを
アクセスするとき、識別キー項目の項目値が変わるまで
連続的にアクセスし、必要な従属項目の項目をプログラ
ムに蓄積させれば良い。尚、物理レコードは、実際にデ
ィスク装置上に格納するためのレコード形式である。
Further, among the physical record aggregates 1 to 6, those corresponding to the same identification key item, that is, the physical record aggregates 1 to 3 corresponding to the identification key item 001 and the identification key item 002. Collection of corresponding physical records 4 ~
6 and 6 are programmed so as to become logical records 1 and 2, respectively, when the file is accessed. That is, a logical record is a set of a plurality of physical records having the same identification key item, which is stored in the file program when the file is accessed. In order to configure these logical records 1 and 2, when the file is accessed by the program for the file, it is continuously accessed until the item value of the identification key item is changed, and the items of the necessary subordinate items are stored in the program. You can do it. The physical record has a record format for actually storing it on the disk device.

【0011】このように、識別キー項目の1つに対して
1つの従属項目を組みにして1つの物理レコードに対応
させてファイル設計することにより、ファイルの物理レ
コードレイアウトを変更させることなく従属項目の項目
追加,若しくは削除を行うことができる。図1(B)
は、識別キー項目001と識別キー項目002とに対
し、それぞれ従属項目に項目4を追加した例を示してい
る。ここでは、物理レコードの実体が追加されるだけ
で、他の物理レコードは変更されていない(但し、図示
は省略する)。
As described above, by designing a file by associating one subordinate item with one of the identification key items and corresponding to one physical record, the subordinate items are not changed without changing the physical record layout of the file. Items can be added or deleted. Figure 1 (B)
Shows an example in which item 4 is added as a subordinate item to each of the identification key item 001 and the identification key item 002. Here, the physical record entity is only added, and the other physical records are not changed (however, illustration is omitted).

【0012】図2は、従属項目を具体的に示したもので
ある。この従属項目は項目の属性を表す項目標識と、こ
の項目標識に代入される項目値とから成っている。とこ
ろで、当該ファイル用のプログラム作成時において、そ
のプログラムが必要とする項目標識を持つ従属項目のみ
を選択して論理レコードを構成するようにアクセスすれ
ば、プログラムとして使用しない従属項目の項目を追
加,削除をしても何らプログラムを修正する必要がなく
なる。即ち、図1(B)に示す如く項目4を追加した場
合においては、プログラムが項目4を必要としなければ
項目4は選択されず、当該プログラムの変更は不要とな
る。
FIG. 2 specifically shows the subordinate items. This subordinate item consists of an item indicator representing the attribute of the item and an item value assigned to this item indicator. By the way, when creating a program for the file, if you access only the subordinate items that have the item indicators required by the program to form a logical record, you can add subordinate items that are not used as a program. There is no need to modify the program even if it is deleted. That is, when the item 4 is added as shown in FIG. 1B, if the program does not need the item 4, the item 4 is not selected and the program need not be changed.

【0013】図3は、本発明のファイル設計方式により
ファイル設計されたファイルの内容を問い合わせるべく
作成されたプログラム画面の一例を示したものである。
ここでは識別キー値を識別キー入力部に入力し、その識
別キー値に従属する従属項目が従属項目表示部に表示さ
れるようになっている。この従属項目表示部は複数の従
属項目を表示可能なものであるが、従属項目が表示可能
な数を超過して存在する場合には、従属項目をスクロー
ルアップして表示することにより、超過状態を呈示する
ことができる。
FIG. 3 shows an example of a program screen created to inquire about the contents of a file designed by the file design method of the present invention.
Here, the identification key value is input to the identification key input section, and the subordinate items dependent on the identification key value are displayed on the subordinate item display section. This subordinate item display unit can display a plurality of subordinate items, but if there are more subordinate items than the maximum number that can be displayed, scrolling up the subordinate items to display Can be presented.

【0014】このようにファイル設計されたファイル用
プログラムの動作は、識別キー値を持つ物理レコードを
ファイルから順次アクセスし、従属項目を従属項目表示
部に表示するものである。このとき、従属項目の項目追
加があっても、識別キー項目のキー値が同じであるの
で、プログラムは何ら支障を生じることなく追加された
項目をアクセスする。又、従属項目の項目削除がある場
合、削除された項目が消去されるので、削除された項目
はプログラムによりアクセスされない。即ち、本発明の
ファイル設計方式をコンピュータ処理システムに導入す
れば、従属項目の追加,削除を物理レコードのレイアウ
ト変更や、プログラムの修正を要することなしに行い得
る。
The operation of the file program designed as described above is to sequentially access the physical records having the identification key value from the file and display the subordinate items in the subordinate item display section. At this time, even if a subordinate item is added, the key value of the identification key item is the same, so the program accesses the added item without any trouble. Also, when there is an item deletion of a subordinate item, the deleted item is erased, so that the deleted item is not accessed by the program. That is, if the file designing method of the present invention is introduced into a computer processing system, subordinate items can be added or deleted without changing the layout of physical records or modifying the program.

【0015】[0015]

【発明の効果】以上の通り、本発明によれば、ファイル
を構成する識別キー項目に従属する従属項目に追加や削
除等の項目変更を行うときに、ファイルの物理レコード
のレイアウト変更や、プログラムの修正を不要にし得る
コンピュータ処理システムにおけるファイル設計方式
と、これにより設計されたファイルが提供される。又、
本発明のファイル設計方式をコンピュータ処理システム
に導入することにより、従属項目の追加や削除を容易に
行い得るようになるので、システムの保守性が大幅に向
上する。
As described above, according to the present invention, when an item change such as addition or deletion of a subordinate item subordinate to an identification key item constituting a file is performed, a layout change of a physical record of the file or a program is performed. A file design method in a computer processing system that can eliminate the need for modification and a file designed by the file design method are provided. or,
By introducing the file design method of the present invention into a computer processing system, it becomes possible to easily add or delete subordinate items, so that the maintainability of the system is greatly improved.

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

【図1】図1(A)は、本発明のコンピュータ処理シス
テムにおけるファイル設計方式によりファイル設計され
たファイルを表したもので、同図(B)は、更にこのフ
ァイルに対して従属項目の項目を追加した場合を表した
ものである。
FIG. 1 (A) shows a file designed by a file design method in a computer processing system of the present invention, and FIG. 1 (B) further shows items subordinate to this file. Shows the case where is added.

【図2】ファイル内の従属項目を具体的に示したもので
ある。
FIG. 2 is a diagram specifically showing subordinate items in a file.

【図3】本発明のファイル設計方式によりファイル設計
されたファイルの内容を問い合わせるべく作成されたプ
ログラム画面の一例を示したものである。
FIG. 3 shows an example of a program screen created to inquire about the contents of a file designed by the file design method of the present invention.

【図4】従来のファイル設計方式によりファイル設計さ
れたファイル内の物理レコードの構成を示したものであ
る。
FIG. 4 shows a configuration of physical records in a file designed by a conventional file design method.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 識別キー項目と、該識別キー項目に従属
する複数の従属項目とから成る物理レコードにより構成
されるファイルを備えたコンピュータ処理システムにお
けるファイル設計方式において、前記識別キー項目を前
記複数個の従属項目の各々に対応させて付して複数の物
理レコードと成し、該複数の物理レコードのうちの同一
の識別キー項目を持つものの集合を当該ファイルのアク
セス時に論理レコードとするようにしたことを特徴とす
るコンピュータ処理システムにおけるファイル設計方
式。
1. A file design method in a computer processing system comprising a file composed of a physical record consisting of an identification key item and a plurality of subordinate items subordinate to the identification key item, in the file design method. A plurality of physical records are provided by corresponding to each of the subordinate items, and a set of those having the same identification key item among the plurality of physical records is made a logical record when the file is accessed. A file design method in a computer processing system characterized by the above.
【請求項2】 請求項1記載のコンピュータ処理システ
ムにおけるファイル設計方式で設計されたことを特徴と
するファイル。
2. A file designed by the file design method in the computer processing system according to claim 1.
【請求項3】 前記論理レコードは、当該ファイル用の
プログラムによりファイルをアクセスするとき、前記識
別キー項目の項目値が変わるまで連続的にアクセスし、
前記従属項目のうちの必要なものの項目を前記プログラ
ムに蓄積させたものであることを特徴とする請求項1記
載のコンピュータ処理システムにおけるファイル設計方
式。
3. The logical record is continuously accessed until the item value of the identification key item changes when the file is accessed by a program for the file,
2. The file design method for a computer processing system according to claim 1, wherein necessary items of the subordinate items are accumulated in the program.
JP3312299A 1991-11-27 1991-11-27 Method for designing file for computer processing system Withdrawn JPH05151042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3312299A JPH05151042A (en) 1991-11-27 1991-11-27 Method for designing file for computer processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3312299A JPH05151042A (en) 1991-11-27 1991-11-27 Method for designing file for computer processing system

Publications (1)

Publication Number Publication Date
JPH05151042A true JPH05151042A (en) 1993-06-18

Family

ID=18027581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3312299A Withdrawn JPH05151042A (en) 1991-11-27 1991-11-27 Method for designing file for computer processing system

Country Status (1)

Country Link
JP (1) JPH05151042A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010117835A (en) * 2008-11-12 2010-05-27 Narihito Katayama Business support database apparatus and method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010117835A (en) * 2008-11-12 2010-05-27 Narihito Katayama Business support database apparatus and method therefor

Similar Documents

Publication Publication Date Title
US5819295A (en) Document storing and managing system
JP3873363B2 (en) Access management apparatus and recording medium
JPH05151042A (en) Method for designing file for computer processing system
JPS62226375A (en) Picture information retrieving system
JP2972548B2 (en) File management method
JP3444620B2 (en) Filing system equipment
JP2002140220A (en) File management method and recording medium
JP3364743B2 (en) Procedure management system
JPH1115708A (en) Directory information management method and record medium recording program for execution of processing of the method
JPH0785079A (en) Device for managing information file
JP3198941B2 (en) Information processing device and recording medium
JP3935323B2 (en) Document management apparatus and computer-readable recording medium storing document management program
JPH05151056A (en) Data controller
JP2735921B2 (en) Address definition operation device
JPH06266591A (en) Document managing method
JPH1049540A (en) Information retrieval system
JPS63276124A (en) Research information processor
JPH04233664A (en) Data base management system
JP3047400B2 (en) Data processing device
JPH064382A (en) Document managing device
JP2851071B2 (en) Database device
JPH04239379A (en) Hierarchical directory managing system
JPH11102313A (en) File constitution management device and computer-readable recording medium where program is recorded
JP2003050727A (en) File management program, file managing method and machine-readable recording medium in which file management program is recorded
JPH05324734A (en) Electronic filing device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204