JPH04135247A - Factor trace-back system at end of program abnormality - Google Patents

Factor trace-back system at end of program abnormality

Info

Publication number
JPH04135247A
JPH04135247A JP2257830A JP25783090A JPH04135247A JP H04135247 A JPH04135247 A JP H04135247A JP 2257830 A JP2257830 A JP 2257830A JP 25783090 A JP25783090 A JP 25783090A JP H04135247 A JPH04135247 A JP H04135247A
Authority
JP
Japan
Prior art keywords
program
user
factor
contents
abnormal end
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
JP2257830A
Other languages
Japanese (ja)
Inventor
Akihiko Nakai
中井 明彦
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 Software Kansai Ltd
Original Assignee
NEC Software Kansai Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Kansai Ltd filed Critical NEC Software Kansai Ltd
Priority to JP2257830A priority Critical patent/JPH04135247A/en
Publication of JPH04135247A publication Critical patent/JPH04135247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To enable even a user who has not so much technical knowledge to easily study the factor of an abnormal end of a program by saving the contents obtained at the abnormal end, analyzing a command given from a terminal equipment to check the saved contents, displaying the check result on a terminal equipment, and also outputting the check result after editing it. CONSTITUTION:When the abnormal end of a program occurs, an operating system displays an end code and saves the contents of a main storage. Then a user starts an analysis program 6 and produces a command through a terminal equipment 7. Thus the user reads the data necessary for study of the factor of the abnormal end out of a main storage saving part 5 and outputs these data to the equipment 7 and a printer 8. In other words, the user designates a desired place to be retrieved based on a program source list and the program 6 retrieves a program component element library 4 based on the command received from the equipment 7. Then the program 6 takes out the necessary information to refer to the part 5 and outputs this reference result to the user. Thus even such a user who has no knowledge of a program execution load module can easily study the factor of the program abnormality.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラム異常終了時の原因週末方式に関し、
特に情報処理システムのプログラムが異常終了したとき
に、その原因を利用者か端末装置で調べるプログラム異
常終了時の原因週末方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a cause weekend method when a program terminates abnormally.
In particular, the present invention relates to a weekend method for determining the cause of an abnormal termination of a program in an information processing system by using a user or a terminal device.

〔従来の技術〕[Conventional technology]

従来のプログラム異常終了時の原因週末方式は、多数の
オンラインプログラムやバッチプログラムが動いている
コンピュータシステムで、プログラムが異常終了した場
合には、異常終了した原因を終了コードで端末装置に表
示し、異常終了した時点の主記憶装置の内容を補助記憶
装置に退避していた。この場合に、原因の分析は、利用
者が上記の終了コードと退避内容との解析を人力で行な
っていた。
The conventional weekend method is a computer system in which many online programs or batch programs are running, and when a program terminates abnormally, the cause of the abnormal termination is displayed on the terminal device using an exit code. The contents of the main memory at the time of abnormal termination were saved to the auxiliary memory. In this case, the cause has to be analyzed manually by the user by analyzing the above-mentioned termination code and saved contents.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラム異常終了時の原因週末方式は
、特に主記憶の内容を退避したものを調べるには、退避
内容を多量に印字装置へ出力するとともに、主記憶装置
内の複雑な番地の計算を行うために、プロクラム実行ロ
ードモジュールの知識が必要であり、原因追求に多くの
時間がかかるという欠点を有している。
The above-mentioned conventional weekend method for causing abnormal program termination requires outputting a large amount of the saved contents to the printing device and calculation of complicated addresses in the main memory, especially in order to check the contents of the main memory that have been saved. In order to do this, knowledge of the program execution load module is required, and it has the disadvantage that it takes a lot of time to find the cause.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラム異常終了時の原因週末方式は、ソー
スプログラムを実行ロードモジュールに翻訳すると同時
にプログラム構成要素ライブラリーを作成する翻訳プロ
グラムと、異常終了時点で主記憶退避情報を端末装置か
らの指令に基ついて解析し、その結果を前記端末装置又
は印字装置に出力する解析プログラムとを有して構成さ
れている。
Causes when a program ends abnormally according to the present invention The weekend method uses a translation program that creates a program component library at the same time as it translates a source program into an execution load module, and saves main memory information to commands from a terminal device at the time of abnormal end. and an analysis program that analyzes the information based on the information and outputs the result to the terminal device or printing device.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のプログラム異常終了時の原因週末方式
の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the cause weekend method when a program ends abnormally according to the present invention.

通常、第1図に示すソースプログラム1は、命令とデー
タ領域とで構成されており、データ領域や一群の命令に
名前を付けている。そこで、翻訳プログラム2は、実行
ロードモジュール3を作成すると同時に、異常終了時の
分析時に上述の名前により番地を検索できる索引を作成
し、これをプログラム構成要素ライフラリ4へ出力する
Normally, a source program 1 shown in FIG. 1 is composed of instructions and a data area, and a name is given to the data area or a group of instructions. Therefore, the translation program 2 creates an execution load module 3, and at the same time creates an index that allows the address to be searched by the above-mentioned name when analyzing an abnormal termination, and outputs this to the program component library 4.

第2図は本実施例のプログラム異常終了時の原因週末方
式の動作の一例を示す流れ図である。
FIG. 2 is a flowchart showing an example of the operation of the cause weekend method when a program ends abnormally in this embodiment.

第2図に示すように、ステップ21で、プログラムが異
常終了すると、ステップ22で、終了コードの表示と主
記憶内容の退避とがオペレーティングシステムにより行
なわれる0次に、ステップ23で、利用者は解析プログ
ラム6を起動させ、ステップ24で、端末装置7より指
令を与えることにより、原因究明に必要なデータを主記
憶退避部5から読出して端末装置7や印字装置8へ出力
させる。
As shown in FIG. 2, when the program terminates abnormally in step 21, the operating system displays an exit code and saves the main memory contents in step 22.Next, in step 23, the user The analysis program 6 is started, and in step 24, a command is given from the terminal device 7 to read data necessary for investigating the cause from the main memory saving section 5 and output it to the terminal device 7 or the printing device 8.

第3図は本実施例の解析プログラム6の動作の一例を示
す流れ図である。
FIG. 3 is a flowchart showing an example of the operation of the analysis program 6 of this embodiment.

第3図に示すように、解析プロクラム6か起動すると、
ステップ31で、利用者からの指令が端末装置7を介し
て対話式に行なわれる。そして、利用者は、該プロクラ
ムのソースリストに基つき、ソースリストの行番号や名
前によりその検索しない場所を指定する。次に、ステッ
プ32て、解析プログラム6は利用者からの指令を基に
プログラム構成要素ライブラリ4を検索し、ステップ3
3で、主記憶退避部5を参照するのに必要な情報を取り
出して主記憶退避部5を参照する。そして、ステップ3
4で、その結果を利用者へ出力する。
As shown in Figure 3, when analysis program 6 is started,
In step 31, commands from the user are given interactively via the terminal device 7. Then, based on the source list of the program, the user specifies the location not to be searched using the line number or name of the source list. Next, in step 32, the analysis program 6 searches the program component library 4 based on instructions from the user, and in step 3
3, the information necessary to refer to the main memory save unit 5 is extracted and the main memory save unit 5 is referred to. And step 3
In step 4, the results are output to the user.

なお、利用者の指令により出力する装置や編集方法など
の出力方法を指定することができる。
Note that an output method such as an output device and an editing method can be specified by a user's command.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のプログラム異常終了時の
原因週末方式は、コンピュータシステムのプログラムが
異常終了した場合に、その利用者が対話的に簡単な指令
を与えることにより、異常終了した原因を究明できるの
で、コンピュータシステムの専門的知識のあまりない利
用者でも容易に調べることができるという効果を有して
いる。
As explained above, in the weekend method for causing abnormal program termination of the present invention, when a computer system program terminates abnormally, the user can interactively give a simple command to determine the cause of the abnormal termination. This has the effect that even users with little specialized knowledge of computer systems can easily investigate.

作の一例を示す流れ図、第3図は本実施例の解析プログ
ラムの動作の一例を示す流れ図である。
FIG. 3 is a flowchart showing an example of the operation of the analysis program of this embodiment.

]・・・ソースプログラム、2・・・翻訳プログラム、
3・・・実行ロードモジュール、4・・プログラム構成
要素ライフラリ、5・・・主記憶退避部、6・・・解析
プログラム、7・・端末装置、8・・・印字装置。
]... Source program, 2... Translation program,
3... Execution load module, 4... Program component library, 5... Main memory saving unit, 6... Analysis program, 7... Terminal device, 8... Printing device.

Claims (1)

【特許請求の範囲】[Claims] 主に事務処理用プログラムが異常終了した場合に、その
原因を素早く利用者に知らせるために、異常終了時点の
内容を退避し、端末装置からの指令を入力することによ
り、その指令を解析して退避した内容の調査を行ない、
その結果を前記端末装置に表示したり、その結果を編集
して印字装置に出力したりすることを特徴とするプログ
ラム異常終了時の原因遡求方式。
Mainly, when a business processing program terminates abnormally, in order to quickly inform the user of the cause, the contents at the time of abnormal termination are saved, the commands from the terminal device are input, and the commands are analyzed. We will investigate the contents of the evacuation,
A method for tracing the cause of an abnormal program termination, characterized by displaying the result on the terminal device, editing the result, and outputting the result to a printing device.
JP2257830A 1990-09-27 1990-09-27 Factor trace-back system at end of program abnormality Pending JPH04135247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2257830A JPH04135247A (en) 1990-09-27 1990-09-27 Factor trace-back system at end of program abnormality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2257830A JPH04135247A (en) 1990-09-27 1990-09-27 Factor trace-back system at end of program abnormality

Publications (1)

Publication Number Publication Date
JPH04135247A true JPH04135247A (en) 1992-05-08

Family

ID=17311726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2257830A Pending JPH04135247A (en) 1990-09-27 1990-09-27 Factor trace-back system at end of program abnormality

Country Status (1)

Country Link
JP (1) JPH04135247A (en)

Similar Documents

Publication Publication Date Title
CN112306594A (en) Rendering method and device based on mobile terminal and storage medium
US5819024A (en) Fault analysis system
JPH05298052A (en) Window system and event processing method
JPH04135247A (en) Factor trace-back system at end of program abnormality
JPS62281014A (en) Display system for descriptive data in numerical controller
JPS6254337A (en) Specification displaying system for program hierarchy
JP2798015B2 (en) Program error analysis support system
JPH0511989A (en) Parameter analyzing device
JPH01288930A (en) Discrete event type simulation system
JPS6274130A (en) Data generating system for program structure
JPH05189224A (en) Management system for processing method
JP2500385B2 (en) Input data management method
JP2853667B2 (en) Program trace device with hardware function guide
JPS6359647A (en) Display system for exceptional event information
JPH036527B2 (en)
JPH06332749A (en) Register analysis processor
JPH06222950A (en) Exception cause message output device
JPH05334135A (en) Error information display system for abnormal end of program
JPH0594245A (en) Control system for input/output device
JPH0325630A (en) Data structure access system
JPH04168563A (en) Display system for support information
JPH02220148A (en) Display system for error contents of on-line processing system
JPH04140853A (en) On-line program operation analyzing device
JPH04229343A (en) Memory contents display system in interactive debugger
JPH10240339A (en) Plant monitoring system