JP2003140889A - System for managing program construction - Google Patents

System for managing program construction

Info

Publication number
JP2003140889A
JP2003140889A JP2001331451A JP2001331451A JP2003140889A JP 2003140889 A JP2003140889 A JP 2003140889A JP 2001331451 A JP2001331451 A JP 2001331451A JP 2001331451 A JP2001331451 A JP 2001331451A JP 2003140889 A JP2003140889 A JP 2003140889A
Authority
JP
Japan
Prior art keywords
unit
load module
compile
program
configuration management
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
JP2001331451A
Other languages
Japanese (ja)
Inventor
Keisuke Kawaguchi
恵介 河口
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 Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP2001331451A priority Critical patent/JP2003140889A/en
Publication of JP2003140889A publication Critical patent/JP2003140889A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To effectively use resources by deleting a compile unit of an intermediate file that is not updated or reused anymore in management of a program. SOLUTION: This system comprises a translation means for obtaining a compile unit of a source unit; a coupling means for obtaining a load module from the compile unit; a load module execution means for executing a load module; a relational resource information gain means for obtaining translation management information from the translation means, coupling information from the coupling means, and execution results from the load module execution means; a relational resource information registration means for storing the relational information in a program construction management database; a compile unit deletion judging means for judging deletion conditions of the compile unit by the relational information of the program construction management database; and a compile unit deletion means for deleting the compile unit and deleting the management information of the compile unit.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、プログラムの翻
訳、結合、実行を管理するプログラム構成管理に関し、
特に、中間ファイルのコンパイルユニットの削除条件を
判定して、ライブラリから自動的に削除し、ライブラリ
容量を節減するプログラム構成管理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to program configuration management for managing translation, combination, and execution of programs,
In particular, the present invention relates to a program configuration management system that determines the deletion condition of a compilation unit of an intermediate file and automatically deletes it from the library to save the library capacity.

【0002】[0002]

【従来の技術】従来のプログラム管理では、ソースプロ
グラム、コンパイルユニット、ロードモジュールの一連
工程で作成されるプログラム資源全体を一括管理してい
るため、中間ファイルで再び使用が見込めないコンパイ
ルユニットを、ソースプログラムあるいはロードモジュ
ールが破棄されるまで、プログラム資源の一環として保
持しているのが通常である。
2. Description of the Related Art In conventional program management, since the entire program resources created in a series of steps of a source program, a compilation unit, and a load module are collectively managed, a compilation unit that cannot be used again in an intermediate file is It is normally held as part of the program resources until the program or load module is destroyed.

【0003】特開平03−098118号公報によれ
ば、プログラムを構成するソースプログラム、コンパイ
ルユニット、ロードモジュールを、ソースプログラムか
ら実行プログラムに至るまでをプログラム管理システム
で標準化して統一的管理することが説明されている。こ
の発明では、統一的管理によって、大規模なプログラム
の開発・維持を混乱なく実施できるとしている。しか
し、一連工程で生じる中間生成ファイルをプログラム全
体が削除されるまで抱え込んだままとなり、資源利用の
無駄が生じている。
According to Japanese Patent Laid-Open No. 03-098118, it is possible to standardize a source program, a compile unit, and a load module that compose a program from a source program to an execution program by using a program management system for unified management. It is explained. According to the present invention, unified management enables development and maintenance of a large-scale program without confusion. However, the intermediate generation file generated in a series of steps remains held until the entire program is deleted, resulting in waste of resource use.

【0004】特開平04−328632号公報によれ
ば、コンパイルユニットを世代で一括管理することが説
明されている。従って、世代が有効な間は、再び使用さ
れる見込みがないにもかかわらず、コンパイルユニット
が所持されていることになる。コンパイルユニットは中
間ファイルであるから、ソースプログラムが有効な間は
再生可能であるから、コンパイルユニットの利用がなく
なった場合、中間ファイルを保持する必要はない。
Japanese Patent Application Laid-Open No. 04-328632 describes that compile units are collectively managed by generations. Therefore, as long as the generation is valid, the compilation unit is possessed even though it is unlikely to be used again. Since the compile unit is an intermediate file, it can be played back while the source program is valid. Therefore, when the compile unit is no longer used, it is not necessary to retain the intermediate file.

【0005】特開平11−154079号公報によれ
ば、保存期間が定められたソフトウェア資産を統合管理
することが説明されている。この発明では、管理テーブ
ルでJCL、ロードモジュール、コンパイルユニット、
ソースユニットを定められた期間統一的に関連付けて管
理している。従って、ソフトウェアとして安定し、更新
されることがなくなっても、それの中間ファイルも保存
されていることになる。
Japanese Unexamined Patent Publication No. 11-154079 describes that software assets having a fixed retention period are integrated and managed. In the present invention, the management table includes JCL, load module, compile unit,
The source units are managed in association with each other for a fixed period. Therefore, even if the software is stable and is never updated, its intermediate files are also stored.

【0006】[0006]

【発明が解決しようとする課題】従来のプログラム構成
管理では、上述したように、更新されたり、再使用され
ることがなくなった中間ファイルまで、プログラム資産
の一環として保存されていることである。
In the conventional program configuration management, as described above, even the intermediate files that are not updated or reused are saved as a part of the program assets.

【0007】第1の問題点は、不要な情報がそのまま管
理され続けていることである。その理由は、コンパイル
ユニットはあくまで中間ファイルであり、プログラム開
発が終了した後ならば、ソースユニットとロードモジュ
ールさえ保存されていると、コンパイルユニットが管理
されていなくともプログラムの維持管理の観点から問題
がないからである。
The first problem is that unnecessary information is continuously managed as it is. The reason is that the compile unit is just an intermediate file, and if the source unit and the load module are saved after the program development is completed, even if the compile unit is not managed, there is a problem from the viewpoint of program maintenance. Because there is no.

【0008】第2の問題点は、不要な資源が外部記憶装
置のライブラリに残され、削除されないことである。そ
の理由は、第1の問題点とその理由でも述べたように、
プログラム開発段階が終了し、更新が生じなくなったコ
ンパイルユニットをライブラリから削除する条件を判定
し、削除する手段がないことである。
The second problem is that unnecessary resources remain in the library of the external storage device and are not deleted. The reason is as mentioned in the first problem and the reason,
The reason is that there is no means to judge and delete the condition for deleting a compilation unit from the library after the program development stage is finished and the update no longer occurs.

【0009】この発明の目的は、プログラム管理におい
て、更新や再使用する機会がなくなった、中間ファイル
のコンパイルユニットを削除し、資源を有効に活用する
ことにある。
An object of the present invention is to eliminate the compile unit of an intermediate file for which there is no opportunity to update or reuse it in program management, and effectively utilize resources.

【0010】[0010]

【課題を解決するための手段】そのため、この発明の、
ソースプログラムの処理単位であるソースユニットと、
前記ソースユニットを翻訳したコンパイルユニットと、
前記コンパイルユニットを結合したロードモジュール
と、をそれぞれライブラリに格納してプログラム管理す
るシステムにおいて、前記ロードモジュールを管理する
プログラム構成管理データベースを探索し、所定の削除
条件を満たすコンパイルユニットをコンパイルユニット
ライブラリから削除することを特徴とする。
Therefore, according to the present invention,
A source unit, which is the processing unit of the source program,
A compilation unit that translates the source unit,
In a system in which a load module in which the compilation units are combined and each of which are stored in a library for program management, a program configuration management database that manages the load modules is searched, and a compilation unit that satisfies a predetermined deletion condition is searched from the compilation unit library. It is characterized by deleting.

【0011】更に、前記削除条件は、ロードモジュール
の使用結果が正常終了し、かつ前記ロードモジュールを
構成するコンパイルユニットが結合処理されてから所定
の期間、更新されずに経過したことであることを特徴と
する。
Further, the deletion condition is that the use result of the load module has been normally terminated, and that a predetermined period has passed without being updated since the compile units constituting the load module have been combined. Characterize.

【0012】更に、前記プログラム構成管理データベー
スは、管理対象の各プログラムに対するロードモジュー
ル毎にプログラム構成管理情報を有し、前記プログラム
構成管理情報には、ロードモジュールの識別名と、結合
処理の年月日と、使用したリンカ情報と、前記ロードモ
ジュールが実行したとき、正常終了したか、あるいは異
常終了したかを示す使用結果と、前記ロードモジュール
を構成するコンパイルユニットの結合ユニット構成と、
を含み、前記結合ユニット構成には、結合されているコ
ンパイルユニット識別子と、前記コンパイルユニットの
最終の、コンパイル年月日と、を含むことを特徴とす
る。
Further, the program configuration management database has program configuration management information for each load module for each program to be managed, and the program configuration management information includes the load module identification name and the year / month of the combining process. Date, the used linker information, a usage result indicating whether the load module has completed normally or abnormally when executed, and a combined unit configuration of compile units configuring the load module,
And the combined unit configuration includes a combined compilation unit identifier and a final compilation date of the compilation unit.

【0013】更に、前記プログラム構成管理システム
は、プログラム資源を蓄積するライブラリと、前記プロ
グラム資源のソースユニットに対して、翻訳、結合の処
理を施して、コンパイルユニットと、ロードモジュール
と、を作成管理し、前記ロードモジュールの使用結果を
得る処理部と、前記ロードモジュールの構成と使用結果
とを管理するプログラム構成管理情報を保持するプログ
ラム構成管理データベースと、を備えることを特徴とす
る。
Further, the program configuration management system creates and manages a library for accumulating program resources and a source unit of the program resources by performing a process of translating and combining to create a compile unit and a load module. In addition, the present invention is characterized by including a processing unit that obtains a usage result of the load module and a program configuration management database that holds program configuration management information that manages a configuration and a usage result of the load module.

【0014】更に、前記ライブラリは、ソースプログラ
ムを翻訳の処理単位に格納するソースユニットライブラ
リと、翻訳したソースユニットを格納するコンパイルユ
ニットライブラリと、コンパイルユニットを結合したロ
ードモジュールを格納するロードモジュールライブラリ
と、を含むことを特徴とする。
Further, the library includes a source unit library for storing a source program in a translation processing unit, a compile unit library for storing a translated source unit, and a load module library for storing a load module in which the compile units are combined. And are included.

【0015】更に、前記処理部は、前記ソースライブラ
リのソースユニットを翻訳してコンパイルユニットを得
る翻訳処理手段と、前記コンパイルユニットを結合して
ロードモジュールを得る結合処理手段と、前記ロードモ
ジュールを実行するロードモジュール実行処理手段と、
前記翻訳処理手段からソースユニットの翻訳情報と、前
記結合処理手段からコンパイルユニットの結合情報と、
前記ロードモジュール実行処理手段の使用結果情報と、
を含む関連情報を得る関連資源情報取得手段と、前記関
連情報をプログラム構成管理データベースに格納する関
連資源情報登録手段と、前記プログラム構成管理データ
ベースの関連情報に基づいて、コンパイルユニットの前
記削除条件を判定するコンパイルユニット削除判定手段
と、前記判定結果に基づいて、前記コンパイルユニット
ライブラリから該当コンパイルユニットを削除し、前記
プログラム構成管理データベースのプログラム構成管理
情報から該当のコンパイルユニットんに削除識別を付加
するコンパイルユニット削除手段と、を備えることを特
徴とする。
Further, the processing unit executes translation processing means for translating a source unit of the source library to obtain a compilation unit, combination processing means for coupling the compilation unit to obtain a load module, and the load module. Load module execution processing means,
Translation information of the source unit from the translation processing means, and binding information of the compilation unit from the binding processing means,
Usage result information of the load module execution processing means,
Related resource information acquisition means for obtaining related information including, related resource information registration means for storing the related information in a program configuration management database, and the deletion condition of the compile unit based on the related information in the program configuration management database. Compile unit deletion judging means for judging, and the compiling unit is deleted from the compiling unit library based on the judgment result, and a deletion identification is added to the compiling unit from the program structure management information of the program structure management database. And a compiling unit deleting means.

【0016】[0016]

【発明の実施の形態】この発明の実施の形態について図
面を参照して説明する。図1を参照すると、プログラム
構成管理システム1は、図示しない外部記憶装置上に存
在するプログラム資源を格納するライブラリ10と、プ
ログラムの翻訳、結合、実行の動作をする処理部20
と、プログラム構成管理のために関連資源情報を登録す
るプログラム構成管理データベース3と、を備える。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described with reference to the drawings. Referring to FIG. 1, a program configuration management system 1 includes a library 10 that stores program resources existing on an external storage device (not shown), and a processing unit 20 that translates, combines, and executes programs.
And a program configuration management database 3 for registering related resource information for program configuration management.

【0017】プログラムライブラリ10には、ソースユ
ニットライブラリ11と、コンパイルユニットライブラ
リ12と、ロードモジュールユニットライブラリ13
と、が含まれている。ソースユニットライブラリ11
は、ソースプログラムを翻訳時の処理単位であるソース
ユニットを格納している。コンパイルユニットライブラ
リ12は、ソースユニットを翻訳処理して得られるコン
パイルユニットを格納している。ロードモジュールライ
ブラリ13は、コンパイルユニットを結合してなる実行
プログラムのロードモジュールを格納している。
The program library 10 includes a source unit library 11, a compile unit library 12, and a load module unit library 13.
And, are included. Source unit library 11
Stores a source unit which is a processing unit at the time of translating a source program. The compile unit library 12 stores a compile unit obtained by translating a source unit. The load module library 13 stores a load module of an execution program formed by combining compile units.

【0018】処理部20は、翻訳処理手段21と、結合
処理手段22と、ロードモジュール実行処理手段23
と、コンパイルユニット削除判定手段24と、コンパイ
ルユニット削除手段25と、関連資源情報取得手段26
と、関連資源情報登録手段27と、を備えている。
The processing unit 20 includes a translation processing unit 21, a combination processing unit 22, and a load module execution processing unit 23.
A compile unit deletion determination means 24, a compile unit deletion means 25, and a related resource information acquisition means 26.
And related resource information registration means 27.

【0019】翻訳処理手段21は、所定のプログラム言
語により記述されているソースプログラムをソースユニ
ットライブラリ11から取り出して翻訳し、コンパイル
ユニットとしてコンパイルユニットライブラリ12に出
力する。
The translation processing means 21 takes out a source program described in a predetermined programming language from the source unit library 11, translates it, and outputs it to the compile unit library 12 as a compile unit.

【0020】結合処理手段22は、コンパイルユニット
をコンパイルユニットライブラリ12から取得して結合
して実行形式ファイルのロードモジュールとしてロード
モジュールライブラリ13に格納する。
The combining processing means 22 acquires the compile units from the compile unit library 12, combines them, and stores them in the load module library 13 as a load module of the executable file.

【0021】ロードモジュール実行処理手段23は、実
行形式ファイルであるロードモジュールをロードモジュ
ールライブラリ13から取り出して処理部20でロード
モジュールを実行させ、所定の処理を実行させるもので
ある。
The load module execution processing means 23 takes out a load module which is an executable file from the load module library 13 and causes the processing section 20 to execute the load module to execute a predetermined process.

【0022】ロードモジュール実行処理手段23は、ロ
ードモジュールライブラリ13から所定のロードモジュ
ールを読み出し実行する。該ロードモジュールの実行結
果を資源関連情報として関連資源情報取得手段26に渡
す。
The load module execution processing means 23 reads a predetermined load module from the load module library 13 and executes it. The execution result of the load module is passed to the related resource information acquisition means 26 as the resource related information.

【0023】コンパイルユニット削除判定手段24は、
プログラム構成管理データベース30に登録されている
プログラム構成管理情報を自動的に探索し、該当プログ
ラムのコンパイルユニットが所定の期間、翻訳あるいは
結合処理に使用されず、該コンパイルユニットを結合し
ているロードモジュールの実行結果が正常終了している
ことが判定された場合、その情報をコンパイルユニット
削除手段25に渡す。
The compile unit deletion judging means 24 is
The program configuration management information registered in the program configuration management database 30 is automatically searched, and the compile unit of the program is not used for translation or combination processing for a predetermined period, and the load module that combines the compile units. When it is determined that the execution result of (1) has ended normally, the information is passed to the compiling unit deleting means 25.

【0024】コンパイルユニット削除手段25は、コン
パイルユニット削除判定手段24から渡された該情報を
基に、削除可能と判断されたコンパイルユニットについ
て、コンパイルユニットライブラリ12内の該当するコ
ンパイルユニットの削除及びプログラム構成管理データ
ベース30に登録されている該当コンパイルユニットの
プログラム構成管理情報に削除に識別を付与する。
The compile unit deleting means 25 deletes the corresponding compile unit in the compile unit library 12 and the program for the compile unit judged to be erasable based on the information passed from the compile unit deleting judging means 24. The deletion is assigned to the program configuration management information of the corresponding compilation unit registered in the configuration management database 30.

【0025】関連資源情報取得手段26は、常に処理部
20内の動作を監視して、翻訳処理手段21、結合処理
手段22、ロードモジュール実行処理手段23が動作す
ると、そこから関連するロードモジュール識別子と、処
理日時と、使用結果(正常終了かあるいは異常終了)の
情報を取得し、関連資源情報登録手段27に該情報を渡
す。
The related resource information acquisition means 26 constantly monitors the operation in the processing section 20, and when the translation processing means 21, the combination processing means 22 and the load module execution processing means 23 operate, the related load module identifier Then, the processing date and time and the information on the use result (normal end or abnormal end) are acquired, and the information is passed to the related resource information registration means 27.

【0026】関連資源情報登録手段27は、関連資源情
報取得手段26から渡された情報を、プログラム構成管
理データベース30の関連するプログラム構成管理情報
31に適宜に登録する。ロードモジュールは、複数のコ
ンパイルユニットからなり、かつコンパイルユニットは
1つ以上のロードモジュールに結合され使用されている
場合があるから、関連資源情報登録手段27は、プログ
ラム構成管理データベース30のプログラム構成管理情
報31を全て探索し、関連のロードモジュールを見つけ
る。
The related resource information registration means 27 appropriately registers the information passed from the related resource information acquisition means 26 in the related program configuration management information 31 of the program configuration management database 30. Since the load module is composed of a plurality of compile units, and the compile unit may be combined with one or more load modules and used, the related resource information registration means 27 makes the program configuration management of the program configuration management database 30. Search all the information 31 and find the relevant load module.

【0027】図2を参照すると、プログラム構成管理情
報31は、ロードモジュール311の識別子3111
と、ロードモジュール311が結合処理された年月日及
び使用されたリンカ情報3112と、ロードモジュール
311が実行された結果、異常終了であったか、あるい
は正常終了であったかを示す使用結果3113と、ロー
ドモジュール311を構成するコンパイルユニットの結
合ユニット構成3114と、を含み、結合ユニット構成
3114は、構成するコンパイルユニット識別子及びそ
れの最終コンパイル年月日31141乃至3114n
と、を含む。
Referring to FIG. 2, the program configuration management information 31 includes the identifier 3111 of the load module 311.
And the date and time when the load module 311 was combined and the linker information 3112 that was used, and the usage result 3113 that indicates whether the load module 311 was abnormally ended or normally ended as a result of execution. 311 and a combined unit configuration 3114 of the compile units that constitute 311. The combined unit configuration 3114 includes the compiled unit identifier and the last compilation date 31114 to 3114n.
And, including.

【0028】コンパイルユニット削除判定手段24は、
全てのプログラム構成管理情報31を探索し、ロードモ
ジュール311の使用結果3113が正常終了で、かつ
構成するコンパイルユニットの最終コンパイル年月日が
所定の期間経過しているコンパイルユニット識別子を洗
い出し、削除条件を満たすコンパイルユニットをコンパ
イルユニット削除手段25に通知する。
The compile unit deletion judging means 24
All the program configuration management information 31 is searched, the usage result 3113 of the load module 311 is normally terminated, and the compilation unit identifier for which the last compilation date of the compiling unit to be configured has passed a predetermined period is deleted and the deletion condition is determined. The compile unit deleting means 25 is notified of the compile units that satisfy the condition.

【0029】次に、この実施の形態の動作について図面
を参照して説明する。図1を援用し、図3及び図4のフ
ローチャートを参照し、この実施例の全体の動作につい
て説明する。
Next, the operation of this embodiment will be described with reference to the drawings. With reference to FIG. 1 and the flowcharts of FIGS. 3 and 4, the overall operation of this embodiment will be described.

【0030】図3を参照すると、翻訳処理手段21は、
ソースユニットライブラリ11内にあるソースユニット
110からコンパイルユニット120を生成して、コン
パイルユニットライブラリ12内に格納したとき、関連
資源情報取得手段26がソースユニット110とコンパ
イルユニット120とに関する処理日時を含む管理情報
を取得し、関連資源情報登録手段27が該管理情報をプ
ログラム構成管理データベース30のプログラム構成管
理情報31に登録する。結合処理手段22により、コン
パイルユニットライブラリ12内にあるコンパイルユニ
ット120からロードモジュール130を生成してロー
ドモジュールライブラリ13内に格納したとき、関連資
源情報取得手段26がコンパイルユニット120とロー
ドモジュール130に関する処理日時を含む管理情報を
取得し、関連資源情報登録手段27が、該管理情報をプ
ログラム構成管理データベース30のプログラム構成管
理情報31に登録する。ロードモジュール実行処理手段
23により、ロードモジュールライブラリ13内にある
ロードモジュール130を実行したとき、関連資源情報
取得手段26が、処理日時と終了状態(正常終了であっ
たか、異常終了であったか)の管理情報を取得し、関連
資源情報登録手段27が、該管理情報をプログラム構成
管理データベース30のプログラム構成管理情報31に
登録する。
Referring to FIG. 3, the translation processing means 21
When the compile unit 120 is generated from the source unit 110 in the source unit library 11 and stored in the compile unit library 12, the related resource information acquisition unit 26 manages including the processing date and time regarding the source unit 110 and the compile unit 120. The information is acquired, and the related resource information registration means 27 registers the management information in the program configuration management information 31 of the program configuration management database 30. When the binding processing unit 22 generates the load module 130 from the compile unit 120 in the compile unit library 12 and stores it in the load module library 13, the related resource information acquisition unit 26 processes the compile unit 120 and the load module 130. The management information including the date and time is acquired, and the related resource information registration means 27 registers the management information in the program configuration management information 31 of the program configuration management database 30. When the load module execution processing unit 23 executes the load module 130 in the load module library 13, the related resource information acquisition unit 26 manages the processing date and time and the end state (whether the end is normal or abnormal). Then, the related resource information registration means 27 registers the management information in the program configuration management information 31 of the program configuration management database 30.

【0031】図4を参照すると、コンパイルユニット削
除判定手段24は自動的に起動されて、プログラム構成
管理データベース30からプログラム構成管理情報31
を1組取得する(図4のステップ41)。そのプログラ
ム構成管理情報31の中にコンパイルユニット情報が含
まれているかを調べ、コンパイルユニット情報が含まれ
ていた場合(ステップ42のY)、まずロードモジュー
ルの使用結果3113を調べ(ステップ43)、次に結
合構成3114のコンパイルユニットに対する最終コン
パイル年月日31141乃至3114nを調べる(ステ
ップ44)。ここで、ロードモジュールの正常終了が確
認でき(ステップ43のY)、更に、コンパイルユニッ
トが一定期間以上最終コンパイル年月日から経過してい
ると判断できる場合(ステップ44のY)、該当のコン
パイルユニットに関する情報をコンパイルユニット削除
手段25へ渡す(ステップ45)。なお、ロードモジュ
ールの正常終了、コンパイルユニットの一定期間未使用
のどちらかの条件を満たさなかったコンパイルユニット
については、該当のコンパイルユニットは削除対象にな
らない。以上の処理を、プログラム構成管理データベー
ス3内に登録されている全てのプログラム構成情報31
について行う(ステップ46のN)。その後、コンパイ
ルユニット削除手段25により、削除できるコンパイル
ユニットがあれば(ステップ47のY)、コンパイルユ
ニットライブラリ12にある該当コンパイルユニットを
削除し(ステップ48)、プログラム構成管理データベ
ース30のプログラム構成管理情報31の結合ユニット
構成3114の該当コンパイルユニット31141乃至
3114nに削除識別を付加する(ステップ49)。
Referring to FIG. 4, the compile unit deletion judging means 24 is automatically started and the program configuration management database 30 stores the program configuration management information 31.
Is obtained (step 41 in FIG. 4). It is checked whether the program configuration management information 31 includes the compile unit information. If the compile unit information is included (Y in step 42), first, the load module use result 3113 is checked (step 43). Next, the final compilation dates 31141 to 3114n for the compilation units of the combined configuration 3114 are examined (step 44). Here, when the normal termination of the load module can be confirmed (Y of step 43), and when it can be determined that the compilation unit has passed from the last compilation date for a certain period or more (Y of step 44), the corresponding compilation is performed. Information about the unit is passed to the compile unit deleting means 25 (step 45). For a compile unit that does not satisfy either condition of normal termination of the load module or unused of the compile unit for a certain period, the corresponding compile unit is not targeted for deletion. The above processing is performed for all the program configuration information 31 registered in the program configuration management database 3.
(N in step 46). After that, if there is a compiling unit that can be deleted by the compiling unit deleting means 25 (Y in step 47), the corresponding compiling unit in the compiling unit library 12 is deleted (step 48), and the program structure management information in the program structure management database 30 is deleted. The deletion identification is added to the corresponding compilation units 31141 to 3114n of the 31 combined unit configuration 3114 (step 49).

【0032】次に、この実施例をプログラム作成作業の
日程の流れで、動作を説明する。図5に示すように、2
001年7月10日にソースユニット110を翻訳して
コンパイルユニット120を得、この情報をプログラム
構成管理データベース3に登録した。次に、2001年
7月20日にコンパイルユニット120を結合しロード
モジュール130を得、この情報をプログラム構成管理
データベース3に登録した。次に2001年7月25日
にロードモジュール130を実行して正常終了し、この
情報をプログラム構成管理データベース3に登録した。
このようにして、ソースユニット110とコンパイルユ
ニット120とロードモジュール130とで構成される
プログラム構成管理情報131がプログラム構成管理デ
ータベース30に登録された状態となる。
Next, the operation of this embodiment will be described with reference to the schedule of program creation work. As shown in FIG.
On July 10, 001, the source unit 110 was translated to obtain the compile unit 120, and this information was registered in the program configuration management database 3. Next, on July 20, 2001, the compile unit 120 was combined to obtain the load module 130, and this information was registered in the program configuration management database 3. Next, on July 25, 2001, the load module 130 was executed and terminated normally, and this information was registered in the program configuration management database 3.
In this way, the program configuration management information 131 including the source unit 110, the compilation unit 120, and the load module 130 is registered in the program configuration management database 30.

【0033】ここで、コンパイルユニット削除判定の基
準となる期間を半年と設定し、2001年7月20日以
降半年にわたってコンパイルユニット120に関する翻
訳・結合処理が行われなかったとすると、2002年1
月20日以降にコンパイルユニット削除判定手段24が
動作したとき、コンパイルユニット情報が登録されてい
る(図4のステップ42)、ロードモジュールが正常終
了したとの情報が登録されている(ステップ43の
Y)、コンパイルユニットが直近の半年間に使用された
との情報が登録されていない(ステップ44のY)、以
上のステップを経てコンパイルユニットを削除できると
判断し、コンパルユニットライブラリ12からのコンパ
イルユニット120の削除およびプログラム構成管理デ
ータベース30よりコンパイルユニット120に削除識
別を付加する(ステップ48、49)。
Here, if the period which is the criterion for the compile unit deletion determination is set to half a year, and it is assumed that the translation / combining process regarding the compile unit 120 has not been performed for half a year since July 20, 2001, 2002
When the compile unit deletion determination means 24 operates after the 20th of a month, the compile unit information is registered (step 42 in FIG. 4), and the information that the load module is normally completed is registered (step 43). Y), the information that the compile unit has been used in the last half year is not registered (Y in step 44), it is determined that the compile unit can be deleted through the above steps, and the compile unit from the compal unit library 12 is determined. Deletion of 120 and deletion identification are added to the compilation unit 120 from the program configuration management database 30 (steps 48, 49).

【0034】次に、この実施例を他の具体例で説明す
る。図6を参照すると、図6は複数のロードモジュール
131、132に共通のコンパイルユニット122があ
る例である。各ソースユニット111乃至113,コン
パイルユニット121乃至123,ロードモジュール1
31、ロードモジュール132は、図示のような関係と
なっている。すなわち、翻訳処理手段21により、ソー
スユニット111からコンパイルユニット121が、ソ
ースユニット112からコンパイルユニット122が、
ソースユニット113からコンパイルユニット123が
それぞれ生成される。また結合処理22手段により、コ
ンパイルユニット121とコンパイルユニット122と
からロードモジュール131が、コンパイルユニット1
22とコンパイルユニット123とからロードモジュー
ル132がそれぞれ生成される。
Next, this embodiment will be described with reference to another concrete example. Referring to FIG. 6, FIG. 6 is an example in which a plurality of load modules 131 and 132 have a common compile unit 122. Source units 111 to 113, compilation units 121 to 123, load module 1
31 and the load module 132 have a relationship as shown in the figure. That is, the translation processing means 21 causes the source unit 111 to compile unit 121 and the source unit 112 to compile unit 122.
A compile unit 123 is generated from each source unit 113. Further, by the combining processing 22 means, the load module 131 from the compile unit 121 and the compile unit 122 and the compile unit 1
A load module 132 is generated from each of 22 and the compilation unit 123.

【0035】プログラム構成管理情報のロードモジュー
ル131の結合ユニット構成3114には、コンパイル
ユニット121とコンパイルユニット122とで構成さ
れ、他のロードモジュール132は、コンパイルユニッ
ト122とコンパイルユニット123と、で構成されて
いる。したがって、ソースユニット112とコンパイル
ユニット122はロードモジュール131と、ロードモ
ジュール132と、の両方の構成に含まれていることに
なる。
The combined unit configuration 3114 of the program configuration management information load module 131 comprises a compile unit 121 and a compile unit 122, and the other load module 132 comprises a compile unit 122 and a compile unit 123. ing. Therefore, the source unit 112 and the compile unit 122 are included in both the load module 131 and the load module 132.

【0036】このとき、コンパイルユニット削除判定手
段24は、コンパイルユニット123の削除判定につい
て、ロードモジュール131と、ロードモジュール13
2と、の両方の実行情報を調べ、ともに正常終了してい
ることが確認でき、さらにコンパイルユニット122が
一定期間以上使用されていないと判断できる場合にの
み、削除可能となる。そして、コンパイルユニット削除
手段25が、コンパイルユニットライブラリ12のコン
パイルユニット122を削除し、プログラム構成管理デ
ータベース30に登録されているコンパイルユニット1
22に削除識別を付加する。また、ロードモジュール1
31が正常終了し、ロードモジュール132が異常終了
した使用結果が登録されているとき、コンパイルユニッ
ト122、コンパイルユニット123は削除できない。
At this time, the compiling unit deletion judging means 24 judges the deletion of the compiling unit 123 by the load module 131 and the load module 13.
It can be deleted only when the execution information of both No. 2 and No. 2 is checked and it can be confirmed that both have been completed normally, and it is further determined that the compile unit 122 has not been used for a certain period of time or more. Then, the compile unit deleting means 25 deletes the compile unit 122 of the compile unit library 12, and the compile unit 1 registered in the program configuration management database 30.
A deletion identification is added to 22. Also, load module 1
When the usage result in which 31 is normally terminated and the load module 132 is abnormally terminated is registered, the compile unit 122 and the compile unit 123 cannot be deleted.

【0037】[0037]

【発明の効果】この発明の第1の効果は、現用するプロ
グラムの維持管理に必要なソースユニットとロードモジ
ュールとをプログラム管理情報によって効率良く管理で
きることにある。その理由は、不要であると判断できる
コンパイルユニットを検出し、コンパイルユニットライ
ブラリ及びプログラム構成管理データベースから抹消す
るためである。
The first effect of the present invention is that the source unit and load module necessary for maintenance of the currently used program can be efficiently managed by the program management information. The reason is that a compile unit that can be determined to be unnecessary is detected and deleted from the compile unit library and the program configuration management database.

【0038】第2の効果は、プログラムライブラリを格
納する外部記憶装置を有効に活用できることにある。そ
の理由は、不要であると判断できるコンパイルユニット
を検出し、ライブラリから削除するためである。
The second effect is that the external storage device for storing the program library can be effectively utilized. The reason is to detect a compilation unit that can be determined to be unnecessary and delete it from the library.

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

【図1】この発明の実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】図1にのプログラム構成管理データベースに格
納するプログラム構成管理情報の項目構成を示す図であ
る。
FIG. 2 is a diagram showing an item configuration of program configuration management information stored in a program configuration management database shown in FIG.

【図3】ソースユニットの翻訳、結合の処理手順を示す
図である。
FIG. 3 is a diagram showing a processing procedure of translation and combination of source units.

【図4】コンパイルユニットの削除手順を示す図であ
る。
FIG. 4 is a diagram showing a procedure for deleting a compilation unit.

【図5】この実施例におけるプログラム構成管理の例示
である。
FIG. 5 is an illustration of program configuration management in this embodiment.

【図6】この実施例におけるコンパイルユニットの削除
処理の例示である。
FIG. 6 is an illustration of a compile unit deletion process in this embodiment.

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

1 プログラム構成管理システム 10 プログラムライブラリ 11 ソースユニットライブラリ 12 コンパイルユニットライブラリ 13 ロードモジュールライブラリ 20 処理部 21 翻訳処理手段 22 結合処理手段 23 ロードモジュール実行処理手段 24 コンパイルユニット削除判定手段 25 コンパイルユニット削除手段 26 関連資源情報取得手段 27 関連資源情報登録手段 30 プログラム構成管理データベース 1 Program configuration management system 10 program library 11 Source Unit Library 12 Compile unit library 13 Load module library 20 Processing Department 21 Translation processing means 22 Join processing means 23 Load module execution processing means 24 Compile unit deletion determination means 25 Compile Unit Deletion Means 26 Related resource information acquisition means 27 Related resource information registration means 30 Program configuration management database

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ソースプログラムの処理単位であるソー
スユニットと、前記ソースユニットを翻訳したコンパイ
ルユニットと、前記コンパイルユニットを結合したロー
ドモジュールと、をそれぞれライブラリに格納してプロ
グラム管理するシステムにおいて、 前記ロードモジュールを管理するプログラム構成管理デ
ータベースを探索し、所定の削除条件を満たすコンパイ
ルユニットをコンパイルユニットライブラリから削除す
ることを特徴とするプログラム構成管理システム。
1. A system in which a source unit, which is a processing unit of a source program, a compile unit that translates the source unit, and a load module that combines the compile units are respectively stored in a library to manage a program, A program configuration management system characterized by searching a program configuration management database that manages load modules and deleting a compilation unit that satisfies a predetermined deletion condition from a compilation unit library.
【請求項2】 前記削除条件は、 ロードモジュールの使用結果が正常終了し、かつ前記ロ
ードモジュールを構成するコンパイルユニットが結合処
理されてから所定の期間、更新されずに経過したことで
あることを特徴とする請求項1記載のプログラム構成管
理システム。
2. The deletion condition is that the usage result of the load module has ended normally, and that a predetermined period has passed without being updated since the compile units constituting the load module have been combined. The program configuration management system according to claim 1, which is characterized in that.
【請求項3】 前記プログラム構成管理データベース
は、 管理対象の各プログラムに対するロードモジュール毎に
プログラム構成管理情報を有し、 前記プログラム構成管理情報には、 ロードモジュールの識別名と、結合処理の年月日と、使
用したリンカ情報と、前記ロードモジュールが実行した
とき、正常終了したか、あるいは異常終了したかを示す
使用結果と、前記ロードモジュールを構成するコンパイ
ルユニットの結合ユニット構成と、を含み、 前記結合ユニット構成には、 結合されているコンパイルユニット識別子と、前記コン
パイルユニットの最終のコンパイル年月日と、 を含むことを特徴とする請求項1記載のプログラム構成
管理システム。
3. The program configuration management database has program configuration management information for each load module for each program to be managed, and the program configuration management information includes an identification name of the load module and a year / month of a combining process. Including the date, the linker information used, the use result indicating whether the load module executed normally or abnormally when executed, and the combined unit configuration of the compile units configuring the load module, 2. The program configuration management system according to claim 1, wherein the combined unit configuration includes a combined compilation unit identifier and a final compilation date of the compilation unit.
【請求項4】 前記プログラム構成管理システムは、 プログラム資源を蓄積するライブラリと、 前記プログラム資源のソースユニットに対して、翻訳、
結合の処理を施して、コンパイルユニットと、ロードモ
ジュールと、を作成管理し、前記ロードモジュールの使
用結果を得る処理部と、 前記ロードモジュールの構成と使用結果とを管理するプ
ログラム構成管理情報を保持するプログラム構成管理デ
ータベースと、 を備えることを特徴とする請求項1記載のプログラム構
成管理システム。
4. The program configuration management system comprises: a library for accumulating program resources; a source unit of the program resources;
A processing unit that performs a combining process to create and manage a compile unit and a load module, and obtains a usage result of the load module, and program configuration management information that manages the configuration and usage result of the load module The program configuration management system according to claim 1, further comprising:
【請求項5】 前記ライブラリは、 ソースプログラムを翻訳の処理単位に格納するソースユ
ニットライブラリと、翻訳したソースユニットを格納す
るコンパイルユニットライブラリと、 コンパイルユニットを結合したロードモジュールを格納
するロードモジュールライブラリと、 を含むことを特徴とする請求項1記載のプログラム構成
管理システム。
5. The library includes a source unit library that stores a source program in a translation processing unit, a compile unit library that stores a translated source unit, and a load module library that stores a load module in which the compile units are combined. The program configuration management system according to claim 1, further comprising:
【請求項6】 前記処理部は、 前記ソースライブラリのソースユニットを翻訳してコン
パイルユニットを得る翻訳処理手段と、 前記コンパイルユニットを結合してロードモジュールを
得る結合処理手段と、 前記ロードモジュールを実行するロードモジュール実行
処理手段と、 前記翻訳処理手段からソースユニットの翻訳情報と、前
記結合処理手段からコンパイルユニットの結合情報と、
前記ロードモジュール実行処理手段の使用結果情報と、
を含む関連情報を得る関連資源情報取得手段と、 前記関連情報をプログラム構成管理データベースに格納
する関連資源情報登録手段と、 前記プログラム構成管理データベースの関連情報に基づ
いて、コンパイルユニットの前記削除条件を判定するコ
ンパイルユニット削除判定手段と、 前記判定結果に基づいて、前記コンパイルユニットライ
ブラリから該当コンパイルユニットを削除し、前記プロ
グラム構成管理データベースのプログラム構成管理情報
から該当のコンパイルユニットんに削除識別を付加する
コンパイルユニット削除手段と、 を備えることを特徴とする請求項1記載のプログラム構
成管理システム。
6. The processing unit executes translation processing means for translating a source unit of the source library to obtain a compile unit, combining processing means for combining the compile units to obtain a load module, and executing the load module. Load module execution processing means, translation information of the source unit from the translation processing means, binding information of the compilation unit from the binding processing means,
Usage result information of the load module execution processing means,
Related resource information acquisition means for obtaining related information including, related resource information registration means for storing the related information in a program configuration management database, and the deletion condition of the compile unit based on the related information in the program configuration management database. Compile unit deletion determining means for making a decision, and deleting the corresponding compile unit from the compile unit library based on the result of the decision, and adding a deletion identification to the relevant compile unit from the program configuration management information in the program configuration management database. The program configuration management system according to claim 1, further comprising: a compile unit deleting unit.
JP2001331451A 2001-10-29 2001-10-29 System for managing program construction Pending JP2003140889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001331451A JP2003140889A (en) 2001-10-29 2001-10-29 System for managing program construction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001331451A JP2003140889A (en) 2001-10-29 2001-10-29 System for managing program construction

Publications (1)

Publication Number Publication Date
JP2003140889A true JP2003140889A (en) 2003-05-16

Family

ID=19147029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001331451A Pending JP2003140889A (en) 2001-10-29 2001-10-29 System for managing program construction

Country Status (1)

Country Link
JP (1) JP2003140889A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019079162A (en) * 2017-10-23 2019-05-23 ファナック株式会社 Numerical control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233231A (en) * 1992-02-26 1993-09-10 Chubu Nippon Denki Software Kk Method for managing library
JPH06250831A (en) * 1993-02-22 1994-09-09 Toshiba Corp Management system for program development result
JPH09218789A (en) * 1996-02-08 1997-08-19 Oki Electric Ind Co Ltd Division compiling system
JP2000163254A (en) * 1998-11-25 2000-06-16 Nec Corp Software development managing device, software development managing method, and recording medium
JP2001154836A (en) * 1999-11-29 2001-06-08 Nec Software Hokuriku Ltd Program development stage retrieval system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233231A (en) * 1992-02-26 1993-09-10 Chubu Nippon Denki Software Kk Method for managing library
JPH06250831A (en) * 1993-02-22 1994-09-09 Toshiba Corp Management system for program development result
JPH09218789A (en) * 1996-02-08 1997-08-19 Oki Electric Ind Co Ltd Division compiling system
JP2000163254A (en) * 1998-11-25 2000-06-16 Nec Corp Software development managing device, software development managing method, and recording medium
JP2001154836A (en) * 1999-11-29 2001-06-08 Nec Software Hokuriku Ltd Program development stage retrieval system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019079162A (en) * 2017-10-23 2019-05-23 ファナック株式会社 Numerical control device

Similar Documents

Publication Publication Date Title
CN106951430B (en) Account table query method and device
US7624394B1 (en) Software installation verification
EP2477355B1 (en) Method and device for managing association of network resources
US9940108B2 (en) Automated merging in a software development environment
US8869111B2 (en) Method and system for generating test cases for a software application
US8972959B2 (en) Method of converting program code of program running in multi-thread to program code causing less lock collisions, computer program and computer system for the same
US20120158453A1 (en) Workflow processing system for supporting multi-tenant, and method thereof
CN110413272B (en) Front-end project construction method, device, storage medium and equipment
WO2022267457A1 (en) Method, apparatus, and device for processing spreadsheet data, and storage medium
CN109213826B (en) Data processing method and device
JP5179207B2 (en) Software development support apparatus, program and method thereof
US7752399B2 (en) Exclusion control method and information processing apparatus
CN113568604B (en) Method and device for updating wind control strategy and computer readable storage medium
JP2007128450A (en) Software reusable component management system
CN111125213A (en) Data acquisition method, device and system
US20060130034A1 (en) Apparatus, system, and method for providing access to a set of resources available directly to a particular class loader
CN110765078B (en) File management method and device and computer readable storage medium
CN108897569A (en) The method for cleaning and computer readable storage medium of iOS engineering discarded record
JP2005044011A (en) Software package management method
JP2003140889A (en) System for managing program construction
JP2001166924A (en) Device and method for managing software developed article
US20060225047A1 (en) Generic software requirements analyzer
KR100669604B1 (en) Software Integration Tool System for Configuration Management System
CN113448493B (en) Method, electronic device and computer readable medium for backing up data
CN111259082B (en) Method for realizing full data synchronization in big data environment

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050328

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050809

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051206