JPH05100831A - Source program alteration history generation utility - Google Patents

Source program alteration history generation utility

Info

Publication number
JPH05100831A
JPH05100831A JP3257437A JP25743791A JPH05100831A JP H05100831 A JPH05100831 A JP H05100831A JP 3257437 A JP3257437 A JP 3257437A JP 25743791 A JP25743791 A JP 25743791A JP H05100831 A JPH05100831 A JP H05100831A
Authority
JP
Japan
Prior art keywords
source program
history
program
history information
source
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
JP3257437A
Other languages
Japanese (ja)
Inventor
Haruo Yamamoto
治男 山本
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 Information Service Co Ltd
Original Assignee
NEC Information Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Information Service Co Ltd filed Critical NEC Information Service Co Ltd
Priority to JP3257437A priority Critical patent/JPH05100831A/en
Publication of JPH05100831A publication Critical patent/JPH05100831A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To generate history information on correction without a manual intervention at the time of correcting a source program so as to easily display history and restore the source program. CONSTITUTION:A registration means 31 stores the source program in a source program storage part 51 and receives registration. An update means 33 saves an objective program in a temporary storage device 4 prior to the correction of the program. An editing means 32 compares the corrected program with the saved program after the correction of the program, inputs contents before and after alteration, and stores them in a history storage part with history titles as history information. A retrieval means 34 displays history information on the program designated by a restoration request and restores the source program in accordance with the history content from latest history to designated history.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はソースプログラム変更履
歴作成ユーティリティ、特にソースプログラムを修正す
るためのソースプログラム修正ユーティリティと併用し
てソースプログラムの変更履歴を出力するためのソース
プログラム変更履歴作成ユーティリティに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a source program change history creation utility, and more particularly to a source program change history creation utility for outputting a source program change history in combination with a source program modification utility for modifying a source program. ..

【0002】[0002]

【従来の技術】従来、この種のソースプログラム変更履
歴作成ユーティリティは用いられていなく、ソースプロ
グラム修正ユーティリティは単独に用いられ、ソースプ
ログラムのレコード(行)の追加,変更,削除,および
結果の出力のために、図3に示すように構成されてい
る。
2. Description of the Related Art Conventionally, this type of source program change history creation utility has not been used, but the source program modification utility has been used independently to add, modify, delete records (rows) of the source program, and output the results. For this reason, it is configured as shown in FIG.

【0003】図3のソースプログラム修正ユーティリテ
ィはソースプログラムを投入する外部入力装置2、作業
操作を行なう操作卓1、ソープログラムの登録,変更お
よび削除をソフトウェアの下に行なう中央処理装置7、
補助記憶装置8,および修正した結果を出力する出力装
置6により構成され、中央処理装置7は登録手段71,
更新手段72,および編集手段73を有しており、補助
記憶装置8はソースプログラム格納部81,作業部82
を有している。
The source program modification utility shown in FIG. 3 is an external input device 2 for inputting a source program, a console 1 for performing work operations, a central processing unit 7 for registering, changing and deleting a saw program under software,
The central processing unit 7 is composed of an auxiliary storage device 8 and an output device 6 for outputting the corrected result, and the central processing unit 7 has a registration means 71,
The auxiliary storage device 8 has an updating unit 72 and an editing unit 73, and the auxiliary storage device 8 has a source program storage unit 81 and a working unit 82.
have.

【0004】以上の構成で、操作卓1から指定したソー
スプログラムをソースプログラム格納部81から呼出
し、作業部82に複写する。次に操作卓1から行番号お
よび文字列を入力して、作業部82内のソースプログラ
ムに対して更新手段72および編集手段73によりレコ
ードの追加,変更および削除を行ない、次に変更手段7
3によりソースプログラム格納部81に最終結果を書込
み修正を完了する。また必要に応じ最終結果を出力装置
6から出力する。
With the above configuration, the source program designated from the console 1 is called from the source program storage section 81 and copied to the working section 82. Next, a line number and a character string are input from the operator console 1, records are added, changed and deleted by the updating means 72 and the editing means 73 with respect to the source program in the working section 82, and then the changing means 7 is used.
By 3, the final result is written in the source program storage unit 81 and the correction is completed. The final result is output from the output device 6 as needed.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のソース
プログラム修正ユーティリティは、最終の状態のソース
プログラムしか書込まないため、変更の履歴を残すため
には削除情報および変更情報をコメント化して、書き加
える必要があり、ソースプログラム中に不要な行数が存
在するという問題点がある。また同一行の変更修正など
では、コメントを書き加えにくく、記入しないため修正
前の内容を把握することが困難になるという問題点を有
している。さらにまた、ソースプログラムの修正は不定
期に発生することが多く、修正変更内容をその都度漏れ
なく記入することは、SEやプログラマにとって大きな
負担になるという問題点を有している。
The above-mentioned conventional source program modification utility writes only the source program in the final state. Therefore, in order to keep a history of changes, the deletion information and the modification information are commented and written. However, there is a problem in that there is an unnecessary number of lines in the source program. In addition, when changing or modifying the same line, it is difficult to add a comment, and it is difficult to grasp the contents before modification because the comment is not entered. Further, the source program is often modified irregularly, and it is a great burden for the SE and the programmer to fill in the modified content without fail.

【0006】[0006]

【課題を解決するための手段】本発明のソースプログラ
ム変更履歴作成ユーティリティは、ソースプログラム修
正ユーティリティと併用してソースプログラムの変更履
歴を出力するソースプログラム変更履歴作成ユーティリ
ティにおいて、外部入力装置からソースプログラム格納
部に既に格納済みと同一名のソースプログラムを格納す
るときは、保持しているそのソースプログラムの履歴情
報を廃棄して入力されたソースプログラムを格納・登録
する登録手段と、この登録手段により格納・登録された
ソースプログラムを修正する前にこのソースプログラム
を一時記憶装置に退避し、修正後に修正したソースプロ
グラムと退避したソースプログラムとを比較し修正前後
の内容を入力した履歴標題と共に履歴情報として保存す
る編集手段と、ソースプログラム名を指定した復元要求
を受けて指定されたソースプログラムの履歴情報を表示
し、履歴情報の最新から指定された履歴までの履歴内容
に従ってソースプログラムの復元を行なう復元手段とに
より構成される。
A source program change history creation utility of the present invention is a source program change history creation utility that outputs a change history of a source program in combination with the source program modification utility. When storing a source program having the same name as that already stored in the storage unit, the registration means for discarding the history information of the source program that is held and storing / registering the input source program, and the registration means Before revising the stored / registered source program, save this source program in a temporary storage device, compare the revised source program after the revision with the saved source program, and enter the contents before and after the revision. Editing means to save as The history information of the designated source program is displayed in response to the restoration request specifying the program name, and the restoration means restores the source program according to the history contents from the latest history information to the designated history. ..

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図、図
2は図1の実施例の動作のフローチャートである。図1
の実施例は操作および表示を行なう操作卓1、ソースプ
ログラムを投入する外部入力装置2、ソースプログラム
の登録,変更,削除および履歴情報の作成をソフトウェ
アの下に行なう中央処理装置3、修正前のソースプログ
ラムを退避する一時記憶装置4、ソースプログラムおよ
び履歴情報を格納する補助記憶装置5、およびプリンタ
等の出力装置6により構成され、中央処理装置3は登録
手段31,編集手段32,更新手段33,および検索手
段34を有し、補助記憶装置5はソースプログラム格納
部51および履歴格納部52を有している。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flow chart of the operation of the embodiment of FIG. Figure 1
In this embodiment, a console 1 for operating and displaying, an external input device 2 for inputting a source program, a central processing unit 3 for registering, changing, deleting the source program and creating history information under software, before correction. The central processing unit 3 comprises a temporary storage device 4 for saving the source program, an auxiliary storage device 5 for storing the source program and history information, and an output device 6 such as a printer. The central processing unit 3 has a registration unit 31, an editing unit 32, and an updating unit 33. , And a search means 34, and the auxiliary storage device 5 has a source program storage unit 51 and a history storage unit 52.

【0009】次に、図2を参照して図1の動作について
説明を進める。動作は登録(A),編集(B),および
検索(C)に大別される。登録(A)は外部入力装置2
からソースプログラムを補助記憶装置5のソースプログ
ラム格納部51へ登録する動作である。ソースプログラ
ムの入力要求を行なうと、登録手段31は先ずプログラ
ム名から新規のプログラムか否かを調べ(ステップ10
1,102)、既に同一のプログラム名が登録されてい
れば、そのプログラムの履歴情報を削除して新規にやり
直すかどうかの判断入力をオペレータに要求し(10
3)、削除してやり直すのであれば、履歴情報を削除し
て登録処理を行なう(ステップ104,105)。ステ
ップ102で新規であれば直ちにステップ105の登録
処理を行なう。またステップ103で削除しないならば
改めて登録処理を行なわない。
Next, the operation of FIG. 1 will be described with reference to FIG. The operations are roughly classified into registration (A), editing (B), and search (C). Registration (A) is external input device 2
To register the source program in the source program storage unit 51 of the auxiliary storage device 5. When a source program input request is made, the registration means 31 first checks from the program name whether it is a new program (step 10).
1, 102), if the same program name has already been registered, the operator is requested to enter a judgment as to whether or not to delete the history information of the program and start again (10
3) If the deletion is to be made again, the history information is deleted and the registration processing is performed (steps 104 and 105). If it is new in step 102, the registration process of step 105 is immediately performed. If it is not deleted in step 103, the registration process is not performed again.

【0010】編集(B)はソースプログラムの更新、お
よび履歴情報の作成を行ない履歴格納部へ格納する動作
である。編集手段31は更新手段33によりプログラム
の修正および変更を行なわせ、編集を行なってソースプ
ログラム格納部51に格納する(ステップ201)。こ
のとき更新手段33は、先ず対象とするソースプログラ
ムをソースプログラム格納部51から呼出して、一時記
憶装置4に退避させておく。次いで、編集手段31は編
集したソースプログラムの格納が終了すると、オペレー
タに履歴標題の入力を行なわせる。例えば「計算式の変
更」,「ファイル項目の追加」等と入力する(ステップ
202)。標題が入力されると、ソースプログラム格納
部51に格納した内容と一時記憶装置4に退避した内容
とを比較し、違いのある部分の内容を履歴標題と共に、
履歴格納部52に履歴情報として追加格納する(ステッ
プ203)。
Edit (B) is an operation of updating the source program, creating history information, and storing it in the history storage section. The editing means 31 causes the updating means 33 to modify and change the program, edits it, and stores it in the source program storage section 51 (step 201). At this time, the updating unit 33 first calls the target source program from the source program storage unit 51 and saves it in the temporary storage device 4. Then, when the storing of the edited source program is completed, the editing means 31 causes the operator to input the history title. For example, "change calculation formula", "add file item", etc. are input (step 202). When the title is input, the contents stored in the source program storage unit 51 are compared with the contents saved in the temporary storage device 4, and the contents of the different portion are recorded together with the history title.
The history information is additionally stored in the history storage unit 52 (step 203).

【0011】検索(C)は復元動作(D),表示動作
(E),および削除動作(F)を含んでいる。検索手段
34は操作卓1から履歴明細に関する復元,表示,およ
び削除要求をソースプログラム名の指定と共に受けると
(ステップ301)、そのソースプログラムに関する履
歴番号付きの履歴標題を作成された日付順に表示する
((ステップ302)。そこで復元(D)ではオペレー
タが表示された年月日および履歴番号を入力する(ステ
ップ311)。検索手段34はソースプログラム格納部
51から対象のソースプログラムを呼出し、履歴情報の
最新のものか順に指定された履歴までに従って、ソース
プログラムを戻すと共に履歴情報も削除する(ステップ
312)。削除が終了すると対象のソースプログラムと
履歴情報とを出力装置6により出力する(ステップ31
3)。
The search (C) includes a restore operation (D), a display operation (E), and a delete operation (F). When the retrieval means 34 receives a request for restoration, display, and deletion related to the history details from the operator console 1 together with the designation of the source program name (step 301), it displays the history titles with history numbers related to the source program in the order of creation date. ((Step 302). Then, in the restoration (D), the operator inputs the displayed date and history number (Step 311). The retrieval means 34 calls the target source program from the source program storage unit 51, and the history information is displayed. The source program is returned and the history information is deleted according to the latest one or the history specified in order (step 312) When the deletion is completed, the target source program and the history information are output by the output device 6 (step 31).
3).

【0012】次に表示(E)では、オペレータがステッ
プ302で表示された履歴標題の履歴番号を指定すると
(ステップ321)、出力装置6から出力するか操作卓
1にその履歴内容を表示する(ステップ322,32
3)。次に削除(F)では、オペレータがステップ30
2で表示された履歴標題の履歴番号を指定すると(ステ
ップ331)、オペレータに確認を促し(ステップ33
2)、確認入力により先頭から指定された履歴番号まで
の履歴内容を削除する(ステップ333)。なおステッ
プ323および333の後に再表示を要求すればステッ
プ302に戻る(ステップ341)。
Next, in the display (E), when the operator designates the history number of the history title displayed in step 302 (step 321), it is output from the output device 6 or the history content is displayed on the console 1 ( Steps 322, 32
3). Next, in delete (F), the operator performs step 30.
When the history number of the history title displayed in 2 is designated (step 331), the operator is prompted to confirm (step 33).
2) The history contents from the beginning to the designated history number are deleted by confirmation input (step 333). If redisplay is requested after steps 323 and 333, the process returns to step 302 (step 341).

【0013】[0013]

【発明の効果】以上説明したように本発明は、ソースプ
ログラム修正ユーティリティと併用して、修正前後の変
更に関する情報を履歴情報として格納し、この情報をも
とに、履歴番号を指定してソースプログラムの復元およ
び不要履歴内容の削除を行なえるようにしたことによ
り、修正に伴なう人手による訂正ドキュメントの作成が
不要となり、復元も確実に行なえるという効果がある。
As described above, the present invention is used in combination with a source program modification utility to store information about changes before and after modification as history information, and based on this information, a history number is designated and source information is stored. Since the program can be restored and the unnecessary history contents can be deleted, it is not necessary to manually create a correction document for the correction, and the restoration can be surely performed.

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

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

【図2】図1の実施例の動作のフローチャートである。2 is a flowchart of the operation of the embodiment of FIG.

【図3】従来のソースプログラム修正ユーティリティの
構成図である。
FIG. 3 is a configuration diagram of a conventional source program correction utility.

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

1 操作卓 2 外部入力装置 3 中央処理装置 4 一時記憶装置 5 補助記憶装置 6 出力装置 31 登録手段 32 編集手段 33 更新手段 34 検索手段 51 ソースプログラム格納部 52 履歴格納部 1 Operation Console 2 External Input Device 3 Central Processing Unit 4 Temporary Storage Device 5 Auxiliary Storage Device 6 Output Device 31 Registration Means 32 Editing Means 33 Updating Means 34 Searching Means 51 Source Program Storage 52 52 History Storage

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ソースプログラム修正ユーティリティと
併用してソースプログラムの変更履歴を出力するソース
プログラム変更履歴作成ユーティリティにおいて、外部
入力装置からソースプログラム格納部に既に格納済みと
同一名のソースプログラムを格納するときは、保持して
いるそのソースプログラムの履歴情報を廃棄して入力さ
れたソースプログラムを格納・登録する登録手段と、こ
の登録手段により格納・登録されたソースプログラムを
修正する前にこのソースプログラムを一時記憶装置に退
避し、修正後に修正したソースプログラムと退避したソ
ースプログラムとを比較し修正前後の内容を入力した履
歴標題と共に履歴情報として保存する編集手段と、ソー
スプログラム名を指定した復元要求を受けて指定された
ソースプログラムの履歴情報を表示し、履歴情報の最新
から指定された履歴までの履歴内容に従ってソースプロ
グラムの復元を行なう復元手段とを有することを特徴と
するソースプログラム変更履歴作成ユーティリティ。
1. A source program change history creation utility for outputting a source program change history in combination with a source program modification utility, wherein a source program having the same name as that already stored in an external input device is stored in a source program storage unit. In this case, registration means for discarding the history information of the source program held and storing / registering the input source program, and this source program before correcting the source program stored / registered by this registration means To a temporary storage device, compare the modified source program with the modified source program after modification, and save the history information with the history title in which the contents before and after modification are entered, and a restore request specifying the source program name. Of the specified source program A source program change history creation utility, comprising: history information is displayed, and restoration means is provided for restoring a source program according to history contents from the latest history information to a designated history.
JP3257437A 1991-10-04 1991-10-04 Source program alteration history generation utility Pending JPH05100831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3257437A JPH05100831A (en) 1991-10-04 1991-10-04 Source program alteration history generation utility

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3257437A JPH05100831A (en) 1991-10-04 1991-10-04 Source program alteration history generation utility

Publications (1)

Publication Number Publication Date
JPH05100831A true JPH05100831A (en) 1993-04-23

Family

ID=17306347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3257437A Pending JPH05100831A (en) 1991-10-04 1991-10-04 Source program alteration history generation utility

Country Status (1)

Country Link
JP (1) JPH05100831A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850902B1 (en) * 1997-10-29 2005-02-01 Vance Finch Method for tracking information and title history of selected equipment
JP2008269281A (en) * 2007-04-20 2008-11-06 Meidensha Corp Software development support system, development support method and program
JP2008269280A (en) * 2007-04-20 2008-11-06 Meidensha Corp Software development support system, development support method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850902B1 (en) * 1997-10-29 2005-02-01 Vance Finch Method for tracking information and title history of selected equipment
JP2008269281A (en) * 2007-04-20 2008-11-06 Meidensha Corp Software development support system, development support method and program
JP2008269280A (en) * 2007-04-20 2008-11-06 Meidensha Corp Software development support system, development support method and program

Similar Documents

Publication Publication Date Title
JP2993528B2 (en) Text management and restoration method
JPH05100831A (en) Source program alteration history generation utility
JP2000293519A (en) Document processor
JPH0221320A (en) Information processor having help function including editing function
JPH08137837A (en) Method and device for document processing
JPS63288357A (en) Data editing system
JPH0695861A (en) Program parts reuse managing device
JP3424558B2 (en) Object management method
JP2655643B2 (en) Graphic processing unit
JP2001142750A (en) Device and method for managing data file recording and recording medium
JP2641995B2 (en) Screen control method and screen control device
JPH08147333A (en) Drawing preparing system
JPH1153246A (en) Device and method for automatically updating hyperlink device
JPH0668183A (en) Design supporting device
JPH05274122A (en) Method for mutual conversion of information and device therefor
JPH0816437A (en) File editing device
JPH076067A (en) Data set generation management assistance system
JPH04268923A (en) System for canceling edition of source program
JPH06290214A (en) Filing system device
JPH0410162A (en) Document preparation device
JPH1195992A (en) Data preparation supporting device, object-oriented analytic design supporting device and data managing method
JPH0589103A (en) Document editing processor
JPH05225038A (en) Hyper-text system
JPH03139761A (en) Document editing device
JPH0242562A (en) Text editing device