JPH0454537A - List output device - Google Patents

List output device

Info

Publication number
JPH0454537A
JPH0454537A JP2163349A JP16334990A JPH0454537A JP H0454537 A JPH0454537 A JP H0454537A JP 2163349 A JP2163349 A JP 2163349A JP 16334990 A JP16334990 A JP 16334990A JP H0454537 A JPH0454537 A JP H0454537A
Authority
JP
Japan
Prior art keywords
source
file
list
parent
child
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
JP2163349A
Other languages
Japanese (ja)
Inventor
Yoshiharu Oka
義治 岡
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 JP2163349A priority Critical patent/JPH0454537A/en
Publication of JPH0454537A publication Critical patent/JPH0454537A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To output the source names contained in a relative source file of the other side in a list as well as a relevant source name by outputting the source names extracted by the 1st and 2nd extracting means in a list with correspondence secured between the source names of both means. CONSTITUTION:A 1st extracting means 2 extracts the source names of a changed source file out of a source file storage means 1 among those various source files stored in the means 1 when a source file is changed. A 2nd extracting means 3 extracts the source names of another source file related previously out of the means 1 in response to the source names extracted by the means 2. Then an output means 4 outputs the source names extracted by both means 2 and 3 in a list with correspondence secured between the names extracted by both means 2 and 3. Thus not only a relevant source name but the source names of a related source file of the other side can be outputted in a list.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、オフィスコンピュータ等において、ソース
ファイルのソース名をリスト出力するリスト出力装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a list output device for outputting a list of source names of source files in an office computer or the like.

[発明の概要] この発明はリスト出力装置において、各種ソースファイ
ルのうち、変更のあったソースファイルのソース名とこ
のファイルに関連する他のソースファイルのソース名と
を対応づけてリスト出力するようにしたものである。
[Summary of the Invention] The present invention provides a list output device that outputs a list by associating the source name of a source file that has been changed with the source names of other source files related to this file among various source files. This is what I did.

[従来の技術] 従来、オフィスコンピュータ等の事務処理装置において
、ファイルディスクには例えば、売上明細ファイル、得
意先別売上ファイル、売上集計ファイル、在庫ファイル
等、各種のソースファイルが格納されている。
[Background Art] Conventionally, in a business processing device such as an office computer, a file disk stores various source files such as a sales details file, a sales file by customer, a sales summary file, and an inventory file.

ところで、ソースファイルのレコード構造等は必要に応
じてユーザが任意に変更することかある。
Incidentally, the record structure of the source file may be arbitrarily changed by the user as necessary.

このような場合、ある期間内において、どのファイルが
変更されたかを確認する為に、変更ファイルの出力指令
を与えると、その出力指令に応答して変更されたファイ
ルのソース名がリスト出力される。
In such a case, in order to check which files have been changed within a certain period of time, if you give an output command for changed files, a list of the source names of files that have been changed will be output in response to the output command. .

[発明が解決しようとする課iIi] しかしながら、このリスト内容からは変更されたファイ
ルのみを確認できるだけで、そのファイルと関係する他
のファイルまでも確認することはできなかった。
[Issue iiii to be Solved by the Invention] However, from the contents of this list, it is only possible to confirm the changed file, and it is not possible to confirm other files related to that file.

このことは次のような問題を生ずる。つまり、各種ソー
スファイルのうち、あるソースファイル同士はデータの
一部が重複し合ったり、互いに関連し合う為、全てのソ
ースファイルを別個独立して取り扱うと、関連し合う一
方のソースファイルが変更された場合、他方のソースフ
ァイルもそれに応じて影響を受け、当該他方のソースフ
ァイルもそれに応じて変更する等の対応が必要となるが
、従来においては任意のファイルが変更された際、それ
に関連する他のソースファイルが存在していてもそれを
確認することができない為、関連ファイルの変更等を行
わないままそれを放置してしまうという重大な欠点があ
った。
This gives rise to the following problems. In other words, among the various source files, some of the data may overlap or are related to each other, so if you treat all source files separately, one of the related source files will change. If the other source file is changed, the other source file will be affected accordingly, and it will be necessary to take measures such as changing the other source file accordingly.However, conventionally, when any file is changed, the related files will be affected accordingly. Even if other source files exist, it cannot be confirmed, so there is a serious drawback that related files are left unaltered without being changed.

してみれば、互いに関連し合う複数のソースファイルの
うち任意のソースファイルが変更された場合には当該ソ
ース名と共に、それに関連する他方のソースファイルの
ソース名もリスト出力できれば、ファイル管理が確実な
ものとなり、事務処理等を円滑に遂行できるようになる
ことは明らかである。
Therefore, if any source file among multiple source files that are related to each other is changed, it would be possible to output a list of the source name and the source name of the other related source file, which would make file management more reliable. It is clear that this will make it easier to carry out administrative processing, etc.

この発明のff1iは、互いに関連し合う複数のソース
ファイルのうち任意のソースファイルが変更された場合
には当該ソース名と共に、それに関連する他方のソース
ファイルのソース名もリスト出力できるようにすること
である。
The ff1i of the present invention is capable of outputting a list of the source name of the other source file related to the source file when any source file among a plurality of mutually related source files is changed. It is.

[ff1iiを解決するための手段] この発明の手段は次の通りである。[Means for solving ff1ii] The means of this invention are as follows.

ソースファイル記憶手段1(第1rI!Jの機能ブロッ
ク図を参照、以下同じ)は、複数のソースファイルを記
憶するファイルディスク等で、売上明細ファイル、売上
集計ファイル、得意先別売上ファイル等、各種のソース
ファイルを記憶するるこの場合、互いに関連する複数の
ソースファイルのうちその一つを親ソースファイルと定
義すると、他のソースファイルは子ソースファイルと定
義することができる。
The source file storage means 1 (see the functional block diagram of 1st rI!J, the same applies hereinafter) is a file disk etc. that stores a plurality of source files, such as a sales details file, a sales summary file, a sales file by customer, etc. In this case, if one of a plurality of mutually related source files is defined as a parent source file, the other source files can be defined as child source files.

第1の抽出手段2はソースファイル記憶手段lに記憶さ
れている各種ソースファイルのうち、変更のあったソー
スファイルのソース名をソースファイル記憶手段1から
抽出する。
The first extraction means 2 extracts from the source file storage means 1 the source name of the source file that has been changed among the various source files stored in the source file storage means 1.

第2の抽出手段3は第1の抽出手段2によって抽出され
たソース名のファイルに対応して予め関連付けられてい
る他のソースファイルのソース名をソースファイル記憶
手段lから抽出する。
The second extraction means 3 extracts from the source file storage means 1 the source names of other source files that are associated in advance with the file with the source name extracted by the first extraction means 2.

出力手段4は第1の抽出手段2によって抽出されたソー
ス名と第2の抽出手段3によって抽出されたソース名と
を対応付けてリスト出力する表示装置や印刷装置等であ
る。
The output means 4 is a display device, a printing device, etc. that outputs a list of the source names extracted by the first extraction means 2 and the source names extracted by the second extraction means 3 in association with each other.

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

いま、ソースファイル記憶手段1に記憶されている各種
のソースファイルのうち、任意のソースファイルを指定
してそのレコード構造等を変更したものとする。
Now, it is assumed that an arbitrary source file is specified among the various source files stored in the source file storage means 1 and its record structure etc. are changed.

ここで、第1の抽出手段2はファイル変更が行われた際
、あるいは変更ファイルのリスト出力指令が与えられた
際、ソースファイル記憶手段lに記憶されている各種ソ
ースファイルのうち、変更のあったソースファイルのソ
ース名をソースファイル記憶手段lから抽出する。
Here, when a file is changed or when a command to output a list of changed files is given, the first extraction means 2 extracts the changed files from among the various source files stored in the source file storage means 1. The source name of the source file is extracted from the source file storage means l.

すると、第2の抽出手段3は第1の抽出手段2によって
抽出されたソース名のファイルに対応して予め関連付け
られている他のソースファイルのソース名をソースファ
イル記憶手段lから抽出する、ここで、第1の抽出手段
2によって抽出されたソース名が親ソースファイルとす
ると、第2の抽出手段3はこのファイルに対応する全て
の子ソースファイルを抽出し、逆に第1の抽出手段2に
よって抽出されたソース名が子ソースファイルとすると
、第2の抽出手段3はこのファイルに対応する親ソース
ファイルを抽出する。
Then, the second extraction means 3 extracts from the source file storage means 1 the source name of another source file that is associated in advance with the file with the source name extracted by the first extraction means 2. If the source name extracted by the first extraction means 2 is a parent source file, the second extraction means 3 extracts all the child source files corresponding to this file, and conversely, the first extraction means 2 If the source name extracted by is a child source file, the second extraction means 3 extracts the parent source file corresponding to this file.

これによって出力手段4は、第1の抽出手段2によって
抽出されたソース名と第2の抽出手段3によって抽出さ
れたソース名とを対応付けてリスト出力する。
As a result, the output means 4 outputs a list of the source names extracted by the first extraction means 2 and the source names extracted by the second extraction means 3 in association with each other.

したがって、互いに関連し合う複数のソースファイルの
うち任意のソースファイルが変更された場合には当該ソ
ース名と共に、それに関連する他方のソースファイルの
ソース名もリスト出力することができる。
Therefore, when any source file among a plurality of mutually related source files is changed, the source name of the other source file related to it can be output as a list along with the source name.

[実施例] 以下、第2図〜第6図を参照して一実施例を説明する。[Example] Hereinafter, one embodiment will be described with reference to FIGS. 2 to 6.

第2図はオフィスコンピュータ(リスト出力装置)の構
成を示したブロック図である。
FIG. 2 is a block diagram showing the configuration of an office computer (list output device).

CPUIIはROM12内に格納されているシステムプ
ログラム等にしたがってこのオフィスコンピュータの各
種の動作を制御するもので、キー人力部13からファイ
ルの変更が指示されると、CPUIIはディスク制御f
i14を介して親ディスクメモリ15や子ディスクメモ
リ16を制御し、親ディスクメモリ15や子ディスクメ
モリ16内に予め格納されている各種のソースファイル
のうち、指定されたソースファイルのレコード構造等を
変更する。
The CPU II controls various operations of this office computer according to system programs stored in the ROM 12, and when a file change is instructed from the key human power section 13, the CPU II controls the disk control f.
Controls the parent disk memory 15 and child disk memory 16 via the i14, and controls the record structure, etc. of a specified source file among the various source files stored in advance in the parent disk memory 15 and child disk memory 16. change.

ここで、第2図において、親ディスクメモリ15内には
3s類の親ソースファイル(ソース名rAJ、rBJ、
「C」)が格納されている場合を示し、また子ディスク
メモリ16内にはQli類の子ソースファイル(ソース
名「1」、「2」、「3」、 「4」、 r5」、  
r6」、「7」、「8」、「9」)が格納されている場
合を示している。そして、各ディスクメモリ15.16
内のディレクトリエリア15DA、16DAには変更フ
ァイルのソース名に対応してファイルの変更有りを示す
変更フラグr本」が記憶され、これによって、親ディス
クメモリ15においては、ソース名「B」のファイルが
変更されたことを表し、また、子ディスクメモリ16に
おいてはソース名「2」・ 「6」、「8」のファイル
が変更されたことを表している。
Here, in FIG. 2, parent source files of 3s types (source names rAJ, rBJ,
"C") is stored in the child disk memory 16, and Qli class child source files (source names "1", "2", "3", "4", r5",
r6'', ``7'', ``8'', ``9'') are stored. And each disk memory 15.16
In the directory areas 15DA and 16DA, a change flag indicating that the file has been changed corresponding to the source name of the changed file is stored, and as a result, in the parent disk memory 15, the file with the source name "B" It also shows that files with source names "2", "6", and "8" have been changed in the child disk memory 16.

また、親ディスクメモリ15内の親ソースファイルと子
ディスクメモリ16内の子ソースファイルとの親子関係
は親子対応テーブルメモリ17の設定内容によって次の
如く定義されている。即ち、親子対応テーブルメモリ1
7内にはファイル設定時にユーザの所望する親子関係が
予め設定されており、親ソースファイル(ソース名rA
J )は4種類の子ソースファイル(ソース名「l」。
Further, the parent-child relationship between the parent source file in the parent disk memory 15 and the child source file in the child disk memory 16 is defined as follows based on the settings of the parent-child correspondence table memory 17. That is, parent-child correspondence table memory 1
7, the parent-child relationship desired by the user is set in advance when setting the file, and the parent source file (source name rA
J) has four types of child source files (source name "l".

「2」、「3」、「4」)と関係し、また親ソースファ
イル(ソース名「B」)は211類の子ソースファイル
(ソース名「5」、「6」)と関係し、更に親ソースフ
ァイル(ソース名[C」)は3種類の子ソースファイル
(ソース名「7」、r8」、rl )と関係している。
"2", "3", "4"), and the parent source file (source name "B") is related to the 211 class child source files (source name "5", "6"), and The parent source file (source name [C]) is related to three types of child source files (source names "7", r8", and rl).

この親子関係を模式的に示したものが第3図である。FIG. 3 schematically shows this parent-child relationship.

一方、CPUIIはキー人力部13からリスト出力指令
を受は取ると、ディスク制御部14を介して親ディスク
メモリ15や子ディスクメモリ16を制御し、そのディ
レクトリエリア150A、16DAからデータを取り込
んで、変更フラグの有無をチエツクし、その結果、ファ
イルの変更有りが検出されると、親子対応テーブルメモ
リ17を参照して変更のあったソースファイルと親子関
係にある他のソースファイルのソース名を親ディスクメ
モリ15や子ディスクメモリ16から抽出し、変更のあ
ったファイルのソース名と共にそれと親子関係にある他
のファイルのソース名を変更リストメモリ18に書き込
む。
On the other hand, when the CPU II receives a list output command from the key human power section 13, it controls the parent disk memory 15 and child disk memory 16 via the disk control section 14, takes in data from the directory areas 150A and 16DA, and The presence or absence of a change flag is checked, and if it is detected that a file has been changed, the parent-child correspondence table memory 17 is referred to and the source name of another source file that has a parent-child relationship with the source file that has been changed is changed to the parent file. The file is extracted from the disk memory 15 and the child disk memory 16, and the source name of the changed file and the source names of other files in a parent-child relationship are written in the change list memory 18.

この変更リストメモリ18内のデータはRAM19内に
予め設定されている表フォーマットにしたがって表を構
成する枠線データやラベル名と共に印字部20から印字
出力される。
The data in the change list memory 18 is printed out from the printing unit 20 along with the frame line data and label names constituting the table according to a table format preset in the RAM 19.

次に、本実施例の動作を第4図〜第6図を参照して説明
する。
Next, the operation of this embodiment will be explained with reference to FIGS. 4 to 6.

第4図はキー人力部13からのリスト出力指令に応答し
て実行開始されるフローチャートである。
FIG. 4 is a flowchart that starts execution in response to a list output command from the key human power section 13.

先ず、親ディスクメモリ15、子ディスクメモリ16の
うち親ディスクメモリ15を指定し、そのディレクトリ
エリア15DAの先頭から1ファイル分のデータを読み
出す(ステップSl)。
First, the parent disk memory 15 is designated among the parent disk memory 15 and the child disk memory 16, and data for one file is read from the beginning of the directory area 15DA (step Sl).

そして、親ディスクメモリ15および子ディスクメモリ
16のディレクトリエリア15DA、16DAから全フ
ァイル分のデータを読み出したか否かを調べ(ステップ
S2)、その読み出しを終了していなれければ、ステッ
プS3に進み、読み出したデータ内に変更フラグが含ま
れているか否かを調べる。
Then, it is checked whether data for all files has been read from the directory areas 15DA and 16DA of the parent disk memory 15 and the child disk memory 16 (step S2), and if the reading has been completed, the process proceeds to step S3. Check whether the read data contains a change flag.

いま、ソース名rAJに関するデータには、変更フラグ
が含まれていない為、ステップS1に戻り、親ディスク
メモリ15のディレクトリエリア15DAから次のデー
タ、つまり、ソース名rBJに関するデータを読み出す
、この場合、当該データには変更フラグが含まれている
為、ステップS4に進み、当該ソース名が変更リストメ
モリ18内に既に書き込まれているかを調べる。
Now, since the data related to the source name rAJ does not include a change flag, the process returns to step S1 and reads the next data, that is, the data related to the source name rBJ, from the directory area 15DA of the parent disk memory 15. In this case, Since the data includes a change flag, the process advances to step S4 to check whether the source name has already been written in the change list memory 18.

いま、変更リストメモリ18内にはデータが一切記憶さ
れていないものとすると、ステップS5に進み、当該ソ
ース名が親ソースファイルに関するものか子ソースファ
イルに関するものかを調べる。
Assuming that no data is stored in the change list memory 18, the process advances to step S5 to check whether the source name is related to a parent source file or a child source file.

ここで、ソース名rBJは親ソースファイルに関するも
のであるから、ステップS6に進み親子対応テーブルメ
モリ17を参照してソース名rBJと親子関係にある全
ての子ソースファイルのソース名「5」、 「6」を子
ディスクメモリ16から抽出し、親ソース名rBJに対
応付けてこの子ソース名「5」、「6」を変更リストメ
モリ18内に挿入記憶させる(ステップS7)、その後
、変更リストメモリ18内の当該親ソース名rBJに変
更マーク「零」を付加する(ステップS8)、第5図(
A)はこの場合における変更リストメモリ18の記憶内
容を示し、先ず変更マークが付された親ソース名r13
Jが記憶され、それに続いてそれと親子関係にある子ソ
ース名「5」、「6」が記憶される。
Here, since the source name rBJ is related to the parent source file, the process proceeds to step S6 and refers to the parent-child correspondence table memory 17 to find source names "5", "5", "6'' from the child disk memory 16, and insert and store the child source names ``5'' and ``6'' in the change list memory 18 in association with the parent source name rBJ (step S7). A change mark "zero" is added to the parent source name rBJ in 18 (step S8), as shown in FIG.
A) shows the storage contents of the change list memory 18 in this case, first, the parent source name r13 with a change mark attached.
J is stored, followed by child source names "5" and "6" that have a parent-child relationship with it.

そして、ステップSlに戻り、親ディスクメモリ15か
ら次のデータを読み出すが、ソース名「C」に関するデ
ータには変更フラグが付加されていないので、再びステ
ップS1に戻る。いま、親ディスクメモリ15から全フ
ァイル分のデータを読み出したので、今度は子ディスク
メモリ16のディレクトリエリア16DAからその先頭
1ファイル分のデータを読み出す、この場合、先頭のソ
ース名rlJに関するデータには変更フラグが含まれて
いない為、再びステップStに戻り。
Then, the process returns to step S1 to read the next data from the parent disk memory 15, but since no change flag has been added to the data related to the source name "C", the process returns to step S1 again. Now that we have read the data for all files from the parent disk memory 15, we will now read the data for the first file from the directory area 16DA of the child disk memory 16. In this case, the data regarding the first source name rlJ is Since the change flag is not included, the process returns to step St again.

次のデータの読み出しを行う。Read the next data.

ここで、読み出されたデータつまり、ソース名「2」に
関するデータは次の条件を満足する。即ち、変更フラグ
が含まれていること(ステップS3でYES)、変更リ
ストメモリ18内に当該ソース名が記憶されていないこ
と(ステップS4でNo)、更に子ソースファイルに関
するデータであること(ステップS5でNo)を満足す
る為、ステップS9に進み、親子対応テーブルメモリ1
7を参照し、このソース名「2」と親子関係にある親ソ
ースファイルのソース名rAJを親ディスクメモリ15
から抽出し、この親ソース名rAJに対応付けて子ソー
ス名「2」を−更リストメモリ18内に挿入記憶させる
(ステップ510)、そして、変更リストメモリ18内
の当該子ソース名「2」に変更フラグ1本」を付加する
(ステップ5ll)、なお、この場合、変更リストメモ
リ18の内容は親ソース名順にソートされる為、その内
容は第5図(B)に示す如くとなる。
Here, the read data, that is, the data related to source name "2" satisfies the following conditions. That is, the change flag is included (YES in step S3), the source name is not stored in the change list memory 18 (No in step S4), and the data is related to a child source file (NO in step S4). Since the answer (No in S5) is satisfied, the process proceeds to step S9, and the parent-child correspondence table memory 1 is
7, the source name rAJ of the parent source file that has a parent-child relationship with this source name "2" is stored in the parent disk memory 15.
The child source name "2" is inserted and stored in the change list memory 18 in association with this parent source name rAJ (step 510), and the child source name "2" in the change list memory 18 is extracted from the parent source name rAJ. In this case, the contents of the change list memory 18 are sorted in the order of parent source names, so the contents become as shown in FIG. 5(B).

次に、子ディスクメモリ16のディレクトリエリア16
DAから変更フラグ有りのデータが読み出されるのは、
ソース名「6」に関するデータが読み出された場合であ
る。この場合、変更リストメモリ18内には既にソース
名「6」が記憶されているので、ステップS4でそのこ
とが検出されてステップ512に進み、変更リストメモ
リ18内の当該ソース名「6」に変更マーク「本」を付
加する。そして、当該ソース名「6」が親ソースファイ
ルに関するものであるかを調べるが(ステップ513)
、ソース名「6」は子ソースファイルに関するものであ
る為、ステップs1に戻る。第5図(C)はこの場合に
おける変更リストメモリ18の内容を示している。
Next, the directory area 16 of the child disk memory 16
Data with a change flag is read from DA as follows:
This is a case where data related to source name "6" is read. In this case, since the source name "6" is already stored in the change list memory 18, this is detected in step S4 and the process proceeds to step 512, where the source name "6" in the change list memory 18 is stored. Add change mark "Book". Then, it is checked whether the source name "6" relates to the parent source file (step 513).
, the source name "6" relates to a child source file, so the process returns to step s1. FIG. 5C shows the contents of the change list memory 18 in this case.

更に、子ディスクメモリ16のディレクトリエリア16
DAから変更フラグ有りのデータが読み出されるのは、
ソース名「8」に関するデータが読み出された場合であ
る。この場合、当該ソース名「8」は変更リストメモリ
18内に存在せず、しかも子ソースファイルである為、
それと親子関係にある親ソース名「C」を親ディスクメ
モリ15から抽出しくステップS9)、この親ソース名
r(Jと共に子ソース名「8」を変更リストメモリ18
内に挿入記憶させ(ステップS 10)、その後、変更
リストメモIν18内の子ソース名「8」に変更マーク
「本」を付加する(ステップ5ll)、第5図(D)は
この場合における変更リストメモリ18の内容を示した
ものである。
Furthermore, the directory area 16 of the child disk memory 16
Data with a change flag is read from DA as follows:
This is a case where data related to source name "8" is read. In this case, the source name "8" does not exist in the change list memory 18 and is a child source file, so
The parent source name "C" which has a parent-child relationship with it is extracted from the parent disk memory 15 (step S9), and the child source name "8" is changed together with this parent source name r (J) from the list memory 18.
(step S10), and then adds a change mark "book" to the child source name "8" in the change list memo Iν18 (step 5ll). FIG. 5(D) shows the changes in this case. The contents of the list memory 18 are shown.

このようにして子ディスクメモリ16のディレクトリエ
リア16DAから全ファイル分のデータを読み出すと、
ステップs2でそのことが検出されてステップ516に
進み、変更リストメモリ18の先頭からソース名の読み
出しを行ってそれが親ソースファイルに関するものか子
ソースファイルに関するものかを調べる(ステップ51
7)、いま、変更リストメモリ18から親ソースファイ
ルのソース名「A」が読み出される為、このソース名r
AJを印字部2oに与え、RAM19内に予め設定され
ている座標x1位置(第5図(E)参照)よりこのソー
ス名「A」を配置出力させる(ステップ51g)。
When data for all files is read from the directory area 16DA of the child disk memory 16 in this way,
This is detected in step s2, and the process proceeds to step 516, where the source name is read from the beginning of the change list memory 18 to check whether it is related to the parent source file or the child source file (step 51
7) Now, since the source name "A" of the parent source file is read from the change list memory 18, this source name r
AJ is given to the printing section 2o, and this source name "A" is arranged and output from the coordinate x1 position (see FIG. 5(E)) set in advance in the RAM 19 (step 51g).

そして、変更リストメモリ18から全データを読み出し
たか否かを調べ(ステップ519)、全データの読み出
し終了がステップ519によって検出されるまでステッ
プ516に戻る。
Then, it is checked whether all data have been read from the change list memory 18 (step 519), and the process returns to step 516 until it is detected in step 519 that all data has been read out.

いま、変更リストメモリ18からソース名「2」が読み
出されるが、この場合、ソース名「2」は子ソースファ
イルに関するものである為、このソース名「2」を印字
部20に与え、RAM19内に予め設定されている座標
x2位置(第5図(E)参照)よりこのソース名「2」
を配置出力させる(ステップ520)、そして、ステッ
プ519によって全データの読み出し終了が検出される
までステップSlに戻る為、今度は、変更リストメモリ
18からソース名rBJが読み出される。この場合、ソ
ース名「B」は親ソースファイルに関するものである為
、このソース名は座標X1位置より配置出力される(ス
テップ518)。
Now, the source name "2" is read out from the change list memory 18, but in this case, since the source name "2" relates to a child source file, this source name "2" is given to the printing unit 20 and stored in the RAM 19. This source name is "2" from the preset coordinate x2 position (see Figure 5 (E)).
is arranged and output (step 520), and the source name rBJ is read from the change list memory 18 in order to return to step Sl until the completion of reading all data is detected in step 519. In this case, since the source name "B" relates to the parent source file, this source name is placed and output from the coordinate X1 position (step 518).

以下、同様の動作を全データ分繰り返すことによって第
5図(E)に示すIsす変更ファイルの一覧表が印字出
力される。この場合、変更されたファイル自身のみなら
ず、それと親子関係にある他のファイルのソース名もリ
スト印刷されるが、変更ファイルと他のファイルとは変
更マーク「本」の有無によって識別可能である。
Thereafter, by repeating the same operation for all data, a list of changed files shown in FIG. 5(E) is printed out. In this case, not only the changed file itself but also the source names of other files in parent-child relationships are printed in a list, but the changed file and other files can be distinguished by the presence or absence of the change mark "book". .

ところで、上述のようにして1度変更ファイルのリスト
印字を行ったのち、親ディスクメモリ15や子ディスク
メモリ16内の変更フラグをオフにしてリスト出力の対
象から外すか、またはオンのままにしてその後もリスト
出力の対象としてその全部または一部を残しておくかは
オペレータの判断に委ねられている。
By the way, after printing a list of changed files as described above, you can turn off the change flags in the parent disk memory 15 and child disk memory 16 to exclude them from list output, or leave them on. After that, it is up to the operator to decide whether to leave all or part of the information as a list output target.

いま、リスト出力後においても第2図に示す親ディスク
メモリ15や子ディスクメモリ16内の変更フラグをそ
の後のリスト出力の対象としてモの全てを残すことを選
択したものとする。
Now, it is assumed that even after the list is output, it is selected to leave all the change flags in the parent disk memory 15 and child disk memory 16 shown in FIG. 2 as objects of subsequent list output.

その後、例えば、袈ソースファイル(ソース名「A」)
を変更し、再びリスト出力指令を与えると、先ず、親デ
ィスクメモリ15のディレクトリエリア15DAからソ
ース名rAJに関するデータが読み出される。その際、
ステップS3で変更フラグ有りが検出されてステップS
4に進むが、ソース名rAJは前回のリスト出力の際、
変更リストメモリ18内に既に記憶されているので、ス
テップ512に進み、このソース名rAJに変更マーク
1本」を付加する。また、このソース名「A」は親ソー
スファイルに関するものであるt・ら、ステップ514
に進み、親子対応テーブルメモリ17を参照し、これと
親子関係にある未抽出の全ての子ソース名を子ディスク
メモリ16から抽出し、これを変更リストメモリ1Bに
追加記憶させる(ステップ515)。
Then, for example, the kesa source file (source name "A")
When the list output command is given again after changing the source name rAJ, data related to the source name rAJ is first read from the directory area 15DA of the parent disk memory 15. that time,
In step S3, it is detected that there is a change flag, and in step S3, the change flag is detected.
Proceed to step 4, but the source name rAJ was changed from the previous list output.
Since it has already been stored in the change list memory 18, the process advances to step 512 and adds one change mark to this source name rAJ. Also, this source name "A" is related to the parent source file, step 514.
The program then refers to the parent-child correspondence table memory 17, extracts from the child disk memory 16 all unextracted child source names that have a parent-child relationship, and additionally stores them in the change list memory 1B (step 515).

以下、上述と同様の動作が実行されることによって変更
リストメモリ18の内容は第6図(A)に示す如くとな
り、また、この場合、第6図(B)に示す様なリスト印
刷が行われる。
Thereafter, by performing the same operations as described above, the contents of the change list memory 18 become as shown in FIG. 6(A), and in this case, list printing as shown in FIG. 6(B) is performed. be exposed.

なお、上記実施例は親子関係について示したが、3層以
上のツリー構造を成すファイル同士を関連ファイルとし
てもよい [発明の効果] この発明は、互いに関連し合う複数のソースファイルの
うち任意のソースファイルが変更された場合には当該ソ
ース名と共に、それに関連する他方のソースファイルの
ソース名もリスト出力することができるので、ファイル
管理が確実なものとなり、事務処1f等を円滑に遂行で
きるようになる。
In addition, although the above embodiment has shown the parent-child relationship, files forming a tree structure of three or more layers may be used as related files. When a source file is changed, the source name of the other source file related to it can be output as a list along with the source name, ensuring reliable file management and smooth execution of administrative tasks. It becomes like this.

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

81図はこの発明の機能ブロック図、第2N〜第6図は
実施例を示し、第2図はリスト出力装置の構成を示すブ
ロック図 第3図は親子対応テーブルメモリ17の設定
内容を模式的に示した図、第41!!Jはリスト出力時
の動作を示したフローチャート、第5図(A)〜(D)
はリスト出力時の動作に伴って変遷する変更リストメモ
リ18の内容を示した図、第5図(E)はこの場合のリ
スト印刷例を示した図、第6図は他のリスト出力例を示
し、第6図(A)はこの場合の最終的な変更リストメモ
リ18の内容を示した図、第6図CB)はこの場合のリ
スト印刷例を示した図である。 1 l・・・・・・CPU、  12・・・・・・RO
M、  !4・・・・・・ディスク制御部、15・・・
・・・親ディスクメモリ。 16・・・・・・子ディスクメモリ、17・旧・・親子
対応テーブルメモリ、1g・・・・・・変更リストメモ
リ、20・・・1印字部。
FIG. 81 is a functional block diagram of the present invention, FIGS. 2N to 6 show embodiments, FIG. 2 is a block diagram showing the configuration of a list output device, and FIG. 3 schematically shows the settings of the parent-child correspondence table memory 17. Figure shown in Figure 41! ! J is a flowchart showing the operation when outputting a list, FIGS. 5(A) to (D)
5(E) is a diagram showing an example of list printing in this case, and FIG. 6 is a diagram showing another example of list output. FIG. 6(A) is a diagram showing the final contents of the change list memory 18 in this case, and FIG. 6 (CB) is a diagram showing an example of list printing in this case. 1 l...CPU, 12...RO
M! 4...Disk control unit, 15...
...Parent disk memory. 16...Child disk memory, 17.Old...Parent-child correspondence table memory, 1g...Change list memory, 20...1 printing section.

Claims (1)

【特許請求の範囲】 複数のソースファイルを記憶するソースファイル記憶手
段と、 このソースファイル記憶手段に記憶されている各ソース
ファイルのうち、変更のあったソースファイルのソース
名を前記ソースファイル記憶手段から抽出する第1の抽
出手段と、この第1の抽出手段によって抽出されたソー
ス名のファイルに対応して予め関連付けられている他の
ソースファイルのソース名を前記ソースファイル記憶手
段から抽出する第2の抽出手段と、前記第1の抽出手段
によって抽出されたソース名と前記第2の抽出手段によ
って抽出されたソース名とを対応付けてリスト出力する
出力手段と、を具備したことを特徴とするリスト出力装
置。
[Scope of Claims] Source file storage means for storing a plurality of source files; and the source file storage means for storing the source name of a changed source file among the source files stored in the source file storage means. a first extracting means for extracting from the source file storage means, and a first extracting means for extracting from the source file storage means the source name of another source file that is associated in advance with the file with the source name extracted by the first extracting means. 2 extraction means, and output means for outputting a list of the source names extracted by the first extraction means and the source names extracted by the second extraction means in association with each other. list output device.
JP2163349A 1990-06-21 1990-06-21 List output device Pending JPH0454537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163349A JPH0454537A (en) 1990-06-21 1990-06-21 List output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163349A JPH0454537A (en) 1990-06-21 1990-06-21 List output device

Publications (1)

Publication Number Publication Date
JPH0454537A true JPH0454537A (en) 1992-02-21

Family

ID=15772197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163349A Pending JPH0454537A (en) 1990-06-21 1990-06-21 List output device

Country Status (1)

Country Link
JP (1) JPH0454537A (en)

Similar Documents

Publication Publication Date Title
JP3074737B2 (en) File update processor
US20030101416A1 (en) Creating XML documents
JPH03223966A (en) Filing device and file retrieving method applying its filing device
JPH01197878A (en) Document control device
JPH0454537A (en) List output device
JP2006268661A (en) Data import method and data import apparatus
JP4836545B2 (en) Screen creation device and program
JP2011154608A (en) Form input/output apparatus
JP3047400B2 (en) Data processing device
JP2613881B2 (en) Automatic creation of shipping documents
JPS63259724A (en) Comment information provision method
JPH02133822A (en) data processing equipment
EP0358860B1 (en) Apparatus and method for processing data corresponding to labels
JPH0215374A (en) Image information retrieving device
JP3120493B2 (en) Data processing device
JP3264399B2 (en) Document information management device
JPH0391067A (en) Document preparing device
JP6409355B2 (en) Item management program, apparatus, and method
JP2502177B2 (en) File security management system and data processing device
JPH067399Y2 (en) Edit data output device
JPH04143858A (en) Document processor
JP2003114814A (en) File management program and file management method
JPH0264814A (en) File control system for plural files in one magnetic tape volume
JPH04165564A (en) document creation device
JPH0793299A (en) File management method