JP2000357097A - Program managing method - Google Patents

Program managing method

Info

Publication number
JP2000357097A
JP2000357097A JP11169426A JP16942699A JP2000357097A JP 2000357097 A JP2000357097 A JP 2000357097A JP 11169426 A JP11169426 A JP 11169426A JP 16942699 A JP16942699 A JP 16942699A JP 2000357097 A JP2000357097 A JP 2000357097A
Authority
JP
Japan
Prior art keywords
program
information
object program
source
compile
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
JP11169426A
Other languages
Japanese (ja)
Inventor
Toshiyuki Aoki
俊之 青木
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 JP11169426A priority Critical patent/JP2000357097A/en
Publication of JP2000357097A publication Critical patent/JP2000357097A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To specify a relation among a source program, an object program and a run unit program. SOLUTION: According to an object program name, a compiler name, a compile option, a compiler version and compile date/time information as compile information 23 extracted from an object program 21 of an investigation object, a source program 11 is compiled, an object program 12 of the output result provided by compiling is compared with the object program 21 of the investigation object and it is discriminated whether the object program 21 of the investigation object is compiled from the source program 11 or not.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ソースプログラ
ム、オブジェクトプログラム、ランユニットプログラム
間を関連付けるプログラム管理方法に関する。
[0001] The present invention relates to a program management method for associating a source program, an object program, and a run unit program.

【0002】[0002]

【従来の技術】ソースプログラムからコンパイラを通し
て、機械語に変換した結果がオブジェクトプログラムで
ある。ソースプログラムとそのオブジェクトプログラム
は、それぞれが独立のファイルに管理されているので、
その対応付けを管理するために、コンパイル時に出力さ
れた実行レポートや翻訳リストを保管して、そのレポー
ト上に存在するソースプログラム名およびソースプログ
ラムファイル名、オブジェクトファイル名、オブジェク
ト名、コンパイル日時、バージョン情報などを手掛かり
に対応付けを見極めている(リスト管理)。
2. Description of the Related Art The result of converting a source program into a machine language through a compiler is an object program. Since the source program and its object program are managed in independent files,
In order to manage the association, save the execution report and translation list output at the time of compilation, and save the source program name and source program file name, object file name, object name, compilation date and time, and version that exist on the report They use information as clues to identify correspondences (list management).

【0003】また、上記方法でソースプログラムおよび
オブジェクトプログラムを管理する以外に、従来の技術
として、コンパイルやリンクをした際、自動的に管理情
報がディクショナリファイルに登録され、そのディクシ
ョナリ情報を見ることによってプログラムを管理する方
法もある(ディクショナリ管理)。
[0003] In addition to managing source programs and object programs by the above method, as a conventional technique, when compiling or linking, management information is automatically registered in a dictionary file, and the dictionary information is viewed. There is also a way to manage programs (dictionary management).

【0004】[0004]

【発明が解決しようとする課題】しかし、従来のこれら
管理方法には、次のような問題点がある。
However, these conventional management methods have the following problems.

【0005】まず、(リスト管理)方法には、コンパイ
ルリストやリンクマップの紛失時に、オブジェクトプロ
グラムの元ソースプログラムがどれか、また、ランユニ
ットプログラムの元オブジェクトプログラムがどれか、
それを調査して対応付けを行う手段が無いという問題点
がある。
First, the (list management) method includes, when a compile list or a link map is lost, which of the original source program of the object program, which of the run unit program is
There is a problem that there is no means for investigating and associating them.

【0006】これは、第1には、ソースプログラム本体
には、出力したオブジェクトプログラムに関するファイ
ル名、コンパイル日時などの管理情報がないことによ
る。たとえコメントとして記載されていても、そのコメ
ント自体が改版されていなかったり、不十分であったり
して信用できないことがあり、また、オブジェクトプロ
グラム本体には、その入力となったソースプログラムと
の関連付けができるような、例えば、ソースファイル
名、ソースプログラムテキストなどの情報が無いからで
ある。
The first reason is that the source program itself has no management information such as a file name and a compilation date and time relating to the output object program. Even if it is described as a comment, the comment itself may not be renewed or inadequate and cannot be trusted, and the object program itself has an association with the input source program. This is because there is no information such as a source file name and a source program text that can be generated.

【0007】第2には、コンパイルリストを紛失した場
合以外にも、ソースプログラムとオブジェクトプログラ
ムとの関連付けは、下記の場合に失われることである。
Secondly, in addition to the case where the compile list is lost, the association between the source program and the object program is lost in the following cases.

【0008】最初にオブジェクトプログラムが出力され
たファイルから、オブジェクトが別のオブジェクトファ
イルに移動し使用される場合がある。これは利用者がテ
ストなどの際利用しやすい環境に移動するためである
が、その移動は、オブジェクトプログラムライブラリア
ンで行われ、その際に元のソースプログラムやオブジェ
クトプログラム、ランユニットプログラム管理体系との
関連付けを情報として残すことを利用者が忘れ、運用者
管理基準外の方法で本番システムへのプログラムリリー
スする場合などがあることである。特に緊急トラブル対
応時などこのような手段で本番システムの変更を行うこ
ともある。このような管理規則を外れたプログラムが、
20〜30年という長い年月を経た膨大な既存プログラ
ム資産の内には非常に多く存在していることが多い。
An object may be moved from a file to which an object program is first output to another object file and used. This is because the user moves to an environment that is easy to use for testing, etc., but the movement is performed by the object program librarian, and at that time, the original source program, object program, run unit program management system and In some cases, the user forgets to leave the association as information and releases the program to the production system using a method outside the operator management standards. The production system may be changed by such means especially when dealing with an emergency trouble. Programs that violate these management rules
There are many very large existing program assets that are 20 to 30 years old.

【0009】第3には、オブジェクトプログラムは、い
ろいろなランユニットファイルにリンクされ使用される
場合があるので、ランユニットファイル名自体をオブジ
ェクトプログラム上には持っていないし、従来ランユニ
ットプログラムがどのオブジェクトプログラムから生成
されたものかを知る手段が無かったということである。
Third, since the object program may be used by being linked to various run unit files, the run unit file name itself is not included in the object program. This means that there was no way to know if it was generated from a program.

【0010】次に、(ディクショナリ管理)方法では、
(ディクショナリ管理)を導入する以前から既に存在し
ている既存プログラム資産について、ディクショナリ管
理を適用し難いという問題点がある。
Next, in the (dictionary management) method,
There is a problem that it is difficult to apply dictionary management to existing program assets that have already existed before the introduction of (dictionary management).

【0011】新規開発のプログラムについては、新規に
プログラム管理体系を定め、(ディクショナリ管理)の
環境を作成し、その環境上でプログラム開発すれば良い
ので比較的容易に(ディクショナリ管理)への移行が可
能であるが、既存プログラムについては、既存のプログ
ラム開発環境を(ディクショナリ管理)できる開発環境
に変更することが必要になる。
For a newly developed program, a program management system is newly defined, a (dictionary management) environment is created, and a program can be developed on the environment. Therefore, the transition to the (dictionary management) can be made relatively easily. Although it is possible, for existing programs, it is necessary to change the existing program development environment to a development environment that allows (dictionary management).

【0012】プログラム開発環境の変更時には、個別シ
ステム内で閉じていたプログラムを他システムと重複・
相反しないように新規に標準的ルールを定め、修正・変
更・新規登録することが必要になる。
When a program development environment is changed, a program closed in an individual system is duplicated with another system.
It is necessary to set new standard rules so that they do not conflict with each other, and to modify, change, and newly register them.

【0013】この場合、ソースプログラムとオブジェク
トプログラムの管理情報が紛失している場合やプログラ
ム資産の名称の重複、また、同一プログラムを個別に改
造して使用している場合もあるので、それらを一意に整
理することになる。そのためには、ライブラリファイル
を全サーチし、同一プログラムと考えられるものを全て
洗い出し、重複して存在しているソースプログラムやオ
ブジェクトファイルを本番システムで使用しているもの
とテスト時に使用したもの、緊急のトラブル対応に一時
的に修正を加えたもの、開発段階の消し忘れなど、1つ
1つ仕様書やプログラムのコメントを頼りに見直さなけ
ればならない。また、新たに仕様書を興し、プログラム
登録管理をやり直す場合もある。
In this case, the management information of the source program and the object program may be lost, the names of the program assets may be duplicated, or the same program may be individually modified and used. Will be organized. To do so, search all library files, identify all that are considered to be the same program, use duplicate source programs and object files that are used in the production system and those used during testing, It is necessary to reexamine the specifications and program comments one by one, such as temporary corrections to the troubles of the above and forgetting to erase them at the development stage. There are also cases where a new specification is created and the program registration management is redone.

【0014】プログラム名称に変更が発生する場合に
は、ただ名称の変更に留まらず、本番システム上で動作
しているランユニットプログラムの名称も変更するの
で、具体的には(ディクショナリ管理)環境化で再コン
パイル〜リンクして、ランユニットプログラムを作成
後、評価して、本番システム上でのランユニットプログ
ラム変更作業を行うという一連の多大な工数が必要であ
る。
When a change occurs in the program name, not only the name change but also the name of the run unit program operating on the production system is changed. Specifically, (dictionary management) After recompiling and linking, a run unit program is created, evaluated, and a series of enormous man-hours are required to perform a run unit program change operation on the production system.

【0015】(ディクショナリ管理)は、(ディクショ
ナリ管理)導入以降、その仕組みを組み込めたソースプ
ログラム、オブジェクトプログラム、ランユニットプロ
グラム間のみでの関連性が失われないように、プログラ
ム管理データの紛失を防止することを目的としているシ
ステムであって、既に、オブジェクトプログラム、ラン
ユニットプログラム間の関連性が不明となった状態には
無効である。
[0015] (Dictionary management) prevents the loss of program management data after the introduction of (Dictionary management) so that the relationship only between source programs, object programs, and run unit programs incorporating the mechanism is not lost. This is a system intended to perform the above-mentioned operations, and is invalid in a state where the relationship between the object program and the run unit program is already unknown.

【0016】この発明の目的は、既に、ソースプログラ
ム、オブジェクトプログラム、ランユニットプログラム
間の関連性が失われていた場合に、それらの間の関連付
けを特定できるようにして、プログラム管理情報を完全
化するためのプログラム管理方法を提供することであ
る。
[0016] An object of the present invention is to complete program management information by making it possible to specify an association between a source program, an object program, and a run unit program when the association has already been lost. To provide a method for managing programs.

【0017】[0017]

【課題を解決するための手段】この発明は、ソースプロ
グラムとオブジェクトプログラムとの対応を管理するプ
ログラム管理方法において、調査対象のオブジェクトプ
ログラムから抽出したコンパイル情報に従ってソースプ
ログラムをコンパイルして、その出力結果のオブジェク
トプログラムと、前記調査対象のオブジェクトプログラ
ムとを比較して、調査対象のオブジェクトプログラムが
前記ソースプログラムからコンパイルされたものかどう
かを判定することを特徴とする。
According to the present invention, in a program management method for managing correspondence between a source program and an object program, a source program is compiled according to compilation information extracted from an object program to be investigated, and an output result of the source program is compiled. Is compared with the object program to be checked to determine whether the object program to be checked is compiled from the source program.

【0018】また、この発明は、オブジェクトプログラ
ムとランユニットプログラムとの対応を管理するプログ
ラム管理方法において、ランユニットプログラムを読み
込んで、ランユニットプログラム中に含まれるオブジェ
クト情報を抽出し、調査対象となるオブジェクトプログ
ラムのオブジェクト情報と比較し、前記ランユニットプ
ログラムが前記調査対象となるオブジェクトプログラム
からリンクされたものかどうかを判定することを特徴と
する。
Further, according to the present invention, in a program management method for managing the correspondence between an object program and a run unit program, the run unit program is read, the object information included in the run unit program is extracted, and the object information is to be investigated. It is characterized in that it is compared with object information of an object program to determine whether or not the run unit program is linked from the object program to be investigated.

【0019】この発明は、ソースプログラム、オブジェ
クトプログラム、ランユニットプログラム本体のみの情
報から、それらが同一ソースプログラムからの生成物と
して関連付けられるかどうかを一意的に判定することが
できる。
According to the present invention, it is possible to uniquely determine from the information of only the source program, the object program, and the run unit program body whether or not they are associated as a product from the same source program.

【0020】[0020]

【発明の実施の形態】次に、この発明のプログラム管理
方法の実施の形態について図面を参照して説明する。
Next, an embodiment of a program management method according to the present invention will be described with reference to the drawings.

【0021】図1は、この発明の実施の形態であり、ソ
ースプログラムとオブジェクトプログラムとの関連付け
を特定する処理手順を説明する図である。
FIG. 1 shows an embodiment of the present invention and is a diagram for explaining a processing procedure for specifying the association between a source program and an object program.

【0022】上記プログラムを関連付けを特定するため
の判定方法の概要としては、ソースプログラム11をコ
ンパイルした結果のオブジェクトプログラム12と、オ
ブジェクトプログラム21とを比較し、それらが同一ソ
ースプログラム11の生成物であることを証明する。
The outline of the determination method for specifying the association between the programs is as follows. The object program 12 obtained by compiling the source program 11 is compared with the object program 21, and they are products of the same source program 11. Prove that there is.

【0023】コンパイラの種類、コンパイルオプショ
ン、コンパイラバージョンによって、同一ソースプログ
ラムからでも生成されるオブジェクトは異なり、単に比
較できないので、これらコンパイル情報30をオブジェ
クトプログラム21からコンパイル前に抽出しておき、
その情報に従ってコンパイル実施後に出力されたオブジ
ェクトプログラム12と比較する。
The objects generated from the same source program differ depending on the type of compiler, compile option, and compiler version, and cannot be simply compared. Therefore, the compile information 30 is extracted from the object program 21 before compiling.
According to the information, the object program 12 is compared with the object program 12 output after the compilation.

【0024】これらコンパイル情報30は、コンパイラ
提供メーカーがコンパイラに関してのエラーが発生した
場合に対応するためや、オブジェクトをライブラリ管理
する必要上、一般的にオブジェクト中に情報として保持
されている。
The compile information 30 is generally held as information in an object because the maker providing the compiler responds to an error relating to the compiler or because the object needs to be managed in a library.

【0025】次に、オブジェクトプログラム21と、コ
ンパイルしてできたオブジェクトプログラム12とを各
々ダンプ編集出力し、その編集データをレコード単位に
比較し、相違のあるレコードを出力する。比較の結果、
コンパイル日時だけが異なれば、オブジェクトは一致し
たと見なせ、これにより、オブジェクトプログラム21
は、ソースプログラム11をコンパイルしたオブジェク
トであると判定できる。
Next, the object program 21 and the compiled object program 12 are dump edited and output, and the edited data is compared in units of records, and records having differences are output. As a result of the comparison,
If only the compile date and time are different, the objects can be regarded as coincident, and the object program 21
Can be determined to be an object obtained by compiling the source program 11.

【0026】次に、この発明の実施の形態の処理動作を
図1および図2を参照して詳細に説明する。図2は、オ
ブジェクトプログラムからコンパイル情報を抽出する処
理手順を説明する図である。
Next, the processing operation of the embodiment of the present invention will be described in detail with reference to FIGS. FIG. 2 is a diagram illustrating a processing procedure for extracting compile information from an object program.

【0027】まず、オブジェクトプログラムからコンパ
イル情報を抽出する手順を説明する。図2において、ス
テップ201〜207の処理手順を介して、オブジェク
トプログラム21を入力として、オブジェクトプログラ
ム中のオブジェクトプログラム名、コンパイラ名、コン
パイラバージョン、コンパイル日時情報を抽出し、ま
た、コンパイルオプション情報については、メモリ中の
コンパイルオプションテーブル42とオブジェクトプロ
グラム中のコンパイルオプションに相当するデータを突
き合わせて、利用者が見て指定できるコンパイラに対す
るコンパイルオプションとして、コンパイル情報23を
コンパイル情報抽出ファイル25に出力する。
First, a procedure for extracting compile information from an object program will be described. In FIG. 2, through the processing procedures of steps 201 to 207, the object program 21 is input, and the object program name, the compiler name, the compiler version, and the compilation date and time information are extracted from the object program. Then, the compile option table 42 in the memory is compared with the data corresponding to the compile option in the object program, and the compile information 23 is output to the compile information extraction file 25 as a compile option for the compiler that can be specified by the user.

【0028】図2で示した処理手順の目的は、コンパイ
ラの種類、コンパイラオプション、コンパイラバージョ
ンの相違によって出力されるオブジェクトが命令もオブ
ジェクトサイズも異なるため、これらコンパイル情報を
明確にすることである。
The purpose of the processing procedure shown in FIG. 2 is to clarify the compilation information because the output object differs in instruction and object size depending on the type of compiler, compiler option, and compiler version.

【0029】オブジェクトプログラム上のこれらコンパ
イル情報を明確にした上で、ソ−スプログラムからオブ
ジェクトプログラムを生成し、他オブジェクトプログラ
ムとの比較に用いることが必要である。
After clarifying the compilation information on the object program, it is necessary to generate an object program from the source program and use it for comparison with other object programs.

【0030】次に、図1のステップ101、ステップ1
02の処理手順について説明する。
Next, step 101, step 1 in FIG.
02 will be described.

【0031】ソースプログラム11を入力として、図2
の処理手順で得られたコンパイル情報23のうち、コン
パイラ名、コンパイラバージョン、コンパイルオプショ
ンに従って、該当するコンパイル(ステップ101)を
実行し、オブジェクトプログラム12を出力する。それ
をオブジェクトプログラムダンプ処理(ステップ10
2)でオブジェクトプログラムダンプファイル13に編
集出力する。
With the source program 11 as input, FIG.
In accordance with the compiler name, the compiler version, and the compile option, the corresponding compile (step 101) is executed and the object program 12 is output. It is then dumped into the object program (step 10
In 2), the data is edited and output to the object program dump file 13.

【0032】オブジェクトプログラムダンプ処理では、
オブジェクトプログラムをデータ部とコード部に分け
て、使用セグメント名情報を編集付加してシーケンシャ
ルファイルに出力する。
In the object program dump processing,
The object program is divided into a data section and a code section, and the used segment name information is edited and added, and output to a sequential file.

【0033】オブジェクトプログラム同士を直接比較せ
ず、オブジェクトプログラムダンプ処理でシーケンシャ
ルファイルに編集出力したもの同士を比較する理由は、
相違するデータがあった場合に、利用者が比較して見や
すくするためである。
The reason why the object programs are not directly compared with each other but compared with those edited and output to a sequential file in the object program dump process is as follows.
This is to make it easier for a user to compare different data when there is.

【0034】次に、図1のステップ103の処理手順に
ついて説明する。
Next, the processing procedure of step 103 in FIG. 1 will be described.

【0035】オブジェクトプログラム21に対してオブ
ジェクトプログラムダンプ処理(ステップ103)を実
行し、オブジェクトプログラムダンプファイル22を作
成する。
An object program dump process (step 103) is executed on the object program 21 to create an object program dump file 22.

【0036】このステップ101〜103の処理手順で
できた2つの、ダンプファイル13とダンプファイル2
2をステップ104でシーケンシャルにレコード単位で
比較し、一致しないレコードについては、2つのオブジ
ェクトプログラムダンプのレコードイメージを比較する
ため並べてリスト出力する。このステップ104の処理
では、コンパイル日時は一致しないので、それ以外のデ
ータが一致すれば、オブジェクトプログラム21の元ソ
ースプログラムがソースプログラム11であることが判
定できたことになる。
The two dump files 13 and 2 created by the processing procedures of steps 101 to 103 are shown.
2 are sequentially compared in a record unit in step 104, and records that do not match are output in a list side by side to compare the record images of the two object program dumps. In the process of step 104, the compile date and time do not match. If the other data match, it is determined that the original source program of the object program 21 is the source program 11.

【0037】次に、ランユニットプログラムがオブジェ
クトプログラムからの生成物であるかどうかを判定する
処理手順を説明する。図3は、ランユニットプログラム
とオブジェクトプログラムとの関連付けを特定する処理
手順を説明する図である。
Next, a processing procedure for determining whether or not the run unit program is a product of the object program will be described. FIG. 3 is a diagram illustrating a processing procedure for specifying an association between a run unit program and an object program.

【0038】上記プログラムを関連付けを特定するため
の判定方法の概要としては、ランユニットプログラム3
1中には、オブジェクトプログラムのオブジェクトイメ
ージがリンク時に取り込まれているので、そのオブジェ
クトに含まれるオブジェクト情報であるオブジェクトプ
ログラム名とコンパイル日時を、調査対象のオブジェク
トプログラム32内のオブジェクト情報と比較し、一致
すれば、ランユニットプログラム31は、オブジェクト
プログラム32からリンクしてできた生成物であると判
定する。
As an outline of the determination method for specifying the association between the programs, the run unit program 3
In FIG. 1, since the object image of the object program is taken in at the time of linking, the object program name and the compilation date and time, which are the object information included in the object, are compared with the object information in the object program 32 to be investigated. If they match, the run unit program 31 determines that the product is a product created by linking from the object program 32.

【0039】図3のステップ301〜304は、ランユ
ニットプログラム31のリンク前の元オブジェクトプロ
グラムがオブジェクトプログラム32であるかどうかを
確認するための処理手順である。この処理手順の目的
は、オブジェクトプログラムが複数あってどれがマスタ
ーであるか決められない場合、後でオブジェクトプログ
ラムとソースプログラムの突き合わせを行うこともでき
なくなるので、本番システム上で稼働しているランユニ
ットプログラムを基準にしてオブジェクトプログラムを
特定することである。
Steps 301 to 304 in FIG. 3 are processing procedures for confirming whether or not the original object program before linking the run unit program 31 is the object program 32. The purpose of this procedure is that if there is more than one object program and it is not possible to determine which is the master, then it will not be possible to match the object program with the source program later, so the run running on the production system will not be possible. This is to specify an object program based on a unit program.

【0040】ステップ301により、ランユニットプロ
グラム31を入力として、ランユニットプログラム中に
含まれるオブジェクトプログラム名、コンパイル日時を
抽出する。
In step 301, the run unit program 31 is used as an input to extract the object program name and the compile date and time included in the run unit program.

【0041】次に、オブジェクトプログラム32にコン
パイル情報抽出処理を実施し(ステップ302)、オブ
ジェクトプログラム中に含まれるオブジェクトプログラ
ム名とコンパイル日時を抽出する。
Next, a compile information extracting process is performed on the object program 32 (step 302), and an object program name and a compile date included in the object program are extracted.

【0042】この2つのオブジェクトプログラム名、コ
ンパイル日時を読み込み(ステップ303)、オブジェ
クトプログラム名、コンパイル日時が一致しているかど
うかをステップ304で比較し、一致すれば、ランユニ
ットプログラム31は、オブジェクトプログラム32の
リンク前の元オブジェクトプログラムであると判定でき
る。
The two object program names and the compile date are read (step 303), and whether or not the object program name and the compile date match is compared in step 304. If they match, the run unit program 31 executes the object program It can be determined that the original object program is an original object program before linking.

【0043】また、一致しなければ、ランユニットプロ
グラム中のオブジェクトプログラム名、コンパイル日
時、オブジェクトプログラムのオブジェクトプログラム
名、コンパイル日時を出力し、利用者の参考情報とす
る。
If they do not match, the name of the object program in the run unit program, the compile date and time, the name of the object program of the object program, and the compile date and time are output as user reference information.

【0044】[0044]

【発明の効果】以上説明したように、この発明は、ソー
スプログラムとオブジェクトプログラムとランユニット
プログラムの関連付けを、それらの管理情報が消えてし
まっていても完全に保証することができる。これによっ
て、プログラム開発環境を整理することができるので、
誤ったソースプログラムやオブジェクトプログラムを使
用して開発を進めたためのトラブルが発生することが無
くなる。
As described above, according to the present invention, the association between a source program, an object program, and a run unit program can be completely guaranteed even if their management information has been lost. As a result, the program development environment can be organized,
Problems caused by development using an incorrect source program or object program do not occur.

【0045】例えば、ランユニットプログラムは1つだ
けで、オブジェクトプログラムやソースプログラムが複
数存在し、どれがランユニットプログラムに対する元オ
ブジェクトプログラム、元ソースプログラムであるか分
からない場合にこの方法を用いれば、ランユニットプロ
グラムからオブジェクトプログラムが特定され、そのオ
ブジェクトプログラムからソースプログラムが特定でき
る。
For example, if there is only one run unit program and there are a plurality of object programs and source programs, and it is not known which is the original object program and original source program for the run unit program, this method is used. An object program is specified from the run unit program, and a source program can be specified from the object program.

【0046】2000年問題など過去の既存資産を大規
模に見直す状況が発生して、10〜30年前のプログラ
ム資産で、現在ではソースプログラム、オブジェクトプ
ログラム、ランユニットプログラムの対応付けができな
くなったプログラムが多々ある場合などに、その整理作
業や開発作業の大幅な工数低減を図ることができる。
A situation in which the past existing assets are reviewed on a large scale, such as the year 2000 problem, has occurred, and it is no longer possible to associate source programs, object programs, and run unit programs with program assets 10 to 30 years ago. When there are many programs, it is possible to significantly reduce the number of man-hours required for organizing and developing the programs.

【0047】また、管理情報のない既存資産の開発環境
を整理できるため、これまでソースプログラム、オブジ
ェクトプログラム、ランユニットプログラム間の関連付
けが取れなかったため、(ディクショナリ管理)を適用
できなかったプログラムに対して、(ディクショナリ管
理)を適用できるようになるため、今後のプログラム資
産管理を容易にすることが可能になる。
In addition, since the development environment of existing assets without management information can be organized, the source program, the object program, and the run unit program could not be related to each other, so that (dictionary management) could not be applied to the program. Then, (dictionary management) can be applied, so that future program asset management can be facilitated.

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

【図1】ソースプログラムとオブジェクトプログラムと
の関連付けを特定する処理手順を説明する図である。
FIG. 1 is a diagram illustrating a processing procedure for specifying an association between a source program and an object program.

【図2】オブジェクトプログラムからコンパイル情報を
抽出する処理手順を説明する図である。
FIG. 2 is a diagram illustrating a processing procedure for extracting compile information from an object program.

【図3】ランユニットプログラムとオブジェクトプログ
ラムとの関連付けを特定する処理手順を説明する図であ
る。
FIG. 3 is a diagram illustrating a processing procedure for specifying an association between a run unit program and an object program.

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

11 ソースプログラム 12,21,32 オブジェクトプログラム 13,22 オブジェクトプログラムダンプファイル 23 コンパイル情報 24 コンパイルオプションテーブル 25 コンパイル情報抽出ファイル 31 ランユニットプログラム 101〜104,201〜207,301〜304 処
理ステップ
DESCRIPTION OF SYMBOLS 11 Source program 12, 21, 32 Object program 13, 22 Object program dump file 23 Compilation information 24 Compilation option table 25 Compilation information extraction file 31 Run unit program 101-104, 201-207, 301-304

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】ソースプログラムとオブジェクトプログラ
ムとの対応を管理するプログラム管理方法において、 調査対象のオブジェクトプログラムから抽出したコンパ
イル情報に従ってソースプログラムをコンパイルし、コ
ンパイルして得られた出力結果のオブジェクトプログラ
ムと、前記調査対象のオブジェクトプログラムとを比較
して、調査対象のオブジェクトプログラムが前記ソース
プログラムからコンパイルされたものかどうかを判定す
ることを特徴とするプログラム管理方法。
1. A program management method for managing a correspondence between a source program and an object program, comprising: compiling a source program according to compilation information extracted from an object program to be investigated; And comparing the object program to be checked with the object program to determine whether the object program to be checked is compiled from the source program.
【請求項2】前記コンパイル情報は、オブジェクトプロ
グラム名、コンパイラ名、コンパイルオプション、コン
パイラバージョン、コンパイル日時であることを特徴と
する請求項1に記載のプログラム管理方法。
2. The program management method according to claim 1, wherein the compile information is an object program name, a compiler name, a compile option, a compiler version, and a compile date.
【請求項3】前記調査対象のオブジェクトプログラムと
前記ソースプログラムをコンパイルして出力されたオブ
ジェクトプログラムをそれぞれダンプファイルに編集出
力し、ダンプファイル同士を比較することを特徴とする
請求項1または2に記載のプログラム管理方法。
3. The method according to claim 1, wherein the object program to be examined and the object program output by compiling the source program are edited and output as dump files, respectively, and the dump files are compared with each other. The described program management method.
【請求項4】前記ダンプファイル同士をシーケンシャル
にレコード単位に比較することを特徴とする請求項3に
記載のプログラム管理方法。
4. The program management method according to claim 3, wherein the dump files are sequentially compared in record units.
【請求項5】オブジェクトプログラムとランユニットプ
ログラムとの対応を管理するプログラム管理方法におい
て、 ランユニットプログラムを読み込んで、ランユニットプ
ログラム中に含まれるオブジェクト情報を抽出し、調査
対象となるオブジェクトプログラムのオブジェクト情報
と比較し、前記ランユニットプログラムが前記調査対象
となるオブジェクトプログラムからリンクされたものか
どうかを判定することを特徴とするプログラム管理方
法。
5. A program management method for managing a correspondence between an object program and a run unit program, wherein the run unit program is read, object information included in the run unit program is extracted, and an object of the object program to be investigated is read. A program management method for comparing the information with information to determine whether the run unit program is linked from the object program to be investigated.
【請求項6】前記オブジェクト情報は、オブジェクトプ
ログラム名、コンパイル日時であることを特徴とする請
求項5に記載のプログラム管理方法。
6. The program management method according to claim 5, wherein said object information is an object program name and a compilation date.
JP11169426A 1999-06-16 1999-06-16 Program managing method Pending JP2000357097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11169426A JP2000357097A (en) 1999-06-16 1999-06-16 Program managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11169426A JP2000357097A (en) 1999-06-16 1999-06-16 Program managing method

Publications (1)

Publication Number Publication Date
JP2000357097A true JP2000357097A (en) 2000-12-26

Family

ID=15886383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11169426A Pending JP2000357097A (en) 1999-06-16 1999-06-16 Program managing method

Country Status (1)

Country Link
JP (1) JP2000357097A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983457B2 (en) * 2000-10-25 2006-01-03 Hitachi, Ltd. Compile method for storing source code within object code
JP2006350840A (en) * 2005-06-17 2006-12-28 Fujitsu Ltd Configuration management program, development processing program, storage medium storing it, configuration management device, development processing terminal, configuration management method, and development processing method
JP2008033916A (en) * 2006-06-27 2008-02-14 Omron Corp Programmable controller
US20150248288A1 (en) * 2014-02-28 2015-09-03 Red Hat, Inc. Compiled file normalization
JP2018032082A (en) * 2016-08-22 2018-03-01 富士通株式会社 Program generation program, program generation method, program generation device, and compile program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983457B2 (en) * 2000-10-25 2006-01-03 Hitachi, Ltd. Compile method for storing source code within object code
JP2006350840A (en) * 2005-06-17 2006-12-28 Fujitsu Ltd Configuration management program, development processing program, storage medium storing it, configuration management device, development processing terminal, configuration management method, and development processing method
JP2008033916A (en) * 2006-06-27 2008-02-14 Omron Corp Programmable controller
JP4656337B2 (en) * 2006-06-27 2011-03-23 オムロン株式会社 Programmable controller
US20150248288A1 (en) * 2014-02-28 2015-09-03 Red Hat, Inc. Compiled file normalization
US10409572B2 (en) * 2014-02-28 2019-09-10 Red Hat, Inc. Compiled file normalization
JP2018032082A (en) * 2016-08-22 2018-03-01 富士通株式会社 Program generation program, program generation method, program generation device, and compile program

Similar Documents

Publication Publication Date Title
RU2210803C2 (en) Computer device for application program execution
US6071317A (en) Object code logic analysis and automated modification system and method
Bousse et al. Advanced and efficient execution trace management for executable domain-specific modeling languages
Bittner et al. Feature trace recording
CN114139923A (en) Task relevance analysis method and device and computer readable storage medium
Malton et al. Processing software source text in automated design recovery and transformation
Jongeling et al. Towards consistency checking between a system model and its implementation
US20060117075A1 (en) Prerequisite, dependent and atomic deltas
JPH11249875A (en) Method for supporting programming and device therefor
Wittler et al. Evaluating Model Differencing for the Consistency Preservation of State-based Views.
JP2000357097A (en) Program managing method
Schlie et al. Clustering variation points in matlab/simulink models using reverse signal propagation analysis
de la Vega et al. An efficient line-based approach for resolving merge conflicts in XMI-based models
US9396239B2 (en) Compiling method, storage medium and compiling apparatus
Koegel et al. State-based vs. operation-based change tracking
Hlad et al. IsiSPL: Toward an Automated Reactive Approach to build Software Product Lines
AU760395B2 (en) Program reproducing method and device, and medium on which program for program reproduction recording
WO2024195336A1 (en) Traceability information extraction device and traceability information verification device
JP4484148B2 (en) SI target file and SI related file management system
JP4483163B2 (en) Program test debugging device
JPH1153391A (en) Database access method
CN117453189B (en) Method, system, equipment and medium for layered development of application
Fraternali et al. Almost rerere: An approach for automating conflict resolution from similar resolved conflicts
JPH0981371A (en) Automatic version-up method and device for source code
Spinellis Optimizing header file include directives

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040120