JP3652878B2 - Transaction synchronous replacement method for secondary load modules - Google Patents
Transaction synchronous replacement method for secondary load modules Download PDFInfo
- Publication number
- JP3652878B2 JP3652878B2 JP11954998A JP11954998A JP3652878B2 JP 3652878 B2 JP3652878 B2 JP 3652878B2 JP 11954998 A JP11954998 A JP 11954998A JP 11954998 A JP11954998 A JP 11954998A JP 3652878 B2 JP3652878 B2 JP 3652878B2
- Authority
- JP
- Japan
- Prior art keywords
- load module
- sub
- sub load
- transaction processing
- transaction
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、コンピュータで処理するトランザクション処理中に副ロードモジュールを読み込むタイミングを制御する副ロードモジュールのトランザクション同期置換方式に関する。
【0002】
【従来の技術】
従来の副ロードモジュール(Load Module、LM)置換方式の一例が、特開平6−4477号公報に記載されている。図5を用いて、この従来の副ロードモジュール置換方式の説明を行う。従来の副ロードモジュール置換方式は、オンラインリアルタイム処理システム1’と操作卓8で構成されている。
【0003】
また、オンラインリアルタイム処理システム1’は、現在使用している副ロードモジュールと、この副ロードモジュールに置換される代替副ロードモジュールの各々の入り口点ポインタ53、入り口点ポインタ54、および副ロードモジュールの内どちらを使用するかを指定した現用副ロードモジュール52を含む副ロードモジュール置換管理テーブル5と、副ロードモジュール呼出手段と、副ロードモジュール置換手段4から構成されている。
【0004】
この従来の副ロードモジュール置換方式の動作を以下に示す。
副ロードモジュール呼出手段3’は、トランザクション処理プログラム2’より呼び出され、副ロードモジュール置換管理テーブル5の現用副ロードモジュール指示52を現用の副ロードモジュールから置換する副ロードモジュールに書き換える。
【0005】
【発明が解決しようとする課題】
しかしながら、上述した副ロードモジュール置換方式は、利用者トランザクションの実行中に副ロードモジュールの切換が行われた場合、一つのトランザクション中において、切換の前後で新旧異なる2つの副ロードモジュールが呼び出される欠点がある。
【0006】
このため、新旧2つの副ロードモジュールの論理差分の内容によって、上述した副ロードモジュール置換方式は、トランザクション処理がプログラム処理において論理矛盾を起こし、正しいプログラム処理を行えなくなる問題がある。
【0007】
本発明はこのような背景の下になされたもので、現在稼働中の副ロードモジュールを新たに用意した副ロードモジュールへ置換するタイミングと、トランザクションの終了とのタイミングを一致させ、一つのトランザクションにおいて新旧の副ロードモジュールが混在して処理を行うことを防ぐ副ロードモジュールのトランザクション同期置換方式を提供する事にある。
【0008】
【課題を解決するための手段】
請求項1記載の発明は、トランザクション処理プログラムからの副ロードモジュール呼び出しに用いられる副ロードモジュールのトランザクション同期置換方式において、トランザクション処理プログラムを記憶している第1の記憶部と、一の副ロードモジュールを記憶する第2の記憶部と、他の副ロードモジュールを記憶する第3の記憶部と、前記一の副ロードモジュールと前記他の副ロードモジュールとの置換を要求する要求情報を出力する要求手段と、この要求情報に基づきトランザクション処理プログラムが前記一の副ロードモジュールまたは前記他の副ロードモジュールのいずれを使用するかを指定する指定手段と、トランザクション処理プログラムの必要とする前記一の副ロードモジュールまたは前記他の副ロードモジュールのいずれかを呼び出す呼出手段と、使用されている前記一の副ロードモジュールと、前記他の副ロードモジュールとの置換の可否を、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行っているか否かの置換許可情報により示す置換許可手段とを具備し、前記呼出手段は、前記置換許可情報を参照し、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行っていなければ、前記指定手段による指定を複写し記憶するとともに、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行ったことを前記置換許可情報として記憶し、前記複写し記憶した指定に基づきいずれの副ロードモジュールを呼び出すかを決定し、一方、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行っていれば、先に複写し記憶した前記指定手段による指定に基づきいずれの副ロードモジュールを呼び出すかを決定し、これにより、前記要求手段が、トランザクション処理中に前記一の副ロードモジュールと、前記他の副ロードモジュールとの置換を要求した場合、前記指定手段が前記他の副ロードモジュールの使用を指定し、前記置換許可情報が置換可であれば、前記呼出手段が前記他の副ロードモジュールを呼び出し、前記一の副ロードモジュールとの置換を行うことを特徴とする。
【0011】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態について説明する。図1は本発明の一実施形態による副ロードモジュールのトランザクション同期置換方式の構成を示すブロック図である。この図において、8は操作卓であり、ユーザの操作により副ロードモジュールの置換コマンドをオンラインリアルシステム1へ発行する。
【0012】
オンラインリアルタイムシステム1は、記憶部2、副ロードモジュール呼出手段3、副ロードモジュール置換手段4、プロセス固有テーブル初期化手段9、副ロードモジュール置換管理テーブル5、プロセス固有テーブル60、記憶部71および記憶部72で構成されている。
【0013】
記憶部2は、オンラインリアルタイムシステム1で実行されるトランザクション処理プログラムが記憶されている。記憶部71には、副ロードモジュールM1が記憶されている。記憶部72には、副ロードモジュールM2が記憶されている。
【0014】
副ロードモジュール置換管理テーブル5は、副ロードモジュールのファイル名を示す副ロードモジュール名部51と、新旧2つの副ロードモジュールのいずれを使用中であるかを示す現用副ロードモジュール指示部52と、新しい副ロードモジュール入り口へのポインタを記憶するポインタ部53と、旧い副ロードモジュール入り口へのポインタを記憶するポインタ部54とで構成されている。
【0015】
プロセス固有テーブル60は、トランザクション処理プログラム中で副ロードモジュールの呼び出しをすでに行っているか否かを判断するための、現用副ロードモジュール指示部601と、副ロードモジュール呼出済みフラグ602で構成されている。プロセス固有テーブル初期化手段9は、トランザクション開始時に副ロードモジュール呼出済みフラグ602を「OFF」とする。
【0016】
副ロードモジュール呼出手段3は、トランザクション処理プログラム中で初めて呼び出された場合、プロセス固有テーブル60の副ロードモジュール呼出済みフラグ602が「OFF」であるため、副ロードモジュール置換管理テーブル5の現用副ロードモジュール指示部52をプロセス固有テーブル60の現用副ロードモジュール指示部601に複写し、副ロードモジュール呼出済みフラグ602を「ON」とする。
【0017】
また、副ロードモジュール呼出手段3は、プロセス固有テーブル60を参照し、現用副ロードモジュール指示部601に従い、記憶部3から旧い副ロードモジュール71を呼び出す。副ロードモジュール置換手段4は、ユーザにより操作卓8から副ロードモジュールの切換指示のコマンド投入あると、副ロードモジュール置換テーブル5の現用副ロードモジュール指示部52を旧い副ロードモジュールM1から新しい副ロードモジュールM2へ切り換える。
【0018】
また、副ロードモジュール呼出手段3は、副ロードモジュール置換テーブル5の現用副ロードモジュール指示部52が旧い副ロードモジュールM1から新しい副ロードモジュールM2へ切り換えられていても、トランザクション処理プログラムが同一副ロードモジュールの要求を行った場合、プロセス固有テーブル60の副ロードモジュール呼出済みフラグ602が「ON」となっているので、現用副ロードモジュール指示部601に従い、旧い副ロードモジュールM1を記憶部71から読み出す。
【0019】
さらに、副ロードモジュール呼出手段3は、現在のトランザクション処理プログラムが終了した後、新たに発生したトランザクション処理プログラムにより前記ロードモジュールが要求された場合、プロセス固有テーブル60がリセットされ、現用副ロードモジュール指示部601に新しいロードモジュールM2が書き込まれるため、新しいロードモジュールM2を呼び出す。
【0020】
次に、図1および図2を参照し、一実施形態の動作例を説明する。図2は、前述した副ロードモジュールのトランザクション同期置換方式の動作を示すフローチャートである。副ロードモジュール呼出手段3は、トランザクションプログラムにより副ロードモジュールの呼び出し時に呼び出されて図2のフローチャートに示される処理を行う。
【0021】
例えば、トランザクション処理プログラムが新たに発生したとする。
ステップA1において、副ロードモジュール呼出手段3は、プロセス固有テーブル60の副ロードモジュール呼出済みフラグ602のデータを読み出す。そして、副ロードモジュール呼出手段3は、処理をステップA2へ進める。
【0022】
次に、ステップA2において、副ロードモジュール呼出手段3は、プロセス固有テーブル60の副ロードモジュール呼出済みフラグ602から読み出したデータが「ON」または「OFF」のいずれかであるかの判定を行う。このとき、トランザクション処理プログラム中で初めて呼び出されたため、副ロードモジュール呼出済みフラグ602から読み出したデータは、「OFF」である。このため、副ロードモジュール呼出手段3は、処理をステップA3へ進める。
【0023】
次に、ステップA3において、副ロードモジュール呼出手段3は、副ロードモジュール置換管理テーブル5の現用副ロードモジュール指示部52をプロセス固有テーブル60の現用副ロードモジュール指示部601に複写する。そして、副ロードモジュール呼出手段3は、処理をステップA4へ進める。
【0024】
次に、ステップA4において、副ロードモジュール呼出手段3は、ステップA3における現用副ロードモジュール指示部52をプロセス固有テーブル60の現用副ロードモジュール指示部601に複写した処理に伴い、副ロードモジュール呼出済みフラグ602を「ON」とする。そして、副ロードモジュール呼出手段3は、処理をステップA5へ進める。
【0025】
次に、ステップA5において、副ロードモジュール呼出手段3は、プロセス固有テーブル60を参照し、現用副ロードモジュール指示部601に書き込まれている副ロードモジュールのデータを読み出す。そして、副ロードモジュール呼出手段3は、処理をステップA6へ進める。
【0026】
次に、ステップA6において、副ロードモジュール呼出手段3は、現用副ロードモジュール指示部601に書き込まれている副ロードモジュールのデータが副ロードモジュールM1または副ロードモジュールM2のいずれかを指しているかの判定を行う。
【0027】
ここで、副ロードモジュール呼出手段3は、、現用副ロードモジュール指示部601に書き込まれている副ロードモジュールのデータが副ロードモジュールM1を指していると判定した場合、処理をステップA7へ進める。
【0028】
次に、ステップA7において、副ロードモジュール呼出手段3は、副ロードモジュールM1をポインタ53に示されている記憶部71から読み出す。そして、副ロードモジュール呼出手段3は、副ロードモジュール読み出しの処理を終了する。
【0029】
また、ステップA6において、副ロードモジュール呼出手段3は、、現用副ロードモジュール指示部601に書き込まれている副ロードモジュールのデータが副ロードモジュールM2を指していると判定した場合、処理をステップA8へ進める。
【0030】
次に、ステップA8において、副ロードモジュール呼出手段3は、副ロードモジュールM2をポインタ54に示されている記憶部72から読み出す。そして、副ロードモジュール呼出手段3は、副ロードモジュール読み出しの処理を終了する。
【0031】
また、ステップA2において、副ロードモジュール呼出手段3は、副ロードモジュール呼出済みフラグ602から読み出したデータが「ON」である場合、処理をステップA5へ進める。この後は、上述した説明と同様なので説明を省略する。
【0032】
次に、図3のフローチャートを用いて副ロードモジュール置換手段4の動作を説明する。
ステップB1において、副ロードモジュール置換手段4は、ユーザにより操作卓8から副ロードモジュールの切換指示のコマンド投入あると、副ロードモジュール置換テーブル5の現用副ロードモジュール指示部52を旧い副ロードモジュールM1から新しい副ロードモジュールM2へ切り換える。
【0033】
次に、図4のフローチャートを用いてプロセス固有初期化手段9の動作を説明する。
ステップC1において、プロセス固有初期化手段9は、トランザクション開始時に副ロードモジュール呼出済みフラグ602を「OFF」とする。
【0034】
上述したように、副ロードモジュール呼出手段3は、トランザクション処理プログラムが副ロードモジュールの呼び出しを行うとき呼び出される。そして、この呼び出しが初回である場合、副ロードモジュール呼出手段3は、副ロードモジュール置換管理テーブル5の現用副ロードモジュール指示部52をプロセス固有テーブル60へ複写し、目的の副ロードモジュールの新旧を判定して、対応する副ロードモジュールの呼び出しを行う。
【0035】
次に、操作卓8より副ロードモジュールの切換指示が投入されると、副ロードモジュール置換手段は起動し、副ロードモジュール置換管理テーブル5の現用副ロードモジュール指示部52を旧から新の副ロードモジュールを示すデータに書き換える。
【0036】
その後、トランザクション処理プログラムが再度同一副ロードモジュールが呼び出された場合、副ロードモジュール呼出手段3は、プロセス固有テーブル60の現用副ロードモジュール指示部601のデータに従い、対応する副ロードモジュールの呼び出しを行うため、前回と同一の副ロードモジュールM1(旧い副ロードモジュール)を呼び出すことができる。
【0037】
そのため、上述した本発明による副ロードモジュールのトランザクション同期置換方式は、トランザクション処理中に、副ロードモジュールの動的置換を行っても、複数回の副ロードモジュールの呼び出しにおいて、新旧の異なる副ロードモジュールを呼び出すことを防止できる。
【0038】
【発明の効果】
請求項1記載の発明によれば、トランザクション処理プログラムからの副ロードモジュール呼び出しに用いられる副ロードモジュールのトランザクション同期置換方式において、トランザクション処理プログラムを記憶している第1の記憶部と、一の副ロードモジュールを記憶する第2の記憶部と、他の副ロードモジュールを記憶する第3の記憶部と、前記一の副ロードモジュールと前記他の副ロードモジュールとの置換を要求する要求情報を出力する要求手段と、
この要求情報に基づきトランザクション処理プログラムが前記一の副ロードモジュールまたは前記他の副ロードモジュールのいずれを使用するかを指定する指定手段と、トランザクション処理プログラムの必要とする前記一の副ロードモジュールまたは前記他の副ロードモジュールのいずれかを呼び出す呼出手段と、使用されている前記一の副ロードモジュールと、前記他の副ロードモジュールとの置換の可否を、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行っているか否かの置換許可情報により示す置換許可手段とを具備し、前記呼出手段は、前記置換許可情報を参照し、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行っていなければ、前記指定手段による指定を複写し記憶するとともに、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行ったことを前記置換許可情報として記憶し、前記複写し記憶した指定に基づきいずれの副ロードモジュールを呼び出すかを決定し、一方、トランザクション処理プログラム中で当該副ロードモジュールの呼出を行っていれば、先に複写し記憶した前記指定手段による指定に基づきいずれの副ロードモジュールを呼び出すかを決定し、これにより、前記要求手段が、トランザクション処理中に前記一の副ロードモジュールと、前記他の副ロードモジュールとの置換を要求した場合、前記指定手段が前記他の副ロードモジュールの使用を指定し、前記置換許可情報が置換可であれば、前記呼出手段が前記他の副ロードモジュールを呼び出し、前記一の副ロードモジュールとの置換を行うため、一つのトランザクション内で新旧異なる副ロードモジュールが呼び出されることが回避される。
【図面の簡単な説明】
【図1】 本発明の一実施形態による副ロードモジュールのトランザクション同期置換方式の構成を示すブロック図である。
【図2】 図1の副ロードモジュールのトランザクション同期置換方式における副ロードモジュール呼出手段3の動作を示すフローチャートである。
【図3】 図1の副ロードモジュールのトランザクション同期置換方式における副ロードモジュール置換手段4の動作を示すフローチャートである。
【図4】 図1の副ロードモジュールのトランザクション同期置換方式におけるプロセス固有テーブル初期化手段9の動作を示すフローチャートである。
【図5】 従来の副ロードモジュールのトランザクション置換方式の構成を示すブロック図である。
【符号の説明】
1 オンラインリアルタイムシステム
2、71、72 記憶部
3 副ロードモジュール(LM)呼出手段
4 副ロードモジュール(LM)置換手段
5 副ロードモジュール(LM)置換管理テーブル
8 操作卓
9 プロセス固有テーブル初期化手段
51 副ロードモジュール(LM)名部
52 現用副ロードモジュール(LM)指示部
53 旧副ロードモジュール(LM)入り口点ポインタ
54 新副ロードモジュール(LM)入り口点ポインタ
60 プロセス固有テーブル
601 現用副ロードモジュール(LM)指示部
602 副ロードモジュール(LM)呼出済みフラグ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a transaction synchronous replacement method for a secondary load module that controls the timing for reading a secondary load module during transaction processing performed by a computer.
[0002]
[Prior art]
An example of a conventional subload module (Load Module, LM) replacement method is described in JP-A-6-4477. This conventional sub load module replacement method will be described with reference to FIG. The conventional sub load module replacement method includes an online real-time processing system 1 ′ and a console 8.
[0003]
Further, the online real-time processing system 1 ′ includes the
[0004]
The operation of this conventional sub load module replacement method will be described below.
The sub load module calling means 3 ′ is called from the
[0005]
[Problems to be solved by the invention]
However, the above-described secondary load module replacement method has a drawback in that when a secondary load module is switched during execution of a user transaction, two different old and new secondary load modules are called before and after the switching in one transaction. There is.
[0006]
For this reason, depending on the contents of the logical difference between the old and new sub load modules, the sub load module replacement method described above has a problem in that transaction processing causes logical contradiction in program processing and correct program processing cannot be performed.
[0007]
The present invention has been made under such a background, and the timing of replacing the currently operating secondary load module with a newly prepared secondary load module is matched with the timing of the end of the transaction. The purpose is to provide a transaction synchronous replacement method for a secondary load module that prevents the processing of a mixture of old and new secondary load modules.
[0008]
[Means for Solving the Problems]
According to a first aspect of the present invention, in a transaction synchronous replacement method for a secondary load module used for calling a secondary load module from a transaction processing program, a first storage unit storing the transaction processing program and one secondary load module A request for outputting request information for requesting replacement of the one sub load module with the other sub load module, a second storage unit storing other sub load modules, and a third storage unit storing other sub load modules. Means for designating whether the transaction processing program uses the one subload module or the other subload module based on the request information, and the one subload required by the transaction processing program Module or other secondary load module And calling means for calling the Zureka, and the one sub-load modules used, whether or not substituted with the other sub-load module, whether the calling of the secondary load modules in a transaction processing program Replacement permission means indicated by the replacement permission information, and the calling means refers to the replacement permission information, and if the secondary load module is not called in the transaction processing program, the designation means designates Copying and storing, storing as the replacement permission information that the sub load module has been called in the transaction processing program, determining which sub load module to call based on the copied and stored designation, On the other hand, in the transaction processing program, If conducted out to determine whether calling one of the sub-load module based on designation by the designation unit that copied previously stored thereby, the request means, said one sub-load modules during transaction processing If, when requesting a replacement of the other sub-load modules, the designation means specifies the use of the other sub-load module, the replacement permission information if substitutable, the calling means of said other A sub- load module is called to perform replacement with the one sub-load module.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a transaction synchronous replacement system for a secondary load module according to an embodiment of the present invention. In this figure, 8 is a console, which issues a sub load module replacement command to the online real system 1 by a user operation.
[0012]
The online real-time system 1 includes a
[0013]
The
[0014]
The sub load module replacement management table 5 includes a sub load
[0015]
The process specific table 60 includes an active sub load
[0016]
When the secondary load module calling means 3 is called for the first time in the transaction processing program, the secondary load module called
[0017]
Further, the secondary load
[0018]
Further, the sub load module calling means 3 is configured so that the transaction processing program is the same sub load even if the current sub load
[0019]
Further, when the load module is requested by a newly generated transaction processing program after the current transaction processing program is terminated, the sub load module calling means 3 resets the process specific table 60 and indicates the current sub load module instruction. Since the new load module M2 is written in the
[0020]
Next, an operation example of one embodiment will be described with reference to FIGS. 1 and 2. FIG. 2 is a flowchart showing the operation of the transaction synchronous replacement method of the sub load module described above. The sub load module calling means 3 is called by the transaction program when the sub load module is called and performs the processing shown in the flowchart of FIG.
[0021]
For example, assume that a transaction processing program is newly generated.
In step A <b> 1, the secondary load
[0022]
Next, in step A2, the secondary load
[0023]
Next, in
[0024]
Next, in step A4, the secondary load
[0025]
Next, in step A5, the secondary load
[0026]
Next, in step A6, the secondary load
[0027]
Here, when the sub load
[0028]
Next, in step A <b> 7, the secondary load
[0029]
In step A6, if the secondary load
[0030]
Next, in step A <b> 8, the secondary load
[0031]
In step A2, when the data read from the sub load
[0032]
Next, the operation of the sub load module replacing unit 4 will be described using the flowchart of FIG.
In step B1, when the user inputs a command for switching the sub load module from the console 8 by the user, the sub load module replacing unit 4 changes the current sub load
[0033]
Next, the operation of the process
In step C1, the process
[0034]
As described above, the secondary load
[0035]
Next, when a sub load module switching instruction is input from the console 8, the sub load module replacement means is activated, and the current sub load
[0036]
Thereafter, when the same secondary load module is called again by the transaction processing program, the secondary load module calling means 3 calls the corresponding secondary load module according to the data of the working secondary load
[0037]
For this reason, the transaction synchronous replacement method for the secondary load module according to the present invention described above is different even if the secondary load module is dynamically replaced during transaction processing. Can be prevented from calling.
[0038]
【The invention's effect】
According to the first aspect of the present invention, in the transaction synchronous replacement method of the secondary load module used for calling the secondary load module from the transaction processing program, the first storage unit storing the transaction processing program and the one secondary storage module Outputs request information for requesting replacement of the second storage module storing the load module, the third storage module storing other sub load modules, and the one sub load module and the other sub load module. Requesting means, and
Based on the request information, the transaction processing program designates whether to use either the one sub load module or the other sub load module, and the one sub load module required by the transaction processing program or the and calling means for calling one of the other sub-load modules, and the one sub-load modules used, whether or not substituted with the other sub-load module call of the sub-load module in transaction processor Replacement permission means indicating whether or not the replacement permission information indicates whether or not, the calling means refers to the replacement permission information, and if the sub load module is not called in the transaction processing program, When the designation by the designation means is copied and stored In the transaction processing program, the fact that the sub load module has been called is stored as the replacement permission information, and it is determined which sub load module is to be called based on the copied and stored designation. If the sub load module is called in the program, it is determined which sub load module is to be called based on the designation by the designation means that has been copied and stored in advance. a secondary load module of the one in, when requesting a replacement of the other sub-load modules, the designation means specifies the use of the other sub-load module, the replacement permission information if substitutable the calling means calls the other sub-load modules, sub loading module of the one To perform the substitution of the Le, it is avoided that one old different sub load module within the transaction is called.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a transaction synchronous replacement system for a secondary load module according to an embodiment of the present invention.
FIG. 2 is a flowchart showing the operation of the sub load module calling means 3 in the transaction synchronous replacement method of the sub load module of FIG. 1;
FIG. 3 is a flowchart showing the operation of the sub load module replacing unit 4 in the transaction synchronous replacement system of the sub load module of FIG. 1;
4 is a flowchart showing the operation of the process specific table initializing means 9 in the transaction synchronous replacement method of the secondary load module of FIG. 1;
FIG. 5 is a block diagram showing a configuration of a conventional transaction replacement method of a secondary load module.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Online real-
Claims (1)
トランザクション処理プログラムを記憶している第1の記憶部と、
一の副ロードモジュールを記憶する第2の記憶部と、
他の副ロードモジュールを記憶する第3の記憶部と、
前記トランザクション処理プログラムが前記一の副ロードモジュール及び前記他の副ロードモジュールのいずれの副ロードモジュールを使用するかを示す現用副ロードモジュール情報を保持する管理テーブルと、
前記トランザクション処理プログラムが使用するロードモジュールの置換を要求する要求情報に基づき、前記管理テーブルの保持する現用副ロードモジュール情報を置換する副ロードモジュール置換手段と、
前記トランザクション処理プログラムによるトランザクション処理開始時にリセットされ、該トランザクション処理における副ロードモジュールの初回呼び出し時に所定の値がセットされる呼出済みフラグと、
前記呼出済みフラグがセットされる際に、前記管理テーブルに保持された現用副ロードモジュール情報が複写される現用副ロードモジュール指示手段と、
前記トランザクション処理プログラムの要求により副ロードモジュールを呼び出す呼出手段と、を備え、
前記呼出手段は、前記トランザクション処理プログラムにより副ロードモジュールの呼び出し要求を受けると、前記呼出済フラグに前記所定の値がセットされているか否かを参照し、前記所定の値がセットされていなければ前記管理テーブルに保持される現用副ロードモジュール情報に基づいて前記第2の記憶部または前記第3の記憶部から副ロードモジュールを呼び出し、前記所定の値がセットされていれば前記現用副ロードモジュール指示手段に保持された現用副ロードモジュール情報に基づいて前記第2の記憶部または前記第3の記憶部から副ロードモジュールを呼び出すことを特徴とする副ロードモジュールのトランザクション同期置換方式。In the transaction synchronous replacement method of the secondary load module used for calling the secondary load module from the transaction processing program,
A first storage unit storing a transaction processing program;
A second storage unit that stores one secondary load module;
A third storage unit for storing other sub load modules;
A management table holding active sub load module information indicating which sub load module of the one sub load module or the other sub load module is used by the transaction processing program;
Sub load module replacement means for replacing the current sub load module information held in the management table based on request information for requesting replacement of the load module used by the transaction processing program;
A called flag that is reset at the start of transaction processing by the transaction processing program and that is set to a predetermined value when the secondary load module is first called in the transaction processing;
A working sub load module instruction means for copying the working sub load module information held in the management table when the called flag is set;
And a calling means for calling the sub-load module in response to a request of the transaction processor,
When the calling means receives a call request of the sub load module by the transaction processing program, the calling means refers to whether or not the predetermined value is set in the called flag, and if the predetermined value is not set A sub load module is called from the second storage unit or the third storage unit based on the active sub load module information held in the management table, and if the predetermined value is set, the active sub load module A transaction synchronous replacement system for a sub load module, wherein the sub load module is called from the second storage unit or the third storage unit based on the active sub load module information held in the instructing means .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11954998A JP3652878B2 (en) | 1998-04-28 | 1998-04-28 | Transaction synchronous replacement method for secondary load modules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11954998A JP3652878B2 (en) | 1998-04-28 | 1998-04-28 | Transaction synchronous replacement method for secondary load modules |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH11312108A JPH11312108A (en) | 1999-11-09 |
JP3652878B2 true JP3652878B2 (en) | 2005-05-25 |
Family
ID=14764069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11954998A Expired - Fee Related JP3652878B2 (en) | 1998-04-28 | 1998-04-28 | Transaction synchronous replacement method for secondary load modules |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3652878B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4336852B2 (en) | 2002-12-18 | 2009-09-30 | 株式会社 インテック・ネットコア | Calculation apparatus, calculation program, and calculation method |
-
1998
- 1998-04-28 JP JP11954998A patent/JP3652878B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH11312108A (en) | 1999-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100413915B1 (en) | Computer system based on microprocessor, its driving method and backup system therefor | |
JP2004127205A (en) | Method and apparatus for storing data in nonvolatile memory | |
JPH03278126A (en) | Computer system starting system | |
JP2875842B2 (en) | Programmable controller | |
JP3652878B2 (en) | Transaction synchronous replacement method for secondary load modules | |
JP5080318B2 (en) | Image processing apparatus and access control method | |
JP2004206424A (en) | Data processing device and data transfer method for data processing device | |
JP2001331379A (en) | Method and device for rewriting flash memory update program | |
US5765148A (en) | Database processing apparatus and database processing method for variable length objects, and computer-readable memory medium for storing database processing program | |
JP5023169B2 (en) | Required patch list creation apparatus and method | |
JP3013856B2 (en) | File generation automatic selection processor | |
JP4149619B2 (en) | Priority conversion system | |
JP2006344022A (en) | Equipment and program starting method | |
JP2003167747A (en) | Module execution system and module execution method | |
JPH07129079A (en) | Method for installing programming loader | |
KR100545796B1 (en) | Method and apparatus for changing operating system of embedded system using server push (PSH) | |
JP2574537B2 (en) | Process management equipment | |
KR20000003162A (en) | Effective operation method of flash memory | |
JPS5834856B2 (en) | Kiokuseigiyosouchi | |
JP3863902B2 (en) | Instruction change method, instruction change method, instruction change program, and recording medium recording instruction change program | |
JP2000267866A (en) | Device for acquiring end state of two-stage process | |
JPS6037074A (en) | Picture processing method | |
JP3891128B2 (en) | Online transaction processing system terminal definition generation / update method | |
JPH06269032A (en) | Electronic exchange | |
JPH04349532A (en) | Os boot system for computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20010619 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041224 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050224 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080304 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090304 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090304 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100304 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100304 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110304 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110304 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120304 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |