JPH0795301B2 - Master file management device - Google Patents

Master file management device

Info

Publication number
JPH0795301B2
JPH0795301B2 JP32185987A JP32185987A JPH0795301B2 JP H0795301 B2 JPH0795301 B2 JP H0795301B2 JP 32185987 A JP32185987 A JP 32185987A JP 32185987 A JP32185987 A JP 32185987A JP H0795301 B2 JPH0795301 B2 JP H0795301B2
Authority
JP
Japan
Prior art keywords
file
processing
master
file management
registration
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
JP32185987A
Other languages
Japanese (ja)
Other versions
JPH01162950A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP32185987A priority Critical patent/JPH0795301B2/en
Publication of JPH01162950A publication Critical patent/JPH01162950A/en
Publication of JPH0795301B2 publication Critical patent/JPH0795301B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 本発明はデータ処理装置におけるマスタファイルの管理
装置に関し、 利用者がマスタファイルの整理等を簡易に行えることを
目的とし、 マスタファイルの諸元を表すファイル管理データを格納
する登録ファイルと、前記ファイル管理データの該登録
ファイルへの登録処理,登録済みファイル管理データの
変更処理および抹消処理を行う登録部と、前記ファイル
管理データと処理コマンドとに基づいて所定のファイル
処理を行うファイル管理部と、所定のファイル処理が指
示されたとき、指定されたマスタファイルのファイル管
理データを該登録ファイルより抽出し、対応する処理コ
マンドとともに該ファイル管理部に発行するマスタファ
イル処理部とを設け、マスタファイルのファイル管理デ
ータを登録ファイルに登録しておき、指示されたマスタ
ファイルのファイル管理データを該登録ファイルから抽
出してファイル処理を行うように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a master file management device in a data processing device, and a file management that represents the specifications of a master file for the purpose of allowing a user to easily organize the master file. A registration file that stores data, a registration unit that performs registration processing of the file management data in the registration file, modification processing and deletion processing of registered file management data, and a predetermined based on the file management data and processing command And a file management unit that performs the file processing of the specified file, and a master that extracts the file management data of the specified master file from the registered file when a predetermined file processing is instructed and issues it to the file management unit together with the corresponding processing command. A file processing unit is provided to register the file management data of the master file. The file management data of the designated master file is extracted from the registered file and file processing is performed.

〔産業上の利用分野〕[Industrial application field]

本発明はデータ処理装置におけるマスタファイルの管理
装置の改良に関する。
The present invention relates to an improvement of a master file management device in a data processing device.

パーソナルコンピュータ(パソコン)の機能向上に伴
い、業務処理にパソコンが多く使用されている。
With the improvement of functions of personal computers (personal computers), personal computers are often used for business processing.

このパソコンによる業務処理において、マスタファイル
を多く使用するような業務、例えば病院における医療事
務では患者ごとのデータを格納するファイルの他、参照
用のファイル等多数のマスタファイルが使用されている
が、患者の入れ換わり,医療行為の新規登録等のため、
マスタファイルの創成,拡張,整理等が頻繁に行われて
いる。
In the business processing using this personal computer, many master files such as files for reference are used in addition to files for storing data for each patient in business that uses many master files, such as medical office work in hospitals. For patient replacement, new registration of medical treatment, etc.,
Creating, expanding, and organizing master files are frequently performed.

このマスタファイルの創成,整理等のファイル処理は従
来よりそのシステムに設けられているユーティリティに
より行われているが、その都度マスタファイルのレコー
ド長,レコード数,キー長等のファイル諸元(ファイル
管理データ)を入力するように構成されているため、利
用者にとってマスタファイルの管理およびファイル処理
の操作が不便であるという問題点があった。
File processing such as creation and rearrangement of this master file has been performed by the utility provided in the system, but the file specifications such as record length, number of records and key length of the master file (file management Since it is configured to input (data), there is a problem that it is inconvenient for the user to manage the master file and operate the file processing.

このため、ファイル管理データを管理することにより、
簡易にマスタファイルの処理が行なえるマスタファイル
管理装置が求められている。
Therefore, by managing the file management data,
There is a demand for a master file management device that can easily process a master file.

〔従来の技術〕[Conventional technology]

第5図はパソコンによる給食管理システム説明図であ
る。
FIG. 5 is an explanatory diagram of a meal management system using a personal computer.

このシステムは入院患者の給食を管理するもので、患者
ごとに食種コードを登録した食事指示マスタファイル
1、食種コードとメニューとを対比するとともにその日
のトータル食数が記入される食種マスタファイル2等多
数のマスタファイルが設けられて費用,調理数,配膳な
どの給食管理に使用されている。
This system manages the meals of inpatients. The meal instruction master file 1 in which the food type code is registered for each patient, the food type master in which the food type code and the menu are compared and the total number of meals for the day is entered. A large number of master files such as File 2 are provided and are used for meal management such as cost, number of dishes, and serving.

ここで例えば食事指示マスタファイル1は入院ごとに患
者データが登録されるもので、ファイルを格納するハー
ドディスクは物理的に容量が決まっているため、過去の
データを削除して空領域を確保しておく必要がある。
Here, for example, the meal instruction master file 1 has patient data registered for each hospital admission, and the hard disk storing the file has a physically fixed capacity. Therefore, past data is deleted to secure an empty area. I need to put it.

またこれらのマスタファイルの編成はISF(索引順編成
ファイル)であるため、データの追加を行っているうち
にインデックスブロックの分割がおこり、ファイル中に
データを登録することのできない部分が生じて領域を圧
迫する。
In addition, since the organization of these master files is ISF (Index Sequential Organization File), the index blocks are divided while data is being added, and there is a portion where data cannot be registered in the file area. Oppress.

このような理由によりデータを登録する空領域を確保す
るため、定期的にマスタファイルの再編成,整理が行わ
れているが、システムにはマスタファイルの創成,保守
を行うためのユーティリティ7が備えられており、コマ
ンドまたは会話形式により、拡張,整理等のファイル処
理別、レコード長,全レコード数,キー長,ブロック数
等のファイル管理データ50を入力して所定のファイル処
理を行わせている。
For this reason, the master file is regularly reorganized and organized in order to secure an empty area for registering data, but the system is equipped with a utility 7 for creating and maintaining the master file. File management data 50 such as record length, total number of records, key length, number of blocks, etc. is input by file processing data such as expansion and rearrangement by a command or a conversation format, and predetermined file processing is performed. .

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

病院等では前述した給食管理の他種々の医療事務にパソ
コンが使用されているが、マスタファイルは20前後も使
用される場合があり、そのうち3分の1程度は毎日デー
タの追加,更新が行われている。
Personal computers are used for various medical tasks other than the above-mentioned meal management in hospitals, but the master file may be used for about 20 times, and about one-third of them adds or updates data every day. It is being appreciated.

このため、マスタファイルの再編成,整理等を定期的に
行うように定められているが、ユーティリティを使用す
る従来の方法ではその都度ファイル諸元を入力しなけれ
ばならず、利用者にとってマスタファイルを管理し保守
することは容易でないという問題点があった。
For this reason, it is stipulated that the master file be reorganized, organized, etc. on a regular basis, but with the conventional method using the utility, the file specifications must be entered each time, and the master file is required for the user. There is a problem that it is not easy to manage and maintain the.

本発明は上記問題点に鑑み、簡易なマスタファイルの管
理装置を提供することを目的とする。
The present invention has been made in view of the above problems, and an object thereof is to provide a simple master file management apparatus.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するため、本発明のマスタファイルの管
理装置は、第1図本発明の原理図に示すように、 マスタファイル(11)の諸元を表すファイル管理データ
(50)を格納する登録ファイル(10)と、前記ファイル
管理データ(50)の該登録ファイル(10)への登録処
理,登録済みファイル管理データの変更処理および抹消
処理を行う登録部(8)と、前記ファイル管理データ
(50)と処理コマンドとに基づいて所定のファイル処理
を行うファイル管理部(4)と、所定のファイル処理が
指示されたとき、指定されたマスタファイルのファイル
管理データを該登録ファイルより抽出し、対応する処理
コマンドとともに該ファイル管理部(4)に発行するマ
スタファイル処理部(9)とを設ける。
In order to achieve the above object, the master file management apparatus of the present invention stores the file management data (50) representing the specifications of the master file (11) as shown in the principle diagram of FIG. 1 of the present invention. A file (10), a registration unit (8) for performing registration processing of the file management data (50) in the registration file (10), modification processing and deletion processing of registered file management data, and the file management data ( 50) and a file management unit (4) for performing a predetermined file processing based on a processing command, and when a predetermined file processing is instructed, file management data of a designated master file is extracted from the registered file, A master file processing unit (9) for issuing to the file management unit (4) together with the corresponding processing command is provided.

〔作用〕[Action]

登録部8は例えば会話形式で各マスタファイル11のファ
イル管理データ50を入力させて登録ファイル10に登録
し、また指定された登録済みのファイル管理データ50を
表示して変更入力させる。
The registration unit 8 inputs, for example, the file management data 50 of each master file 11 in the conversational form and registers it in the registration file 10, and also displays the designated registered file management data 50 for change input.

このようにファイル管理データ50が登録された後に、拡
張,整理等のファイル処理(ファイル創成を含む)が指
示されたとき、マスタファイル処理部9は、指定された
ファイルのファイル管理データ50を登録ファイル10より
抽出し、処理コマンドとともにファイル管理部4に渡し
てファイル処理を依頼する。
When file processing (including file creation) such as expansion and organization is instructed after the file management data 50 is thus registered, the master file processing unit 9 registers the file management data 50 of the specified file. It is extracted from the file 10 and passed to the file management unit 4 together with the processing command to request file processing.

このためファイル管理データ50を一度登録しておけば変
更がない限り以後のファイル処理にファイル管理データ
50を入力する必要がなく、またファイルの変更入力操作
時も登録ファイル10の内容をみれば従来のデータが容易
に分り、マスタファイルの管理,ファイル処理が利用者
にとって容易となる。
Therefore, once the file management data 50 is registered, the file management data will not be used for subsequent file processing unless it is changed.
It is not necessary to input 50, and the conventional data can be easily understood by observing the contents of the registration file 10 even when a file change input operation is performed, and the master file management and file processing become easy for the user.

〔実施例〕〔Example〕

本発明の実施例を図を用いて説明する。 An embodiment of the present invention will be described with reference to the drawings.

第2図は実施例のブロック図、第3図は登録処理フロー
チャート図、第4図はファイル処理フローチャート図で
ある。
FIG. 2 is a block diagram of the embodiment, FIG. 3 is a registration processing flowchart, and FIG. 4 is a file processing flowchart.

第2図において、 4はオペレーティングシステムOSの一部であるファイル
管理部であって、登録部8,マスタファイル処理部9,業務
処理部5等の依頼に基づきファイルの創成処理,各マス
タファイルデータの磁気ディスク装置への読取り/書込
み処理等を行うもの、 8は登録部で、例えば会話形式で新規のファイル管理デ
ータ50を入力せしめて登録ファイル10に登録し、変更の
場合は登録済みのファイル管理データ50を表示して変更
せしめるもの、 9は従来のユーティリティ(第5図の7)に代わるマス
タファイル処理部で、後述するように登録ファイル10を
参照しつつ創成,整理等のファイル処理を行うもの、 13はディレクトリ部で、ディスク装置におけるファイル
のアドレス情報が格納されるもの、 10は登録ファイルで、図示のごとく、ファイル名(番
号)をキーとして、ファイル形式,レコード長,全レコ
ード数,キー長さらにはブロック長のごとくマスタファ
イル11の創成,管理に要するファイル管理データ50が格
納されるもの、 11は、例えば前述した食事指示マスタファイル1等のマ
スタファイルで、図示省略した磁気ディスク装置等に格
納されるもの、 5は業務処理部であって、マスタファイル11へのデータ
入力,マスタファイル11を参照する等、所定の業務処理
を行う業務処理部、 6は表示部,入力部等より構成される操作部である。
In FIG. 2, reference numeral 4 denotes a file management unit that is a part of the operating system OS, and creates files based on requests from the registration unit 8, the master file processing unit 9, the business processing unit 5, and the like, and each master file data. Read / write processing to the magnetic disk device, etc., 8 is a registration unit, for example, new file management data 50 is input in a conversational format and registered in the registration file 10, and in the case of a change, a registered file 9 is a master file processing unit that replaces the conventional utility (7 in FIG. 5) to display and change management data 50, and performs file processing such as creation and organization while referring to the registration file 10 as described later. What to do, 13 is the directory part, which stores the address information of the file in the disk device, 10 is the registration file, as shown in the figure, File management data 50 required for creation and management of the master file 11 such as file format, record length, total number of records, key length, and block length is stored using the file name (number) as a key. A master file such as the above-mentioned meal instruction master file 1 which is stored in a magnetic disk device or the like (not shown), 5 is a business processing unit, which inputs data into the master file 11, refers to the master file 11, etc. A work processing unit for performing predetermined work processing, and an operation unit 6 including a display unit, an input unit, and the like.

以上の構成により、登録処理,ファイル処理の動作は次
のように行われる。
With the above configuration, the operations of registration processing and file processing are performed as follows.

(登録) (1)オペレータは案内画面により「登録」を選択す
る。
(Registration) (1) The operator selects "registration" on the guidance screen.

(2)「新規」を選択すると登録メニューが表示され、
この画面に従ってファイル管理データ50を入力する。
(2) Select "New" to display the registration menu,
Input the file management data 50 according to this screen.

これにより、登録部8はファイル番号をキーとして登録
ファイル10への登録(書込み)をファイル管理部4に依
頼する。
As a result, the registration unit 8 requests the file management unit 4 to register (write) in the registration file 10 using the file number as a key.

(3)「変更」が選択されると、入力されたファイル番
号に基づき登録ファイル10の該当レコードの読取りをフ
ァイル管理部4に依頼し、読出された登録済みのファイ
ル管理データ50を表示する。
(3) When "change" is selected, the file management unit 4 is requested to read the corresponding record of the registered file 10 based on the input file number, and the read registered file management data 50 is displayed.

(4)表示画面上で登録済みのファイル管理データ50を
修正させ、このファイル管理データ50を同一ファイル番
号で新規に登録するとともに旧ファイル管理データ50を
抹消する。
(4) The registered file management data 50 is corrected on the display screen, the file management data 50 is newly registered with the same file number, and the old file management data 50 is deleted.

(ファイル処理) (1)案内画面の創成/整理/変更等のうちいずれかを
選択させファイル番号を入力せしめる。
(File processing) (1) Select one of creation / organization / change etc. of the guide screen and input the file number.

(2)創成処理 「創成」が選択されると、マスタファイル処理部9は入
力されたファイル番号に対応したファイル管理データ50
を登録ファイル10より読出し、そのファイル管理データ
50をパラメータとして創成コマンド(ベーシックではCR
IATEコマンド、以下同様)をファイル管理部4に発行し
て創成を依頼する。
(2) Creation processing When "creation" is selected, the master file processing unit 9 selects the file management data 50 corresponding to the input file number.
Read from the registered file 10 and the file management data
Creation command with 50 as parameter (CR in Basic
Issue an IATE command (same below) to the file management unit 4 to request creation.

これによりファイル管理部4はマスタファイル11を創成
し、ディレクトリ部13にその創成したマスタファイル11
を登録する。
As a result, the file management unit 4 creates the master file 11, and the created master file 11 is created in the directory unit 13.
To register.

(3)変更および整理 「変更」または「整理」が選択されると、マスタファイ
ル処理部9は登録ファイル10より指定のファイル管理デ
ータ50を読取るとともに、そのファイル管理データ50に
基づきマスタファイル11の全データを主メモリ(または
他の外部記憶媒体)に退避する。
(3) Change and Arrangement When “Change” or “Arrangement” is selected, the master file processing unit 9 reads the designated file management data 50 from the registered file 10 and, based on the file management data 50, stores the master file 11 Save all data to main memory (or other external storage medium).

続いてマスタファイル11の削除をDELETEコマンドでファ
イル管理部4に依頼し、さらにマスタファイル11の創成
処理を行った後退避したデータをそのマスタファイル11
に書込む。
Then, the master file 11 is requested to be deleted by the file management unit 4 by the DELETE command, and the data saved after the master file 11 is created is saved to the master file 11
Write to.

このときデータが削除されているレコードの書込み処理
は行われず、従ってマスタファイル11の整理が行われ
る。
At this time, the record of which the data has been deleted is not written, so that the master file 11 is organized.

以上のごとく、登録されたファイル管理テーブル50に基
づきあらためて創成処理から行われるので変更,整理は
同じ処理が行われる。
As described above, since the creation processing is performed again based on the registered file management table 50, the same processing is performed for changing and organizing.

以上のごとく、常に登録ファイル10が参照されて創成,
整理,拡張等のファイル処理が行われるので、一旦登録
しておけばその都度ファイル管理データ50を入力する必
要がなく、また登録ファイル10によってマスタファイル
11が管理されているので、利用者のマスタファイル11の
管理,ファイル処理操作が容易となる。
As mentioned above, the registration file 10 is always referred to and created.
File processing such as organization and expansion is performed, so once registered, it is not necessary to input the file management data 50 each time.
Since 11 is managed, the user can easily manage the master file 11 and operate the file processing.

〔発明の効果〕〔The invention's effect〕

本発明は、マスタファイルのファイル管理データを登録
して管理するとともに、ファイル処理をその登録ファイ
ルを参照して行うマスタファイルの管理装置を提供する
もので、特にパソコンのごとく簡易なデータ処理装置で
利用者がファイル処理操作を行う場合において多大な効
果がある。
The present invention provides a master file management device for registering and managing file management data of a master file and performing file processing by referring to the registered file. In particular, it is a simple data processing device such as a personal computer. It has a great effect when a user performs a file processing operation.

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

第1図は本発明の原理図、 第2図は実施例のブロック図、 第3図は登録処理フローチャート図、 第4図はファイル処理フローチャート図、 第5図はパソコンによる給食管理システムブロック図で
ある。図中、 4はファイル管理部、6は操作部、8は登録部、9はマ
スタファイル処理部、10は登録ファイル、11はマスタフ
ァイル、13はディレクトリ部、50はファイル管理デー
タ、である。
FIG. 1 is a principle diagram of the present invention, FIG. 2 is a block diagram of an embodiment, FIG. 3 is a flow chart of registration processing, FIG. 4 is a flow chart of file processing, and FIG. is there. In the figure, 4 is a file management section, 6 is an operation section, 8 is a registration section, 9 is a master file processing section, 10 is a registered file, 11 is a master file, 13 is a directory section, and 50 is file management data.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マスタファイル(11)の諸元を表すファイ
ル管理データ(50)を格納する登録ファイル(10)と、 前記ファイル管理データ(50)の該登録ファイル(10)
への登録処理,登録済みファイル管理データの変更処理
および抹消処理を行う登録部(8)と、 前記ファイル管理データ(50)と処理コマンドとに基づ
いて所定のファイル処理を行うファイル管理部(4)
と、 所定のファイル処理が指示されたとき、指定されたマス
タファイルのファイル管理データを該登録ファイルより
抽出し、対応する処理コマンドとともに該ファイル管理
部(4)に発行するマスタファイル処理部(9)と を設け、マスタファイルのファイル管理データを登録フ
ァイルに登録しておき、指示されたマスタファイルのフ
ァイル管理データを該登録ファイルから抽出してファイ
ル処理を行うことを特徴とするマスタファイルの管理装
置。
1. A registration file (10) for storing file management data (50) representing specifications of a master file (11), and the registration file (10) for the file management data (50).
A registration unit (8) for performing registration processing to the file, processing for changing and deleting registered file management data, and a file management unit (4) for performing predetermined file processing based on the file management data (50) and processing commands. )
When a predetermined file processing is instructed, the file management data of the designated master file is extracted from the registered file and is issued to the file management unit (4) together with the corresponding processing command (9). ) Is provided, the file management data of the master file is registered in the registration file, and the file management data of the instructed master file is extracted from the registration file for file processing. apparatus.
JP32185987A 1987-12-18 1987-12-18 Master file management device Expired - Fee Related JPH0795301B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32185987A JPH0795301B2 (en) 1987-12-18 1987-12-18 Master file management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32185987A JPH0795301B2 (en) 1987-12-18 1987-12-18 Master file management device

Publications (2)

Publication Number Publication Date
JPH01162950A JPH01162950A (en) 1989-06-27
JPH0795301B2 true JPH0795301B2 (en) 1995-10-11

Family

ID=18137214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32185987A Expired - Fee Related JPH0795301B2 (en) 1987-12-18 1987-12-18 Master file management device

Country Status (1)

Country Link
JP (1) JPH0795301B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61120238A (en) * 1984-11-16 1986-06-07 Mitsubishi Electric Corp File access system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朴木実編「データベース・導入と設計」(昭50.9.5)企画センターP.21−26「2・2DBMSの基本機能」

Also Published As

Publication number Publication date
JPH01162950A (en) 1989-06-27

Similar Documents

Publication Publication Date Title
AU712382B2 (en) A system and method for using intelligent notes to organize, link, and manipulate disparate data objects
JP2763096B2 (en) Electronic filing equipment
JPH01194026A (en) Data base system having memo information and method for managing memo information
JP2021022357A (en) Hybrid file construction method and system therefor based on fuse technology
JPH0795301B2 (en) Master file management device
JP2926779B2 (en) Document construction device in distributed file system
JPH08314780A (en) File management system
JPH0322046A (en) Control method for file using draw type storage medium
JPH0357037A (en) File management device
JPH06231012A (en) Log data managing device
JPH05151056A (en) Data controller
JPH1131167A (en) Drawing editing device
JP2000267912A (en) File management device and recording medium
JPH03161864A (en) Document control processing system
JPH05108456A (en) Hyper text system
TWI229346B (en) Data storage apparatus and method
JPS6327935A (en) Storage medium management system
JPS62120534A (en) Management system of sequence property of data
JPH04182970A (en) Data storage system
JPS6253861B2 (en)
JPH04314129A (en) File managing system
JPH11259352A (en) Electronic filing system, history management method therefor and storage medium
JPH064534A (en) Joint writing document system
JPS62256176A (en) Image data storage processing system
JPH07192065A (en) Medical treatment record managing device

Legal Events

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