JPH0449428A - Method for processing abnormal end - Google Patents

Method for processing abnormal end

Info

Publication number
JPH0449428A
JPH0449428A JP2160317A JP16031790A JPH0449428A JP H0449428 A JPH0449428 A JP H0449428A JP 2160317 A JP2160317 A JP 2160317A JP 16031790 A JP16031790 A JP 16031790A JP H0449428 A JPH0449428 A JP H0449428A
Authority
JP
Japan
Prior art keywords
address
processing
abnormal termination
subcomponent
address list
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
JP2160317A
Other languages
Japanese (ja)
Other versions
JP2513906B2 (en
Inventor
Masaya Nanbu
南部 雅也
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 JP2160317A priority Critical patent/JP2513906B2/en
Publication of JPH0449428A publication Critical patent/JPH0449428A/en
Application granted granted Critical
Publication of JP2513906B2 publication Critical patent/JP2513906B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enable an abnormal end outlet routine to accurately grasp an end by allowing a routine started at an abnormal end outlet to access an address list by the leading address of a parameter and refer and process the recording contents of an area specified by each address. CONSTITUTION:When a module A1 to be the inlet module of a subcomponent A is started, an address list is formed on its common area with a subcomponent B, the abnormal end outlet of the subcomponent A is registered and the leading address of a formed address list is registered as a parameter to be transferred to the abnormal end outlet routine. Thereby, the abnormal end outlet routine can know the processing state of abnormal end by accessing the address list by the leading address transferred as the parameter and referring each area specified by the address. Consequently, the abnormal end outlet routine can easily and accurately grasp the end state and post processing can easily be attained.

Description

【発明の詳細な説明】 〔概 要〕 計算機における、プログラムの異常終了出口ルーチンの
処理に関し、 多数のモジュールからなるサブコンポーネントの異常終
了出口ルーチンが容易に終了状況を的確に把握できる異
常終了処理方法を目的とし、計算機で実行されるサブコ
ンポーネントが異常終了出口を登録する場合に、アドレ
スリストを作成して、該アドレスリストの先頭アドレス
をパラメータとして登録し、該サブコンポーネント間の
制御の受け渡しの場合に、該アドレスリストに、必要な
インタフェース情報のアドレスと、処理状況アドレスと
を設定し、該処理状況アドレスで定まる領域に、処理の
種類と進行状態とを示す所定の情報を記録し、該異常終
了出口で起動されるルーチンは、該パラメータの該先頭
アドレスにより該アドレスリストにアクセスし、該アド
レスリストの各アドレスで指示する領域の記録内容を参
照して処理するように構成する。
[Detailed Description of the Invention] [Summary] Regarding the processing of the abnormal termination exit routine of a program in a computer, an abnormal termination processing method that allows the abnormal termination exit routine of a subcomponent consisting of many modules to easily and accurately grasp the termination status. When a subcomponent executed on a computer registers an abnormal termination exit for the purpose of Then, set the address of the necessary interface information and the processing status address in the address list, record predetermined information indicating the type of processing and the progress state in the area determined by the processing status address, and check the abnormality. The routine started at the end exit is configured to access the address list using the first address of the parameter, and to refer to and process the recorded contents of the area indicated by each address in the address list.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機における、プログラムの異常終了出口
ルーチンの処理、特に異常終了出口ルーチンが容易に終
了状況を把握できるようにした異常終了処理方法に関す
る。
The present invention relates to processing of an abnormal termination exit routine of a program in a computer, and particularly to an abnormal termination processing method that allows the abnormal termination exit routine to easily grasp the termination status.

〔従来の技術〕[Conventional technology]

計算機で実行されるプログラムは、適当なサブコンポー
ネントを単位に構成され、業務処理のサブコンポーネン
トは、システムの提供する必要なサービスを、システム
が準備するサブコンポーネントを呼んで実行させること
により利用する。
A program executed by a computer is composed of appropriate subcomponents, and business processing subcomponents utilize necessary services provided by the system by calling and executing subcomponents prepared by the system.

そのような業務処理のサブコンポーネントは、一般に更
に幾つかのモジュールに分割して作成されており、第3
図のサブコンポーネントAとして例示するように、それ
らの各種のモジュールがサブコンポーネントBを呼ぶ構
成になる。
Such business processing subcomponents are generally created by further dividing them into several modules, and the third
As illustrated as subcomponent A in the figure, these various modules call subcomponent B.

そこで、例えばサブコンポーネントAからBを呼んで処
理中に何らかの要因で異常終了するような場合に、サブ
コンポーネントAで登録された異常終了出口ルーチンが
起動されて後処理を行うが、その場合に終了時の状況を
把握することが複雑になり、適切な後処理を行い難くな
る。
Therefore, for example, if subcomponent B is called from subcomponent A and the process ends abnormally for some reason, the abnormal termination exit routine registered in subcomponent A will be started and perform post-processing. It becomes complicated to grasp the current situation, and it becomes difficult to carry out appropriate post-processing.

なお、異常終了出口ルーチンは公知のように、サブコン
ポーネントのプログラムが、適当の時に異常終了出口と
するアドレス及び必要なパラメータをシステムに登録し
ておくことにより、システムがそのサブコンポーネント
に関して所定の異常事象が発生したことを検出した場合
に、異常終了出口から起動され、異常終了の後処理を行
うプログラムである。
As is well known, the abnormal termination exit routine is used by a subcomponent program to register in the system the address and necessary parameters for the abnormal termination exit at an appropriate time, so that the system can detect a predetermined abnormality regarding that subcomponent. This is a program that is started from the abnormal termination exit when it detects that an event has occurred, and performs post-processing after the abnormal termination.

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

前記のような異常終了出口ルーチンにおいて、異常終了
時の状況をより把握し易くするために、例えば複数の必
要なモジュール別に異常終了出口ルーチンを設けて、個
別の後処理を行うようにすることもできるが、その場合
には該当モジュールごとに異常終了出口を登録すること
が必要になり、プログラムを大きくし、処理性能を劣化
する等の悪影響を生じ易いという問題がある。
In the abnormal termination exit routine as described above, in order to make it easier to understand the situation at the time of abnormal termination, for example, an abnormal termination exit routine may be provided for each of a plurality of necessary modules to perform individual post-processing. However, in that case, it is necessary to register an abnormal termination exit for each module, which increases the size of the program and tends to cause adverse effects such as deterioration of processing performance.

本発明は、多数のモジュールからなるサブコンポーネン
トの異常終了出口ルーチンが容易に終了状況を的確に把
握できる異常終了処理方法を目的とする。
An object of the present invention is to provide an abnormal termination processing method that allows an abnormal termination exit routine of a subcomponent consisting of a large number of modules to easily and accurately grasp the termination status.

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

第1図は、本発明の構成を示す処理の流れ図である。 FIG. 1 is a process flowchart showing the configuration of the present invention.

図は異常終了処理方法の構成であって、計算機で実行さ
れるサブコンポーネントが異常終了出口を登録する場合
に、アドレスリストを作成して、該アドレスリストの先
頭アドレスをパラメータとして登録しく処理ステップ1
.2)、該サブコンポーネント間の制御の受け渡しの場
合に、該アドレスリストに、必要なインタフェース情報
のアドレスと、処理状況アドレスとを設定し、該処理状
況アドレスで定まる領域に、処理の種類と進行状態とを
示す所定の情報を記録しく処理ステ・ンプ3.4)、該
異常終了出口で起動されるル−チン番よ、該パラメータ
の該先頭アドレスにより該アドレスリストにアクセスし
、該アドレスリストの各アドレスで指示する領域の記録
内容を参照して処理する(処理ステップ5.6)。
The figure shows the configuration of an abnormal termination processing method, in which when a subcomponent executed on a computer registers an abnormal termination exit, an address list is created and the first address of the address list is registered as a parameter.Processing step 1
.. 2) In the case of transferring control between the subcomponents, set the address of necessary interface information and the processing status address in the address list, and write the type and progress of the process in the area determined by the processing status address. In step 3.4), the routine number activated at the abnormal termination exit accesses the address list using the first address of the parameter, and records predetermined information indicating the status. Processing is performed by referring to the recorded contents of the area indicated by each address (processing step 5.6).

〔作 用〕[For production]

本処理方法により、異常終了出口ルーチンにはアドレス
リストの先頭アドレスが渡され、又例えば各モジュール
は他サブコンポーネントの呼出/復帰において、処理状
況アドレスで指示される領域(処理状況領域とする)に
、処理別と、その進行状態等を所定の形式で記録する。
With this processing method, the start address of the address list is passed to the abnormal termination exit routine, and for example, each module moves to the area indicated by the processing status address (referred to as the processing status area) when calling/returning other subcomponents. , records each process and its progress status in a predetermined format.

従って、異常終了出口ルーチンは、そのパラメータとし
て渡される先頭アドレスでアドレスリストにアクセスし
て、その指示する各領域を参照することにより、処理状
況領域の記録から異常終了時の処理の状態を知り、又イ
ンタフェース情報を参照して更に詳細な処理内容を知る
こともできるので、異常終了の後処理をそれらの情報に
基づいて適切に処理することが可能になる。
Therefore, the abnormal termination exit routine accesses the address list using the first address passed as its parameter and refers to each area indicated by the address list, thereby knowing the processing status at the time of abnormal termination from the record in the processing status area. Further, since it is possible to know more detailed processing contents by referring to the interface information, it is possible to appropriately perform post-processing of abnormal termination based on that information.

〔実施例〕〔Example〕

第3図に例示したサブコンポーネントAにおいて、その
入口モジュールであるモジュールAIが起動されると、
第1図の処理ステップ1の処理により、サブコンポーネ
ントBとの共通領域にアドレスリストを作成し、処理ス
テップ2で、システムに対して、このサブコンポーネン
トのための異常終了出口の登録を実行し、その際前記で
作成したアドレスリストの先頭アドレスを、異常終了出
口ルーチンに渡すパラメータとして登録する。
In subcomponent A illustrated in FIG. 3, when module AI, which is its entrance module, is activated,
By the process in process step 1 in FIG. 1, an address list is created in the common area with subcomponent B, and in process step 2, an abnormal termination exit for this subcomponent is registered in the system, At this time, the first address of the address list created above is registered as a parameter to be passed to the abnormal termination exit routine.

従って、システムには、サブコンポーネントAの異常終
了の要因となる事象を検出した場合に、公知のように前
記で登録されている異常終了出口のアドレスOこ制御を
渡すことにより、そのアドレスに始まる異常終了出口ル
ーチンを起動すると共に、パラメータとして登録されて
いるアドレスリストの先頭アドレスを当ルーチンに通知
するように準備がされる。
Therefore, when the system detects an event that causes the abnormal termination of subcomponent A, it can start at that address by passing control to the address of the abnormal termination exit registered above, as is well known. At the same time as activating the abnormal termination exit routine, preparations are made to notify the routine of the first address of the address list registered as a parameter.

第2図は、アドレスリストの構成の一例を示し、この例
では5項のアドレスからなるリストであって、上の4項
はサブコンポーネントBとの各種インタフェース情報を
保持する領域を指示するアドレスからなり、末尾の第5
項は本発明で設けられる処理状況アドレスである。
FIG. 2 shows an example of the structure of an address list. In this example, it is a list consisting of five addresses, the top four being addresses that specify areas that hold various interface information with subcomponent B. 5th at the end
The term is a processing status address provided in the present invention.

図にインタフェース情報の例として示す要求リストアド
レスはサブコンポーネントBに渡すために要求情報を格
納する要求リストの領域を指示し、応答リストアドレス
はサブコンポーネントBが応答を格納する応答リストの
領域を指示し、ユーザIDアドレスは、コンポーネント
Aによって業務処理を実行しているユーザのユーザ名を
保持する領域を指示し、ECBアドレスはサブコンポー
ネント間の同期に使用するための公知の事象制御ブロッ
クを指示するアドレスである。
The request list address shown as an example of interface information in the figure indicates the area of the request list where request information is stored to be passed to subcomponent B, and the response list address indicates the area of the response list where subcomponent B stores the response. The user ID address indicates an area that holds the user name of the user who is executing business processing by component A, and the ECB address indicates a known event control block used for synchronization between subcomponents. It is an address.

処理状況アドレスは、例えばアドレスリストの末尾項に
設ける規約とし、処理状況領域を指示するように設定さ
れる。サブコンポーネントAのモジュールが、サブコン
ポーネントBを呼び、又サブコンポーネントBからモジ
ュールへ復帰したときに、そのモジュールが第1図の処
理ステップ3でインタフェース情報に関してアドレスリ
ストを設定し、処理ステップ4で処理状況領域に呼出先
、要求する処理の区別(定義、参照、削除等)、呼出回
数の累積値、処理の進行状態(処理中、完了等)等を一
定の形式で記録する。
The processing status address is, for example, a convention provided at the end of the address list, and is set to indicate the processing status area. When the module of subcomponent A calls subcomponent B, and when subcomponent B returns to the module, that module sets an address list regarding the interface information in processing step 3 of FIG. 1, and performs the processing in processing step 4. In the status area, the called destination, the type of requested processing (definition, reference, deletion, etc.), the cumulative number of calls, the progress status of the processing (processing in progress, completed, etc.), etc. are recorded in a fixed format.

アドレスリストは、例えば規約で定める番号のレジスタ
に、その先頭アドレスを保持することにより、サブコン
ポーネントA内の各モジュール間で受け渡され、サブコ
ンポーネント間では先頭アドレスが呼出時のパラメータ
として渡される。
The address list is passed between the modules in subcomponent A by holding the start address in a register with a number specified by the regulations, and the start address is passed between the subcomponents as a parameter at the time of calling.

前記のように、システムが異常終了事象を検出すると、
登録に従い異常終了出口ルーチンを起動し、アドレスリ
ストの先頭アドレスを渡すので、異常終了出口ルーチン
は第1図の処理ステップ5でアドレスリストの末尾の処
理状況アドレスで指示する処理状況領域及びインタフェ
ース情報のアドレスで指示するその他の所要領域を参照
し、それらから取得する終了時の状況に関する必要な情
報に従って、処理ステップ6で異常終了の後処理を実行
する。
As mentioned above, when the system detects an abend event,
According to the registration, the abnormal termination exit routine is started and the first address of the address list is passed to it, so that the abnormal termination exit routine stores the processing status area and interface information specified by the processing status address at the end of the address list in processing step 5 of FIG. Other required areas indicated by the address are referred to, and in accordance with necessary information regarding the status at the time of termination obtained from them, post-processing after the abnormal termination is executed in processing step 6.

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

以上の説明から明らかなように本発明によれば、計算機
における、プログラムの異常終了出口ルーチンの処理に
おいて、多数のモジュールからなるサブコンポーネント
の異常終了出口ルーチンが容易に終了状況を的確に把握
できるようになり、異常終了の的確な後処理が容易に実
現できるとい・う著しい工業的効果がある。
As is clear from the above description, according to the present invention, in processing the abnormal termination exit routine of a program in a computer, the abnormal termination exit routine of a subcomponent consisting of many modules can easily and accurately grasp the termination status. This has a remarkable industrial effect in that accurate post-processing of abnormal termination can be easily realized.

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

第1図は本発明の構成を示す処理の流れ図、第2図はア
ドレスリストの説明図、 第3図はサブコンポーネントの説明図 である。 図において、 1〜6は処理ステップ
FIG. 1 is a process flowchart showing the configuration of the present invention, FIG. 2 is an explanatory diagram of an address list, and FIG. 3 is an explanatory diagram of subcomponents. In the figure, 1 to 6 are processing steps

Claims (1)

【特許請求の範囲】 計算機で実行されるサブコンポーネントが異常終了出口
を登録する場合に、アドレスリストを作成して(1)、
該アドレスリストの先頭アドレスをパラメータとして登
録し(2)、 該サブコンポーネント間の制御の受け渡しの場合に、該
アドレスリストに、必要なインタフェース情報のアドレ
スと、処理状況アドレスとを設定し(3)、該処理状況
アドレスで定まる領域に、処理の種類と進行状態とを示
す所定の情報を記録し(4)、該異常終了出口で起動さ
れるルーチンは、該パラメータの該先頭アドレスにより
該アドレスリストにアクセスし、該アドレスリストの各
アドレスで指示する領域の記録内容を参照して処理する
よう(5、6)に構成されていることを特徴とする異常
終了処理方法。
[Claims] When a subcomponent executed on a computer registers an abnormal termination exit, an address list is created (1),
The first address of the address list is registered as a parameter (2), and in the case of transfer of control between the subcomponents, the address of necessary interface information and the processing status address are set in the address list (3). , records predetermined information indicating the type of processing and the progress state in the area determined by the processing status address (4), and the routine started at the abnormal termination exit reads the address list using the start address of the parameter. An abnormal termination processing method characterized in that (5, 6) the abnormal termination processing method is configured to access the address list and perform processing by referring to the recorded contents of the area designated by each address of the address list.
JP2160317A 1990-06-19 1990-06-19 Abnormal termination processing method Expired - Fee Related JP2513906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2160317A JP2513906B2 (en) 1990-06-19 1990-06-19 Abnormal termination processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2160317A JP2513906B2 (en) 1990-06-19 1990-06-19 Abnormal termination processing method

Publications (2)

Publication Number Publication Date
JPH0449428A true JPH0449428A (en) 1992-02-18
JP2513906B2 JP2513906B2 (en) 1996-07-10

Family

ID=15712340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2160317A Expired - Fee Related JP2513906B2 (en) 1990-06-19 1990-06-19 Abnormal termination processing method

Country Status (1)

Country Link
JP (1) JP2513906B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63189949A (en) * 1987-01-31 1988-08-05 Nec Corp System for collecting information on cause analysis at end of abnormal program
JPS63247837A (en) * 1987-04-03 1988-10-14 Nec Corp Exception processing system
JPH01177317A (en) * 1987-12-31 1989-07-13 Kobe Steel Ltd Manufacture of alloy-electroplated steel sheet for deep drawing excellent in impact peeling resistance after painting

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63189949A (en) * 1987-01-31 1988-08-05 Nec Corp System for collecting information on cause analysis at end of abnormal program
JPS63247837A (en) * 1987-04-03 1988-10-14 Nec Corp Exception processing system
JPH01177317A (en) * 1987-12-31 1989-07-13 Kobe Steel Ltd Manufacture of alloy-electroplated steel sheet for deep drawing excellent in impact peeling resistance after painting

Also Published As

Publication number Publication date
JP2513906B2 (en) 1996-07-10

Similar Documents

Publication Publication Date Title
US5134712A (en) System for recovering failure of online control program with another current online control program acting for failed online control program
CN101192192A (en) Task abnormity diagnosis method and system for real-time operating system
JPH0449428A (en) Method for processing abnormal end
CN112130900A (en) User information management method, system, equipment and medium for BMC
JPS5821992A (en) Queuing system for idle trunk
JP3586943B2 (en) Program loading device and method
JP2002319940A (en) System and method for sharing information, and program for executing the same method
JPH01281537A (en) Repeated processing method control system
JP2868336B2 (en) Additional service activation condition control method
JP2710482B2 (en) Additional service status monitoring method
JPH03265033A (en) Terminal program actuation management system
CN112905109A (en) Message processing method, device, equipment and storage medium
CN117687806A (en) Deadlock processing method, electronic device and storage medium
JPH04350734A (en) Electronic computer
JP2812037B2 (en) Restart control method for business processing programs
JPH02272898A (en) System for registering and changing subscriber data
JP2000267866A (en) Device for acquiring end state of two-stage process
JP2730491B2 (en) Form processing method
JPH064319A (en) Shared routine control system in operating system
JPH0378041A (en) Monitor system for number of set constituent blocks
JPH03132823A (en) Stacking system for data peculiar to procedure
JPH0358144A (en) System for gathering program run history information
JPS62266628A (en) Stopping device for instruction under execution
JPH05181712A (en) Stack history forming system
JPH04373060A (en) Batch job input number limiting system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees