JPH0816370A - Managing list preparing device - Google Patents

Managing list preparing device

Info

Publication number
JPH0816370A
JPH0816370A JP6166107A JP16610794A JPH0816370A JP H0816370 A JPH0816370 A JP H0816370A JP 6166107 A JP6166107 A JP 6166107A JP 16610794 A JP16610794 A JP 16610794A JP H0816370 A JPH0816370 A JP H0816370A
Authority
JP
Japan
Prior art keywords
name
source program
file
source
management book
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
JP6166107A
Other languages
Japanese (ja)
Other versions
JP2629604B2 (en
Inventor
Takehisa Ooishi
剛央 大石
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 JP6166107A priority Critical patent/JP2629604B2/en
Publication of JPH0816370A publication Critical patent/JPH0816370A/en
Application granted granted Critical
Publication of JP2629604B2 publication Critical patent/JP2629604B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prepare a managing list in a short time so as to manage how respective programs use records and the items of records or the like as the components of common resources such as a data base to be commonly used by plural programs. CONSTITUTION:A name extracting means 12 extracts the names of records and the items of records as the components of the data base to be commonly used by the respective programs from a schemer file 4, registers those names on a name table 13, extracts the names of the items of a control table to be commonly used by the respective programs from a definition macro-file 5 and registers them on the name table 13. A source program analyzing means 15 analyzes which of plural source programs stored in a source file 6 refers to and updates the components corresponding to the names registered on the name table 13, and a registering means 16 registers the analyzed results on a managing list storage part 7 as the managing list.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータシステムの
維持管理に関し、特に、コンピュータシステムを構成す
る複数のソースプログラムが共通に参照,更新する、デ
ータベースのレコードやレコードの項目,制御表の項目
等の共通資源の構成要素が、どのソースプログラムによ
って参照,更新されているのかを管理する管理簿を作成
する管理簿作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the maintenance of a computer system, and more particularly, to a database such as a record of a database, a record item, a control table item, etc., which is commonly referred to and updated by a plurality of source programs constituting the computer system. The present invention relates to a management list creation device that creates a management list for managing which source program refers to and updates a component of a common resource.

【0002】[0002]

【従来の技術】複数のソースプログラムを含むコンピュ
ータシステムに於いては、データベースや各種制御表と
いった資源をこれら複数のソースプログラムの共通資源
としている。各ソースプログラムはデータベース内の全
レコード,各レコード内の全項目を参照,更新するとは
限らず、その内の限られたレコードやレコードの項目の
みを参照することが多い。このため、データベースの構
成要素に変更があった場合や誤りがあった場合等に、そ
れを参照,更新しているソースプログラムをいち早く認
識して、修正等の対処を行なうことが必要となる。そこ
で、従来より、データベースのレコードやレコードの項
目,制御表の項目等の共通資源の構成要素が、どのソー
スプログラムによって参照,更新されているのかを管理
簿に登録しておくようにしている。
2. Description of the Related Art In a computer system including a plurality of source programs, resources such as a database and various control tables are used as common resources for the plurality of source programs. Each source program does not always refer to and update all records in the database and all items in each record, but often refers to only a limited record or record items. Therefore, when there is a change or an error in a component of the database, it is necessary to promptly recognize the source program that refers to and updates the component, and to take measures such as correction. Therefore, conventionally, which source program refers to and updates the components of the common resource, such as records in the database, record items, and control table items, is registered in a management list.

【0003】例えば、データベースのレコードに新規な
レコードの項目が追加された場合、それに合わせて上記
レコードを参照,更新するソースプログラムを修正する
ことが必要になり、このような場合、管理簿を参照する
ことより、レコードの項目が追加されたレコードを参
照,更新している、修正が必要なソースプログラムを直
ちに知ることができるので、ソースプログラムの修正を
速やかに行なうことが可能になる。また、レコードの項
目の属性(例えば、文字数等)が変更された場合も、同
様に、ソースプログラムの修正を速やかに行なうことが
可能になる。
For example, when a new record item is added to a database record, it is necessary to modify the source program that refers to and updates the above record, and in such a case, refer to the management list. By doing so, it is possible to immediately know the source program that needs to be corrected, referring to or updating the record to which the item of the record is added, so that the source program can be corrected promptly. Also, when the attribute (for example, the number of characters, etc.) of the item of the record is changed, similarly, the source program can be promptly corrected.

【0004】また、例えば、帳票印刷用のソースプログ
ラムによって印刷された帳票に誤りが発見され、その原
因がデータベースのレコード内容の誤りであった場合、
誤りのあった帳票を回収することは勿論必要になるが、
それ以外にも、上記誤りのあったレコード内容を印刷す
る他のソースプログラムによって印刷された印刷物を回
収したり、上記誤りのあったレコード内容をディスク装
置に出力するソースプログラムが出力したデータを無効
にしたりすること等が必要になる。このような場合、管
理簿を参照すれば、上記誤りのあったレコードを参照し
ているソースプログラムが直ちに判り、どのような印刷
物を回収すれば良いかとか、ディスク装置上のどのデー
タを無効にすれば良いか等が判るので、データベースの
誤りが発見された場合、直ちにそれに対処することが可
能になる。
Further, for example, if an error is found in a form printed by a form printing source program and the cause is an error in the contents of a record in a database,
Of course, it is necessary to collect the incorrect form,
In addition, collect the printed matter printed by another source program that prints the erroneous record contents, or output the erroneous record contents to the disk device. Invalid the data output by the source program. It is necessary to do something like this. In such a case, by referring to the management book, the source program that refers to the record with the above error can be immediately known, what kind of printed matter should be collected, and what data on the disk device should be invalidated. Since it is possible to know whether or not to do so, if an error in the database is discovered, it can be immediately dealt with.

【0005】ところで、このような管理簿は、従来、プ
ログラムについて記述されたドキュメントに基づいて人
手で作成していた。
Conventionally, such a management book has been manually created based on a document in which a program is described.

【0006】[0006]

【発明が解決しようとする課題】上述したように、従来
は、管理簿をプログラムについて記述されたドキュメン
トに基づいて人手で作成しており、その作成に多くの時
間がかかるため、コンピュータシステムの状態が変化し
た場合(データベースの内容が変化した場合やソースプ
ログラムの内容が変化した場合等)、管理簿の内容を最
新のコンピュータシステムの状態に合ったものにするま
でに時間がかかるという問題があると共に、管理簿の内
容に誤りが発生する惧れがあるという問題があった。
As described above, conventionally, a management book is manually created based on a document that describes a program, and it takes a lot of time to create the management book. However, there is a problem that it takes time for the contents of the management book to match the state of the latest computer system, when the contents of the database have changed (such as the contents of the database or the contents of the source program have changed). At the same time, there was a problem that the contents of the management book might be incorrect.

【0007】そこで、本発明の目的は、誤りのない最新
のコンピュータシステムの状態にあった管理簿を短時間
で作成することができる管理簿作成装置を提供すること
にある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a management book creating apparatus capable of creating a management book suitable for the latest computer system without errors in a short time.

【0008】[0008]

【課題を解決するための手段】本発明は上記目的を達成
するため、複数のソースプログラムを含むコンピュータ
システムに於いて、前記ソースプログラムが共通に参
照,更新する共通資源の構成要素を定義する、前記構成
要素の名標を含む情報が登録されたファイルから前記共
通資源の構成要素の名標を抽出する名標抽出手段と、該
名標抽出手段で抽出された名標に対応する構成要素が、
前記複数のソースプログラムの内の何れで参照,更新さ
れているのかを解析するソースプログラム解析手段と、
管理簿記憶部と、前記ソースプログラム解析手段の解析
結果を前記管理簿記憶部に登録する登録手段とを備えた
ものである。
In order to achieve the above object, the present invention defines, in a computer system including a plurality of source programs, components of a common resource that the source programs commonly refer to and update. A name extracting means for extracting the name of the component of the common resource from a file in which information including the name of the component is registered, and a component corresponding to the name extracted by the name extracting means. ,
Source program analysis means for analyzing which of the plurality of source programs is referenced or updated,
A management book storage unit and a registration unit for registering the analysis result of the source program analysis unit in the management book storage unit are provided.

【0009】[0009]

【作用】ファイルには、コンピュータシステムを構成す
る複数のソースプログラムが共通に参照,更新する共通
資源(データベース,制御表等)の構成要素(レコー
ド,レコードの項目等)を定義する、構成要素の名標を
含む情報(スキーマ,再定義原文,制御表の定義マクロ
等)が格納されている。
The file defines the components (records, record items, etc.) of common resources (databases, control tables, etc.) that are commonly referred to and updated by a plurality of source programs constituting the computer system. Information including name tags (schema, original text for redefinition, definition table definition macros, etc.) is stored.

【0010】名標抽出手段が、上記したファイルからデ
ータベースのレコードやレコードの項目の名標,制御表
の項目の名標等の、共通資源の構成要素の名標を抽出
し、ソースプログラム解析手段が、名標抽出手段で抽出
された名標に対応する構成要素がどのソースプログラム
によって参照,更新されているかを解析し、登録手段が
ソースプログラム解析手段の解析結果を管理簿記憶部に
登録する。
The name extracting means extracts the names of the constituent elements of the common resource, such as the names of the records in the database, the names of the items in the records, and the names of the items in the control table, from the above-mentioned file, and the source program analyzing means. Analyze by which source program the constituent element corresponding to the name extracted by the name extracting means is referenced and updated, and the registration means registers the analysis result of the source program analysis means in the management book storage unit. .

【0011】[0011]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0012】図1は本発明の実施例のブロック図であ
り、管理簿作成装置1と、入力装置2と、表示装置3
と、コンピュータシステムが備えているデータベース
(図示せず)の構成要素を定義するスキーマが格納され
たスキーマファイル4と、コンピュータシステムが備え
ている制御表(図示せず)の構成要素を定義する定義マ
クロが格納された定義マクロファイル5と、コンピュー
タシステムを構成するソースプログラムが登録されたソ
ースファイル6と、管理簿記憶部7と、管理簿記憶部7
に記憶された管理簿に対する利用者からの参照を可能に
する参照手段8とから構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a management book making device 1, an input device 2, and a display device 3 are provided.
And a schema file 4 storing a schema that defines components of a database (not shown) provided in the computer system, and a definition defining components of a control table (not shown) provided in the computer system A definition macro file 5 in which macros are stored, a source file 6 in which source programs constituting the computer system are registered, a management list storage unit 7, and a management list storage unit 7
And a reference means 8 which enables a user to refer to the management book stored in the management book.

【0013】管理簿作成装置1は、制御手段11と、名
標抽出手段12と、名標テーブル13と、ソースファイ
ル読み込み手段14と、ソースプログラム解析手段15
と、登録手段16とから構成されている。
The management book creator 1 includes a control means 11, a name extraction means 12, a name table 13, a source file reading means 14, and a source program analysis means 15.
And registration means 16.

【0014】名標抽出手段12は、データベースの構成
要素であるレコード及びレコードの項目の名標をスキー
マファイル4から抽出して名標テーブル13に登録する
機能と、制御表の構成要素である制御表の項目の名標を
定義マクロファイル5から抽出して名標テーブル13に
登録する機能とを有する。
The name tag extracting means 12 extracts a name of a record and an item of the record which are components of the database from the schema file 4 and registers it in the name table 13 and a control which is a component of the control table. It has a function of extracting a name of a table item from the definition macro file 5 and registering it in the name table 13.

【0015】ソースファイル読み込み手段14は、ソー
スファイル6からソースプログラムを読み込む機能を有
する。
The source file reading means 14 has a function of reading a source program from the source file 6.

【0016】ソースプログラム解析手段15は、ソース
ファイル読み込み手段14が読み込んだソースプログラ
ムを解析し、名標テーブル13に登録されている名標に
対応する構成要素を参照,更新しているソースプログラ
ムを求める機能を有する。
The source program analyzing means 15 analyzes the source program read by the source file reading means 14 and refers to the component corresponding to the name registered in the name table 13 to update the source program. It has the required function.

【0017】登録手段16は、ソースプログラム解析手
段15の解析結果を管理簿記憶部7に登録する機能を有
する。
The registration unit 16 has a function of registering the analysis result of the source program analysis unit 15 in the management book storage unit 7.

【0018】図2は制御手段11の処理例を示す流れ
図、図3は名標抽出手段12の処理例を示す流れ図、図
4はソースファイル読み込み手段14の処理例を示す流
れ図、図5はソースプログラム解析手段15の処理例を
示す流れ図、図6は登録手段16の処理例を示す流れ図
であり、以下各図を参照して本実施例の動作を説明す
る。
FIG. 2 is a flowchart showing an example of processing by the control means 11, FIG. 3 is a flowchart showing an example of processing by the name extraction means 12, FIG. 4 is a flowchart showing an example of processing by the source file reading means 14, and FIG. FIG. 6 is a flow chart showing a processing example of the program analysis means 15, and FIG. 6 is a flow chart showing a processing example of the registration means 16, and the operation of this embodiment will be described below with reference to the drawings.

【0019】コンピュータシステムの管理者は、コンピ
ュータシステムの構築時や、管理簿の内容をコンピュー
タシステムの最新の状態に合わせることが必要になった
時、入力装置2から管理簿作成装置1に対して管理簿作
成指示を入力する。
When constructing the computer system or when it is necessary to adjust the contents of the management book to the latest state of the computer system, the administrator of the computer system sends the information from the input device 2 to the management book creation device 1. Enter the management list creation instruction.

【0020】この管理簿作成指示は、管理簿作成装置1
内の制御手段11で受け付けられ、制御手段11は、管
理簿作成指示を受け付けると、図2の流れ図に示すよう
に、名標抽出手段12に対して名標の抽出を指示する
(ステップS1)。
The management book creation instruction is sent to the management book creation device 1
When the control unit 11 receives the management list creation instruction, the control unit 11 instructs the name extraction unit 12 to extract the name tag, as shown in the flowchart of FIG.
(Step S1).

【0021】この指示を受けると、名標抽出手段12
は、図3の流れ図に示すように、スキーマファイル4か
らレコード或いはレコードの項目の名標を1つ抽出し、
それを名標テーブル13に登録する (ステップS11,
S12)。名標抽出手段12は、スキーマファイル4中
のレコードの名標,レコードの項目の名標を全て抽出す
るまで (ステップS13がYES)、ステップS11,
S12,S13の処理を繰り返し行なう。
Upon receiving this instruction, the name tag extracting means 12
Extracts the name of one record or record item from the schema file 4 as shown in the flowchart of FIG.
It is registered in the name table 13 (step S11,
S12). The name extracting means 12 extracts the name of the record and the name of the item of the record in the schema file 4 (step S13: YES), and returns to steps S11 and S11.
The processes of S12 and S13 are repeatedly performed.

【0022】今、例えば、スキーマファイル4の内容が
図7に示すものであるとすると、名標抽出手段12は、
レコードエントリ中に設定されているレコード及びレコ
ードの項目の名標BU−REC,BU−CODE,BU
−NAME,KA−REC,KA−CODE,KA−N
AME,…を順次抽出し、名標テーブル13に登録する
ことになる (ステップS11,S12)。
Now, for example, if the contents of the schema file 4 are as shown in FIG.
Names BU-REC, BU-CODE, and BU of the record and record items set in the record entry
-NAME, KA-REC, KA-CODE, KA-N
AME,... Are sequentially extracted and registered in the name table 13 (steps S11, S12).

【0023】名標抽出手段12は、スキーマファイル4
に登録されているレコード及びレコードの項目の名標を
全て抽出すると (ステップS13がYES)、制御表の
構成要素である制御表の項目を定義している定義マクロ
ファイル5から制御表の項目の名標を1つ抽出し、それ
を名標テーブル13に登録する (ステップS14,S1
5)。名標抽出手段12は、定義マクロファイル5中の
制御表の項目の名標を全て抽出するまで (ステップS1
6がYES)、ステップS14,S15,S16の処理
を繰り返し行なう。
The name-mark extraction means 12 is a schema file 4
When all the records and the names of the items of the records registered in are extracted (YES in step S13), the control table items are defined from the definition macro file 5 that defines the control table items that are the constituent elements of the control table. One name tag is extracted and registered in the name tag table 13 (steps S14 and S1).
5). The name extracting means 12 extracts all the names of the items of the control table in the definition macro file 5 (step S1).
6 is YES), the processing of steps S14, S15, S16 is repeated.

【0024】図9はコンピュータシステムが備えている
制御表の一例を示した図である。この制御表は、コンピ
ュータシステムに接続されている端末の状態(正常,故
障等)を管理する制御表であり、制御表の項目の名標と
してTERMINAL−TABLE,TERMINAL
−ID,JYOTAIを有している。
FIG. 9 is a diagram showing an example of a control table provided in the computer system. This control table is a control table for managing the status (normal, fault, etc.) of the terminal connected to the computer system, and includes TERMINAL-TABLE, TERMINAL as names of items in the control table.
-ID and JYOTAI.

【0025】図10は定義マクロファイル5の内容例を
示した図であり、同図のAの部分が図9の制御表に対応
する定義マクロである。尚、制御表は、図9に示したも
の以外に、コンピュータシステム上で動作するタスクの
状態を管理する制御表等種々のものが存在し、定義マク
ロファイル5には、コンピュータシステムが備えている
全ての制御表の定義マクロが登録されている。
FIG. 10 is a diagram showing an example of the contents of the definition macro file 5, and the portion A in FIG. 10 is a definition macro corresponding to the control table of FIG. There are various control tables other than those shown in FIG. 9, such as control tables for managing the status of tasks operating on the computer system. The definition macro file 5 is provided in the computer system. Definition macros for all control tables are registered.

【0026】今、例えば、定義マクロファイル5の内容
が図10に示すものであるとすると、名標抽出手段12
は、TERMINAL−TABLE,TERMINAL
−ID,JYOTAI…を順次定義マクロファイル5か
ら抽出し、名標テーブル13に登録することになる。こ
の結果、名標テーブル13の内容は、図8に示すものと
なる。
Now, for example, if the contents of the definition macro file 5 are as shown in FIG.
Is TERMINAL-TABLE, TERMINAL
-ID, JYOTAI ... are sequentially extracted from the definition macro file 5 and registered in the name table 13. As a result, the contents of the name table 13 are as shown in FIG.

【0027】名標抽出手段12は、定義マクロファイル
5中の制御表の項目の名標を全て抽出して名標テーブル
13に登録すると、制御手段11に対して抽出終了を通
知する (ステップS17)。
When the name extraction means 12 extracts all the names of the items of the control table in the definition macro file 5 and registers them in the name table 13, it notifies the control means 11 of the end of extraction (step S17). ).

【0028】制御手段11は、名標抽出手段12から抽
出終了が通知されると(図2,ステップS2がYE
S)、ソースファイル読み込み手段14に対してソース
プログラムを1つ読み込むことを指示する (ステップS
3)。
The control means 11 is notified of the end of the extraction from the name mark extraction means 12 (FIG. 2, step S2 is YE).
S), instruct the source file reading means 14 to read one source program (step S)
3).

【0029】ソースファイル読み込み手段14は、制御
手段11からソースプログラムの読み込みが指示される
と、図4の流れ図に示すように、ソースファイル6から
読み込み済みでないソースプログラムを1つ読み込む
(ステップS21)。そして、読み込み済みでないソー
スプログラム(例えば、ソースプログラム名SOU1の
ソースプログラムとする)を1つ読み込めた場合 (ステ
ップS22がYES)は、ソースプログラムの読み込み
終了を制御手段11に通知し (ステップS23)、読み
込み済みでないソースプログラムが存在しない場合 (ス
テップS22がNO)は、制御手段11に対してソース
プログラム終了通知を行なう (ステップS24)。
When the reading of the source program is instructed from the control means 11, the source file reading means 14 reads one unread source program from the source file 6, as shown in the flowchart of FIG.
(Step S21). If one unread source program (for example, the source program having the source program name SOU1) can be read (YES in step S22), the control unit 11 is notified of the end of reading the source program (step S23). If there is no source program which has not been read (NO in step S22), the control unit 11 is notified of the end of the source program (step S24).

【0030】制御手段11は、ソースファイル読み込み
手段14からソースプログラムの読み込み終了が通知さ
れると (図2,ステップS4がYES)、ソースプログ
ラム解析手段15を動作させる (ステップS5)。
When notified of the end of the reading of the source program from the source file reading means 14 (FIG. 2, step S4 is YES), the control means 11 operates the source program analyzing means 15 (step S5).

【0031】これにより、ソースプログラム解析手段1
5は、図5の流れ図に示すように、名標テーブル13に
登録されている1つの名標(例えば、BU−REC)に
着目する (ステップS31)。その後、ソースプログラ
ム解析手段15は、ソースファイル読み込み手段14が
読み込んだソースプログラム名SOU1のソースプログ
ラムを検索し、ステップS31で着目した名標BU−R
ECを探す (ステップS33)。
Thus, the source program analyzing means 1
5 focuses on one mark (for example, BU-REC) registered in the mark table 13 as shown in the flowchart of FIG. 5 (step S31). After that, the source program analysis unit 15 searches for the source program of the source program name SOU1 read by the source file reading unit 14, and finds the name BU-R focused on in step S31.
Search for EC (step S33).

【0032】ソースプログラム名SOU1のソースプロ
グラムの終わりまで検索しても、現在着目している名標
BU−RECを探し出せなかった場合 (ステップS3
4,S35がそれぞNO,YES)は、名標テーブル1
3に登録されている次の1つの名標(例えば、BU−C
ODE)に着目する (ステップS31)。
When the target mark BU-REC of interest cannot be found even after searching until the end of the source program of the source program name SOU1 (step S3).
4, S35 is NO, YES) is the name table 1
3 (for example, BU-C
Focus on ODE) (step S31).

【0033】また、現在着目している名標BU−REC
を探し出せた場合 (ステップS34がYES)は、その
名標BU−RECの構成要素に対する使用種別が参照で
あるのか、更新であるのかを解析する (ステップS3
6,S37)。例えば、ソースプログラム名SOU1の
ソースプログラムがCOBLEで記述され、データベー
ス操作命令により、参照,更新を行なっている場合、着
目している名標BU−RECがSTORE BU−RE
C 〜,MODIFY BU−REC 〜の形で現れた
場合は、使用種別が更新と判定し、FIND BU−R
EC 〜,GETBU−REC 〜の形で現れた場合
は、使用種別が参照と判定する。
In addition, the name mark BU-REC which is currently focused on
Is found (YES in step S34), it is analyzed whether the use type for the component of the name label BU-REC is reference or update (step S3).
6, S37). For example, when the source program with the source program name SOU1 is described in COVER and is referenced and updated by a database operation instruction, the target label BU-REC is STORE BU-RE.
C, MODIFY BU-REC, if it appears, the usage type is determined to be updated, and the FIND BU-R
When it appears in the form of EC ~, GETBU-REC ~, it is determined that the usage type is reference.

【0034】その後、ソースプログラム解析手段15
は、ソースファイル読み込み手段14が読み込んでいる
ソースプログラム名SOU1のソースプログラムが、現
在着目している名標BU−RECの構成要素を、ステッ
プS36で解析した使用種別で使用していることを既に
解析している場合 (ステップS37がYES)は、ステ
ップS33の処理に戻る。また、上記ソースプログラム
名SOU1のソースプログラムが、現在着目している名
標BU−RECの構成要素を、ステップS36で解析し
た使用種別で使用していることを今回初めて解析した場
合は、解析結果である使用種別,現在着目している名標
BU−REC,ソースプログラム名SOU1を登録手段
16に通知する (ステップS38)。
Thereafter, the source program analyzing means 15
Already indicates that the source program having the source program name SOU1 read by the source file reading means 14 uses the constituent element of the name tag BU-REC which is currently focused on in the usage type analyzed in step S36. If the data is being analyzed (YES in step S37), the process returns to step S33. In addition, when the source program with the source program name SOU1 analyzes for the first time that the constituent element of the name tag BU-REC currently focused on is used in the usage type analyzed in step S36, the analysis result is Then, the registration means 16 is notified of the usage type, the name tag BU-REC that is currently focused, and the source program name SOU1 (step S38).

【0035】登録手段16は、ソースプログラム解析手
段15から、名標BU−REC,ソースプログラム名S
OU1,使用種別が通知されると、図6に示すように、
管理簿記憶部7を検索し、ソースプログラム解析手段1
5から通知された名標BU−RECが管理簿記憶部7に
登録されていない場合 (ステップS51がNO)は、名
標BU−REC,ソースプログラム名SOU1,使用種
別を管理簿記憶部7に新規登録し (ステップS52)、
そうでない場合 (ステップS51がYES)は、名標B
U−RECに対してソースプログラム名SOU1及び使
用種別を追加登録する (ステップS53)。
The registration means 16 receives the name BU-REC and the source program name S from the source program analysis means 15.
When OU1 and the use type are notified, as shown in FIG.
Searches the management list storage unit 7 and analyzes the source program
If the name tag BU-REC notified from 5 is not registered in the management list storage unit 7 (NO in step S51), the name tag BU-REC, the source program name SOU1, and the use type are stored in the management list storage unit 7. New registration (step S52),
Otherwise (step S51 is YES), the name B
The source program name SOU1 and type of use are additionally registered in U-REC (step S53).

【0036】管理簿記憶部7は、例えば、図11に示す
構成を有しており、登録手段16は、ソースプログラム
解析手段15から名標BU−REC,ソースプログラム
名SOU1,使用種別「参照」が通知され、その時、名
標BU−RECが管理簿記憶部7に登録されていなけれ
ば、図11に示すように、名標BU−REC,ソースプ
ログラム名SOU1,使用種別「参照」を管理簿記憶部
7に新規登録することになる。また、登録手段16は、
ソースプログラム解析手段15から名標BU−REC,
ソースプログラム名SOU1,使用種別「更新」が通知
され、その時、既に、管理簿記憶部7に名標BU−RE
Cが登録されていれば、図11に示すように、ソースプ
ログラム名SOU2,使用種別「更新」を名標BU−R
ECに対して追加登録する。
The management list storage unit 7 has, for example, the configuration shown in FIG. 11, and the registration unit 16 sends the name BU-REC, the source program name SOU1, and the use type “reference” from the source program analysis unit 15. If the name BU-REC is not registered in the management list storage unit 7 at that time, as shown in FIG. 11, the name BU-REC, the source program name SOU1, and the use type “reference” are stored in the management list. New registration is performed in the storage unit 7. The registration means 16
From the source program analysis means 15 to the name mark BU-REC,
The source program name SOU1 and the usage type "update" are notified, and at that time, the name book BU-RE has already been stored in the management book storage unit 7.
If C is registered, as shown in FIG. 11, the source program name SOU2 and the usage type "update" are changed to the name label BU-R.
Additional registration for EC.

【0037】登録手段16に解析結果等を通知すると
(図5,ステップS38)、ソースプログラム解析手段
15は、ソースプログラム名SOU1のソースプログラ
ムが、現在着目している名標BU−RECの構成要素を
参照も更新もしていることを既に解析しているか否かを
判断し (ステップS39)、判断結果がYESの場合は
名標テーブル13に登録されている次の名標(例えば、
BU−CODE)に着目し (ステップS31)、判断結
果がNOの場合はステップS33の処理に戻る。
When the registration means 16 is notified of the analysis result and the like,
(FIG. 5, step S38), the source program analysis means 15 has already analyzed that the source program having the source program name SOU1 refers to or updates the constituent element of the name tag BU-REC which is currently focused. It is determined whether or not (step S39), and if the determination result is YES, the next name tag registered in the name tag table 13 (for example,
Focusing on (BU-CODE) (step S31), if the determination result is NO, the process returns to step S33.

【0038】ソースプログラム解析手段15は、名標テ
ーブル13に登録されている全ての名標に対して前述し
たと同様の処理を行ない、名標テーブル13に登録され
ている全ての名標に対して前述した処理を行なうと、制
御手段11に対して動作終了を通知する (ステップS4
0)。
The source program analysis means 15 performs the same processing as described above on all the names registered in the name table 13, and performs the same processing on all the names registered in the name table 13. When the processing described above is performed, the control means 11 is notified of the end of operation (step S4).
0).

【0039】制御手段11は、図2の流れ図に示すよう
に、ソースプログラム解析手段15から動作終了が通知
されると (ステップS6がYES)、ソースファイル読
み込み手段14に対して次のソースプログラムを1つ読
み込むことを指示し (ステップS3)、ソースファイル
読み込み手段14からソースプログラム終了が通知され
るまで (ステップS7がYESとなるまで)、前述した
と同様の処理を行ない、ソースファイル読み込み手段1
4からソースプログラム終了が通知されると (ステップ
S7がYES)、その処理を終了する。以上のようにし
て、管理簿記憶部7上に、図11に示すような管理簿7
1が作成される。
As shown in the flow chart of FIG. 2, when the control unit 11 is notified of the end of the operation from the source program analysis unit 15 (step S6: YES), the control unit 11 transmits the next source program to the source file reading unit 14. One is read (step S3), and the same processing as described above is performed until the source file reading means 14 notifies the end of the source program (until step S7 becomes YES).
When the end of the source program is notified from step 4 (YES in step S7), the process ends. As described above, the management book 7 as shown in FIG.
1 is created.

【0040】次に、管理簿記憶部7に登録されている管
理簿71を管理者が利用する場合の動作を説明する。
Next, the operation when the manager uses the management book 71 registered in the management book storage 7 will be described.

【0041】コンピュータシステムが備えているデータ
ベース,制御表の構成要素に変更があった場合や、誤り
が発見された場合、管理者は、変更された構成要素の名
標や誤りが発見された構成要素の名標を含む参照指示を
入力装置2から入力する。
When a change is made to a component of the database or control table provided in the computer system, or when an error is found, the administrator can change the name of the changed component or the configuration in which the error was found. A reference instruction including the name of the element is input from the input device 2.

【0042】参照手段8は、入力装置2から参照指示が
入力されると、それに含まれている名標をキーにして管
理簿記憶部7に登録されている管理簿71を検索し、上
記名標と対になって管理簿71に登録されているソース
プログラム名,使用種別を表示装置3に表示する。管理
者は、この表示を見て直ちに、変更された構成要素や誤
りが発見された構成要素を参照,更新しているソースプ
ログラムを知ることができるので、ソースプログラムの
修正や、誤りのあった構成要素を参照することにより行
なった処理を無効化する等の必要な処置を速やかに行な
うことができる。
When a reference instruction is input from the input device 2, the reference means 8 searches the management book 71 registered in the management book storage unit 7 using the name included in the reference instruction as a key. The display unit 3 displays the source program name and the type of use registered in the management book 71 in combination with the target. The administrator can immediately see the changed component and the source program that is referring to and updating the changed component or the component in which the error was found. Necessary measures such as invalidating the processing performed by referring to the constituent elements can be performed promptly.

【0043】尚、上述した実施例は、コンピュータシス
テムが備えているデータベースのレコードの名標,レコ
ードの項目の名標をスキーマファイル4から抽出するよ
うにしたが、スキーマファイル4のレコードエントリに
対応する再定義原文のみが登録されている再定義原文フ
ァイルからレコードの名標,レコード項目の名標を抽出
するようにすることもできる。また、上述した実施例で
は説明しなかったが、管理簿記憶部7をデータベース化
することもできる。
In the above-described embodiment, the name of the record in the database provided in the computer system and the name of the item of the record are extracted from the schema file 4. The name of a record and the name of a record item may be extracted from a redefined text file in which only the redefined text to be registered is registered. Although not described in the above-described embodiment, the management book storage unit 7 may be formed as a database.

【0044】[0044]

【発明の効果】以上説明したように本発明は、複数のソ
ースプログラムによって共通に使用されるデータベー
ス,制御表等の共通資源の構成要素(レコード,項目)
を定義した情報が格納されたスキーマファイル,定義マ
クロファイル,再定義原文ファイル等から構成要素の名
標を抽出する名標抽出手段と、名標抽出手段で抽出した
名標に対応する構成要素が、複数のソースプログラムの
内の何れで参照,更新されているかを解析するソースプ
ログラム解析手段を備えているので、プログラムについ
て記述されたドキュメントに基づいて管理簿を作成して
いた従来の技術に比較して、誤りのない最新のコンピュ
ータシステムの状態にあった管理簿を短時間で作成でき
る効果がある。
As described above, according to the present invention, components (records, items) of a common resource such as a database and a control table commonly used by a plurality of source programs.
The name extraction means for extracting the name tag of the component from the schema file, the definition macro file, the redefinition text file, etc., in which the information defining the Since a source program analysis means for analyzing which of a plurality of source programs has been referred to or updated is provided, comparison with the conventional technique in which a management list is created based on a document describing the program Then, there is an effect that a management book suitable for the latest computer system state without error can be created in a short time.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】制御手段11の処理例を示す流れ図である。FIG. 2 is a flowchart showing a processing example of a control means 11;

【図3】名標抽出手段12の処理例を示す流れ図であ
る。
FIG. 3 is a flowchart showing a processing example of a name tag extracting means 12.

【図4】ソースファイル読み込み手段14の処理例を示
す流れ図である。
FIG. 4 is a flowchart showing a processing example of a source file reading means 14;

【図5】ソースプログラム解析手段15の処理例を示す
流れ図である。
FIG. 5 is a flowchart showing a processing example of a source program analysis means 15;

【図6】登録手段16の処理例を示す流れ図である。FIG. 6 is a flowchart showing a processing example of a registration unit 16;

【図7】スキーマファイル4の内容例を示す図である。FIG. 7 is a diagram showing an example of the contents of a schema file 4;

【図8】名標テーブル13の内容例を示す図である。FIG. 8 is a diagram showing an example of contents of a name tag table 13.

【図9】制御表の一例を示す図である。FIG. 9 is a diagram illustrating an example of a control table.

【図10】定義マクロファイル5の内容例を示す図であ
る。
FIG. 10 is a diagram showing an example of the contents of a definition macro file 5;

【図11】管理簿記憶部7の内容例を示す図である。FIG. 11 is a diagram showing an example of the contents of a management book storage unit 7;

【符号の説明】[Explanation of symbols]

1…管理簿作成装置 11…制御手段 12…名標抽出手段 13…名標テーブル 14…ソースファイル読み込み手段 15…ソースプログラム解析手段 16…登録手段 2…入力装置 3…表示装置 4…スキーマファイル 5…定義マクロファイル 6…ソースファイル 7…管理簿記憶部 71…管理簿 8…参照手段 DESCRIPTION OF SYMBOLS 1 ... Management book preparation apparatus 11 ... Control means 12 ... Name mark extraction means 13 ... Name mark table 14 ... Source file reading means 15 ... Source program analysis means 16 ... Registration means 2 ... Input device 3 ... Display device 4 ... Schema file 5 ... Definition macro file 6 ... Source file 7 ... Management book storage unit 71 ... Management book 8 ... Reference means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のソースプログラムを含むコンピュ
ータシステムに於いて、 前記ソースプログラムが共通に参照,更新する共通資源
の構成要素を定義する、前記構成要素の名標を含む情報
が登録されたファイルから前記共通資源の構成要素の名
標を抽出する名標抽出手段と、 該名標抽出手段で抽出された名標に対応する構成要素
が、前記複数のソースプログラムの内の何れで参照,更
新されているのかを解析するソースプログラム解析手段
と、 管理簿記憶部と、 前記ソースプログラム解析手段の解析結果を前記管理簿
記憶部に登録する登録手段とを備えたことを特徴とする
管理簿作成装置。
1. In a computer system including a plurality of source programs, a file in which information including a name tag of the component is defined, which defines a component of a common resource that the source programs commonly refer to and update. A name extracting means for extracting the name of the constituent element of the common resource from the above, and a constituent element corresponding to the name extracted by the name extracting means is referred to or updated in any of the plurality of source programs. Management program creation means for analyzing whether or not the management program is stored, a management book storage unit, and a registration unit for registering the analysis result of the source program analysis unit in the management book storage unit. apparatus.
【請求項2】 前記共通資源が、データベースで、 前記共通資源の構成要素が、前記データベースのレコー
ド及びレコードの項目で、 前記ファイルに登録された情報が、スキーマ或いは再定
義原文であることを特徴とする請求項1記載の管理簿作
成装置。
2. The common resource is a database, the components of the common resource are records and record items of the database, and the information registered in the file is a schema or redefinition original text. The management book creation device according to claim 1.
【請求項3】 前記共通資源が、制御表で、 前記共通資源の構成要素が、前記制御表の項目で、 前記ファイルに登録された情報が、前記制御表の定義マ
クロであることを特徴とする請求項1記載の管理簿作成
装置。
3. The common resource is a control table, the components of the common resource are items of the control table, and the information registered in the file is a definition macro of the control table. The management book creating apparatus according to claim 1.
【請求項4】 表示装置と、 前記管理簿記憶部の内容を前記表示装置に出力する参照
手段とを備えたことを特徴とする請求項2または3記載
の管理簿作成装置。
4. The management book creation device according to claim 2, further comprising a display device, and a reference unit that outputs the contents of the management book storage unit to the display device.
JP6166107A 1994-06-24 1994-06-24 Management book making device Expired - Lifetime JP2629604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6166107A JP2629604B2 (en) 1994-06-24 1994-06-24 Management book making device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6166107A JP2629604B2 (en) 1994-06-24 1994-06-24 Management book making device

Publications (2)

Publication Number Publication Date
JPH0816370A true JPH0816370A (en) 1996-01-19
JP2629604B2 JP2629604B2 (en) 1997-07-09

Family

ID=15825155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6166107A Expired - Lifetime JP2629604B2 (en) 1994-06-24 1994-06-24 Management book making device

Country Status (1)

Country Link
JP (1) JP2629604B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018181076A (en) * 2017-04-17 2018-11-15 キヤノンマーケティングジャパン株式会社 Program generation device, control method and computer program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06119205A (en) * 1992-10-01 1994-04-28 Toshiba Corp Quality analyzing device for software and supporting device for providing the same with high quality

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06119205A (en) * 1992-10-01 1994-04-28 Toshiba Corp Quality analyzing device for software and supporting device for providing the same with high quality

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018181076A (en) * 2017-04-17 2018-11-15 キヤノンマーケティングジャパン株式会社 Program generation device, control method and computer program
JP2021152978A (en) * 2017-04-17 2021-09-30 キヤノンマーケティングジャパン株式会社 Program generation device, control method and computer program

Also Published As

Publication number Publication date
JP2629604B2 (en) 1997-07-09

Similar Documents

Publication Publication Date Title
JP4445509B2 (en) Structured document retrieval system and program
CN108762743B (en) Data table operation code generation method and device
US7975220B2 (en) Apparatus, program product and method for structured document management
JP2010541079A5 (en)
JP4830637B2 (en) Electronic document update notification device and electronic document update notification method
US20060218164A1 (en) Document management device and document management program
US20060173755A1 (en) Catalog management apparatus, catalog generation method and catalog retrieval method
JP2005285009A (en) Method and program for providing interaction among different applications via data displayed on screen
JP6581683B1 (en) Business card management system
JP2009093389A (en) Information processor, information processing method, and program
JP2004252951A (en) Introductory operation support system for integrated business software
JP2629604B2 (en) Management book making device
JP2002342342A (en) Document managing method, execution system therefor, processing program and recording medium therefor
JP6677809B2 (en) Adapter generation apparatus and method
JPH11126160A (en) Specification change and maintenance work supporting system, and recording medium recording processing program therefor
US20230297567A1 (en) Information processing system, information processing method, and non-transitory recording medium
JP2019168781A (en) Business card management system
JP2007157037A (en) Access environment establishment method, access environment establishment program and access environment establishment device for database
JPH0237466A (en) Information processing system
JPH0448330A (en) Software parts control system
JP2002108875A (en) Electronic manual unit and electronic manual change method
JPH1185491A (en) Automatic generation system for plural documents
JP3865188B2 (en) Document management system, document management method, and computer-readable recording medium
JP2000305821A (en) Data base management device and its method
JP2002014985A (en) Document retrieval system and retrieved document registration control method