JPH0566935A - Information processing system - Google Patents

Information processing system

Info

Publication number
JPH0566935A
JPH0566935A JP3227060A JP22706091A JPH0566935A JP H0566935 A JPH0566935 A JP H0566935A JP 3227060 A JP3227060 A JP 3227060A JP 22706091 A JP22706091 A JP 22706091A JP H0566935 A JPH0566935 A JP H0566935A
Authority
JP
Japan
Prior art keywords
file
load module
input
time
patch
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
JP3227060A
Other languages
Japanese (ja)
Inventor
Shinsuke Tsuji
伸輔 辻
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.)
NIPPON DENKI FIELD SERVICE
NEC Fielding Ltd
Original Assignee
NIPPON DENKI FIELD SERVICE
NEC Fielding 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 NIPPON DENKI FIELD SERVICE, NEC Fielding Ltd filed Critical NIPPON DENKI FIELD SERVICE
Priority to JP3227060A priority Critical patent/JPH0566935A/en
Publication of JPH0566935A publication Critical patent/JPH0566935A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To prevent the misapplication of a patch file in an information processing system even if plural program producers or an outsider performs the control between a load module file and the patch file. CONSTITUTION:An input device 10 stores an input file consisting of a load module file name and a patch file name. A CPU 20 includes a control means 41, an input means 42, a production date acquiring means 43, two production date storage memories 44 and 45, a comparison means 46, and an output means 47. Then the means 46 compares the date and time of production of the load module file stored in the memory 44 with that of the patch file stored in the memory 45. Thus the matching property is decided between the load module file and the patch file.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムに関
し、特に、プログラム修正データが格納されたパッチフ
ァイルとプログラムファイルとが同時に格納されている
情報処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system, and more particularly to an information processing system in which a patch file storing program correction data and a program file are simultaneously stored.

【0002】[0002]

【従来の技術】従来、この種の情報処理システムは、図
10に示すように、システム全体を制御する中央処理装
置20と、後述する各種情報が記憶されている外部記憶
装置30と、中央処理装置20にデータを入力する入力
装置10と、プログラムの起動およびプログラムの終了
結果を表示する表示装置11と、処理結果が出力される
出力装置40と、時刻装置50とから構成されている。
ここで、中央処理装置20には、すべてのプログラムを
制御するオペレーティングシステム21が格納されてお
り、オペレーティングシステム21により外部記憶装置
30に各種情報が格納される。
2. Description of the Related Art Conventionally, as shown in FIG. 10, an information processing system of this type has a central processing unit 20 for controlling the entire system, an external storage unit 30 for storing various information to be described later, and a central processing unit. It is composed of an input device 10 for inputting data to the device 20, a display device 11 for displaying a result of starting and ending a program, an output device 40 for outputting a processing result, and a time device 50.
Here, the central processing unit 20 stores an operating system 21 that controls all programs, and the operating system 21 stores various information in the external storage device 30.

【0003】外部記憶装置30が磁気ディスク装置であ
る場合には、以下に示す情報が外部記憶装置30に格納
される。 (1)ボリュームラベル31 ボリュームラベル31は、図11(A)に示すように、
ラベル情報311 およびファイルディレクトリ開始位置
312 などからなる。 (2)ファイルディレクトリ32 ファイルディレクトリ32は、図11(B)に示すよう
に、ファイル群33に格納されている各データファイル
36のファイル名321 ,ファイル開始位置322 およ
び作成日時323 などからなる。 (3)ファイル群33 ファイル群33は、図11(C)に示すように、ロード
モジュールファイル34,パッチファイル35,ソース
ファイル36,修正ロードモジュールファイル37およ
び各種データファイル38などからなる。ここで、パッ
チファイル35はプログラム修正データを格納したもの
であり、また、修正ロードモジュールファイル37はロ
ードモジュールファイル34にパッチファイル35によ
る修正を加えたものである。
When the external storage device 30 is a magnetic disk device, the following information is stored in the external storage device 30. (1) Volume Label 31 As shown in FIG.
The label information 31 1 and the file directory start position 31 2 are included. (2) File directory 32 As shown in FIG. 11B, the file directory 32 includes a file name 32 1 , a file start position 32 2 and a creation date and time 32 3 of each data file 36 stored in the file group 33. Consists of. (3) File Group 33 As shown in FIG. 11C, the file group 33 includes a load module file 34, a patch file 35, a source file 36, a modified load module file 37, various data files 38, and the like. Here, the patch file 35 stores the program correction data, and the modified load module file 37 is the load module file 34 modified by the patch file 35.

【0004】次に、この情報システムにおけるソースフ
ァイル36の作成からプログラムリリースまでの手順の
一例について、図12に示すフローチャートを参照して
説明する。
Next, an example of the procedure from the creation of the source file 36 to the program release in this information system will be described with reference to the flowchart shown in FIG.

【0005】プログラム作成者がソースファイル36を
作成する(ステップF1)。ソースファイル36をコン
パイルすることにより、オブジェクトモジュールファイ
ルを作成したのち(ステップF2)、オブジェクトモジ
ュールファイルとライブラリファイルとをリンケージす
ることにより、ロードモジュールファイル34を作成す
る(ステップF3)。ロードモジュールファイル34を
評価して(ステップF4)、合格か不合格かの判定を行
う(ステップF5)。判定が合格の場合には、プログラ
ムリリースを行って(ステップF11)、処理が終了さ
れる。一方、判定が不合格の場合には、ソースプログラ
ム36の修正を行うか否かの判断を行い(ステップF
6)、ソースプログラム36の修正を行う場合には、ス
テップF1のソースファイル36作成に戻り、最初から
の手順を繰り返す。これに対して、ソースプログラム3
6の修正を行わない場合には、プログラム作成者は、ロ
ードモジュールファイル34を修正するために使用する
パッチファイル35を作成をする(ステップF7)。そ
の後、パッチツールを用いて、パッチファイル35によ
ってロードモジュールファイル34を修正することによ
り、修正ロードモジュールファイル37を作成する(ス
テップF8)。修正ロードモジュールファイル37を評
価して(ステップF9)、合格か不合格かの判定を行う
(ステップF10)。判定が合格の場合には、プログラ
ムリリースを行って(ステップF11)、処理が終了さ
れる。一方、判定が不合格の場合には、ステップF6に
戻り、以降の手順が繰り返される。
The program creator creates the source file 36 (step F1). An object module file is created by compiling the source file 36 (step F2), and then a load module file 34 is created by linking the object module file and the library file (step F3). The load module file 34 is evaluated (step F4), and it is determined whether it is a pass or a fail (step F5). If the determination is successful, the program is released (step F11), and the process ends. On the other hand, if the determination is unsuccessful, it is determined whether or not the source program 36 is modified (step F
6) If the source program 36 is to be modified, the process returns to the step F1 for creating the source file 36, and the procedure from the beginning is repeated. On the other hand, the source program 3
When the modification of 6 is not performed, the program creator creates the patch file 35 used to modify the load module file 34 (step F7). After that, the patch module 35 is used to modify the load module file 34 by using a patch tool to create a modified load module file 37 (step F8). The modified load module file 37 is evaluated (step F9), and it is determined whether the file has passed or failed (step F10). If the determination is successful, the program is released (step F11), and the process ends. On the other hand, if the determination is unsuccessful, the process returns to step F6 and the subsequent steps are repeated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来の情報処理システムでは、ロードモジュールファ
イル34とパッチファイル35との管理を一人のプログ
ラム作成者が行っている場合には問題ないが、複数のプ
ログラム作成者または第三者がこの管理を行う場合に
は、パッチファイル35の誤適用という問題を引き起こ
すことがある。この問題の具体的例として、2人のプロ
グラム作成者A,Bが共同でロードモジュールファイル
34を作成した場合について、以下に説明する。
However, in the above-described conventional information processing system, there is no problem if one program creator manages the load module file 34 and the patch file 35, but there is no problem. When the program creator or a third party manages this, it may cause a problem that the patch file 35 is erroneously applied. As a specific example of this problem, a case where two program creators A and B jointly create the load module file 34 will be described below.

【0007】2人のプログラム作成者A,Bが共同で作
成したロードモジュールファイル34を評価(図12の
ステップF4参照)した結果、不合格であり、一方のプ
ログラム作成者Aがパッチファイル35とパッチツール
を用いて修正ロードモジュールファイル37を作成し
(同図のステップF8参照)、修正ロードモジュールフ
ァイル37の評価判定で合格となり、プログラムリリー
スしたのち、このプログラム作成者Aがソースプログラ
ム36およびロードモジュールファイル34を再作成し
て、前述したパッチファイル35を不要としたとする。
その後、プログラムリリースした修正ロードモジュール
ファイル37で問題が生じ、他方のプログラム作成者B
がその修正を担当して、パッチファイル35による修正
を行う場合、他方のプログラム作成者Bが新たに作成し
たパッチファイル351 と一方のプログラム作成者Aが
以前に作成したパッチファイル35とパッチツールとを
用いて修正ロードモジュールファイル37を再作成する
と、一方のプログラム作成者Aが以前にロードモジュー
ルファイル34を再作成しているため、図12のステッ
プF9,F10における修正ロードモジュールファイル
37の評価において不合格になってしまい、その原因を
解明するのに、無駄な時間を費やすという問題がある。
As a result of evaluating the load module file 34 jointly created by the two program creators A and B (see step F4 in FIG. 12), the result is unsuccessful, and one program creator A creates the patch file 35 as the patch file 35. After creating the modified load module file 37 using the patch tool (see step F8 in the figure), the evaluation judgment of the modified load module file 37 is passed, and after the program is released, this program creator A loads the source program 36 and the load program. It is assumed that the module file 34 is recreated and the above-mentioned patch file 35 becomes unnecessary.
After that, a problem occurs in the modified load module file 37 released by the program, and the other program creator B
Is responsible for the correction, and when the patch file 35 is used for the correction, the other patch file 35 1 created by the program creator B and the patch file 35 created by the other program creator A and the patch tool 35 When the modified load module file 37 is recreated by using and, the program creator A on one side has previously created the load module file 34. Therefore, the evaluation of the modified load module file 37 in steps F9 and F10 of FIG. However, there is a problem in that wasted time is wasted in clarifying the cause.

【0008】本発明の目的は、複数のプログラム作成者
または第三者がロードモジュールファイルとパッチファ
イルとの管理を行っても、パッチファイルの誤適用を防
止できる情報処理システムを提供することにある。
An object of the present invention is to provide an information processing system capable of preventing erroneous application of a patch file even if a plurality of program creators or third parties manage the load module file and the patch file. ..

【0009】[0009]

【課題を解決するための手段】本発明の情報処理システ
ムは、オペレーティングシステムを有する中央処理装置
と、外部記憶装置と、入力装置と、出力装置とを含み、
前記外部記憶装置が、ソースファイルと、ロードモジュ
ールファイルと、パッチファイルと、修正ロードモジュ
ールファイルと、これらのファイルの作成日時を格納す
るファイルディレクトリとを格納し、前記中央処理装置
が、前記ソースファイルから前記ロードモジュールファ
イルを作成し、該ロードモジュールファイルによる前記
ソースファイルの評価が不合格であるときに前記パッチ
ファイルを作成し、該パッチファイルから前記修正ロー
ドモジュールファイルを作成して、該修正ロードモジュ
ールファイルにより前記ソースファイルの評価を行う情
報処理システムにおいて、前記入力装置が、ロードモジ
ュールファイル名とパッチファイル名とからなる入力フ
ァイルを格納し、前記中央処理装置が、制御手段と、前
記入力ファイルを前記入力装置から読み出して、前記ロ
ードモジュールファイル名および前記パッチファイル名
を前記制御手段に出力する入力手段と、前記ファイルデ
ィレクトリを前記外部記憶装置から読み出して、前記ロ
ードモジュールファイルの作成日時および前記パッチフ
ァイルの作成日時を前記制御手段に出力する作成日時取
得手段と、前記制御手段に入力された前記ロードモジュ
ールファイルの作成日時および前記パッチファイルの作
成日時が格納される作成日時格納メモリと、該作成日時
格納メモリに格納された前記ロードモジュールファイル
の作成日時と前記パッチファイルの作成日時とを比較
し、該比較の結果を前記制御手段に出力する比較手段
と、前記制御手段から入力されるメッセージを前記出力
装置に出力する出力手段とを含む。
An information processing system according to the present invention includes a central processing unit having an operating system, an external storage device, an input device, and an output device.
The external storage device stores a source file, a load module file, a patch file, a modified load module file, and a file directory that stores creation dates and times of these files, and the central processing unit stores the source file. The load module file from the patch module, the patch file is created when the evaluation of the source file by the load module file is unsuccessful, the modified load module file is created from the patch file, and the modified load is created. In an information processing system for evaluating the source file by a module file, the input device stores an input file consisting of a load module file name and a patch file name, and the central processing unit has a control means and the input file. To Input means for reading out the load module file name and the patch file name to the control means, and reading the file directory from the external storage device for creating the load module file and the patch A creation date and time obtaining means for outputting the creation date and time of the file to the control means; a creation date and time storage memory for storing the creation date and time of the load module file and the patch file creation date inputted to the control means; Comparing the creation date and time of the load module file stored in the date and time storage memory with the creation date and time of the patch file, and comparing the result of the comparison to the control means, a message input from the control means. Output means for outputting to the output device.

【0010】[0010]

【作用】本発明の情報処理システムは、作成日時格納メ
モリに格納されたロードモジュールファイルの作成日時
とパッチファイルの作成日時とを比較手段で比較するこ
とにより、ロードモジュールファイルとパッチファイル
との不整合を容易に検出することができる。
The information processing system of the present invention compares the creation date and time of the load module file stored in the creation date and time storage memory with the creation date and time of the patch file by the comparing means, thereby determining whether or not the load module file and the patch file are different. The match can be easily detected.

【0011】[0011]

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

【0012】図1は、本発明の情報処理システムの一実
施例を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of an information processing system of the present invention.

【0013】本実施例の情報処理システムは、入力装置
10が、ロードモジュールファイル名121 とパッチフ
ァイル名122 とからなる入力ファイル12(図8参
照)を格納し、中央処理装置20が、制御手段41と、
入力ファイル12を入力装置10から読み出して、ロー
ドモジュールファイル名121 およびパッチファイル名
122 を制御手段41に出力する入力手段42と、ファ
イルディレクトリ32を外部記憶装置30から読み出し
て、ロードモジュールファイル34の作成日時323
よびパッチファイル35の作成日時323 を制御手段4
1に出力する作成日時取得手段43と、制御手段41に
入力されたロードモジュールファイル34の作成日時3
3 およびパッチファイル35の作成日時323 がそれ
ぞれ格納される2つの作成日時格納メモリ44,45
と、各作成日時格納メモリ44,45に格納されたロー
ドモジュールファイルの作成日時323 とパッチファイ
ル35の作成日時323 とを比較し、比較の結果を制御
手段41に出力する比較手段46と、制御手段41から
入力されるメッセージを出力装置40に出力する出力手
段47とを含む点が、図10に示した従来の情報処理シ
ステムと異なる。
In the information processing system of this embodiment, the input device 10 stores an input file 12 (see FIG. 8) consisting of a load module file name 12 1 and a patch file name 12 2, and the central processing unit 20 Control means 41,
The input file 12 is read from the input device 10, the load module file name 12 1 and the patch file name 12 2 are output to the control means 41, and the file directory 32 is read from the external storage device 30 and the load module file is read. 34 date of creation 32 3 and creating a patch file 35 dates 32 3 control unit 4
Creation date / time acquisition means 43 for outputting to 1 and creation date / time 3 of the load module file 34 input to the control means 41
2 3 and two creation creation date 32 3 are respectively stored in the patch file 35 date and time storage memory 44, 45
When a comparison means 46 which compares the creation date and time 32 3 creation date 32 3 and patch file 35 of the load module file stored in the created date and time storage memory 44 and 45, and outputs the result of the comparison to the control means 41 10 is different from the conventional information processing system shown in FIG. 10 in that it includes an output unit 47 that outputs a message input from the control unit 41 to the output device 40.

【0014】次に、本実施例の情報処理システムの動作
について、図2〜図9に示す各フローチャートを参照し
て説明する。
Next, the operation of the information processing system of this embodiment will be described with reference to the flow charts shown in FIGS.

【0015】本実施例の情報システムにおけるソースフ
ァイル36の作成からプログラムリリースまでの手順
は、図9に示したフローチャートに従って行われるが、
ステップF20に示す判定、すなわち、ステップF7で
作成したパッチファイル35と、ステップF2に示すコ
ンパイラで作成されたロードモジュールファイル34と
の整合判定を行う点が、図12に示した従来の情報処理
システムにおける手順と異なる。以下、ステップF20
に示す判定について詳細に説明する。
The procedure from the creation of the source file 36 to the program release in the information system of this embodiment is performed according to the flow chart shown in FIG.
The conventional information processing system shown in FIG. 12 is that the determination shown in step F20, that is, the matching determination between the patch file 35 created in step F7 and the load module file 34 created by the compiler shown in step F2 is performed. Different from the procedure in. Hereafter, step F20
The determination shown in will be described in detail.

【0016】図8に示すように、ロードモジュールファ
イル名121 とパッチファイル名122 とからなる入力
ファイル12が格納された入力装置10に用意してお
き、表示装置11からこの入力ファイル12を指定する
ことにより、起動指示を行う。オペレーティングシステ
ム21は、入力装置10から入力された入力ファイル1
2の名前を起動パラメータとして制御手段41を起動す
る。
As shown in FIG. 8, an input file 12 including a load module file name 12 1 and a patch file name 12 2 is prepared in the input device 10, and the input file 12 is displayed from the display device 11. By designating, a start instruction is given. The operating system 21 uses the input file 1 input from the input device 10.
The control means 41 is started using the name of 2 as a start parameter.

【0017】起動された制御手段41は、図2および図
3に示すフローチャートに従って動作する。すなわち、
まず、起動パラメータより入力ファイル名の設定を行っ
たのち(ステップA1)、入力ファイル12をオープン
し(ステップA2)、その結果の判定(ステップA3)
が成功のときは、入力手段42の呼び出しを行う(ステ
ップA4)。
The activated control means 41 operates according to the flow charts shown in FIGS. That is,
First, after setting the input file name from the start parameters (step A1), the input file 12 is opened (step A2), and the result is judged (step A3).
If is successful, the input means 42 is called (step A4).

【0018】入力手段42は、図4に示すフローチャー
トに従って、入力装置10より1レコード分のデータ入
力を行い(ステップB1)、データが正常に入力された
か否かの判定を行う(ステップB2)。データが正常に
入力されたと判定した場合には、入力データ長にレコー
ド長を代入したのち(ステップB3)、戻り値に”0”
を代入して(ステップB4)、処理を終了する。一方、
ステップB2においてデータが異常に入力されたと判定
した場合には、I/ Oエラーの判定を行い(ステップ
B5)、I/ Oエラー以外の場合には、入力データ長
に”EOF”(End of File)を代入したの
ち(ステップB6)、戻り値に”0”を代入して(ステ
ップB7)、処理を終了する。これに対して、I/ O
エラーの場合には、戻り値に”−1”を代入して(ステ
ップB8)、処理を終了する。
According to the flow chart shown in FIG. 4, the input means 42 inputs data for one record from the input device 10 (step B1) and determines whether or not the data is normally input (step B2). When it is determined that the data has been normally input, the record length is substituted for the input data length (step B3), and then the return value is "0".
Is substituted (step B4), and the process ends. on the other hand,
If it is determined in step B2 that the data has been abnormally input, an I / O error is determined (step B5), and if it is other than the I / O error, the input data length is "EOF" (End of File). ) Is substituted (step B6), "0" is substituted for the return value (step B7), and the process is terminated. On the other hand, I / O
In the case of an error, "-1" is assigned to the return value (step B8), and the process ends.

【0019】制御手段41は、図2に示したフローチャ
ートに従って、入力手段42から入力される戻り値が”
0”か否かの判定を行い(ステップA5)、戻り値が”
0”の場合には、入力データ長が”EOF”か否かの判
定を行う(ステップA6)。入力データ長が”EOF”
以外の場合には、図8に示した入力ファイル12に格納
されているロードモジュールファイル名121 とパッチ
ファイル名122 との設定を行ったのち(ステップA
7)、ロードモジュールファイル名121 を引き数とし
て作成日時取得手段43(図1参照)の呼び出しを行う
(ステップA8)。
In the control means 41, the return value input from the input means 42 is "according to the flow chart shown in FIG.
It is judged whether or not it is "0" (step A5), and the return value is "
If it is 0 ", it is determined whether the input data length is" EOF "(step A6). The input data length is" EOF ".
In other cases, the load module file name 12 1 and the patch file name 12 2 stored in the input file 12 shown in FIG. 8 are set (step A).
7), the creation date / time acquisition means 43 (see FIG. 1) is called with the load module file name 12 1 as an argument (step A8).

【0020】作成日時取得手段43は、外部記憶装置3
0(図1参照)が磁気ディスクの場合には、図5に示す
フローチャートに従って、外部記憶装置30からボリュ
ームラベルファイル31の呼び出しを行う(ステップC
1)。ボリュームラベルファイル31の呼び出しが成功
したか否かの判定を行い(ステップC2)、成功の場合
には、ファイルディレクトリ32を読み出す(ステップ
C3)。ファイルディレクトリ32の読み出しが成功し
たか否かの判定を行い(ステップC4)、成功の場合に
は、ファイルディレクトリ32に格納されているファイ
ル名321 (図11(B)参照)から、引き数として入
力されたロードモジュールファイル名121 の検索を行
う(ステップC5)。検索した結果、ロードモジュール
ファイル名121 が検出されると(ステップC6)、フ
ァイルディレクトリ32に格納されているロードモジュ
ールファイル名121 の作成日時323 (図11(B)
参照)の読み出しを行ったのち(ステップC7)、戻り
値に”0”を代入して(ステップC8)、処理を終了す
る。一方、ステップC2における判定,ステップC4に
おける判定およびステップC6における判定がそれぞ
れ”N”である場合には、戻り値に”−1”を代入して
(ステップC9)、処理を終了する。
The creation date / time acquisition means 43 is an external storage device 3.
If 0 (see FIG. 1) is a magnetic disk, the volume label file 31 is called from the external storage device 30 according to the flowchart shown in FIG. 5 (step C).
1). It is determined whether or not the calling of the volume label file 31 has succeeded (step C2), and if successful, the file directory 32 is read (step C3). It is determined whether or not the reading of the file directory 32 has succeeded (step C4). In the case of success, the argument is determined from the file name 32 1 (see FIG. 11B) stored in the file directory 32. The load module file name 12 1 input as is searched (step C5). As a result of the search, when the load module file name 12 1 is detected (step C6), the creation date and time 32 3 of the load module file name 12 1 stored in the file directory 32 (FIG. 11B).
After reading (see step C7) (step C7), "0" is assigned to the return value (step C8), and the process ends. On the other hand, when the determinations in step C2, step C4, and step C6 are "N", "-1" is assigned to the return value (step C9), and the process ends.

【0021】制御手段41は、図2に示したフローチャ
ートに従って、作成日時取得手段43から入力される戻
り値が”0”か否かの判定を行い(ステップA9)、戻
り値が”0”の場合には、作成日時取得手段43から入
力されるロードモジュールファイル名121 の作成日時
323 を一方の作成日時格納メモリ44に格納する(ス
テップA10)。次に、パッチファイル名122 を引き
数として作成日時取得手段43の呼び出しを行う(ステ
ップA11)。作成日時取得手段43は、前述したロー
ドモジュールファイル名121 を引き数としたときと同
様の動作を行う。制御手段41は、図3に示したフロー
チャートに従って、作成日時取得手段43から入力され
る戻り値が”0”か否かの判定を行い(ステップA1
6)、戻り値が”0”の場合には、作成日時取得手段4
3から入力されるパッチファイル名122 の作成日時3
3 を他方の作成日時格納メモリ45に格納したのち
(ステップA17)、比較手段46の呼び出しを行う
(ステップA18)。
The control means 41 determines whether or not the return value input from the creation date / time acquisition means 43 is "0" according to the flowchart shown in FIG. 2 (step A9), and the return value is "0". In this case, the creation date / time 32 3 of the load module file name 12 1 input from the creation date / time acquisition means 43 is stored in the one creation date / time storage memory 44 (step A10). Next, the call of the creation date and time acquisition means 43 the patch file name 12 2 as an argument (step A11). The creation date / time acquisition means 43 performs the same operation as when the load module file name 12 1 described above is used as an argument. The control unit 41 determines whether the return value input from the creation date / time acquisition unit 43 is “0” according to the flowchart shown in FIG. 3 (step A1).
6) If the return value is "0", the creation date / time acquisition means 4
Creation date and time 3 of the patch file name 12 2 input from 3
After storing 2 3 in the other creation date / time storage memory 45 (step A17), the comparison means 46 is called (step A18).

【0022】比較手段46は、図6に示すフローチャー
トに従って、一方の作成日時格納メモリ44の内容を読
み出して第1の日時に代入し(ステップD1)、他方の
作成日時格納メモリ45の内容を読み出して第2の日時
に代入したのち(ステップD2)、第1の日時と第2の
日時の比較を行う(ステップD3)。比較の結果、第1
の日時が第2の日時よりも早い(第1の日時<第2の日
時)場合には、戻り値に”0”を代入して(ステップD
4)、処理を終了する。一方、第1の日時が第2の日時
よりも遅いか同じ(第1の日時≧第2の日時)場合に
は、戻り値に”−1”を代入して(ステップD5)、処
理を終了する。
According to the flow chart shown in FIG. 6, the comparing means 46 reads out the contents of the one creation date / time storage memory 44 and substitutes it for the first date / time (step D1), and reads out the contents of the other creation date / time storage memory 45. After substituting it for the second date and time (step D2), the first date and time and the second date and time are compared (step D3). As a result of the comparison, the first
If the date and time of is earlier than the second date and time (first date and time <second date and time), "0" is substituted for the return value (step D
4), the process ends. On the other hand, if the first date and time is later than or equal to the second date and time (first date and time ≥ second date and time), "-1" is assigned to the return value (step D5), and the process ends. To do.

【0023】制御手段41は、図3に示したフローチャ
ートに従って、比較手段46から入力される戻り値が”
0”か否かの判定を行い(ステップA19)、戻り値
が”0”の場合には、ロードモジュールファイル34は
パッチファイル35よりも遅く作成されたものと判定し
て、図2のステップA4に示した入力手段42の呼び出
し動作に戻り、以降の手順を繰り返す。そして、ステッ
プA6に示した判定で入力データ長が”EOF”である
場合には、正常終了メッセージの作成を行い(ステップ
A14)、入力ファイルクローズを行ったのち(図3の
ステップA20)、出力手段46(図1参照)の呼び出
しを行う(ステップA21)。出力手段46は、図7に
示したフローチャートに従って、制御手段41から入力
される正常終了メッセージを出力装置40(図1参照)
に出力して(ステップE1)、処理を終了する。その
後、制御手段41も処理を終了する(正常終了)。
In the control means 41, the return value input from the comparison means 46 is "according to the flow chart shown in FIG.
If the return value is "0", it is determined that the load module file 34 was created later than the patch file 35, and the return value is "0" (step A19). Then, the procedure is returned to the calling operation of the input means 42, and the following steps are repeated, and if the input data length is "EOF" in the determination shown in step A6, a normal termination message is created (step A14). ), After the input file is closed (step A20 in FIG. 3), the output means 46 (see FIG. 1) is called (step A21), and the output means 46 follows the flow chart shown in FIG. The normal termination message input from the output device 40 (see FIG. 1)
To (step E1), and the process ends. After that, the control means 41 also ends the process (normal end).

【0024】これに対して、以下に示す場合には、制御
手段41は異常終了する。 (1)図2のステップA3に示した入力ファイルオープ
ンの結果の判定で”失敗”と判定した場合には、オープ
ンエラーメッセージの作成を行ったのち(ステップA1
2)、出力手段46の呼び出しを行う(図3のステップ
A25)。 (2)図2のステップA5に示した入力手段42呼び出
し時の戻り値が”0”以外の場合には、I/Oエラーメ
ッセージの作成を行い(ステップA13)、入力ファイ
ルクローズを行ったのち(図3のステップA24)、出
力手段46の呼び出しを行う(ステップA25)。 (3)図2のステップA9に示した作成日時取得手段4
3呼び出し時の戻り値が”0”以外の場合には、ファイ
ル未検出メッセージの作成を行い(ステップA15)、
入力ファイルクローズを行ったのち(図3のステップA
24)、出力手段46の呼び出しを行う(ステップA2
5)。 (4)図3のステップA16に示した作成日時取得手段
43呼び出し時の戻り値が”0”以外の場合には、ファ
イル未検出メッセージの作成を行い(ステップA2
2)、入力ファイルクローズを行ったのち(ステップA
24)、出力手段46の呼び出しを行う(ステップA2
5)。 (5)ステップA19に示した比較手段46呼び出し時
の戻り値が”0”以外の場合には、ファイル不整合メッ
セージの作成を行い(ステップA23)、入力ファイル
クローズを行ったのち(ステップA24)、出力手段4
6の呼び出しを行う(ステップA25)。
On the other hand, in the following cases, the control means 41 ends abnormally. (1) If the result of the input file open shown in step A3 of FIG. 2 is "failure", an open error message is created (step A1).
2), the output means 46 is called (step A25 in FIG. 3). (2) If the return value when calling the input means 42 shown in step A5 of FIG. 2 is other than "0", an I / O error message is created (step A13), and the input file is closed. (Step A24 in FIG. 3), the output means 46 is called (step A25). (3) Creation date acquisition means 4 shown in step A9 of FIG.
3 If the return value at the time of calling 3 is other than "0", create a file undetected message (step A15),
After closing the input file (step A in FIG. 3)
24), the output means 46 is called (step A2).
5). (4) If the return value at the time of calling the creation date / time acquisition means 43 shown in step A16 of FIG. 3 is other than "0", a file undetected message is created (step A2).
2) After closing the input file (step A)
24), the output means 46 is called (step A2).
5). (5) If the return value at the time of calling the comparing means 46 shown in step A19 is other than "0", a file inconsistency message is created (step A23), and the input file is closed (step A24). , Output means 4
6 is called (step A25).

【0025】以上示した異常終了時に呼び出された出力
手段46は、図7に示したフローチャートに従って、上
記作成されたオープンエラーメッセージ,I/Oエラー
メッセージ,ファイル未検出メッセージおよびファイル
不整合メッセージを出力装置40に出力する(ステップ
E1)。
The output means 46 called upon abnormal termination described above outputs the open error message, I / O error message, file non-detection message and file inconsistency message created in accordance with the flow chart shown in FIG. Output to the device 40 (step E1).

【0026】情報処理システムは、図9のステップF2
0に示した判定の結果、制御手段41から正常終了メッ
セージが出力されたことを確認すると”整合”と判定
し、ステップF8に示したパッチファイル35の作成以
降の動作を行う。一方、制御手段41から正常終了メッ
セージ以外のメッセージが出力されたことを確認する
と”不整合”と判定し、ステップF6に示したソースプ
ログラム36の修正を行うか否かの判断以降の動作を行
う。
The information processing system uses step F2 in FIG.
As a result of the determination shown in 0, when it is confirmed that the normal termination message is output from the control means 41, it is determined to be "match", and the operation after the creation of the patch file 35 shown in step F8 is performed. On the other hand, when it is confirmed that a message other than the normal termination message is output from the control means 41, it is determined to be "mismatch", and the operation after the determination of whether to correct the source program 36 shown in step F6 is performed. ..

【0027】したがって、本実施例の情報処理システム
では、図9のステップF20における判定で、ロードモ
ジュールファイル34とパッチファイル35との不整合
を検出することができるため、パッチファイル35の誤
適用が防止できる。その結果、図9のステップF10に
おける判定で不合格となったときのソースファイル36
の再作成および再作成したソースファイル36の再評価
に要する時間を大幅に短縮できる。
Therefore, in the information processing system according to the present embodiment, the mismatch in the load module file 34 and the patch file 35 can be detected by the determination in step F20 of FIG. It can be prevented. As a result, the source file 36 when the judgment in step F10 in FIG.
It is possible to remarkably reduce the time required for re-creating and re-evaluating the re-created source file 36.

【0028】[0028]

【発明の効果】本発明は、上述のとおり構成されている
ので、次に記載する効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0029】作成日時格納メモリに格納されたロードモ
ジュールファイルの作成日時とパッチファイルの作成日
時とを比較手段で比較することにより、ロードモジュー
ルファイルとパッチファイルとの不整合を容易に検出す
ることができるため、複数のプログラム作成者または第
三者がロードモジュールファイルとパッチファイルとの
管理を行っても、パッチファイルの誤適用を防止でき
る。
By comparing the creation date and time of the load module file stored in the creation date and time storage memory with the creation date and time of the patch file, the inconsistency between the load module file and the patch file can be easily detected. Therefore, even if a plurality of program creators or third parties manage the load module file and the patch file, it is possible to prevent erroneous application of the patch file.

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

【図1】本発明の情報処理システムの一実施例を示す概
略構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of an information processing system of the present invention.

【図2】図1に示した制御手段の動作の前半部を説明す
るためのフローチャートである。
FIG. 2 is a flowchart for explaining the first half of the operation of the control means shown in FIG.

【図3】図1に示した制御手段の動作の後半部を説明す
るためのフローチャートである。
3 is a flowchart for explaining the latter half of the operation of the control means shown in FIG.

【図4】図1に示した入力手段の動作を説明するための
フローチャートである。
4 is a flowchart for explaining the operation of the input means shown in FIG.

【図5】図1に示した作成日時取得手段の動作を説明す
るためのフローチャートである。
5 is a flowchart for explaining the operation of the creation date / time acquisition means shown in FIG. 1. FIG.

【図6】図1に示した比較手段の動作を説明するための
フローチャートである。
FIG. 6 is a flowchart for explaining the operation of the comparison means shown in FIG.

【図7】図1に示した出力手段の動作を説明するための
フローチャートである。
FIG. 7 is a flowchart for explaining the operation of the output means shown in FIG.

【図8】図1に示した入力装置が格納する入力ファイル
の内容を示す図である。
8 is a diagram showing the contents of an input file stored in the input device shown in FIG.

【図9】図1に示した情報処理システムの動作を説明す
るためのフローチャートである。
9 is a flowchart for explaining the operation of the information processing system shown in FIG.

【図10】この種の情報処理システムの従来例の一つを
示す概略構成図である。
FIG. 10 is a schematic configuration diagram showing one conventional example of an information processing system of this type.

【図11】図10に示した外部記憶装置に格納されてい
る各種情報の内容を示す図であり、(A)はボリューム
ラベルの内容を示す図、(B)はファイルディレクトリ
の内容を示す図、(C)はファイル群の内容を示す図で
ある。
11 is a diagram showing the contents of various information stored in the external storage device shown in FIG. 10, (A) showing the contents of a volume label, and (B) showing the contents of a file directory. , (C) are diagrams showing the contents of a file group.

【図12】図10に示した情報処理システムの動作を説
明するためのフローチャートである。
12 is a flowchart for explaining the operation of the information processing system shown in FIG.

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

10 入力装置 11 表示装置 12 入力ファイル 121 ロードモジュールファイル名 122 パッチファイル名 20 中央処理装置 21 オペレーティングシステム 30 外部記憶装置 31 ボリュームラベル 32 ファイルディレクトリ 321 ファイル名 322 ファイル開始位置 323 作成日時 33 ファイル群 34 ロードモジュールファイル 35 パッチファイル 36 ソースファイル 37 修正ロードモジュールファイル 38 データファイル 40 出力装置 41 制御手段 42 入力手段 43 作成日時取得手段 44,45 作成日時格納メモリ 46 比較手段 47 出力手段 50 時刻装置10 Input Device 11 Display Device 12 Input File 12 1 Load Module File Name 12 2 Patch File Name 20 Central Processing Unit 21 Operating System 30 External Storage Device 31 Volume Label 32 File Directory 32 1 File Name 32 2 File Start Position 32 3 Creation Date and Time 33 file group 34 load module file 35 patch file 36 source file 37 modified load module file 38 data file 40 output device 41 control means 42 input means 43 creation date and time acquisition means 44, 45 creation date and time storage memory 46 comparison means 47 output means 50 time apparatus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 オペレーティングシステムを有する中央
処理装置と、外部記憶装置と、入力装置と、出力装置と
を含み、 前記外部記憶装置が、ソースファイルと、ロードモジュ
ールファイルと、パッチファイルと、修正ロードモジュ
ールファイルと、これらのファイルの作成日時を格納す
るファイルディレクトリとを格納し、 前記中央処理装置が、前記ソースファイルから前記ロー
ドモジュールファイルを作成し、該ロードモジュールフ
ァイルによる前記ソースファイルの評価が不合格である
ときに前記パッチファイルを作成し、該パッチファイル
から前記修正ロードモジュールファイルを作成して、該
修正ロードモジュールファイルにより前記ソースファイ
ルの評価を行う情報処理システムにおいて、 前記入力装置が、ロードモジュールファイル名とパッチ
ファイル名とからなる入力ファイルを格納し、 前記中央処理装置が、 制御手段と、 前記入力ファイルを前記入力装置から読み出して、前記
ロードモジュールファイル名および前記パッチファイル
名を前記制御手段に出力する入力手段と、 前記ファイルディレクトリを前記外部記憶装置から読み
出して、前記ロードモジュールファイルの作成日時およ
び前記パッチファイルの作成日時を前記制御手段に出力
する作成日時取得手段と、 前記制御手段に入力された前記ロードモジュールファイ
ルの作成日時および前記パッチファイルの作成日時が格
納される作成日時格納メモリと、 該作成日時格納メモリに格納された前記ロードモジュー
ルファイルの作成日時と前記パッチファイルの作成日時
とを比較し、該比較の結果を前記制御手段に出力する比
較手段と、 前記制御手段から入力されるメッセージを前記出力装置
に出力する出力手段とを含むことを特徴とする情報処理
システム。
1. A central processing unit having an operating system, an external storage device, an input device, and an output device, wherein the external storage device is a source file, a load module file, a patch file, and a modified load. A module file and a file directory that stores creation dates and times of these files are stored, the central processing unit creates the load module file from the source file, and the evaluation of the source file by the load module file is not performed. In the information processing system, wherein the patch file is created when the result is acceptable, the modified load module file is created from the patch file, and the source file is evaluated by the modified load module file, wherein the input device loads Module An input file including a file name and a patch file name is stored, the central processing unit reads out the input file from the input unit, and the control unit reads out the load module file name and the patch file name. Input means for outputting the file directory from the external storage device, the creation date and time acquisition means for outputting the creation date and time of the load module file and the creation date and time of the patch file to the control means; A creation date and time storage memory that stores the input creation date and time of the load module file and the creation date and time of the patch file, the creation date and time of the load module file and the creation date and time of the patch file stored in the creation date and time storage memory And the result of the comparison The information processing system characterized in that it comprises a comparing means for outputting a control means, and output means for outputting the message input from said control means to the output device.
JP3227060A 1991-09-06 1991-09-06 Information processing system Pending JPH0566935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3227060A JPH0566935A (en) 1991-09-06 1991-09-06 Information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3227060A JPH0566935A (en) 1991-09-06 1991-09-06 Information processing system

Publications (1)

Publication Number Publication Date
JPH0566935A true JPH0566935A (en) 1993-03-19

Family

ID=16854907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3227060A Pending JPH0566935A (en) 1991-09-06 1991-09-06 Information processing system

Country Status (1)

Country Link
JP (1) JPH0566935A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8698586B2 (en) 2010-07-02 2014-04-15 Samsung Electro-Mechanics Co., Ltd. Transformer and flat panel display device including the same
JP6334776B1 (en) * 2017-04-20 2018-05-30 三菱電機株式会社 Electronic control unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8698586B2 (en) 2010-07-02 2014-04-15 Samsung Electro-Mechanics Co., Ltd. Transformer and flat panel display device including the same
JP6334776B1 (en) * 2017-04-20 2018-05-30 三菱電機株式会社 Electronic control unit

Similar Documents

Publication Publication Date Title
US8181166B2 (en) System and method for determining when an EJB compiler needs to be executed
GB2381344A (en) Synchronization of media data
KR890008693A (en) Software Validation and Validation Configuration Management System
US20070100903A1 (en) Systems and methods for compiling applications on a test server
US6401241B1 (en) Class archive software packages
CN112860312A (en) Method and device for detecting item dependency relationship change
CN113535141A (en) Database operation code generation method and device
JPH0566935A (en) Information processing system
EP2006772B1 (en) Database system and method for external backup
AU2021248108A1 (en) Data migration
US8000451B1 (en) System and method for managing network switch transaction dependencies
JPH02304635A (en) Program runaway detecting system
JPH01193944A (en) System for automatically selecting test item
US7401340B2 (en) Supporting cross-component references in an object-oriented programming system
EP1312077A1 (en) Input device for voice recognition and articulation using keystroke data.
CN109684870B (en) Self-contained file information configuration method and system
CN117389653A (en) Method, device, equipment and storage medium for automatically configuring operating system white list
CN117668875A (en) Method for automatically checking software input/output storage MD5
CN117668876A (en) System for automatically checking software input/output warehouse-in MD5
JPH07192062A (en) Report slip output and processing system for closure
JP2000010692A (en) Application device and method provided with redo/undo function and automatic preservation function of work
JP2008217367A (en) Fault restoration method and system for batch processing
JPH0816382A (en) Erroneously corrected line retrieving device
JPH0272445A (en) System file confirming system
JP2001282520A (en) Method and device for preparing program and recording medium for program preparation