JPH0449417A - File processor - Google Patents

File processor

Info

Publication number
JPH0449417A
JPH0449417A JP2158783A JP15878390A JPH0449417A JP H0449417 A JPH0449417 A JP H0449417A JP 2158783 A JP2158783 A JP 2158783A JP 15878390 A JP15878390 A JP 15878390A JP H0449417 A JPH0449417 A JP H0449417A
Authority
JP
Japan
Prior art keywords
file
files
merging
memory
word
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.)
Granted
Application number
JP2158783A
Other languages
Japanese (ja)
Other versions
JP3143909B2 (en
Inventor
Katsu Matsumura
松村 克
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP02158783A priority Critical patent/JP3143909B2/en
Publication of JPH0449417A publication Critical patent/JPH0449417A/en
Application granted granted Critical
Publication of JP3143909B2 publication Critical patent/JP3143909B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To combine files with a simple difinition by providing this file proces sor with a working means for working the record of a file corresponding to a file name to the record of a 1st common word and a merging means for merging respective files based upon the worked record. CONSTITUTION:A key definition document memory 15 is a memory for storing a key definition document by source file classifications and a source file name and a key word are set up in each key difinition document. A file merging document memory 16 sets up correspondence file names to be merged and the word name of a commonword of respective files and stores instruction data relating to file merging. All records of respective set files are worked to the records of common words based upon set contents. Then plural files worked into the records of the common words is merged to one file. Thus, file merging can be attained by the simple definition without being conscious of the physical structure of files.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、オフィスコンピュータ等におけるファイル処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file processing device in an office computer or the like.

[発明の概要コ 本発明のファイル処理装置は、合併したいファイルのフ
ァイル名と各ファイルにおける共通ワードのワード名の
対応付けを定義し、この定義に基づいて各ファイルを合
併するようにしたものである。
[Summary of the Invention] The file processing device of the present invention defines a correspondence between the file names of files to be merged and the word names of common words in each file, and merges each file based on this definition. be.

[従来技術] 従来、オフィスコンピュータ等を用いたファイル処理装
置において、例えばC0BOL等の汎用言語で複数のフ
ァイルを合併して1つの帳票として出力しようとする場
合、得ようとする帳票のフォーマット、レコードの順序
の他に、入力となる各ファイルについてそれぞれソート
が必要か否か、つまり、各ファイルが必要とするレコー
ド類となっているか否か等を意識して、設計並びにコー
ディングを行なっている。
[Prior Art] Conventionally, in a file processing device using an office computer or the like, when attempting to merge multiple files and output them as one form in a general-purpose language such as C0BOL, the format and record of the form to be obtained are In addition to the order of , we design and code with consideration to whether or not each input file needs to be sorted, that is, whether each file contains the required records.

[発明が解決しようとする課題] 上記のように従来のファイル処理装置では、ファイル合
併を行なう場合、ファイルの物理的構造を意識して合併
についての設定を行なわなければならず、その設定が非
常に面倒であった。
[Problems to be Solved by the Invention] As described above, in conventional file processing devices, when merging files, settings for merging must be made with the physical structure of the files in mind, and the settings are extremely difficult. It was a hassle.

本発明の課題は、ファイル合併に際して、ファイルの物
理的な構造を意識することなく、簡単な定義でファイル
合併を行ない得るファイル処理装置を提供することであ
る。
An object of the present invention is to provide a file processing device that can perform file merging with a simple definition without being aware of the physical structure of the files.

[課題を解決するための手段] 本発明の手段は次の通りである。[Means to solve the problem] The means of the present invention are as follows.

(1) 複数のファイルのうち合併したいファイルのフ
ァイル名と各ファイルにおける共通ワードのワード名の
対応付けを設定する設定手段。
(1) Setting means for setting a correspondence between the file name of a file to be merged among a plurality of files and the word name of a common word in each file.

例えばファイル合併書メモリ16である。For example, it is the file merger memory 16.

(2) 上記設定手段により設定されたファイル名対応
のファイルのレコードを設定された共通ワドのレコード
に加工する加工手段。
(2) Processing means for processing the record of the file corresponding to the file name set by the setting means into a record of the set common word.

例えばファイル合併書メモリ16に設定された内容に従
って指定ファイルのレコードを加工するCPUIIであ
る。
For example, it is a CPU II that processes records of a specified file according to the contents set in the file amalgamation memory 16.

(3) 上記加]二手段により加工されたレコードに基
づいて各ファイルを合併する合併手段。
(3) Merging means for merging each file based on the records processed by the above two means.

例えばファイル合併書メモリ16の設定内容に基づいて
加工されたファイルを合併するCPU11である。
For example, it is the CPU 11 that merges processed files based on the settings in the file merge memory 16.

[作用] 本発明の手段の作用は次の通りである。[Effect] The operation of the means of the invention is as follows.

ファイル合併を行なう際、まず、合併したいファイルの
ファイル名と各ファイルにおける共通ワードのワード名
の対応付けをファイル合併書に設定し、ファイル合併書
メモリに記憶する。上記ファイル合併書が設定されると
、その設定内容に基づいて各指定ファイルの全レコード
が共通ワードのレコードに加工される。その後、この共
通ワードのレコードに加工された複数のファイルが1つ
のファイルに合併される。
When merging files, first, the association between the file name of the file to be merged and the word name of the common word in each file is set in the file merging document and stored in the file merging document memory. When the file merger document is set, all records of each designated file are processed into common word records based on the settings. Thereafter, the plurality of files processed into records of this common word are merged into one file.

上記のように合併したいファイルと各ファイルにおける
共通ワードの対応付けを定義することにより、その定義
に基づいて各ファイルが合併されるので、ファイルの物
理的な構造を意識することなく、簡単な定義でファイル
合併を行なうことが可能となる。
By defining the correspondence between the files you want to merge and the common words in each file as described above, each file will be merged based on that definition, so you can easily define it without having to be aware of the physical structure of the files. It is now possible to merge files.

[実施例コ 以下、一実施例を第1図ないし第6図を参照しながら説
明する。
[Example 1] An example will be described below with reference to FIGS. 1 to 6.

第1図は、全体の構成を示すブロック図である。FIG. 1 is a block diagram showing the overall configuration.

同図において、符号11は回路全体の制御を行なうCP
Uで、可変長処理が可能である。このCPUIIにはパ
スライン12を介して入力部13、表示部14、キ一定
義書メモリー5、ファイル合併書メモリー6、出力定義
書メモリー7、帳票作成部18、ソートフラグメモリ2
0、ファイル別レコード構造メモリ21、ソースファイ
ル群22、加工ファイル23、ソートファイル群24、
マージファイル25が接続される。また、上記帳票作成
部18には、帳票出力部19が接続される。
In the figure, reference numeral 11 indicates a CP that controls the entire circuit.
U allows variable length processing. This CPU II is connected via a path line 12 to an input section 13, a display section 14, a key definition document memory 5, a file merger document memory 6, an output definition document memory 7, a form creation section 18, and a sort flag memory 2.
0, file-based record structure memory 21, source file group 22, processed file 23, sort file group 24,
Merge file 25 is connected. Further, a form output unit 19 is connected to the form creation unit 18 .

上記キ一定義書メモリー5は、第2図に示す各ソースフ
ァイル別のキ一定義書を記憶するもので、各キ一定義書
には、ソースファイル名とキーワードが設定される。こ
のキ一定義書メモリー5の設定内容は、ソート要否を判
別する際に参照される。
The key definition book memory 5 stores key definition books for each source file shown in FIG. 2, and a source file name and a keyword are set in each key definition book. The setting contents of the key definition book memory 5 are referred to when determining whether or not sorting is necessary.

ファイル合併書メモリー6は、ファイル合併を行なう際
、合併したいファイル名と各ファイルにおける共通ワー
ドのワード名の対応付けを設定するだめのもので、第3
図に示すように、処理内容、ファイル名、ワードNO1
、処理ワード名、ファイルワード名、等のファイル合併
に関する指示データが記憶設定される。なお、第3図に
おいて斜線で示す部分は項目名記憶欄で、予め所定の項
目名が書き込まれている。
The file merger book memory 6 is used to set the correspondence between the file names to be merged and the word names of common words in each file when merging files.
As shown in the figure, processing contents, file name, word No. 1
, processing word name, file word name, and other instruction data regarding file merging are stored and set. Note that the shaded area in FIG. 3 is an item name storage column in which a predetermined item name is written in advance.

出力定義書メモリー7は、出力定義書を記憶するもので
、各出力定義書には、出力すべきワード名と出力位置を
示す出力X座標が設定される。この出力定義書メモリー
7の設定内容は、帳票作成部18により参照される。即
ち、帳票作成部18は、帳票作成時に出力定義書メモリ
ー7の設定内容を参照し、作成した帳票データを帳票出
力部19に出力してプリントアウトする。
The output definition document memory 7 stores output definition documents, and in each output definition document, a word name to be output and an output X coordinate indicating the output position are set. The setting contents of the output definition book memory 7 are referred to by the form creation section 18. That is, the form creation unit 18 refers to the settings in the output definition memory 7 when creating a form, and outputs the created form data to the form output unit 19 to print it out.

ソートフラグメモリ20には、ソート要否の判別に際し
て、ソートが必要であると判別された場合にソートフラ
グが設定される。
A sort flag is set in the sort flag memory 20 when it is determined that sorting is necessary when determining whether or not sorting is necessary.

ファイル別レコード構造メモリ21は、ソースファイル
群22におけるファイル別のレコード構造を記憶するも
ので、そのデータとして、ファイル名、キーワード、ワ
ードNO0、ワード名等が設定される。ソースファイル
群22は、上記キーワードに基づいて例えば昇順にソー
トしたレコードを記憶している。
The file-by-file record structure memory 21 stores the file-by-file record structure in the source file group 22, and the file name, keyword, word NO0, word name, etc. are set as the data. The source file group 22 stores records sorted, for example, in ascending order based on the keywords.

次に上記実施例におけるファイル合併による帳票作成の
動作を第4図及び第5図のフローチャートに従って説明
する。例えば第6図に示すように、ファイルA、B、C
について、「担当コード」、「地区コード」、「売上実
績」のデータを「担当コード順」に合併するものとして
説明する。この場合、ファイルAにおいては「所属−担
当C」。
Next, the operation of creating a form by merging files in the above embodiment will be explained with reference to the flowcharts of FIGS. 4 and 5. For example, as shown in Figure 6, files A, B, C
will be explained assuming that the data of "person in charge code", "district code", and "sales results" are merged in "order of person in charge code". In this case, in file A, "Affiliation - Responsible Person C".

「地区C」、「売上」がファイルワード名として設定さ
れ、「所属−担当C」をキーワードとしてソートされて
いる。この「所属−担当C」は、2桁の所属コードと6
桁の担当者コードにより構成されている。ファイルBに
おいては「担当者C0DEJ 、r地区C0DEJ 、
r売上高」がファイルワード名として設定され、「担当
者C0DEJをキーワードとしてソートされている。
"Area C" and "Sales" are set as file word names, and the files are sorted using "Affiliation - Person in charge C" as a keyword. This "Affiliation - Responsible Person C" consists of a 2-digit affiliation code and 6
It consists of a digit code for the person in charge. In File B, "Person in charge C0DEJ, r district C0DEJ,
rSales" is set as the file word name, and the file is sorted using "person in charge C0DEJ" as a keyword.

ファイルCにおいては「社員CDJ、(’共通担当CD
J、r地区CDJ、r実績」のファイルワード名が設定
され、[社員CDJをキーワードとしてソートされてい
る。
In file C, "Employee CDJ, ('Common charge CD
A file word name of ``J, r district CDJ, r performance'' is set, and ``sorted using employee CDJ as a keyword.''

しかして、入力部13からファイル合併による帳票作成
の指示を入力することにより、CPU11の制御に従っ
て第4図のフローチャートに示す処理か実行される。こ
のフローチャートに示す処理は、CPUIIの制御に従
って実行される。
By inputting an instruction to create a form by merging files from the input unit 13, the process shown in the flowchart of FIG. 4 is executed under the control of the CPU 11. The processing shown in this flowchart is executed under the control of the CPU II.

CPUIIは、まず、第2図に示すキ一定義書の設定画
面を表示部14に表示し、定義キーに関するデータ入力
をガイドする。この入力画面において、ユーザーはキー
ワードを定義する(ステップAt)。第6図の例に示す
ように担当者のコード順に売上実績の表を作成する場合
には、「担当者コード」をキーワードとして定義する。
First, the CPU II displays the setting screen for the key definition document shown in FIG. 2 on the display section 14, and guides data input regarding the definition key. In this input screen, the user defines a keyword (step At). As shown in the example of FIG. 6, when creating a table of sales results in order of code of person in charge, "person in charge code" is defined as a keyword.

なお、このファイル合併の場合には、ファイル名の定義
は不要である。上記のキ一定義書は、キ一定義書メモリ
15に記憶される。
Note that in the case of this file merger, there is no need to define the file name. The above key definition document is stored in the key definition document memory 15.

上記キ一定義書の設定を終了すると、ステップA2に進
んで第3図に示すファイル合併書の設定画面を表示部1
4に表示する。即ち、第3図に斜線で示す項目名「処理
」、「ファイル名」、「処理ワード名」、「ファイルワ
ード名」を表示して、そのデータ入力をガイドする。上
記のようにファイルA、B、Cについて、「担当コード
」、「地区コード」、「売上実績」のデータを「担当コ
ード順」に合併する場合には、「処理」の項目に対して
「ファイル合併」を入力し、「ファイル名」の項目に対
してrAJ、rBJ、rcJのファイル名を入力し、「
処理ワード名」の項目には共通ワード名となる「担当コ
ード」、「地区コード」、「売上実績」を入力する。
When the setting of the above key definition document is completed, proceed to step A2 and display the file merger document setting screen shown in Figure 3 on the display section 1.
Display on 4. That is, the item names "Processing", "File Name", "Processing Word Name", and "File Word Name" indicated by diagonal lines in FIG. 3 are displayed to guide the data input. As mentioned above, when merging the data of "in charge code", "district code", and "sales results" for files A, B, and C in "in charge code order", click Enter "File Merger," enter the file names of rAJ, rBJ, and rcJ in the "File Name" field, and enter "File Merger."
In the "Processing word name" field, enter the common word names "in charge code", "district code", and "sales results".

そして、「ファイルワード名」の項目に対しては、上記
「担当コード」、「地区コード」、「売上実績」につい
てA−Cのファイル別に設定する。
For the item "File word name", the above "in charge code", "district code", and "sales record" are set for each file of A to C.

即ち、ファイルAにおいては、2桁の所属コードと6桁
の担当コードが一緒になっているので、フッイルAの「
担当コード」に対するファイルワードとして、所属コー
ドと担当コードを分割し、上位3桁目より6桁分の担当
コードを取り出すように設定する。また、ファイルAの
地区コードとして「地区C」、売上実績として「売上」
のデータを取り出すようにファイルワード名を設定する
In other words, in file A, the 2-digit affiliation code and the 6-digit staff code are the same, so file A's “
As a file word for the "in-charge code", the affiliation code and the in-charge code are divided, and the 6-digit in-charge code is extracted from the top 3 digits. In addition, the district code of File A is "District C", and the sales record is "Sales".
Set the file word name to retrieve the data.

同様にファイルBのファイルワード名としては、「担当
者コード」、「地区コード」、「売上高」を設定する。
Similarly, the file word names for file B are set as "person in charge code", "district code", and "sales amount".

更にファイルCのファイルワード名としては、「共通担
当CDJ、r地区CDJ。
Furthermore, the file word name of file C is "Common charge CDJ, r district CDJ."

「実績」を設定する。なお、ファイルCには、[社員C
DJが含まれているが、このデータは帳票作成に不要で
あるので取り出さないようにしている。上記のようにし
て合併したいファイルのファイル名と各ファイルA−C
における共通ワードのワード名の対応付けを設定する。
Set "Achievements". In addition, file C contains [Employee C
Although DJ is included, this data is not necessary for creating the form, so it is not taken out. The file names of the files you want to merge as above and each file A-C
Set the word name mapping for common words in .

このファイル合併書は、ファイル合併書メモリ16に記
憶される。
This file merger document is stored in the file merger document memory 16.

上記のファイル合併書の設定を終了すると、出力定義書
を設定する。この出力定義書には、出力したいワード名
、例えば「担当C0DEJ 、r地区C0DEJ、r売
上実績」を設定すると共に、出力X座標を設定する。こ
の出力X座標は、出力データの印字開始桁の位置を指定
するもので、例えば画面上に表示されるX座標ガイド等
を参照して設定する。この出力定義書は、出力定義書メ
モリ17に記憶設定される。
After completing the above settings for the file merger document, set the output definition document. In this output definition document, the word name to be outputted, for example, "C0DEJ in charge, r district C0DEJ, r sales results" is set, and the output X coordinate is set. This output X coordinate specifies the position of the printing start digit of the output data, and is set by referring to, for example, an X coordinate guide displayed on the screen. This output definition document is stored and set in the output definition document memory 17.

次いで上記ステップAl、A2により設定された定義内
容に従ってステップA4に示すファイルマージ処理を実
行する。このファイルマージ処理については、詳細を後
述する。
Next, the file merging process shown in step A4 is executed according to the definition contents set in steps Al and A2. Details of this file merging process will be described later.

そして、上記ファイルマージ処理を終了すると、帳票作
成部18が動作し、ファイルマージ処理された結果から
出力定義書メモリ17の定義内容に従って帳票を作成し
、帳票出力部19に出力してプリントアウトする。
When the file merging process is completed, the form creation unit 18 operates to create a form based on the results of the file merging process according to the definitions in the output definition memory 17, and outputs it to the form output unit 19 for printing. .

次に上記ステップA4のファイルマージ処理の詳細につ
いて第5図のフローチャートに従って説明する。まず、
ファイル合併書メモリ16の設定内容を参照して先頭の
ファイル、すなわち、ファイルAを指定する(ステップ
Bl)。そして、ファイル別レコード構造メモリ21か
ら指定ファイルAにおける現在のキーワードを読出すと
共に、キ一定義書メモリ15により新たに定義されたキ
ーワードを読出しくステップB2、B3)、両キワード
か一致しているかしているか否かを判別する(ステップ
B4)。このステップ82〜B4の処理により指定ファ
イルに対する要否を判別するもので、不一致であればソ
ートが必要であると判別してソートフラグをソートフラ
グメモリ20にセットしくステップB5)、一致してい
る場合はソートか不要であると判別してソートフラグを
リセットする(ステップBe)。上記ファイルAのキー
ワードは「所属−担当コード」、新たに定義されたキー
ワードは「担当コード」で、両キーワードは不一致であ
り、ソートフラグがセ・ソトされる。
Next, details of the file merging process in step A4 will be explained according to the flowchart of FIG. first,
The first file, ie, file A, is designated by referring to the setting contents of the file amalgamation memory 16 (step B1). Then, the current keyword in the specified file A is read from the file-by-file record structure memory 21, and the newly defined keyword is read from the key definition book memory 15 (Steps B2 and B3), and whether the two keywords match or not. It is determined whether or not (step B4). Through the processing of steps 82 to B4, it is determined whether the specified file is necessary or not, and if there is a mismatch, it is determined that sorting is necessary and a sort flag is set in the sort flag memory 20.Step B5) If so, it is determined that sorting is unnecessary and the sorting flag is reset (step Be). The keyword of the above file A is "affiliation-responsible code" and the newly defined keyword is "responsible code"; both keywords do not match, and the sort flag is set/sorted.

次いでファイル合併書メモリ16に設定内容に基づいて
指定ファイルの全レコードを加工し、加工ファイル23
へ書き込む(ステップB7)。この時点ではソースファ
イル群22内のファイルAに対し、第6図に示すように
「所属−担当C」から「担当コード」を分離して取り出
すと共に、「地区C」及び「売上」を読出し、加工ファ
イル23にそれぞれ「担当コード」、「地区コード」。
Next, all records of the specified file are processed in the file merger memory 16 based on the settings, and the processed file 23
(Step B7). At this point, for file A in the source file group 22, as shown in FIG. 6, the "in charge code" is separated from the "affiliation - in charge C" and extracted, and the "district C" and "sales" are read out. Processed file 23 contains "in charge code" and "district code" respectively.

「売上実績」として書き込む。すなわち、ファイルAの
各レコードを共通ワードのレコードに加工して加工ファ
イル23に書き込む。
Write it as "sales results". That is, each record of file A is processed into a common word record and written into the processed file 23.

次に、ソートフラグメモリ20の記憶内容からソートフ
ラグの有無をチエツクする(ステップB8)。ファイル
Aに対してはフラグがセットされているので、ステップ
B9に進み、加工ファイル23に記憶されているファイ
ル八を新たに定義されたキーワード「担当コード」によ
りソートし、ソートファイル群24にファイルA′とし
て記憶する。
Next, the presence or absence of a sort flag is checked from the stored contents of the sort flag memory 20 (step B8). Since the flag is set for file A, the process proceeds to step B9, where file 8 stored in the processed file 23 is sorted by the newly defined keyword "in charge code", and the file is added to the sorted file group 24. Store it as A'.

続いてファイル合併書メモリ16により他のファイルが
指定されているか否かを判別しくステップB11)、他
のファイルが指定されていれば次のファイル、この場合
にはファイルBを指定する(ステップB12)。その後
、ステップB2に戻り、ファイルBにおける現在のキー
ワード「担当コード」を読出すと共に、キ一定義書メモ
リ15により定義されたキーワード「担当コード」を読
出して一致比較する(ステップB8.B4)。この場合
には、両キーワードが一致しているので、ソートフラグ
メモリ20のフラグをリセットしくステップB6)、フ
ァイル合併書メモリ16に基づいてファイルBの全レコ
ードを加工しくステップB7)、加工ファイル23に書
き込む。
Next, it is determined whether another file is specified by the file merger memory 16 (step B11), and if another file is specified, the next file, in this case file B, is specified (step B12). ). Thereafter, the process returns to step B2, and the current keyword "in charge code" in file B is read out, and the keyword "in charge code" defined in the key definition book memory 15 is read out and compared for matching (steps B8 and B4). In this case, since both keywords match, the flag in the sort flag memory 20 is reset (step B6), all records of file B are processed based on the file merger memory 16 (step B7), the processed file 23 write to.

次いで、ソートフラグメモリ20の記憶内容からファイ
ルBに対するソートフラグの有無をチエツクする(ステ
ップB8)。ファイルBに対してはフラグがセットされ
ていないので、ステップBIOに進み、加工ファイル2
3に記憶されているファイルBをソートすることなく、
そのままソートファイル群24にファイルB′として転
送する。
Next, the presence or absence of a sort flag for file B is checked from the stored contents of the sort flag memory 20 (step B8). Since the flag is not set for file B, proceed to step BIO and process file 2.
Without sorting file B stored in 3.
The file is transferred as is to the sort file group 24 as file B'.

続いてステップBllを経てステップB12に進み、次
のファイルCを指定してステップB2に戻る。
The process then proceeds to step B12 via step Bll, specifies the next file C, and returns to step B2.

このファイルCは、現在のキーワードと新たに定義され
たキーワードが異なるので、ソートフラグをソートフラ
グメモリ20にセットし、ファイル合併書メモリ16に
基づいて全レコードを加工し、ソート処理を行なった後
、ソートファイル群24にファイルC′として記憶する
In this file C, the current keyword and the newly defined keyword are different, so the sort flag is set in the sort flag memory 20, all records are processed based on the file merger memory 16, and the sort process is performed. , are stored in the sort file group 24 as file C'.

以上でファイル合併書メモリ16に設定された全ファイ
ルに対しての処理を終了するので、ステップBllを経
てステップB13に進む。このステップB13では、第
6図に示すようにソートファイル群24に記憶されてい
るファイルA’  B’C′をキ一定義書メモリ15に
定義されているキーワード「担当コード」に越づいてマ
ージし、マージファイル25に書き込む。この結果、フ
ァイルA’ 、B’ 、C’のデータが「担当コード」
の順にソートされて1つのファイルに纏められ、マージ
ファイル25に記憶される。
This completes the processing for all files set in the file amalgamation memory 16, so the process advances to step B13 via step Bll. In step B13, files A'B'C' stored in the sort file group 24 are merged over the keyword "in charge code" defined in the key definition memory 15 as shown in FIG. and write it to the merge file 25. As a result, the data of files A', B', and C' are "responsible codes"
The files are sorted into one file and stored in the merge file 25.

以上でステップA4のファイルマージ処理を終了し、第
4図のステップA5に進む。このステップA5では、帳
票作成部18がマージファイル25の記憶データから出
力定義書メモリ17の定義内容に従って帳票を作成し、
帳票出力部19に出力してプリントアウトする。
This completes the file merging process in step A4, and the process proceeds to step A5 in FIG. In this step A5, the form creation unit 18 creates a form from the data stored in the merge file 25 according to the definition contents of the output definition memory 17,
It is output to the form output unit 19 and printed out.

上記のように複数のファイルがファイル合併書メモリ1
6の設定内容に従って合併処理され、1つのファイルに
纏められ、このファイルに従って帳票が作成される。
As shown above, multiple files are merged into file memory 1
The merge process is performed according to the settings in step 6, and the files are combined into one file, and a form is created according to this file.

[発明の効果] 以上詳記したように本発明によれば、合併したいファイ
ルのファイル名と各ファイルにおける共通ワードのワー
ド名の対応付けを定義し、この定義に基づいて各ファイ
ルを合併するようにしたので、ファイルの物理的な構造
を意識することなく、簡単な定義でファイル合併を行な
うことができる。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to define a correspondence between the file names of files to be merged and the word names of common words in each file, and to merge each file based on this definition. , it is possible to merge files with a simple definition without having to be aware of the physical structure of the files.

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

第1図は本発明の一実施例によるファイル処理装置の回
路構成を示すブロック図、第2図はキー定義書の設定例
を示す図、第3図はファイル合併書の設定例を示す図、
第4図は帳票作成の全体の処理動作を示すフローチャー
ト、第5図はファイルマージ処理の詳細を示すフローチ
ャート、第6図はファイル合併の具体例を示す図である
。 11・・CPU、12・・・パスライン、13・・・入
力部、14・・・表示部、15・・・キ一定義書メモリ
、16・・・ファイル合併書メモリ、17・・・出力定
義書メモリ、18・・・帳票作成部、19・・・帳票出
力部、20・・・ソートフラグメモリ、22・・・ソー
スファイル群、23・・・加工ファイル、24・・・ソ
ートファイル群、25・・・マージファイル。
FIG. 1 is a block diagram showing a circuit configuration of a file processing device according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of setting a key definition document, and FIG. 3 is a diagram showing an example of setting a file merger document.
FIG. 4 is a flowchart showing the overall processing operation for creating a form, FIG. 5 is a flowchart showing details of file merging processing, and FIG. 6 is a diagram showing a specific example of file merging. 11...CPU, 12...Pass line, 13...Input section, 14...Display section, 15...Key definition document memory, 16...File merger document memory, 17...Output Definition book memory, 18... Form creation section, 19... Form output section, 20... Sort flag memory, 22... Source file group, 23... Processing file, 24... Sort file group , 25...Merge file.

Claims (1)

【特許請求の範囲】 複数のファイルのうち合併したいファイルのファイル名
と各ファイルにおける共通ワードのワード名の対応付け
を設定する設定手段と、 上記設定手段により設定されたファイル名対応のファイ
ルのレコードを設定された共通ワードのレコードに加工
する加工手段と、 上記加工手段により加工されたレコードに基づいて各フ
ァイルを合併する合併手段と を具備したことを特徴とするファイル処理装置。
[Claims] Setting means for setting a correspondence between a file name of a file to be merged among a plurality of files and a word name of a common word in each file, and a record of a file corresponding to the file name set by the setting means. What is claimed is: 1. A file processing device comprising: processing means for processing a record into a record with a set common word; and merging means for merging each file based on the record processed by the processing means.
JP02158783A 1990-06-19 1990-06-19 File processing device Expired - Lifetime JP3143909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02158783A JP3143909B2 (en) 1990-06-19 1990-06-19 File processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02158783A JP3143909B2 (en) 1990-06-19 1990-06-19 File processing device

Publications (2)

Publication Number Publication Date
JPH0449417A true JPH0449417A (en) 1992-02-18
JP3143909B2 JP3143909B2 (en) 2001-03-07

Family

ID=15679241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02158783A Expired - Lifetime JP3143909B2 (en) 1990-06-19 1990-06-19 File processing device

Country Status (1)

Country Link
JP (1) JP3143909B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1170747A4 (en) * 1999-04-05 2003-03-05 Sharp Kk File managing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1170747A4 (en) * 1999-04-05 2003-03-05 Sharp Kk File managing system

Also Published As

Publication number Publication date
JP3143909B2 (en) 2001-03-07

Similar Documents

Publication Publication Date Title
JPH0776958B2 (en) Document shaping device
JPH08305616A (en) Data management system
JPH04350768A (en) Electronic name card filing device and document filing device
JP3356519B2 (en) Document information retrieval device
JPS63249267A (en) How to manage electronic filing devices
JPH0449417A (en) File processor
JP3047400B2 (en) Data processing device
JPH02289368A (en) Printing method
JP3008807B2 (en) Data processing device
JP3337469B2 (en) Information processing device
JPH0488469A (en) Device for issuing business management document or the like
JP3384017B2 (en) Data extraction system
JP2000056880A (en) Address list display device and method, and recording medium recording address list display program
JPS63619A (en) Kanji data rearranging device
JPH01250135A (en) Information processor and its information display method
JP4266722B2 (en) How to set index creation rules
JPS62266619A (en) Keyword input method for document filing system
JP3237709B2 (en) Document processing apparatus and document processing method
JPH07129565A (en) Information processing equipment
JPH05151241A (en) Data input device
JPH0744446A (en) How to associate grouping information
JPH0962708A (en) Data index method
JPH0259861A (en) Preparation, storage, and retrieval device for indexed document
JPH0221363A (en) Document search method
JPH03198141A (en) Command input device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090105

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100105

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110105

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110105

Year of fee payment: 10