JPS58166465A - Zap data correction control system - Google Patents

Zap data correction control system

Info

Publication number
JPS58166465A
JPS58166465A JP57049453A JP4945382A JPS58166465A JP S58166465 A JPS58166465 A JP S58166465A JP 57049453 A JP57049453 A JP 57049453A JP 4945382 A JP4945382 A JP 4945382A JP S58166465 A JPS58166465 A JP S58166465A
Authority
JP
Japan
Prior art keywords
data
statement
load module
correction
corrected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57049453A
Other languages
Japanese (ja)
Other versions
JPS6346863B2 (en
Inventor
Nobuyoshi Hara
原 伸好
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57049453A priority Critical patent/JPS58166465A/en
Publication of JPS58166465A publication Critical patent/JPS58166465A/en
Publication of JPS6346863B2 publication Critical patent/JPS6346863B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To advance correction processing without remaining any error, by fractionizing the condition of processing control over check control statements for an object to be corrected, and providing a step for confirming the completion of normal correction. CONSTITUTION:The 1st comparison part 14 compares data in the address 100 of a load module 11 specified by the position data of a VER statement with the current data of a VER statement 12. A decision making part 15 switches control according to the comparison result. When their coincidence is obtained, a decision on normal processing is made and an advance to a next correction step is made. When not, a searching part 16 is actuated to search for a REP statement 13 having the same position data as the position data of the VER statement 12. In this case, the REP statement 13 for specifying a corresponding address is detected. Then, the 2nd comparison part 17 compares data at a specified position of the load module with the corrected data of the REP statement 13. In this case, coincidence is obtained, so a corrected message is outputted.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、データ処理システムにおけるロードモジュー
ルのZAPf−夕修正処理方弐に関し、特に、ZAPデ
ータ修正処理を1旦中途でやめ、再度最初から処理をや
シ直す場合に、エラ一応答となるのを避ける丸めの制御
手段を有するZAPデーi榛正処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a ZAP data modification processing method for a load module in a data processing system, and in particular, to a second method for processing a ZAP data modification process in the middle of the process and restarting the process from the beginning. The present invention relates to a ZAP data correction processing method having a rounding control means to avoid an error response when correcting a file.

技術の背景 ロードモジュール番修正する場合に、リンク・エディタ
を経由せずに直−修正を可能にする手段としてZAPデ
ータが使用される。ZAPデータは、NAME文、VE
R文、REP文からなる。
Technical background When modifying a load module number, ZAP data is used as a means to enable direct modification without going through a link editor. ZAP data is NAME statement, VE
Consists of R and REP sentences.

NAME文は、修正する一一ドモジュール名とその制御
セクションとを指定する。たとえば、NAME   X
   A ハ、ロードモジュール名X、111181セクション名
人の指定を表わす。VER文は検査制御文と呼ばれ、修
正対象箇所の現状を確認することにより、誤修正を生じ
ないようにする手段として用いられる。
The NAME statement specifies the name of the module and its control section to be modified. For example, NAME
A C, Load module name X, 111181 Indicates section master designation. The VER statement is called a check control statement, and is used as a means to prevent erroneous modification by checking the current state of the location to be modified.

たとえば、 VER100FF は、修正対象箇所が100番地であり、その内容は現在
rFFJとなっている筈であることを表わす。最徒のR
EP文は修正制御文と呼ばれ、書換え内容を指定するデ
ータとなる。たとえば、REP   100  80 は、100番地の内容(上側ではrFFJ)を「80」
に書替えて修正することを表わしている1、。
For example, VER100FF indicates that the location to be corrected is address 100, and its contents should currently be rFFJ. The worst R
The EP statement is called a modification control statement and serves as data that specifies the content to be rewritten. For example, REP 100 80 changes the contents of address 100 (rFFJ on the upper side) to "80".
1, which indicates that it will be rewritten and corrected.

検査制御文と修正制御文とはベアで用いられ、修正箇所
と同数だけ用意される。
Inspection control statements and modification control statements are used bare, and are prepared in the same number as the parts to be modified.

第1図は、ZAPデータ処理システムの一般的な構成を
示す。同図において、1は処理装置、2はメモリ、3は
直接アクセスがリュームDASDでわり、ロードモジュ
ールが格納されているもの、4は入出力処理部であり、
NAME文により指定されたロードモジュールXあるい
はその制御セクションAをDASDからメモリに梼込み
、そして修正処理結果をDASDへ書戻す処理を行なう
FIG. 1 shows the general configuration of a ZAP data processing system. In the figure, 1 is a processing unit, 2 is a memory, 3 is a volume DASD for direct access and stores a load module, and 4 is an input/output processing unit.
Load module X or its control section A specified by the NAME statement is loaded from DASD to memory, and the correction processing results are written back to DASD.

5は検査制御部であり、VER文で指定された修正箇所
の現状確認処理を行なう。6は修正処理部であり、検査
処理部5により現状確認された修正箇所について、RE
P文で指定された内容の修正を行なう。7はNAME文
のデータ、8は読込まれたロードモジュールXの制御セ
クションA、 9はVER文データ、10はREP文デ
ータを示す。
Reference numeral 5 denotes an inspection control unit, which performs a process of checking the current state of the correction portion specified by the VER statement. Reference numeral 6 denotes a correction processing unit, which performs an RE on correction points confirmed by the inspection processing unit 5.
Modify the contents specified in the P statement. 7 indicates NAME statement data, 8 indicates control section A of loaded load module X, 9 indicates VER statement data, and 10 indicates REP statement data.

第2図は、第1図に示した処理システムにおける、従来
方式による処理動作の制御手順を示すフロー図である。
FIG. 2 is a flowchart showing a conventional control procedure for processing operations in the processing system shown in FIG.

以下、同図について説明する。The figure will be explained below.

0で、NAME文、検査制御文、修正制御文を全て読込
む。■で、NAME文が指定したロードモジュール(制
御セクション)を、DASDから読込む。■で、最靭の
検査制御文を読出し1、そのデータとロードモジュール
中の指定された箇所のデータとを比較する。一致した場
合、■で、ペアの修正制御文を適用して、その箇所を修
正する。
0 reads all NAME statements, inspection control statements, and modification control statements. In (2), the load module (control section) specified by the NAME statement is read from DASD. In (2), the most robust test control statement is read out (1) and its data is compared with the data at the specified location in the load module. If there is a match, apply the pair of correction control statements to correct the location.

修正されたロードモジュールをDASDへ誉戻す。Return the corrected load module to DASD.

■で、修正が終りか否かを調べ、終りでなりれば、■で
、次の検査制御文を読出し、@から繰返す。
In step 2, it is checked whether the modification is finished, and if it is, in step 2, the next check control statement is read out and the process is repeated from @.

このようにして、ので全ての修正が終了したことが検出
されれば、終りとなる。また、■で検査制御文のデータ
とロードモジュールの対応箇所のデータとが一致しない
場合には、■のエラーメッセツージが出力され、修正処
理は停止される。
In this way, when it is detected that all modifications have been completed, the process ends. Furthermore, if the data in the inspection control statement and the data in the corresponding location of the load module do not match in (2), the error message (2) is output and the correction process is stopped.

このようなZAPデータを用いて修正処理を行なってい
るとき、伺らかの原因で処理が中断される場合がある。
When performing correction processing using such ZAP data, the processing may be interrupted for some reason.

このとき、同じZAPデータを用いて再度修正処理を実
施するならば、重複修正となる部分において、検査制御
文がもつ現状データと修正対象箇所の内容とが不一致と
なシ、エラ一応答を生じて、修正処理が不能となるとい
う問題があった。
At this time, if the correction process is performed again using the same ZAP data, the current data of the inspection control statement and the contents of the correction target part will not match in the part where the redundant correction is to be made, and an error response will occur. Therefore, there was a problem that correction processing was impossible.

発明の目的および構成 本発明は、上述した従来方式の問題点を解決するため、
同−ZAPデータを2度掛けする場合に、前圓修正済と
なっている修正対象箇所に対する検査制御文の処理制御
条件を細かくして、正常に修正済となっていることを確
認するステツノを設けることにより、検査制御文の現状
データとロードモジュール中の対応データとが不一致で
あっても、正常修正法と判定できる場合に限り、エラー
とすることなく、修正処理を先に進めるこりができるよ
うにするものである。
OBJECTS AND STRUCTURE OF THE INVENTION The present invention solves the problems of the conventional method described above.
When the same ZAP data is multiplied twice, the processing control conditions of the inspection control statement for the part to be corrected that has already been corrected can be refined to confirm that it has been corrected correctly. By providing this, even if there is a mismatch between the current data in the inspection control statement and the corresponding data in the load module, the correction process can proceed without an error only if it can be determined that the correction method is normal. It is intended to do so.

本発明はそのための構成として、処理装置と、検査制御
文および修正制御文を格納するメモリと、修正対象ロー
ドモジュールを格納する直接アクセス〆リュームとを有
し、上記検査制御文は位置データおよび現状データで構
成され、また上記修正制御文は位置データおよび修正デ
ータで構成されているZAPデータ処理システムにおい
て、上記検査制御文の位置データが指定するロードモジ
ュール内位置のデータと該検査制御文の現状データとを
比較する#11の比較手段と、該第1の比較手段が不一
致を示したとき、上記検査制御文の位置データに一致す
る位置データを有する修正制御文を探索する手段と、該
探索手段が該尚する修正制御文を見出したとき、その修
正r−夕と先に第1の比較手段により不一致が検出され
たロードモジュール内位置のデータとを比較する第2の
比較手段とをそなえ、該第2の比較手段が一致を示した
とき、上記ロードモジュール内位置のデータは修正処理
済と判定し、エラーとすることなく次の修正処理に進む
ように制御することを%徴としている。
The present invention has a configuration for this purpose, including a processing device, a memory for storing inspection control statements and modification control statements, and a direct access volume for storing a load module to be modified. In the ZAP data processing system, the correction control statement is composed of position data and correction data, and the data at the position in the load module specified by the position data of the test control statement and the current state data of the test control statement. a #11 comparison means for comparing the above inspection control statement; and when the first comparison means indicates a mismatch, a means for searching for a modified control statement having position data that matches the position data of the inspection control statement; and the search means a second comparing means for comparing the corrected control statement with the data at the position in the load module where a mismatch was previously detected by the first comparing means, when the corrected control statement is found; When the second comparing means indicates a match, it is determined that the data at the position in the load module has been corrected, and control is performed so that the process proceeds to the next correction process without causing an error.

発明の実施例 以下に本発明を実施例にしたがって詳述する。Examples of the invention The present invention will be explained in detail below based on examples.

第3A図および第3B図は、本発明方式によるZAPデ
ータ修正処理の具体例を示す3.第4図は、第1図に対
比させて示した本発明方式の制御手順を示すフロー図で
ある。
3A and 3B show a specific example of ZAP data modification processing according to the method of the present invention. FIG. 4 is a flow diagram showing the control procedure of the system of the present invention, shown in comparison with FIG.

第3A図は、中断された最初のZAPデータ修正処理に
おける動作を示しだものである。 (1)で、NAME
文、VER文、REP文からなるZAPデータを入力す
る。(11)で、ロードモジュールxtメモリに読込み
、制御セクションAについて、VER文の位ftテータ
「100 Jll地の内容rFFJを、現状データrF
FJと比較し、一致を確組する。01(lで、r100
J番地の内容rFFJを、ペアのREP文の修正データ
「80」で置換える。
FIG. 3A shows the operation in the first interrupted ZAP data modification process. In (1), NAME
Input ZAP data consisting of a sentence, a VER sentence, and a REP sentence. In (11), read into the load module
Compare with FJ and confirm a match. 01 (l, r100
Replace the content rFFJ of address J with the modified data "80" of the paired REP statement.

これでロードモジュールの100番地は、修正法となる
。そしてこの後、修正処理は中断されたものとする、。
Now address 100 of the load module becomes the modification method. After this, it is assumed that the correction process is interrupted.

第3B図は、第3A図で使用したZAPデータにより、
修正処理をやり直す場合の動作を示したものである。喝
ψで、zAPデータを再入力する。
Figure 3B is based on the ZAP data used in Figure 3A.
This shows the operation when redoing the correction process. Press ψ to re-enter the zAP data.

Mで、再びVER文により、制御セクションAの100
番地の内容が検査される。このとき、100番地の内容
は「80」に修正法となっているから、VER文の現状
データrFFJに対して不一致となる。従来方式では、
このときエラーメツセージ出力を行なうが、本発明方式
では、更に(Vlにおいて、同一位置データをもつRE
P文の修正データ「80」と100番地の内容「80」
とを比較する。ここで一致が得られるので、先のVER
文の検査における不一致をエラーとせずに修正法とし、
修正法メツセージを出力するとともに、次のVER文の
検査処理を行なう。
In M, 100 of control section A is again set by the VER statement.
The contents of the address are examined. At this time, since the content of address 100 is modified to "80", it does not match the current data rFFJ of the VER statement. In the conventional method,
At this time, an error message is output, but in the method of the present invention, the RE with the same position data (at Vl)
Correction data of P sentence “80” and content of address 100 “80”
Compare with. Since a match is obtained here, the previous VER
A method for correcting inconsistencies in sentence inspection without treating them as errors,
A correction method message is output, and the next VER statement is inspected.

以上の処理は、嬉4図の制御子11iにおいて■。The above processing is performed in the controller 11i of the 4th diagram.

■、■とじて示されている。なお、同図において。■,■ are shown together. In addition, in the same figure.

■乃至■のステップは、第2図で説明した従来方式によ
る部分である。
Steps ① to ② are the parts according to the conventional method explained in FIG.

第5図は、本実施例システムの機能構成図である。FIG. 5 is a functional configuration diagram of the system of this embodiment.

同図において、11はロードモジュールの制御セクショ
ペ12はVER文、13はREP文、14は@1比較部
、15は判別部、16は探索部、17は第2比較部を示
す。
In the figure, reference numeral 11 indicates a load module control section, 12 indicates a VER statement, 13 indicates a REP statement, 14 indicates an @1 comparison section, 15 indicates a discrimination section, 16 indicates a search section, and 17 indicates a second comparison section.

動作において、まず第1比較部14#′i、VER文の
位置データが指定するロードモジュールllの100番
地のデータ「80」と、VER文12の現状データrF
FJとを比較する。判別部15は、比較結果にしたがっ
て制御を切替える。−散であれば正常処理であ)、次の
修正ステップへ進む。不一致であれば探索部16を起動
する。探索部16は、VER112の位置データと同じ
位置データをもつREP文13を探索する。この場合、
対応する100番地を指定するREP文13が検出され
る。次に第2比較部17を起動する。第2比較部17は
、ロードモジュール11の指定された位置のデータ「8
o」と、REP文口の修正データrsoJとを比較する
。この場合一致が得られるので、修正メツセージを出力
するとともに、次の修正処理ステップへ進行させる。
In operation, the first comparison unit 14#'i first compares the data "80" at address 100 of the load module ll specified by the position data of the VER statement and the current data rF of the VER statement 12.
Compare with FJ. The determining unit 15 switches control according to the comparison result. - If the error occurs, the process is normal) and proceed to the next correction step. If there is no match, the search unit 16 is activated. The search unit 16 searches for a REP statement 13 having the same position data as the position data of the VER 112. in this case,
REP statement 13 specifying the corresponding address 100 is detected. Next, the second comparing section 17 is activated. The second comparison unit 17 compares the data “8” at the specified position of the load module 11.
o'' and the corrected data rsoJ of the REP text. In this case, since a match is obtained, a corrected message is output and the process proceeds to the next correction processing step.

探索部16が同一位置データをもつREP文の探索に失
敗した場合、および第2比較部がロードモジュール中の
データとREP文中の修正データとの不一致を検出した
場合については、11!5図中に省略されているが、第
4図の■および0がら■へのルートに示すように、エラ
ーと判定され、エラーメツセージが出力される。
If the search unit 16 fails to search for a REP statement with data at the same location, or if the second comparison unit detects a mismatch between the data in the load module and the modified data in the REP statement, see Figure 11!5. Although omitted in Figure 4, it is determined that an error has occurred and an error message is output as shown in the route from ■ and from 0 to ■ in FIG.

発明の効果 以上述べたように、本発明によれば、修正処理の途中で
何等かの障害が生じ、異常終了となった場合にも、中断
点を調べて修正r−夕を変更する必要なしに、前回の修
正データ全体をそのまま2度掛けして、修正処理をはじ
めからやシ直すことができ、修正処理の能率を大幅に向
上させることができる。
Effects of the Invention As described above, according to the present invention, even if some kind of failure occurs during the correction process and the process ends abnormally, there is no need to check the interruption point and change the correction value. By directly multiplying the entire previous modified data twice, the modification process can be restarted from the beginning, and the efficiency of the modification process can be greatly improved.

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

第1図は一般的なZAPデータ処理システムの構成図、
第2図は従来方式による修正処理制御手順のフロー図、
第3A図および第3B図は本発明方式の概略説明図、第
4図は実施例の修正処理制御手順を示すフロー図、第5
図は実施例システムの機能構成図である。 図中、11はo −Yモ)ニール、12はVER文、1
3はREP文、14は第1比較部、15は判別部、16
は探索部、17は第2比較部を示す。 特許出願人 富士通株式会社 代理人弁理士  長 谷□ 珀 文 廣(外1名) 第1 船 身2図 第3B図 才S図
Figure 1 is a configuration diagram of a general ZAP data processing system.
Figure 2 is a flow diagram of the correction processing control procedure according to the conventional method.
3A and 3B are schematic explanatory diagrams of the method of the present invention, FIG. 4 is a flowchart showing the correction processing control procedure of the embodiment, and FIG.
The figure is a functional configuration diagram of the embodiment system. In the figure, 11 is o - Y mo) Neil, 12 is VER sentence, 1
3 is a REP statement, 14 is a first comparison part, 15 is a discrimination part, 16
17 indicates a search section, and 17 indicates a second comparison section. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney Hiroshi Osatani (1 other person) No. 1 Hull Figure 2 No. 3 B Illustration S Drawing

Claims (1)

【特許請求の範囲】[Claims] 処理装置と、検査制御文および修正制御文を格納するメ
モリと、修正対象ロードモジュールを格納する直接アク
セスーリエームとを有し、上記検査制御文は位置データ
および現状データで構成され、また上記修正制御文は位
置データおよび修正データで構成されているZA−Pデ
ータ処理システムにおいて、上記検査制御文の位置デー
タが指定するロードモジュール内位置のデータと該検査
制御文の現状データとを比較する#11の比較手段と、
該第1の比較手段が不一致を示したとき、上記検査制御
文の位置データに一致する位置データを有する修正制御
文を探索する手段と、骸探索手段がl*幽する修正制御
文を見出し九とき、′衡の修正データと先に鮪1の比較
手段により不一致が検出されたロートモツユニル内位置
のデータとを比較する第2の比較手段とをそなえ、該第
2の比較手段が一致を示したとき、上記ロードモジュー
ル自位置のデータは修正処理済と判定し、工2−とする
ことなく次の修正処理に進むように制御することを特徴
とするZAPテ゛−夕修正制御方式。
It has a processing device, a memory for storing a test control statement and a modification control statement, and a direct access memory for storing a load module to be modified; In a ZA-P data processing system where a control statement is composed of position data and correction data, the data at the position in the load module specified by the position data of the test control statement is compared with the current data of the test control statement. 11 comparison means,
When the first comparison means indicates a mismatch, the means for searching for a modified control statement having position data that matches the position data of the inspection control statement, and the corpse search means for searching for a modified control statement identified by l*. At this time, a second comparison means is provided for comparing the corrected data of the balance and the data of the position in the rotomotsu unit where a discrepancy was previously detected by the comparison means of the tuna 1, and the second comparison means indicates a match. The ZAP stage correction control method is characterized in that the data of the load module's own position is determined to have been corrected, and control is performed so that the process proceeds to the next correction process without proceeding to step 2-.
JP57049453A 1982-03-27 1982-03-27 Zap data correction control system Granted JPS58166465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57049453A JPS58166465A (en) 1982-03-27 1982-03-27 Zap data correction control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57049453A JPS58166465A (en) 1982-03-27 1982-03-27 Zap data correction control system

Publications (2)

Publication Number Publication Date
JPS58166465A true JPS58166465A (en) 1983-10-01
JPS6346863B2 JPS6346863B2 (en) 1988-09-19

Family

ID=12831554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57049453A Granted JPS58166465A (en) 1982-03-27 1982-03-27 Zap data correction control system

Country Status (1)

Country Link
JP (1) JPS58166465A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59173846A (en) * 1983-03-23 1984-10-02 Hitachi Ltd Program correcting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59173846A (en) * 1983-03-23 1984-10-02 Hitachi Ltd Program correcting system

Also Published As

Publication number Publication date
JPS6346863B2 (en) 1988-09-19

Similar Documents

Publication Publication Date Title
JPS5958547A (en) Error processing system of microprogram controller
US5438574A (en) Program debugging device and process
JPS58166465A (en) Zap data correction control system
JPH0397030A (en) Program correcting system
JPS6175435A (en) Association system between syntax checker and text editor
JPH01297738A (en) Computer testing device
JPH01162300A (en) Rom checking circuit testing system
JP2642334B2 (en) Digital protection relay
JPH03182941A (en) Program test system
JPH0643913A (en) Interlock adding device for ladder diagram
JPS6219937A (en) Checking system for propriety of argument
JP2560545B2 (en) Interface inspection processor
JPS6231444A (en) Pseudo fault generating system
JPS59218527A (en) Command checking system
JPS62231335A (en) Coding expert system
JPS62236033A (en) Constant setting method for production of system program
JPS63305434A (en) Debugging aid device
JPS59132488A (en) Revising system of line name of magnetic bubble
JPH04215106A (en) Programmable controller
JPH0199144A (en) Rom data securing system
JPH0232103B2 (en)
JPH0390934A (en) Check system for propriety of document
JPS6027028A (en) Microprogram controller
JPH0193833A (en) Semiconductor integrated circuit
JPH03218536A (en) Diagnostic system for data processor