JPH04118728A - Data file updating system - Google Patents

Data file updating system

Info

Publication number
JPH04118728A
JPH04118728A JP2239487A JP23948790A JPH04118728A JP H04118728 A JPH04118728 A JP H04118728A JP 2239487 A JP2239487 A JP 2239487A JP 23948790 A JP23948790 A JP 23948790A JP H04118728 A JPH04118728 A JP H04118728A
Authority
JP
Japan
Prior art keywords
file
information
item
program
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2239487A
Other languages
Japanese (ja)
Inventor
Tatsuo Nakahara
中原 達男
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 JP2239487A priority Critical patent/JPH04118728A/en
Publication of JPH04118728A publication Critical patent/JPH04118728A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the productivity at the time of generating a computer work system by processing plural keyed files by one piece of program. CONSTITUTION:With regard to all files to be used in a file information generating program 11, information of a file name, a key position, a key size, and a record size is registered as file information. In an item defined information generating program 12 of a file, the contents of a record of a name, a size, and an attribute are registered by an item unit as item information in each file unit. In a file updating program 13, a file is updated, the file to be updated is instructed from a screen, and by file information and item information of its file, real data is edited and outputted to the screen and its screen data is changed, and a changed result is written in an updating file. Accordingly, plural files can be processed by one piece of program. In such a way, the number of programs decreases, then the productivity can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システムにおけるキー付データファイ
ル更新方式、特に1本のプログラムで処理するデータフ
ァイル更新方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a keyed data file update method in a computer system, and particularly to a data file update method that is processed by one program.

〔従来の技術〕[Conventional technology]

従来の計算機システムにおいて、キー付データファイル
を更新する場合には、ファイル単位にプログラムを作成
していた。各更新プログラムでは、データの項目を、見
易いように編集し、画面または帳票に表示している。
In conventional computer systems, when updating keyed data files, a program is created for each file. In each update program, data items are edited for easy viewing and displayed on a screen or in a form.

ファイル更新の処理としては、当該データのキーを指示
し、データの参照、変更、削除の機能を一般的に持って
いる。
For file update processing, it generally has the functions of specifying the key of the data and referring to, changing, and deleting the data.

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

上述した従来のファイル更新方式では、ファイル単位に
プログラムを作成するため、プログラム数が多(なり、
生産性が悪い。
In the conventional file update method described above, a program is created for each file, so the number of programs is large.
Poor productivity.

本発明の目的は、複数のファイルを一本のプログラムで
処理でき、かつ画面または帳票をできるだけ見易く工夫
したデータファイル更新方式を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data file update method that can process multiple files with a single program and that makes screens or forms as easy to view as possible.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によるデータファイル更新方式においては、使用
するファイルのすべてについて、ファイル名、キー位置
、キーサイズ、レコードサイズの情報をファイル情報と
して登録し、各ファイル単位にレコードの内容を、項目
単位に、名称、サイズ、属性を項目情報として登録し、
ファイルの更新を行ない、ファイル更新する当該ファイ
ルを画面から指示し、該ファイルのファイル情報と項目
情報により実データを画面へ編集出力し、その画面デー
タを変更し、変更した結果を更新ファイルへ書き込む。
In the data file update method according to the present invention, information such as file name, key position, key size, and record size is registered as file information for all files to be used, and record contents for each file are updated item by item. Register the name, size, and attributes as item information,
Update the file, specify the file to be updated from the screen, edit and output the actual data to the screen using the file information and item information of the file, change the screen data, and write the changed results to the update file. .

〔実施例〕〔Example〕

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

第1図は本発明の一実施例の機能ブロック図である。フ
ァイル情報作成プログラム11において、使用するファ
イルのすべてについて、ファイル名、キー位置、キーサ
イズ、レコードサイズの情報をファイル情報として登録
する。
FIG. 1 is a functional block diagram of an embodiment of the present invention. In the file information creation program 11, information such as file name, key position, key size, and record size is registered as file information for all files to be used.

ファイルの項目定義情報作成プログラム12において、
各ファイル単位にレコードの内容を、項目単位に、名称
、サイズ、属性を項目情報として登録する。
In the file item definition information creation program 12,
Register the record contents for each file, and register the name, size, and attributes for each item as item information.

ファイル更新プログラム13において、ファイルの更新
を行なう。
The file update program 13 updates files.

ファイル更新する当該ファイルを画面から指示し、該フ
ァイルのファイル情報と項目情報により実データを画面
へ編集出力する。その画面データを変更し、変更した結
果を更新ファイルへ書き込み、かつリストとしてプリン
トする。
The file to be updated is specified from the screen, and the actual data is edited and output to the screen based on the file information and item information of the file. Change the screen data, write the changed results to an update file, and print it as a list.

第2図は定義情報の内容を示す図である。定義テーブル
21は、ファイル名単位のキー位置、キーサイズ、レコ
ードサイズ情報のテーブルである。すなわち、ファイル
を区別するファイル名と、該ファイルの実データを検索
するときのキーの位置、キーサイズおよびレコードの長
さ等のテーブルである。
FIG. 2 is a diagram showing the contents of definition information. The definition table 21 is a table of key position, key size, and record size information for each file name. That is, it is a table of file names that distinguish files, key positions, key sizes, record lengths, etc. when searching for actual data of the files.

定義テーブル22は項目情報であり、当該ファイルを区
別するファイル名と、該ファイルの項目単位の名称、サ
イズ、属性の情報であり、実データを編集するときに使
用するデータである。項目情報は該ファイルに含まれて
いる項目を、実データの配列順番にしたがって定義して
いるため、項目の情報として、項目の位置情報を不要に
している。
The definition table 22 is item information, including a file name that distinguishes the file, and information on the name, size, and attribute of each item of the file, and is data used when editing actual data. Since the item information defines the items included in the file in the order in which the actual data is arranged, item position information is not required as item information.

第3図は本実施例のフローチャートである。ステップ3
1で、更新するファイル名、更新するデータのキー値、
更新モード(複写登録、変更、削除、参照)および変更
する項目名称を入力する。
FIG. 3 is a flowchart of this embodiment. Step 3
1, the file name to be updated, the key value of the data to be updated,
Enter the update mode (copy registration, change, deletion, reference) and the item name to be changed.

ステップ32で、当該入力されたファイル名をキーとし
て、ファイル情報、項目情報ファイルを読み、当該ファ
イルのキー位置、キーサイズ、レコードサイズおよび項
目名称と位置、サイズをメモリへ展開する。
In step 32, the file information and item information file are read using the input file name as a key, and the key position, key size, record size, and item name, position, and size of the file are expanded into memory.

ステップ33で、当該入力されたファイル名をキーとし
て、当該のデータファイルを決定し、かつ入力されたキ
ー値で当該のデータを読み込む。
In step 33, the data file is determined using the input file name as a key, and the data is read using the input key value.

ステップ34で、データを項目単位に編集し、項目名称
とデータ値を一対にして、見易い型式にして、第4図に
示すように、画面へ表示する(第4図46)。
In step 34, the data is edited item by item, and the item name and data value are paired in an easy-to-read format and displayed on the screen as shown in FIG. 4 (FIG. 4 46).

ステップ35で、変更したい部分を画面から変更する。In step 35, the part to be changed is changed from the screen.

このとき、項目名称が表示されているため、該データの
変更操作が非常に簡単にできる。
At this time, since the item name is displayed, the data can be changed very easily.

ステップ36で、変更されたデータを当該ファイルへ書
き込む。
At step 36, the modified data is written to the file.

ステップ37で、変更前と変更後とのデータ内容をリス
トする。
In step 37, the data contents before and after the change are listed.

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

以上説明したように、本発明は、複数のキー付ファイル
を、−本のプログラムで処理することにより、コンピュ
ータ業務システム作成において生産性向上を図る効果が
ある。
As described above, the present invention has the effect of improving productivity in creating a computer business system by processing a plurality of keyed files using one program.

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

第1図は本発明の一実施例の機能ブロック図、第2図は
本実施例における定義情報の内容を示す図、第3図は本
実施例のフローチャート、第4図は本実施例における画
面表示の例を示す図である。 11・・・ファイル情報作成プログラム、12・・・フ
ァイル項目定義情報作成プログラム、13・・・ファイ
ル更新プログラム。 代理人 弁理士  内 原  晋 第 】 図 第 図 第 図
Fig. 1 is a functional block diagram of an embodiment of the present invention, Fig. 2 is a diagram showing the contents of definition information in this embodiment, Fig. 3 is a flowchart of this embodiment, and Fig. 4 is a screen in this embodiment. It is a figure which shows the example of a display. 11... File information creation program, 12... File item definition information creation program, 13... File update program. Agent: Patent Attorney Shindai Uchihara]

Claims (1)

【特許請求の範囲】  使用するファイルのすべてについて、ファイル名、キ
ー位置、キーサイズ、レコードサイズの情報をファイル
情報として登録し、 各ファイル単位にレコードの内容を、項目単位に、名称
、サイズ、属性を項目情報として登録し、 ファイルの更新を行ない、ファイル更新する当該ファイ
ルを画面から指示し、該ファイルのファイル情報と項目
情報により実データを画面へ編集出力し、その画面デー
タを変更し、変更した結果を更新ファイルへ書き込むこ
とを特徴とするデータファイル更新方式。
[Claims] For all files to be used, information such as file name, key position, key size, and record size is registered as file information, and record contents are recorded in each file and item by name, size, and record size. Register the attributes as item information, update the file, specify the file to be updated from the screen, edit and output the actual data to the screen using the file information and item information of the file, change the screen data, A data file update method characterized by writing changed results to an update file.
JP2239487A 1990-09-10 1990-09-10 Data file updating system Pending JPH04118728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2239487A JPH04118728A (en) 1990-09-10 1990-09-10 Data file updating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2239487A JPH04118728A (en) 1990-09-10 1990-09-10 Data file updating system

Publications (1)

Publication Number Publication Date
JPH04118728A true JPH04118728A (en) 1992-04-20

Family

ID=17045512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2239487A Pending JPH04118728A (en) 1990-09-10 1990-09-10 Data file updating system

Country Status (1)

Country Link
JP (1) JPH04118728A (en)

Similar Documents

Publication Publication Date Title
JP3441155B2 (en) Information management search device
JPH04118728A (en) Data file updating system
JP3545190B2 (en) CAD system and recording medium
JP2613881B2 (en) Automatic creation of shipping documents
JPH07191716A (en) Controller
JPH0667955A (en) Data file editing system
JPS6330931A (en) Document format stipulating system
JP2000305829A (en) Device and method for folder management and recording medium
JP3216951B2 (en) Finite element mesh generator
JPH05324556A (en) Already executed operation canceller
JP2582907B2 (en) General-purpose data creation processor
JPH022598A (en) Method and device for data editing
JP2852162B2 (en) Database management device
JPH03231377A (en) Editing and working system for image data
JPH06149776A (en) Simulation device based upon petri net
JPH0365759A (en) Edition processing system for table
JP2007026198A (en) Data file management method
JPH04111053A (en) Document processor
JPS63220367A (en) Tree structure chart forming device
JPH0785237A (en) Method and device for editing picture
JPH0528141A (en) Document title editing system
JPH0594295A (en) Editing device for plural sub files
JPH0635643A (en) Screen output method for data
JPH0370027A (en) Operation instructing voice command system for cad system
JPH04353932A (en) Object management processor