JPH04336631A - Error message output system - Google Patents

Error message output system

Info

Publication number
JPH04336631A
JPH04336631A JP3108058A JP10805891A JPH04336631A JP H04336631 A JPH04336631 A JP H04336631A JP 3108058 A JP3108058 A JP 3108058A JP 10805891 A JP10805891 A JP 10805891A JP H04336631 A JPH04336631 A JP H04336631A
Authority
JP
Japan
Prior art keywords
error
subroutine
program
area
processing
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
JP3108058A
Other languages
Japanese (ja)
Inventor
Akiyoshi Taguchi
明美 田口
Masatoshi Takita
雅敏 瀧田
Kazuhide Onishi
大西 和栄
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 JP3108058A priority Critical patent/JPH04336631A/en
Publication of JPH04336631A publication Critical patent/JPH04336631A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To recognize an area of a program where an error is detected and the information on the program execution history by recognizing the details of execution of the program to store them in a memory and storing the factor of the error and the program executed position when the error is detected. CONSTITUTION:When an error factor is detected, this factor and a relative number are set in an area (dollar symbol) E. Then a main routine is reset in a return state after each information is set in the area E, and the detection of an event is decided. The detection of the event is confirmed when the error factor is detected in a subroutine and the information is set in the area E. Thus the information on the area E storing the error information and the information on an area (dollar symbol) R storing the execution history are outputted as an error message. Thus an intra-subroutine relative number showing the error detected area is outputted together with the error factor as the information stored in the area E. Meanwhile an identification data A-B is outputted from the area R.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は情報処理装置のプログラ
ム実行時のエラーメッセージ出力方式に関する。プログ
ラムを実行して制御を行う計算機や,電子交換機等の情
報処理装置には,一連の処理を実行してエラー要因が発
生するとそれを出力して処理を終了する方式を用いるも
のがある。その方式では,共通のサブルーチンを使用し
たプログラムを実行すると,エラー情報(イベントとも
いう)を持ち回る場合がありエラー個所を特定できなく
なり,その改善が望まれている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for outputting error messages when an information processing apparatus executes a program. BACKGROUND ART Some information processing devices, such as computers and electronic exchanges that execute programs and perform control, execute a series of processes and, when an error factor occurs, output the error and terminate the process. With this method, when programs that use common subroutines are executed, error information (also called events) may be passed around, making it impossible to identify the location of the error, and improvements are desired.

【0002】0002

【従来の技術】図4は従来例の処理フロー図を表す。図
4はメインルーチンのプログラムAに対して,サブルー
チンB,サブルーチンC・・・が設けられている例であ
る。メインルーチンのプログラムAの中のある処理(図
4の40)の後にサブルーチンBが呼び出され(同41
),サブルーチンBの処理(同45)を実行すると,エ
ラー要因が発生したか否かを判断する(同46)。
2. Description of the Related Art FIG. 4 shows a processing flow diagram of a conventional example. FIG. 4 is an example in which subroutine B, subroutine C, etc. are provided for main routine program A. After a certain process in program A of the main routine (40 in Figure 4), subroutine B is called (41 in Figure 4).
), when the process of subroutine B (45) is executed, it is determined whether an error factor has occurred (46).

【0003】このエラー要因は,サブルーチンBの処理
(同45)において,例えばファイルメモリの読み取り
が実行された時に,エラーが発生して読み取りができな
い等の,それ以上処理を継続できないエラーが発生した
場合に,エラー発生を表示する情報(状態を表すレジス
タ)が設定されるので,このエラー発生情報を識別する
ことによりエラー要因の発生状況が分かる。
[0003] The cause of this error is that in the process of subroutine B (45), for example, when reading the file memory, an error occurs and reading cannot be performed, or an error occurs that prevents the process from continuing. In this case, information indicating the occurrence of an error (register indicating the status) is set, so by identifying this error occurrence information, the occurrence status of the error cause can be determined.

【0004】エラー要因発生が有る場合は,イベント設
定を行う(同47)。これは非常処理の状態(これ以上
処理を継続できない状態)が発生したことを表すコード
を特定レジスタに設定する動作である。このイベント設
定が行われると,続いてこのサブルーチンの終端にリタ
ーンし,元のプログラムAにリターンする。また,エラ
ー要因発生の判断において,エラー要因が無かった場合
は,サブルーチンBの次の処理(同48)を実行する。
[0004] If an error factor has occurred, an event is set (47). This is an operation in which a code indicating that an emergency processing state (a state in which processing cannot be continued any longer) has occurred is set in a specific register. Once this event setting is performed, the program then returns to the end of this subroutine and returns to the original program A. Further, in determining whether an error factor has occurred, if there is no error factor, the next process of subroutine B (48) is executed.

【0005】その後にサブルーチンCへ分岐し(同49
),サブルーチンCにおいて,処理(同52)を実行す
ると,エラー要因発生の判断を行う。この判断で,エラ
ー要因発生が有る場合は,上記のサブルーチンBの場合
と同様にイベント設定を行って,サブルーチンBへリタ
ーンするが,エラー要因発生が無い場合は処理(同55
)を実行して,サブルーチンD(図示せず)へ移行する
[0005] After that, it branches to subroutine C (49
), in subroutine C, when the process (52) is executed, it is determined whether an error factor has occurred. Based on this judgment, if an error cause has occurred, the event is set in the same way as in subroutine B above, and the process returns to subroutine B; however, if no error cause has occurred, processing (same as 55
) and moves to subroutine D (not shown).

【0006】サブルーチンDの処理が正常に終了すると
,サブルーチンCに復帰して,イベント検出の判断を行
い,ここでイベント検出(サブルーチンDで非常処理の
イベントが設定されたか否かを検出)が行われる(同5
7)。ここでイベント検出が有ると,サブルーチンCの
終端に達して,サブルーチンB内のイベント検出(同5
0)の処理に移行して,ここでも同じエラー発生要因に
よるイベント検出があり,サブルーチンBの終端に達し
てメインルーチンのプログラムAにリターンする。
[0006] When the processing of subroutine D ends normally, the process returns to subroutine C, where it is determined whether or not an event has been detected. (same 5)
7). If an event is detected here, the end of subroutine C is reached and the event detected in subroutine B (same 5
0), an event due to the same error occurrence factor is detected here as well, the end of subroutine B is reached, and the program returns to program A of the main routine.

【0007】プログラムAでもイベント検出の有無が判
断され(同42),同様にイベント検出が有るとエラー
メッセージ出力が実行される(同44)。このエラーメ
ッセージ出力では,サブルーチンの何れかにおいて実行
されたイベント設定に基づいたエラーメッセージ(エラ
ー内容)が出力される。
Program A also determines whether an event has been detected (42), and similarly, if an event has been detected, an error message is output (44). In this error message output, an error message (error content) based on event settings executed in any of the subroutines is output.

【0008】[0008]

【発明が解決しようとする課題】上記したように,一連
の処理を実行する時その途中でそれ以上の処理を継続で
きないエラー要因が発生するとエラーメッセージを出力
して処理を終了する仕組みがとられている階層化された
プログラムにおいて,共通のサブルーチンを幾つか組み
合わせて使用する際,エラー情報(イベント)を持ち回
るケースが頻繁に起こるため,実際にエラーを検出した
個所が認識できないという問題があった。
[Problem to be Solved by the Invention] As mentioned above, when a series of processing is executed, if an error factor occurs that prevents further processing from continuing, a mechanism is adopted that outputs an error message and terminates the processing. When a number of common subroutines are used in combination in a hierarchical program, error information (events) is often passed around, so there is a problem in which the location where an error is actually detected cannot be recognized. Ta.

【0009】すなわち,上記図4の例では,サブルーチ
ンCでエラー要因が発生しても,プログラムAで実行さ
れるエラーメッセージ出力には,サブルーチンB,C,
D・・の何れで発生したかが分からない。本発明はサブ
ルーチンを組み合わせて使用するプログラムにおいてエ
ラー要因だけでなくエラーを検出したプログラム個所と
プログラムが実行された履歴情報を認識できるエラーメ
ッセージ出力方式を提供することを目的とする。
That is, in the example shown in FIG. 4, even if an error factor occurs in subroutine C, the error message output executed by program A includes subroutines B, C,
I don't know which one of D... caused it. SUMMARY OF THE INVENTION An object of the present invention is to provide an error message output method that can recognize not only the cause of an error in a program that uses a combination of subroutines, but also the program location where an error has been detected and the program execution history information.

【0010】0010

【課題を解決するための手段】図1は本発明の原理構成
図である。図1において,10は処理部,11はプログ
ラム実行部,12はルーチン識別子設定手段,13はエ
ラー確認手段,14は処理識別子設定手段,15は復帰
時エラー状態識別手段,16はルーチン識別子更新手段
,17はエラー情報出力手段,18はメモリ,181は
それぞれ個別のサブルーチンであり,各サブルーチン内
にはサブルーチン識別子182及びサブルーチン内の処
理位置を表す処理位置識別子183が設けられている,
184は実行されるサブルーチンの識別子が順次格納さ
れる実行履歴格納エリア,185はエラー要因発生時に
,エラー要因やエラー発生時の処理位置の識別子が格納
されるエラー情報格納エリアを表す。
[Means for Solving the Problems] FIG. 1 is a diagram showing the basic configuration of the present invention. In FIG. 1, 10 is a processing section, 11 is a program execution section, 12 is a routine identifier setting means, 13 is an error confirmation means, 14 is a processing identifier setting means, 15 is an error state identification means upon return, and 16 is a routine identifier updating means. , 17 is an error information output means, 18 is a memory, and 181 are individual subroutines, and each subroutine is provided with a subroutine identifier 182 and a processing position identifier 183 indicating a processing position within the subroutine.
Reference numeral 184 represents an execution history storage area in which identifiers of subroutines to be executed are sequentially stored, and reference numeral 185 represents an error information storage area in which the error cause and the identifier of the processing position at the time of error occurrence are stored.

【0011】本発明はプログラムが実行された経緯を認
識してメモリに格納し,エラー検出時にエラー要因とそ
のプログラムが実行された位置を格納しておき,エラー
要因だけでなくエラー検出したプログラム個所とそのプ
ログラムが実行された履歴情報を認識できるようにする
[0011] The present invention recognizes the process of program execution and stores it in memory, and when an error is detected, the cause of the error and the position where the program was executed are stored. and the program's execution history information.

【0012】0012

【作用】図1において,処理部10のプログラム実行部
11はプログラムを実行する時,メモリ18から最初に
メインとなるルーチンのプログラムを取り出し,以後処
理の過程で呼び出されると対応するサブルーチン181
が取り出されて処理が行われる。プログラムが実行され
る時最初に,ルーチン識別子設定手段12によりそのサ
ブルーチン識別子182を検出して,メモリ18内の実
行履歴格納エリア184に設定する。そのルーチンにつ
いて処理を行うと,エラー確認手段13がエラーが発生
したか否かを確認する。
[Operation] In FIG. 1, when the program execution unit 11 of the processing unit 10 executes a program, it first retrieves the main routine program from the memory 18, and thereafter, when called during the process, the corresponding subroutine 181
is extracted and processed. When a program is executed, the subroutine identifier 182 is first detected by the routine identifier setting means 12 and set in the execution history storage area 184 in the memory 18. When the routine is processed, the error checking means 13 checks whether an error has occurred.

【0013】エラーが発生していることが確認されると
,処理識別子設定手段14はそのエラー要因と共にその
時のサブルーチン内の処理位置識別子183(サブルー
チン内の相対番号等)を取り出してメモリ18内のエラ
ー情報格納エリア185に設定する。エラー情報を設定
すると,このルーチン(サブルーチン)の処理は終了さ
せられ元のルーチンに復帰する。この時,復帰時エラー
状態識別手段15が起動して,終了したルーチン(以前
に実行されたルーチン)においてこれ以上処理を継続で
きないエラー状態が発生しているか否かを識別する。
When it is confirmed that an error has occurred, the processing identifier setting means 14 takes out the cause of the error and the processing position identifier 183 (relative number within the subroutine, etc.) in the subroutine at that time, and stores it in the memory 18. It is set in the error information storage area 185. Once the error information is set, the processing of this routine (subroutine) is terminated and the original routine is returned. At this time, the return error state identifying means 15 is activated to identify whether or not an error state has occurred in the terminated routine (previously executed routine) that makes it impossible to continue processing any further.

【0014】この結果エラー状態(エラー確認手段にお
いて検出したエラーの状態)を検出しないと,ルーチン
識別子更新手段16が駆動されて実行履歴格納エリア1
84に設定された処理済のルーチン識別子を更新する(
削除する)。この場合は,後続の処理を順次実行する。 しかし,復帰時エラー状態識別手段15がエラー状態で
あることを識別すると,エラー情報出力手段17を駆動
する。これにより,メモリ18内の実行履歴格納エリア
184のサブルーチンの実行履歴と,エラー情報格納エ
リア185のエラー要因やサブルーチン内の処理位置識
別子(相対番号)183を出力されるのでエラー発生要
因と発生個所が分かる。
As a result, if an error state (an error state detected by the error checking means) is not detected, the routine identifier updating means 16 is activated to update the execution history storage area 1.
Update the processed routine identifier set to 84 (
delete). In this case, the subsequent processing is executed sequentially. However, when the error state identification means 15 identifies an error state at the time of recovery, the error information output means 17 is activated. As a result, the execution history of the subroutine in the execution history storage area 184 in the memory 18, the error cause in the error information storage area 185, and the processing position identifier (relative number) 183 in the subroutine are output, so the cause and location of the error are output. I understand.

【0015】[0015]

【実施例】図2は実施例の処理フロー図,図3は本発明
が実施される情報処理装置の構成例である。図2の処理
フローは図3のような情報処理装置において実行される
。すなわち,図3において,30はメインメモリ(MM
),31は中央制御装置(CC),32はチャネル制御
装置(CHC),33はファイルメモリ制御装置(FM
C),34はファイルメモリ(FM),35は入出力装
置制御装置(IOC),36は入出力装置(IO),3
7は回線制御装置(データ通信等),38は回線対応装
置である。なお,37,38は回線を介してデータ通信
を行う場合に設けられる。
Embodiment FIG. 2 is a processing flow diagram of an embodiment, and FIG. 3 is a configuration example of an information processing apparatus in which the present invention is implemented. The processing flow shown in FIG. 2 is executed in an information processing apparatus like that shown in FIG. That is, in FIG. 3, 30 is the main memory (MM
), 31 is the central control unit (CC), 32 is the channel control unit (CHC), and 33 is the file memory control unit (FM
C), 34 is a file memory (FM), 35 is an input/output device controller (IOC), 36 is an input/output device (IO), 3
7 is a line control device (data communication, etc.), and 38 is a line compatible device. Note that 37 and 38 are provided when data communication is performed via a line.

【0016】この図3に示すような構成例に適用される
実施例の処理フローが図2に示されている。プログラム
を実行する場合,ファイルメモリ(図3の34)からメ
インメモリ30内に予め各プログラム(メインルーチン
A,サブルーチンB,サブルーチンC・・等)がローデ
ィングされている。また,メインメモリ30内に実行履
歴格納用に共通のエリアを割り付け,これに“$R”と
いうラベルを付与する。さらに,エリア情報格納用の共
通のエリアを割り付け,これに“$E”というラベルを
付与しておく。
FIG. 2 shows a processing flow of an embodiment applied to the configuration example shown in FIG. When executing a program, each program (main routine A, subroutine B, subroutine C, etc.) is loaded in advance into the main memory 30 from the file memory (34 in FIG. 3). Furthermore, a common area is allocated in the main memory 30 for storing the execution history, and a label "$R" is assigned to this area. Furthermore, a common area for storing area information is allocated and a label "$E" is assigned to this area.

【0017】最初にメインルーチンを(プログラムAを
実行する)開始すると,メインメモリ(図3の30参照
)内に割り付けられた実行履歴格納用のエリア“$R”
にこのプログラムに識別子として“A”が表示されてい
るので,エリア$Rに“A”を設定する(図2の20)
。次に同様にメインメモリ内に割り付けられたエラー情
報格納用のエリア“$E”にNULL(オール“0”)
を設定する(同21)。この後ルーチンAの最初の処理
を実行し(同22),続いてサブルーチンBが呼び出さ
れる(同23)。
When the main routine is first started (program A is executed), an execution history storage area "$R" allocated in the main memory (see 30 in FIG. 3) is created.
Since “A” is displayed as an identifier in this program, set “A” in area $R (20 in Figure 2).
. Next, NULL (all “0”) is placed in the error information storage area “$E” allocated in the main memory.
(21). Thereafter, the first process of routine A is executed (22), and then subroutine B is called (23).

【0018】サブルーチンBの実行において,最初に前
記のプログラムAと同様に,プログラム識別子を設定す
る(同230)。このサブルーチンには識別子として“
B”が付与されているのでエリア$Rに“−B”を設定
する。このため,エリア$Rには,最初の分を含めて「
A−B」が設定されたことになる。
In executing subroutine B, a program identifier is first set (step 230) in the same way as for program A. This subroutine has “
B" is added, so set "-B" in area $R. Therefore, area $R includes "
A-B" is set.

【0019】次にこのルーチンの最初の処理が実行され
(同231),エラー発生要因が発生したかを判別する
(同232)。この結果エラー要因発生が検出されると
,上記のエリア$Eに,エラー要因と相対番号(図2の
例では,「0001」が設定される(同233)。なお
,この場合のエラー要因は,従来と同様に状態表示レジ
スタの設定情報が用いられる。
Next, the first process of this routine is executed (231), and it is determined whether an error factor has occurred (232). As a result, if the occurrence of an error cause is detected, the error cause and a relative number (in the example in Figure 2, "0001" (233) are set in the area $E above.In this case, the error cause is , the setting information of the status display register is used as in the past.

【0020】前記のエラー要因発生が検出された場合は
,エリア$Eへの各情報の設定の処理を行った後は,リ
ターン点に戻り,プログラムA(メインルーチン)に戻
り,ステップ24でイベント検出の判断が行われる(同
25)。サブルーチンにおいてエラー要因発生してエリ
ア$Eに情報が設定されているとイベント検出有りと判
断され,ステップ28に移行し,エラー情報格納用のエ
リア$Eと,実行履歴格納用のエリア$Rの情報をエラ
ーメッセージとして出力する処理が実行される。
If the occurrence of the error factor described above is detected, after setting each piece of information in area $E, the process returns to the return point, returns to program A (main routine), and in step 24 the event is set. A detection judgment is made (same 25). If an error factor occurs in the subroutine and information is set in area $E, it is determined that an event has been detected, and the process moves to step 28, where the area $E for storing error information and the area $R for storing execution history are stored. Processing that outputs information as an error message is executed.

【0021】この出力処理により,エラー情報格納用の
エリア$Eに格納された情報として,エラー要因とエラ
ー検出個所を表すサブルーチン内相対番号(この例では
0001)が出力され,実行履歴格納用のエリア$Rか
ら「A−B」が出力される。これを見ると,サブルーチ
ンBにおける相対番号0001の個所でエラーが発生し
たことが分かる。
[0021] Through this output process, the subroutine relative number (0001 in this example) representing the error cause and error detection location is output as information stored in the error information storage area $E, and the subroutine relative number (0001 in this example) is output as information stored in the error information storage area $E. "A-B" is output from area $R. Looking at this, it can be seen that an error occurred at the location with relative number 0001 in subroutine B.

【0022】次サブルーチンBのエラー要因発生の判断
において,エラー要因検出が無かった場合は,次の処理
を実行し(同234),続いてサブルーチンCが呼び出
される(同235)。そのサブルーチンCにおけるフロ
ーが図示省略されているが同様にエリア$Rに「−C」
が設定され(A−B−Cとなる),同様にサブルーチン
Cの処理が実行され,その中でエラーが発生した場合は
,サブルーチンBに復帰した後のイベント検出の判断(
同236)においてイベント検出有りとされ,サブルー
チンBの終端に移行してプログラムAに復帰する。
In the determination of the occurrence of an error factor in the next subroutine B, if no error factor is detected, the next process is executed (234), and then subroutine C is called (235). Although the flow in subroutine C is not shown, similarly, "-C" is placed in area $R.
is set (A-B-C), and the processing of subroutine C is similarly executed. If an error occurs during the process, the event detection judgment after returning to subroutine B (
At step 236), it is determined that an event has been detected, and the process moves to the end of subroutine B and returns to program A.

【0023】サブルーチンCにおける処理においてエラ
ーが発生しない場合,サブルーチンBに復帰した時,イ
ベント検出の判断(同236)において,検出無しとな
って実行履歴格納用のエリア$Rの中の「−C」の上に
ブランクを設定し(これにより「A−B」となる),後
続するサブルーチンBの処理を実行する(同237以降
)。
If no error occurs in the processing in subroutine C, when returning to subroutine B, the judgment of event detection (236) indicates that no event has been detected, and the "-C" in the execution history storage area $R is " is set blank (this makes it "A-B"), and the subsequent process of subroutine B is executed (from 237 onwards).

【0024】サブルーチンB,C,・・の各プログラム
の処理においてエラーが発生しなかった場合は,メイン
ルーチンAに復帰した時,イベント検出の判断(同24
)において,検出無しとなる。この後エリア$Rを初期
化(Aを設定)して(同25),エリア$Eを初期化(
オール“0”)して(同26),後続のルーチンAの処
理を実行する(同27以降)。
[0024] If no error occurs in the processing of each program of subroutines B, C, etc., when returning to main routine A, event detection judgment (same 24
), there is no detection. After this, initialize area $R (set A) (25), and initialize area $E (
All "0") (26), and the subsequent processing of routine A is executed (27 and subsequent steps).

【0025】上記の実行履歴格納用のエリア$Rのサイ
ズは,プログラムの階層段階に応じて調整され,エラー
情報格納用のエリア$Eのサイズは,エラー要因数,エ
ラー検出個所数に応じて調整される。
The size of the above execution history storage area $R is adjusted according to the hierarchical stage of the program, and the size of the error information storage area $E is adjusted according to the number of error causes and the number of error detection locations. be adjusted.

【0026】[0026]

【発明の効果】本発明によればエラー発生要因だけでな
く,エラー検出の経緯が認識できるのでプログラムのミ
スか外部要因によるものか判定が容易にできる。
According to the present invention, not only the cause of error occurrence but also the process of error detection can be recognized, making it easy to determine whether the error is due to a program error or an external factor.

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

【図1】本発明の原理構成図である。FIG. 1 is a diagram showing the principle configuration of the present invention.

【図2】実施例の処理フロー図である。FIG. 2 is a processing flow diagram of the embodiment.

【図3】本発明が実施される情報処理装置の構成例であ
る。
FIG. 3 is a configuration example of an information processing device in which the present invention is implemented.

【図4】従来例の処理フロー図である。FIG. 4 is a process flow diagram of a conventional example.

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

10        処理部 11        プログラム実行部12     
   ルーチン識別子設定手段13        エ
ラー確認手段 14        処理識別子設定手段15    
    復帰時エラー状態識別手段16       
 ルーチン識別子更新手段17        エラー
情報出力手段18        メモリ 181      サブルーチン 182      サブルーチン識別子183    
  処理位置識別子
10 Processing unit 11 Program execution unit 12
Routine identifier setting means 13 Error checking means 14 Processing identifier setting means 15
Error state identification means 16 at the time of recovery
Routine identifier updating means 17 Error information output means 18 Memory 181 Subroutine 182 Subroutine identifier 183
processing position identifier

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  階層化されたプログラムを処理する情
報処理装置のプログラム実行履歴管理方式において,各
プログラムのサブルーチンにルーチン識別子を付与し,
メモリに実行履歴格納エリアを設け,プログラム実行部
は,サブルーチンの処理開始時に当該ルーチン識別子を
順次前記実行履歴格納エリアに設定する手段,前記呼び
出された他ルーチンから現ルーチンに復帰時にエラー状
態が検出されないと前記実行履歴格納エリアのルーチン
識別子を現在のルーチン識別子に更新する手段とを備え
,エラー発生時には前記実行履歴格納エラーの内容を出
力することを特徴とするエラーメッセージ出力方式。
Claim 1: In a program execution history management method for an information processing device that processes hierarchical programs, a routine identifier is assigned to a subroutine of each program;
An execution history storage area is provided in the memory, and the program execution unit sequentially sets the routine identifier in the execution history storage area at the start of processing of a subroutine, and detects an error condition when returning from the other called routine to the current routine. and means for updating the routine identifier in the execution history storage area to the current routine identifier if the execution history storage area is not executed, and outputting the content of the execution history storage error when an error occurs.
【請求項2】  請求項1において,各プログラムのサ
ブルーチン内の処理に対応して処理識別子を付与し,メ
モリにエラー情報格納エリアを設け,処理装置のプログ
ラム実行部は,各ルーチン内の処理後のエラー確認によ
りエラーを検出すると前記処理識別子及びエラー要因を
前記エラー情報格納エリアに設定し,エラー発生時には
,前記実行履歴格納エリアとエラー情報格納エリアの内
容を出力することを特徴とするエラーメッセージ出力方
式。
[Claim 2] In claim 1, a processing identifier is assigned corresponding to the processing within the subroutine of each program, an error information storage area is provided in the memory, and the program execution unit of the processing device is configured to perform processing after the processing within each routine. When an error is detected by error confirmation, the processing identifier and error cause are set in the error information storage area, and when an error occurs, the contents of the execution history storage area and the error information storage area are output. Output method.
JP3108058A 1991-05-14 1991-05-14 Error message output system Pending JPH04336631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3108058A JPH04336631A (en) 1991-05-14 1991-05-14 Error message output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3108058A JPH04336631A (en) 1991-05-14 1991-05-14 Error message output system

Publications (1)

Publication Number Publication Date
JPH04336631A true JPH04336631A (en) 1992-11-24

Family

ID=14474844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3108058A Pending JPH04336631A (en) 1991-05-14 1991-05-14 Error message output system

Country Status (1)

Country Link
JP (1) JPH04336631A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5460928B1 (en) * 2013-03-06 2014-04-02 三菱電機株式会社 Programmable controller, programmable controller system, and execution error information creation method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5460928B1 (en) * 2013-03-06 2014-04-02 三菱電機株式会社 Programmable controller, programmable controller system, and execution error information creation method
WO2014136228A1 (en) * 2013-03-06 2014-09-12 三菱電機株式会社 Programmable controller, programmable controller system, and execute error information creation method
KR20150096478A (en) * 2013-03-06 2015-08-24 미쓰비시덴키 가부시키가이샤 Programmable controller, programmable controller system, and execute error information creation method
CN105009006A (en) * 2013-03-06 2015-10-28 三菱电机株式会社 Programmable controller, programmable controller system, and execute error information creation method
CN105009006B (en) * 2013-03-06 2017-04-05 三菱电机株式会社 Programmable Logic Controller, programable controller system and execution error message generation method
US9753444B2 (en) 2013-03-06 2017-09-05 Mitsubishi Electric Corporation Programmable controller, programmable controller system, and method of creating execution error information

Similar Documents

Publication Publication Date Title
CN111475401A (en) Test method and related equipment
US5826078A (en) Job re-execution system and controlling method thereof
JP3117958B2 (en) Server setting device
EP0452080B1 (en) System for controlling restoration from failure in a queue structure of control data
JPH04336631A (en) Error message output system
JPH05158672A (en) Program start selection system using menu
JP4066667B2 (en) Vehicle process management system and method
JP2731047B2 (en) Program operand check method
JPH01108634A (en) System for preventing erroneous usage of external recording medium
JPH01162094A (en) Key telephone system
JP2635777B2 (en) Programmable controller
JP2604881B2 (en) Control devices for industrial machines
JP2772725B2 (en) Specific data pattern detection method
JPS62168229A (en) Automatic recognizing system for system constitution
JPH0296864A (en) Device and method for updating data
JP2002116926A (en) Program processor and program processing method
JP2719676B2 (en) Parallel processing unit
JPS6180426A (en) System editing processing system
JP2008262589A (en) Routine operation automatic processing program, method, and device
JPS6365541A (en) Automatic display system for program in fault
JPH0612251A (en) Program starting device
JPH05100913A (en) Error factor searching system
JPH01246638A (en) Area error decision system for write instruction
JPH06332757A (en) Error check method with learning function
JPH06161516A (en) Checking method for sequence program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981013