JP6907760B2 - Check device, check program and program check method - Google Patents
Check device, check program and program check method Download PDFInfo
- Publication number
- JP6907760B2 JP6907760B2 JP2017126798A JP2017126798A JP6907760B2 JP 6907760 B2 JP6907760 B2 JP 6907760B2 JP 2017126798 A JP2017126798 A JP 2017126798A JP 2017126798 A JP2017126798 A JP 2017126798A JP 6907760 B2 JP6907760 B2 JP 6907760B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- executed
- check
- operating system
- production
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 35
- 238000004519 manufacturing process Methods 0.000 claims description 167
- 238000012360 testing method Methods 0.000 claims description 53
- 238000012545 processing Methods 0.000 description 42
- 238000011161 development Methods 0.000 description 39
- 238000012790 confirmation Methods 0.000 description 14
- 238000010248 power generation Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 230000007547 defect Effects 0.000 description 7
- 238000003860 storage Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000013475 authorization Methods 0.000 description 3
- 230000002950 deficient Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000009826 distribution Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010923 batch production Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
この発明は、JCLなどのように特定の言語により記述されたロードをチェックするチェック装置、チェックプログラムおよびプログラムチェック方法に関する。 The present invention relates to a check device, a check program, and a program check method for checking loads written in a specific language, such as JCL.
汎用的なコンピュータ装置にジョブを実行させる言語であるJCL(Job Control Language:ジョブコントロール言語)においては、ジョブの名前やジョブの実行に際して使用する装置の種類などを記述することができる。JCLを用いてプログラムを作成することにより、条件分岐など高度な制御をおこなうことができる。 In JCL (Job Control Language), which is a language for causing a general-purpose computer device to execute a job, the name of the job and the type of device used for executing the job can be described. By creating a program using JCL, advanced control such as conditional branching can be performed.
このようなJCLは、具体的には、たとえば、電力の送配電をおこなう電気事業者が管理するシステムにおいて、複数の手順からなる処理のうちの、あらかじめ登録された一連の処理を自動的に連続しておこなうバッチ(batch)処理をおこなう際に、当該システムにおけるメインフレームに実行させる処理(ジョブ)の記述に用いることができる。 Specifically, for example, in a system managed by an electric power company that transmits and distributes electric power, such a JCL automatically continuously performs a series of pre-registered processes among processes consisting of a plurality of procedures. It can be used to describe the process (job) to be executed on the mainframe in the system when performing the batch process to be performed.
従来、たとえば、電気事業者が管理するコンピュータシステムにおいては、JCLによって記述されたバッチ処理にかかるジョブの動作をテスト環境において確認した後に本番環境に登録していた。また、従来、電気事業者が管理するシステムにおいては、メインフレームのOS(Operation System)により、JCLの記述内容を解読して該当する処理を実行する。 Conventionally, for example, in a computer system managed by an electric power company, the operation of a job related to batch processing described by JCL has been confirmed in a test environment and then registered in a production environment. Further, conventionally, in a system managed by an electric power company, the description content of JCL is deciphered by the OS (Operation System) of the mainframe and the corresponding process is executed.
関連する技術として、具体的には、従来、たとえば、機能モジュールをプログラムに新たに追加した場合、機能モジュールの追加前後における基本モジュールのソースファイルの差分が、差分リストに登録された差分と重複する場合に、重複する差分をユーザに提示することにより開発プログラムのソースファイルの変更履歴を管理するようにした技術があった(たとえば、下記特許文献1を参照。)。 As a related technology, specifically, in the past, for example, when a functional module is newly added to a program, the difference in the source file of the basic module before and after the addition of the functional module overlaps with the difference registered in the difference list. In some cases, there was a technique for managing the change history of the source file of the development program by presenting the duplicate difference to the user (see, for example, Patent Document 1 below).
しかしながら、上述した従来の技術は、本番環境とテスト環境とが異なるシステムであるため、本番環境において、たとえば、世代ファイルの事前作成、JCLの構成不良、世代登録漏れなどの事前の初期作業不足があった場合、テスト環境において動作が確認されたジョブであっても本番環境において実行できないことがあるという問題があった。 However, since the above-mentioned conventional technology is a system in which the production environment and the test environment are different, in the production environment, for example, there is a lack of initial work in advance such as generation file pre-creation, JCL configuration failure, and generation registration omission. If there is, there is a problem that even a job whose operation has been confirmed in the test environment may not be executed in the production environment.
通年にわたって常時滞りなく電気を送配電する電気事業者が管理運用するコンピュータシステムにおいては、本番環境において実行できない場合、送配電に支障をきたすことが懸念されるため、開発ロードが本番環境において実行できることの確認は重要となる。 In a computer system managed and operated by an electric power company that constantly transmits and distributes electricity throughout the year, if it cannot be executed in the production environment, there is a concern that the transmission and distribution will be hindered, so the development load can be executed in the production environment. Confirmation is important.
この発明は、上述した従来技術による問題点を解消するため、本番システムにおいて障害が発生することを抑制できるチェック装置、チェックプログラムおよびプログラムチェック方法を提供することを目的とする。 An object of the present invention is to provide a check device, a check program, and a program check method capable of suppressing the occurrence of a failure in a production system in order to solve the above-mentioned problems caused by the prior art.
また、この発明は、上述した従来技術による問題点を解消するため、本番システムに登録する前のチェック対象プログラムに不備があるか否かの確認作業にかかる作業者の負担軽減および確認作業にかかる時間短縮を図ることができ、かつ、本番システムにおいて障害が発生することを抑制することができるチェック装置、チェックプログラムおよびプログラムチェック方法を提供することを目的とする。 Further, in order to solve the above-mentioned problems caused by the prior art, the present invention is required to reduce the burden on the operator and perform the confirmation work for confirming whether or not there is a defect in the program to be checked before registering in the production system. It is an object of the present invention to provide a check device, a check program, and a program check method capable of shortening the time and suppressing the occurrence of a failure in a production system.
上述した課題を解決し、目的を達成するため、この発明にかかるチェック装置は、本番システムにおいて実行されている本番ロードの実行時に参照されるデータを記憶するデータベースを備え、当該データベースを参照して前記本番ロードを実行するオペレーションシステムプログラムがインストールされたチェック装置であって、前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得する取得部と、前記取得部によって取得されたチェック対象プログラムを、前記オペレーションシステムに実行させるテスト実行部と、前記テスト実行部による実行結果を出力する結果出力部と、を備えたことを特徴とする。 In order to solve the above-mentioned problems and achieve the object, the check device according to the present invention includes a database that stores data referred to when the production load is executed in the production system, and refers to the database. A check device in which an operation system program that executes the production load is installed, and an acquisition unit that acquires a check target program in a format that can be executed by the operation system, and a check target program acquired by the acquisition unit. It is characterized by including a test execution unit to be executed by the operation system and a result output unit to output an execution result by the test execution unit.
また、この発明にかかるチェック装置は、上記の発明において、前記チェック対象プログラムが、複数のプログラムモジュールによって構成され、前記テスト実行部が、前記複数のプログラムモジュールのうち実行できないプログラムモジュールを検出し、前記結果出力部が、前記実行できないプログラムモジュールに関する情報を出力することを特徴とする。 Further, in the check device according to the present invention, in the above invention, the check target program is composed of a plurality of program modules, and the test execution unit detects a program module that cannot be executed among the plurality of program modules. The result output unit is characterized in that it outputs information about the program module that cannot be executed.
また、この発明にかかるチェック装置は、上記の発明において、前記チェック対象プログラムが、実行順序が規定された複数のプログラムモジュールによって構成され、前記テスト実行部が、前記複数のプログラムモジュールのうち前記実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールの実行を停止して、当該実行できないプログラムモジュールのつぎの実行順序の前記プログラムモジュールを実行することを特徴とする。 Further, in the check device according to the present invention, in the above invention, the check target program is composed of a plurality of program modules whose execution order is defined, and the test execution unit executes the program among the plurality of program modules. When a program module that cannot be executed is detected, the execution of the program module that cannot be executed is stopped, and the program module in the next execution order of the program module that cannot be executed is executed.
また、この発明にかかるチェック装置は、上記の発明において、前記チェック対象プログラムが、一方向または双方向リンクする複数のプログラムモジュールによって構成され、前記テスト実行部が、前記複数のプログラムモジュールを前記リンクの方向にしたがった順序で実行し、当該複数のプログラムモジュールのうち前記実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールにリンクする別のプログラムモジュールを実行することを特徴とする。 Further, in the above invention, the check device according to the present invention is composed of a plurality of program modules in which the program to be checked is unidirectionally or bidirectionally linked, and the test execution unit links the plurality of program modules. When the program module that cannot be executed is detected among the plurality of program modules, another program module linked to the program module that cannot be executed is executed.
また、この発明にかかるチェック装置は、上記の発明において、前記テスト実行部が、前記複数のプログラムモジュールのうちリンク先のプログラムモジュールの不存在により実行できないプログラムモジュールを検出し、前記結果出力部が、前記実行できないプログラムモジュールごとに、当該前記実行できないプログラムモジュールの識別情報を出力することを特徴とする。 Further, in the check device according to the present invention, in the above invention, the test execution unit detects a program module that cannot be executed due to the absence of the linked program module among the plurality of program modules, and the result output unit detects the program module that cannot be executed. It is characterized in that the identification information of the non-executable program module is output for each of the non-executable program modules.
また、この発明にかかるチェック装置は、上記の発明において、前記チェック対象プログラムが、前記データベースを参照して実行する複数のプログラムモジュールによって構成され、前記テスト実行部が、前記複数のプログラムモジュールのうち前記データベースの参照不可により実行できないプログラムモジュールを検出し、前記結果出力部が、前記実行できないプログラムモジュールごとに、当該前記実行できないプログラムモジュールの識別情報または当該前記実行できないプログラムモジュールの参照先となる前記データベースにおける論理ブロックアドレスを出力することを特徴とする。 Further, in the above invention, the check device according to the present invention is composed of a plurality of program modules in which the program to be checked is executed with reference to the database, and the test execution unit is among the plurality of program modules. The program module that cannot be executed due to the inability to refer to the database is detected, and the result output unit serves as the identification information of the program module that cannot be executed or the reference destination of the program module that cannot be executed for each program module that cannot be executed. It is characterized by outputting the logical block address in the database.
また、この発明にかかるチェック装置は、上記の発明において、前記テスト実行部が、複数のデータセットによって定義され、前記プログラムモジュールの実行に際して参照されるデータセットファイルのブロックサイズが、あらかじめ定められた所定のサイズであるか否かに基づいて、前記データベースの参照不可により実行できないプログラムモジュールを検出することを特徴とする。 Further, in the check device according to the present invention, in the above invention, the test execution unit is defined by a plurality of data sets, and the block size of the data set file referred to when executing the program module is predetermined. It is characterized in that a program module that cannot be executed due to inaccessibility of the database is detected based on whether or not the size is a predetermined size.
また、この発明にかかるチェック装置は、上記の発明において、前記テスト実行部が、前記データセットファイルを参照するプログラムモジュールの実行にかかる装置に関する情報を与えるUNITパラメタにしたがって、前記データベースの参照不可により実行できないプログラムモジュールを検出することを特徴とする。 Further, in the above invention, the check device according to the present invention cannot refer to the database according to the UNIT parameter in which the test execution unit gives information about the device for executing the program module that refers to the data set file. It is characterized by detecting a program module that cannot be executed.
また、この発明にかかるチェック装置は、上記の発明において、前記チェック対象プログラムが、実行結果に関する情報を記述した出力ファイルを作成するとともに当該出力ファイルの世代に関する情報を登録するプログラムモジュールを含み、前記結果出力部が、前記チェック対象プログラムの実行により作成された出力ファイルの世代が、当該チェック対象プログラムの実行以前に作成された出力ファイルの世代に後続するか否かに関する情報を出力することを特徴とする。 Further, in the above invention, the check device according to the present invention includes a program module in which the check target program creates an output file in which information regarding the execution result is described and registers information regarding the generation of the output file. The result output unit is characterized by outputting information regarding whether or not the generation of the output file created by executing the check target program follows the generation of the output file created before the execution of the check target program. And.
また、この発明にかかるチェックプログラムは、本番システムにおいて実行されている本番ロードの実行時に参照されるデータを記憶するデータベースを備え、当該データベースを参照して前記本番ロードを実行するオペレーションシステムプログラムがインストールされたチェック装置に、前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得し、取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力する、処理を実行させることを特徴とする。 Further, the check program according to the present invention includes a database that stores data referred to when the production load is executed in the production system, and the operation system program that executes the production load with reference to the database is installed. The checked device acquires a check target program in a format that can be executed by the operation system, causes the operation system to execute the acquired check target program, and outputs the execution result of the check target program by the operation system. It is characterized by outputting and executing processing.
また、この発明にかかるプログラムチェック方法は、本番システムにおいて実行されている本番ロードの実行時に参照されるデータを記憶するデータベースを備え、当該データベースを参照して前記本番ロードを実行するオペレーションシステムプログラムがインストールされたチェック装置に、前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得させ、取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力させる、ことを特徴とする。 Further, the program check method according to the present invention includes a database that stores data referred to when the production load is executed in the production system, and an operation system program that refers to the database and executes the production load. The installed check device is made to acquire the check target program in a format that can be executed by the operation system, the acquired check target program is executed by the operation system, and the execution result of the check target program by the operation system. Is characterized by being output.
この発明にかかるチェック装置、チェックプログラムおよびプログラムチェック方法によれば、本番システムにおいて障害が発生することを抑制できるという効果を奏する。 According to the check device, the check program, and the program check method according to the present invention, it is possible to suppress the occurrence of a failure in the production system.
また、この発明にかかるチェック装置、チェックプログラムおよびプログラムチェック方法によれば、本番システムに登録する前のチェック対象プログラムに不備があるか否かの確認作業にかかる作業者の負担軽減および確認作業にかかる時間短縮を図ることができ、かつ、本番システムにおいて障害が発生することを抑制することができるという効果を奏する。 Further, according to the check device, the check program, and the program check method according to the present invention, it is possible to reduce the burden on the operator and perform the confirmation work for confirming whether or not the program to be checked is defective before registering in the production system. This has the effect of reducing the time required and suppressing the occurrence of failures in the production system.
以下に添付図面を参照して、この発明にかかるチェック装置、チェックプログラムおよびプログラムチェック方法の好適な実施の形態を詳細に説明する。 Preferred embodiments of the check device, the check program, and the program check method according to the present invention will be described in detail below with reference to the accompanying drawings.
(チェック装置の構成)
まず、この発明にかかる実施の形態のチェック装置の構成について説明する。図1は、この発明にかかる実施の形態のチェック装置の構成を示す説明図である。図1において、本番登録システム(本番システム)100は、電気事業者によって管理運用される。
(Configuration of check device)
First, the configuration of the check device according to the embodiment of the present invention will be described. FIG. 1 is an explanatory diagram showing a configuration of a check device according to an embodiment of the present invention. In FIG. 1, the production registration system (production system) 100 is managed and operated by an electric power company.
本番登録システム100は、事業所ごとに構築されている複数の制御システム110a〜110eによって構成されている。事業所ごとの制御システム110a〜110eは、それぞれ、各事業所に設置されたコンピュータ装置や記憶装置などの各種のリソースによって構築されている。
The
この発明にかかる実施の形態のチェック装置は、たとえば、事業所ごとの制御システム110a〜110eのうち、特定の事業所の制御システム110aによって実現することができる。以下、本番登録システム100を構築する複数の制御システム110a〜110eのうち、チェック装置を実現する制御システム110aを、チェック装置110aとして説明する。
The check device of the embodiment according to the present invention can be realized by, for example, the
チェック装置110aは、たとえば、サーバコンピュータなどの汎用的なコンピュータ装置によって実現することができる。チェック装置110aには、この発明にかかる実施の形態のチェックプログラムがインストールされている。本番登録システム100においては、チェック装置110aが、インストールされているチェックプログラムを実行することにより、この発明にかかる実施の形態のプログラムチェック方法が実現される。
The
本番登録システム100において、他の事業所の制御システム100b〜110eは、それぞれ、チェック装置110aに接続されている。これにより、チェック装置110aによって、他の事業所の制御システムのプログラムチェックをおこなうことができる。
In the
チェック装置110aは、本番登録DB(Data Base)121、本番LIB(Library)122、受付LIB123、テストLIB124、依頼処理部125、本番登録処理部126a、認可処理部127、登録処理部128、終了処理部129、を備えている。本番登録DB121は、電気事業者が管理運用する本番登録システム100の運用に用いる各種のデータを記憶する。
The
具体的に、本番登録DB121は、たとえば、発電所、変電所、送電設備、通信設備などの保守管理にかかる各種のデータを記憶する。より具体的には、本番登録DB121は、たとえば、発電所における発電条件、過去の発電量の履歴などに関するデータを、発電所ごとなどの事業所単位で記憶する。
Specifically, the
本番LIB122aは、本番ロードを記憶する。本番ロードは、複数のプログラムモジュールによって構成されており、本番登録システム100において実際に運用されている。本番登録システム100は、本番ロードの実行に際して、本番登録DB121に記憶された各種のデータを用いる。
The
本番ロードは、発電所ごとなどの事業所ごとに開発されている。本番ロードは、たとえば、発電所の規模、当該発電所に接続されている負荷の容量、電気供給の傾向など事業所ごとに固有のデータに基づいて、当該事業所による発電や送配電を管理・制御すべく、発電所ごとなどの事業所ごとに開発されている。異なる事業所の本番ロードどうしは、たとえば、参照するデータ(データの参照先)が異なる。 Production roads are being developed for each business site, such as for each power plant. The production load manages power generation and power transmission and distribution by each business establishment based on data unique to each business establishment, such as the scale of the power plant, the capacity of the load connected to the power plant, and the tendency of electricity supply. It is developed for each business establishment such as each power plant for control. For example, the data to be referred to (data reference destination) is different between the production loads of different business establishments.
また、異なる事業所の本番ロードどうしは、たとえば、本番ロードを構成する複数のプログラムモジュールの組み合わせが異なる。具体的には、たとえば、特殊な発電システムを備えた事業所の管理・制御に用いる本番ロードにおいて当該特殊な発電システムの駆動制御のために組み込まれているプログラムモジュールは、当該特殊な発電システムを備えていない事業所においては不要となる。このため、本番ロードにおいては、異なる事業所であっても同じプログラムモジュールが組み込まれていたり、同様の設備を備えた事業所であっても当該設備の管理・制御に異なるプログラムが組み込まれていたりする。 Further, the production loads of different business establishments have different combinations of a plurality of program modules constituting the production loads, for example. Specifically, for example, a program module incorporated for drive control of the special power generation system in a production load used for management and control of a business establishment equipped with the special power generation system uses the special power generation system. It is not necessary at business establishments that do not have it. For this reason, in the production load, the same program module may be incorporated even in different offices, or different programs may be incorporated in the management and control of the equipment even in the offices equipped with similar equipment. do.
本番登録された本番ロードおよび当該本番ロードを構成する各プログラムモジュールは、いずれも、本番LIB122aに登録される前に開発ロードとしてテストLIB124に登録され、チェック装置110aにおいて動作することが確認されている。チェック装置110aは、開発ロードを、この発明にかかるチェック対象プログラムとして実行し、開発ロードの動作確認をおこなうことにより、プログラムチェックをおこなう。
It has been confirmed that the production load registered in production and each program module constituting the production load are registered in the
受付LIB123aは、本番LIB122aに登録するロード(本番ロード)を一時的に記憶する。受付LIB123aは、依頼処理部125を介して、本番登録システム100から本番LIB122aに対する本番ロードの登録を依頼する依頼要求を受け付ける。受付LIB123aは、依頼要求を受け付けた場合、開発ロードとしてテストLIB124に登録された後にシステムコンピュータにおいて動作することが確認された開発ロードを、本番ロードとして受け付けて記憶する。
The reception LIB123a temporarily stores the load (production load) registered in the production LIB122a. The reception LIB123a receives a request request for registration of the production load from the
開発ロードは、複数のプログラムモジュールによって構成されている。開発ロードは、本番ロードを構成する複数のプログラムモジュールと、本番ロードを構成する複数のプログラムモジュールの世代とは世代が異なる別のプログラムモジュールと、によって構成されている。 The development load consists of multiple program modules. The development load is composed of a plurality of program modules constituting the production load and another program module having a generation different from that of the plurality of program modules constituting the production load.
開発ロードは、本番ロードを構成する複数のプログラムモジュールの少なくとも一部を、複数のプログラムモジュールの世代とは世代が異なる別のプログラムモジュールに差し替えることによって構成することができる。あるいは、開発ロードは、本番ロードを構成する複数のプログラムモジュールに、複数のプログラムモジュールとは世代が異なる別のプログラムモジュールを追加することによって構成することができる。 The development load can be configured by replacing at least a part of the plurality of program modules constituting the production load with another program module having a generation different from the generation of the plurality of program modules. Alternatively, the development load can be configured by adding another program module of a generation different from that of the plurality of program modules to the plurality of program modules constituting the production load.
依頼処理部125は、依頼システム130および本番登録依頼システム140と接続している。依頼システム130は、当該依頼システム130の操作者とシステムとのインターフェースをつかさどる。依頼処理部125は、たとえば、依頼システム130において受け付けた依頼操作に応じて依頼システム130から依頼処理部125に出力される依頼要求に基づき、チェック装置110aとは別のシステムにおいてそれぞれ作成されたプログラムモジュールを開発ロードとしてテストLIB124に登録する。
The
また、依頼処理部125は、たとえば、本番登録依頼システム140において受け付けた依頼操作に応じて本番登録依頼システム140から依頼処理部125に出力される依頼要求に基づき、テストLIB124に登録された開発ロードを本番ロードとして受付LIB123aに登録する。受付LIB123aは、本番登録依頼システム140の依頼操作に応じて、本番LIB122aに登録するロードを当該本番LIB122aに登録するまでの間、一時的に記憶する。
Further, the
本番登録処理部126aは、受付LIB123aに一時的に記憶されたロードを本番LIB122aに登録する。受付LIB123aに一時的に記憶されたロードは、本番登録処理部126aによって本番LIB122aに登録された時点において本番ロードとなる。本番登録処理部126aは、受付LIB123aに対して依頼処理部125を介してアクセスすることによって、受付LIB123aが一時的に記憶するロードを、本番ロードとして本番LIB122aに登録する。
The production
本番登録処理部126aは、本番LIB122aに登録されたロードの動作を中断させることのないように、更新後のロードを構成する各プログラムモジュールを更新する。具体的には、本番登録処理部126aは、たとえば、或る時点において、実行中のプログラムモジュールおよび当該プログラムモジュールの実行に際して共働するプログラムモジュールは更新せず、実行していないプログラムモジュールおよび当該プログラムモジュールの実行に際して共働するプログラムモジュールを更新する。
The production
これにより、通年にわたって常時滞りなく電気を送配電する電気事業者が管理運用する本番登録システム100において、当該本番登録システム100を停止することなく、当該本番登録システム100の運用にかかるロードを更新することができる。
As a result, in the
本番登録依頼システム140は、依頼処理部125に加えて、認可処理部127、登録処理部128および終了処理部129と接続している。認可処理部127は、受付LIB123aを介しておこなわれるロードの更新の認可/不認可を判断する。本番登録システム100からの依頼操作に応じた本番LIB122aにおけるロードの更新は、認可処理部127により認可の判断がなされた場合に実行される。
The production
登録処理部128は、本番登録DB121に対するデータの登録処理をおこなう。登録処理部128は、たとえば、発電所における発電条件に変更があった場合に、変更後の発電条件に関するデータを本番登録DB121に対して登録する登録処理をおこなう。登録処理部128は、本番登録依頼システム140において受け付けた依頼操作に応じて本番登録依頼システム140から登録処理部128に出力される依頼要求に基づき、当該依頼要求とともに入力された変更後の発電条件に関するデータを本番登録DB121に登録する。
The
終了処理部129は、テストLIB124による比較結果の確認に供される実行結果確認リスト150を出力する。実行結果確認リスト150は、たとえば、本番登録システム100に接続された表示装置に表示することによって出力してもよく、本番登録システム100に接続されたプリンタを介して印刷物によって出力してもよい。実行結果確認リスト150については後述する。
The
この実施の形態におけるチェック装置110aは、ファイル伝送システム160を備えている。ファイル伝送システム160は、それぞれが本番LIB122b〜122eおよび受付LIB123b〜123eを備える複数の別の制御システム110b〜110eと接続されている。
The
チェック装置110aは、依頼処理部125を介して本番登録依頼システム140から受け付けた本番登録依頼に基づき、接続されている別の制御システム110b〜110eと通信をおこなうことによって、当該別の制御システム110b〜110eが備える本番LIB122b〜122eに対して、本番登録システム100から受け付けたロードを伝送する。
The
別の制御システム110b〜110eにおける受付LIB123b〜123eは、それぞれ、ファイル伝送システム160を介して送信されたロードを受け付けて記憶する。受付LIB123b〜123eが登録を受け付けたロードは、本番登録処理部126b〜126eによって本番LIB122b〜122eに登録される。
The
チェック装置110aにインストールされたチェックプログラムは、チェック装置110aと接続された別の制御システム110b〜110eにおける本番ロードの実行時に参照されるデータを参照して、当該別の制御システム110b〜110eのオペレーションシステムに、チェック対象プログラムである開発ロードを実行させることができる(図2を参照)。
The check program installed in the
(チェック装置110aと別の制御システム110b〜110eとの関係)
つぎに、チェック装置110aと別の制御システム110b〜110eとの関係について説明する。図2は、チェック装置110aと別の制御システム110b〜110eとの関係を示す説明図である。
(Relationship between
Next, the relationship between the
図2において、チェック装置110aは、ファイル伝送システム160を介して別の制御システム110b〜110eと通信をおこなうことにより、各制御システム110b〜110eのオペレーションシステムに、当該制御システム110b〜110eによる管理・制御に用いる開発ロードを実行させることができる。制御システム110b〜110eのオペレーションシステムは、チェック装置110aとの通信により、該当する開発ロードを実行する。開発ロードは、各制御システム110b〜110eにおいて実行中の本番ロードを停止することなく、当該本番ロードとは別に実行する。
In FIG. 2, the
チェック装置110aは、制御システム110b〜110eにおいて該当する開発ロードを実行した実行結果を、各制御システム110b〜110eから取得する。チェック装置110aは、取得した実行結果を出力することにより、作業者に対して実行結果を出力する。これにより、チェック装置110aおよび各制御システム110b〜110eにおいて該当する開発ロードを実行した場合の実行結果と同じ実行結果を得ることができる。
The
(チェック装置の機能的構成)
つぎに、この発明にかかる実施の形態のチェック装置110aの機能的構成について説明する。図3は、この発明にかかる実施の形態のチェック装置110aの機能的構成を示すブロック図である。
(Functional configuration of check device)
Next, the functional configuration of the
図3において、この発明にかかる実施の形態のチェック装置110aの機能は、取得部301と、テスト実行部302と、結果出力部303と、によって実現される。取得部301、テスト実行部302および結果出力部303の機能は、チェック装置110aを構成する各部によって実現することができる。
In FIG. 3, the function of the
取得部301は、オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得する。取得部301は、JCLなど、本番ロードの記述言語と同じ言語を用いて記述された複数のプログラムモジュールによって構成されるチェック対象プログラムを取得する。具体的に、チェック対象プログラムは、開発ロードによって実現することができる。
The
開発ロードを構成する複数のプログラムモジュールは、少なくとも一部が、実行に際してデータベースを参照するように構成されている。また、開発ロードを構成する複数のプログラムモジュールは、実行順序が規定されている。また、開発ロードを構成する複数のプログラムモジュール実行順序は、たとえば、一方向または双方向リンクする複数のプログラムモジュールによってチェック対象プログラムを構成することによって規定することができる。 The program modules that make up the development load, at least in part, are configured to reference the database at run time. In addition, the execution order of the plurality of program modules that make up the development load is specified. Further, the execution order of the plurality of program modules constituting the development load can be defined by, for example, configuring the program to be checked by a plurality of program modules linked in one direction or in both directions.
テスト実行部302は、取得部301によって取得されたチェック対象プログラムを、オペレーションシステムに実行させる。テスト実行部302は、チェック対象プログラムをオペレーションシステムに実行させることにより、当該チェック対象プログラムを構成する複数のプログラムモジュールのうち実行できないプログラムモジュールを検出する。
The
テスト実行部302は、実行できないプログラムモジュールを検出するごとに、当該プログラムモジュールの識別番号など、実行できないプログラムモジュールを特定可能な情報を、所定の記憶領域に記憶する。テスト実行部302は、たとえば、複数のプログラムモジュールのうちリンク先のプログラムモジュールの不存在により実行できないプログラムモジュールを検出した場合、実行できないプログラムモジュールを特定可能な情報に、実行できない理由(リンク先のプログラムモジュールの不存在)を関連づけて記憶する。
Each time the
あるいは、テスト実行部302は、たとえば、複数のプログラムモジュールのうちデータベースの参照不可により実行できないプログラムモジュールを検出した場合、実行できないプログラムモジュールを特定可能な情報に、実行できない理由(データベースの参照不可)を関連づけて記憶する。データベースの参照不可は、たとえば、プログラムモジュール中に記述された参照先アドレスに誤りがある場合に発生する。
Alternatively, when the
テスト実行部302は、開発ロードを構成する複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、たとえば、当該実行できないプログラムモジュールの実行を停止して、当該実行できないプログラムモジュールのつぎの実行順序のプログラムモジュールを実行する。これにより、チェック対象プログラムを構成するいずれかのプログラムモジュールに不備があった場合にも、途中で中断することなく、当該チェック対象プログラムを実行することができる。
When the
また、テスト実行部302は、複数のプログラムモジュールをリンクの方向にしたがった順序で実行する際に、当該複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールにリンクする別のプログラムモジュールを実行する。これによっても、チェック対象プログラムを構成するいずれかのプログラムモジュールに不備があった場合にも、途中で中断することなく、当該チェック対象プログラムを実行することができる。
Further, when the
具体的に、テスト実行部302は、たとえば、「JCL構文チェック」、「入力データセットの存在チェック」、「世代登録チェック」、「プログラムロードの存在チェック」などをおこなう。JCL構文チェックにおいては、JCLにしたがって記述される開発ロードの文法に誤りがないかをチェックする。入力データセットの存在チェックにおいては、開発ロードの実行に用いる入力ファイルが存在しているかをチェックする。世代登録チェックにおいては、出力ファイルの世代が登録されているかをチェックする。プログラムロードの存在チェックは、開発ロードを構成するプログラムモジュールが存在するかのチェックをおこなう。
Specifically, the
また、テスト実行部302は、具体的には、たとえば、「区分データセットのメンバー存在チェック」、「ブロックサイズチェック」、「UNITパラメタチェック」などをおこなう。区分データセットのメンバー存在チェックは、パラメータファイルが揃っているかをチェックする。
Specifically, the
DD文は、プログラムモジュールの実行に際して参照するデータセットを定義し、具体的には、たとえば、割り当てられるリソースなどを示す。データセットファイルを複数のデータセットによって定義する、すなわちDD文連結をおこなうことにより、プログラムモジュールの実行に際して参照先となる複数のデータセットを1つのデータセットファイルとして定義することができる。 The DD statement defines a data set to be referred to when executing a program module, and specifically indicates, for example, resources to be allocated. By defining a data set file with a plurality of data sets, that is, by performing DD statement concatenation, it is possible to define a plurality of data sets to be referred to when executing a program module as one data set file.
DD文連結(コンカチネーション)をおこなった場合、同じ単位ずつ読み込む必要があることから、ブロックサイズチェックにおいては、読み込みの際の単位(ブロックサイズ)にずれがないかをチェックする。これにより、DD文連結をおこなったデータセットファイルを読み込むことができずに本番登録システム100の動作に支障をきたすことを抑制できる。
When DD statement concatenation (conclusion) is performed, it is necessary to read the same unit at a time. Therefore, in the block size check, it is checked whether the unit (block size) at the time of reading is correct. As a result, it is possible to prevent the data set file in which the DD statement is concatenated from being read, which hinders the operation of the
UNITパラメタは、システムに対して、データセットファイルを参照するプログラムモジュールの実行にかかるリソースに関する情報を与える。UNITパラメタチェックにおいては、開発ロードの実行にかかるリソースと、当該開発ロードの実行にかかるデータセットファイルのファイル名との整合性をチェックする。これにより、一時的に作成されるワークファイルがワークになっているかどうかなどをチェックすることができ、本番登録システム100の動作に支障をきたすことを抑制できる。
The UNIT parameter gives the system information about the resources involved in executing the program module that references the dataset file. In the UNIT parameter check, the consistency between the resource for executing the development load and the file name of the data set file for executing the development load is checked. As a result, it is possible to check whether or not the work file temporarily created is a work, and it is possible to prevent the operation of the
テスト実行部302は、JCL構文により記述され、新規に作成された開発ロードまたは既存ロードを修正することによって作成された開発ロードを、オペレーションシステムにより実行することによって、開発対象とする開発ロードのチェックをおこなう。本番登録システム100の運用においては、本番ロードの実行に用いるデータ(原票)に変更がある場合は、テスト実行部302による開発ロードのチェックを必ずおこなう。これにより、世代ファイルの事前作成、JCLの構成不良、世代登録漏れなどの事前の初期作業不足によって本番登録システム100の動作に支障をきたすことを抑制できる。
The
本番登録システム100においては、本番ロードの実行に際して、保守管理にかかる各種のデータを出力する。出力に際しては、出力対象となるデータ(保守管理にかかる各種のデータ)をプリンタなどの出力装置に直接出力することはせず、スプーリング機能により定義される仮想のデータセットを出力ファイルとして記憶する。そして、記憶した出力ファイルを出力装置に出力することによって、本番ロードの実行に際して出力対象となるデータを間接的に出力する。
The
出力ファイルは、本番登録システム100において本番ロードが実行されることにより更新される。本番登録システム100においては、本番ロードの実行によって出力ファイルが更新された場合、以前に保存している出力ファイルを上書きして保存する。出力ファイルの上書き保存に際しては、保存する直前の出力ファイルがバックアップファイルとして別ファイルで登録される。バックアップファイルは、出力ファイルが上書き保存される都度、世代が更新され、世代に関するデータとともに登録される。
The output file is updated when the production load is executed in the
テスト実行部302は、開発ロードの実行により登録されたバックアップファイルの世代登録ができているかをチェックする。具体的に、テスト実行部302は、出力ファイルの世代が、当該チェック対象プログラムの実行以前に作成された出力ファイルの世代に後続するか否かをチェックする。これにより、本番ロードの実行前にバックアップファイルの世代登録ができることを確認でき、本番ロードを実行してから出力ファイルの世代登録ができていないために本番登録システム100の動作に支障をきたすことを抑制できる。
The
結果出力部303は、テスト実行部302による実行結果を出力する。具体的に、結果出力部303は、所定の記憶領域を参照して、テスト実行部302において実行できないプログラムモジュールに関する情報を出力する。結果出力部303は、実行できないプログラムモジュールごとに、当該実行できないプログラムモジュールの識別情報を出力する。
The
また、所定の記憶領域において、プログラムモジュールを特定可能な情報に関連づけて、当該プログラムモジュールを実行できない理由が記憶されている場合、結果出力部303は、実行できないプログラムモジュールごとに、当該理由を関連づけて出力する。具体的には、結果出力部303は、たとえば、リンク先のプログラムモジュールの不存在により実行できないプログラムモジュールについては、その旨を出力する。
Further, when the reason why the program module cannot be executed is stored in the predetermined storage area by associating the program module with the identifiable information, the
また、具体的には、結果出力部303は、たとえば、データベースの参照不可により実行できないプログラムモジュールについては、当該実行できないプログラムモジュールの参照先となるデータベースにおける論理ブロックアドレスを出力する。論理ブロックアドレスは、たとえば、LBA(Logical Block Addressing)方式にしたがって指定される。論理ブロックアドレスは、たとえば、CHS(Cylinder/Head/Sector)などの方式にしたがって指定されるものであってもよい。
Specifically, the
(チェック装置110aの処理手順)
つぎに、この発明にかかる実施の形態のチェック装置110aの処理手順について説明する。図4は、この発明にかかる実施の形態のチェック装置110aの処理手順を示すフローチャートである。
(Processing procedure of
Next, the processing procedure of the
図4のフローチャートにおいて、まず、チェック対象となる開発ロードを取得する(ステップS401)。開発ロードは、チェックを開始するまでにチェック装置110aに入力されていればよい。ステップS401においては、たとえば、依頼システム130を介してチェックを開始する入力操作を受け付けた場合に、テストLIB124の所定の記憶領域を参照して開発ロードを取得する。
In the flowchart of FIG. 4, first, the development load to be checked is acquired (step S401). The development load may have been input to the
つぎに、ステップS401において取得された開発ロードを実行する(ステップS402)。ステップS402においては、本番登録DB121を参照して、本番ロードの実行に際して用いるデータを取得して開発ロードを実行する。そして、上記のように実行できないプログラムモジュールがあるか否かを判断する(ステップS403)。
Next, the development load acquired in step S401 is executed (step S402). In step S402, the development load is executed by acquiring the data used when executing the production load with reference to the
ステップS403において、実行できないプログラムモジュールがある場合(ステップS403:Yes)、当該実行できないプログラムモジュールに関する情報を記述した実行結果確認リストを生成する(ステップS404)。ステップS404において生成される実行結果確認リストは、たとえば、実行できないプログラムモジュールの識別情報や、参照先アドレスなどを示す情報を示す。 If there is a program module that cannot be executed in step S403 (step S403: Yes), an execution result confirmation list that describes information about the program module that cannot be executed is generated (step S404). The execution result confirmation list generated in step S404 indicates, for example, information indicating identification information of a program module that cannot be executed, a reference destination address, and the like.
その後、ステップS404において生成された実行結果確認リストを出力して(ステップS405)、一連の処理を終了する。ステップS405においては、たとえば、チェック装置110aにおける終了処理部129を介して実行結果確認リストを出力する。実行結果確認リストの出力形態は、実行結果確認リストをプリントした紙面へのプリント出力であってもよく、表示装置に表示する表示出力であってもよい。
After that, the execution result confirmation list generated in step S404 is output (step S405), and a series of processes is completed. In step S405, for example, the execution result confirmation list is output via the
一方、ステップS403において、実行できないプログラムモジュールがない場合(ステップS403:No)、出力ファイルの世代登録ができているか否かを判断する(ステップS406)。ステップS406において、出力ファイルの世代登録ができていない場合(ステップS406:No)、ステップS404へ移行して、出力ファイルの世代登録ができていないことを記述した実行結果確認リストを生成する。 On the other hand, in step S403, when there is no program module that cannot be executed (step S403: No), it is determined whether or not the generation registration of the output file has been completed (step S406). If the generation of the output file has not been registered in step S406 (step S406: No), the process proceeds to step S404 to generate an execution result confirmation list describing that the generation of the output file has not been registered.
一方、ステップS406において、出力ファイルの世代登録ができている場合(ステップS406:Yes)、一連の処理を終了する。あるいは、実行できないプログラムモジュールがなく、出力ファイルの世代登録ができている場合、開発モジュールが正常に記述されていることを示すガイダンスを出力してもよい。 On the other hand, in step S406, when the generation registration of the output file has been completed (step S406: Yes), a series of processes is terminated. Alternatively, if there is no program module that cannot be executed and the generation of the output file can be registered, guidance indicating that the development module is described normally may be output.
以上説明したように、この発明にかかる実施の形態のチェック装置110aは、本番登録システム100において実行されている本番ロードの実行時に参照されるデータを記憶するデータベースとしての本番登録DB121を備え、当該本番登録DB121を参照して本番ロードを実行するオペレーションシステムプログラムがインストールされたチェック装置110aにおいて、オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得し、取得されたチェック対象プログラムを、オペレーションシステムに実行させ、テスト実行部302による実行結果を出力するようにしたことを特徴としている。
As described above, the
この発明にかかる実施の形態のチェック装置110aによれば、本番登録システム100において実行されている本番ロードの実行時に参照されるデータを用いて、本番ロードを実行するオペレーションシステムにチェック対象プログラムを実行させることにより、本番登録システム100で実行した場合の実行結果と同じ実行結果を得ることができる。これにより、チェック対象プログラムに不備がある場合は、本番登録システム100において実行する前に不備の存在を把握することができるので、世代ファイルの事前作成、JCLの構成不良、世代登録漏れなどの事前の初期作業不足によって本番登録システム100に支障をきたすことを抑制できる。
According to the
このように、この発明にかかる実施の形態のチェック装置110aによれば、本番登録システム100に登録する前のチェック対象プログラムに不備があるか否かの確認作業にかかる作業者の負担軽減および確認作業にかかる時間短縮を図ることができ、かつ、本番登録システム100において障害が発生することを抑制することができる。
As described above, according to the
また、この発明にかかる実施の形態のチェック装置110aは、チェック対象プログラムを構成する複数のプログラムモジュールのうち実行できないプログラムモジュールを検出し、実行できないプログラムモジュールに関する情報を実行結果として出力するようにしたことを特徴としている。
Further, the
この発明にかかる実施の形態のチェック装置110aによれば、チェック対象プログラムを構成するすべてのプログラムモジュールに関する情報を出力する場合と比較して、実行できないプログラムモジュールの存在確認を容易かつ迅速におこなうことができる。これにより、チェック作業にかかる作業者の負担を軽減するとともに、チェック作業の効率化を図ることができる。
According to the
また、この発明にかかる実施の形態のチェック装置110aは、チェック対象プログラムを構成する複数のプログラムモジュールのうち、実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールの実行を停止して、当該実行できないプログラムモジュールのつぎの順序の前記プログラムモジュールを実行するようにしたことを特徴としている。
Further, when the
この発明にかかる実施の形態のチェック装置110aによれば、データベースの参照不可により実行できないプログラムモジュールが存在する場合にも、チェック対象プログラムを構成するすべてのプログラムモジュールについて、不備があるか否かのチェックを実行し、実行結果を得ることができる。これにより、実行できないプログラムモジュールが存在するごとにチェック対象プログラムの実行自体が中断されてしまう場合と比較して、実行できないプログラムモジュールの存在確認を容易かつ迅速におこなうことができる。これにより、チェック作業にかかる作業者の負担を軽減するとともに、チェック作業の効率化を図ることができる。
According to the
また、この発明にかかる実施の形態のチェック装置110aは、一方向または双方向リンクする複数のプログラムモジュールをリンクの方向にしたがった順序で実行し、当該複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールにリンクする別のプログラムモジュールを実行するようにしたことを特徴としている。
Further, the
この発明にかかる実施の形態のチェック装置110aによれば、リンク先のプログラムモジュールの不存在により実行できないプログラムモジュールが存在する場合にも、チェック対象プログラムを構成するすべてのプログラムモジュールについて、不備があるか否かのチェックを実行し、実行結果を得ることができる。これにより、実行できないプログラムモジュールが存在するごとにチェック対象プログラムの実行自体が中断されてしまう場合と比較して、実行できないプログラムモジュールの存在確認を容易かつ迅速におこなうことができる。これにより、チェック作業にかかる作業者の負担を軽減するとともに、チェック作業の効率化を図ることができる。
According to the
以上のように、この発明にかかるチェック装置、チェックプログラムおよびプログラムチェック方法は、JCLなどのように特定の言語により記述されたロードをチェックするチェック装置、チェックプログラムおよびプログラムチェック方法に有用であり、特に、実行対象となるロードの不備の修正のためにシステムを停止することができないロードを本番環境において実行する前にチェックするチェック装置、チェックプログラムおよびプログラムチェック方法に適している。 As described above, the check device, the check program, and the program check method according to the present invention are useful for the check device, the check program, and the program check method for checking the load described in a specific language such as JCL. In particular, it is suitable for a check device, a check program, and a program check method for checking a load before executing it in a production environment, in which the system cannot be stopped due to a defect in the load to be executed.
100 本番登録システム
110a チェック装置
121 本番登録DB
122 本番LIB
123 受付LIB
124 テストLIB
125 依頼処理部
126a 本番登録処理部
127 認可処理部
128 登録処理部
129 終了処理部
130 依頼システム
140 本番登録依頼システム
150 結果確認リスト
160 ファイル伝送システム
301 取得部
302 テスト実行部
303 結果出力部
100
122 production LIB
123 Reception LIB
124 Test LIB
125
Claims (13)
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得する取得部と、
前記取得部によって取得されたチェック対象プログラムを、前記オペレーションシステムに実行させるテスト実行部と、
前記テスト実行部による実行結果を出力する結果出力部と、
を備え、
前記チェック対象プログラムは、実行順序が規定された複数のプログラムモジュールによって構成され、
前記テスト実行部は、
前記複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールの実行を停止して、当該実行できないプログラムモジュールのつぎの実行順序の前記プログラムモジュールを実行することを特徴とするチェック装置。 It is a checking device that has a database that stores data that is referenced when the production load is executed in the production system, and has an operating system program that refers to the database and executes the production load installed.
An acquisition unit that acquires a check target program in a format that can be executed by the operating system,
A test execution unit that causes the operating system to execute the check target program acquired by the acquisition unit, and
A result output unit that outputs the execution result by the test execution unit, and
Equipped with a,
The program to be checked is composed of a plurality of program modules whose execution order is defined.
The test execution unit
When an unexecutable program module is detected among the plurality of program modules, the execution of the unexecutable program module is stopped, and the program module in the next execution order of the unexecutable program module is executed. Check device.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得する取得部と、
前記取得部によって取得されたチェック対象プログラムを、前記オペレーションシステムに実行させるテスト実行部と、
前記テスト実行部による実行結果を出力する結果出力部と、
を備え、
前記チェック対象プログラムは、一方向または双方向リンクする複数のプログラムモジュールによって構成され、
前記テスト実行部は、
前記複数のプログラムモジュールを前記リンクの方向にしたがった順序で実行し、当該複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールにリンクする別のプログラムモジュールを実行することを特徴とするチェック装置。 It is a checking device that has a database that stores data that is referenced when the production load is executed in the production system, and has an operating system program that refers to the database and executes the production load installed.
An acquisition unit that acquires a check target program in a format that can be executed by the operating system,
A test execution unit that causes the operating system to execute the check target program acquired by the acquisition unit, and
A result output unit that outputs the execution result by the test execution unit, and
With
The program to be checked is composed of a plurality of program modules that are linked in one direction or in both directions.
The test execution unit
When the plurality of program modules are executed in the order according to the direction of the link and an unexecutable program module is detected among the plurality of program modules, another program module linked to the unexecutable program module is executed. A check device featuring.
前記複数のプログラムモジュールのうちリンク先のプログラムモジュールの不存在により実行できないプログラムモジュールを検出し、
前記結果出力部は、
前記実行できないプログラムモジュールごとに、当該実行できないプログラムモジュールの識別情報を出力することを特徴とする請求項2に記載のチェック装置。 The test execution unit
Among the plurality of program modules, the program module that cannot be executed due to the absence of the linked program module is detected.
The result output unit
The check device according to claim 2, wherein the identification information of the non-executable program module is output for each non-executable program module.
前記テスト実行部は、
前記複数のプログラムモジュールのうち前記データベースの参照不可により実行できないプログラムモジュールを検出し、
前記結果出力部は、
前記実行できないプログラムモジュールごとに、当該実行できないプログラムモジュールの識別情報または当該実行できないプログラムモジュールの参照先となる前記データベースにおける論理ブロックアドレスを出力することを特徴とする請求項1〜3のいずれか一つに記載のチェック装置。 The program to be checked is composed of a plurality of program modules that are executed with reference to the database.
The test execution unit
Among the plurality of program modules, the program module that cannot be executed due to the inability to refer to the database is detected.
The result output unit
Any one of claims 1 to 3, wherein for each of the non-executable program modules, the identification information of the non-executable program module or the logical block address in the database which is the reference destination of the non-executable program module is output. Checking device described in 1.
複数のデータセットによって定義され、前記プログラムモジュールの実行に際して参照されるデータセットファイルのブロックサイズが、あらかじめ定められた所定のサイズであるか否かに基づいて、前記データベースの参照不可により実行できないプログラムモジュールを検出することを特徴とする請求項4に記載のチェック装置。 The test execution unit
A program that cannot be executed due to the inability to refer to the database, based on whether the block size of the dataset file defined by a plurality of datasets and referenced when executing the program module is a predetermined size or not. The check device according to claim 4, wherein the check device detects a module.
前記データセットファイルを参照するプログラムモジュールの実行にかかる装置に関する情報を与えるUNITパラメタにしたがって、前記データベースの参照不可により実行できないプログラムモジュールを検出することを特徴とする請求項5に記載のチェック装置。 The test execution unit
The check device according to claim 5, wherein a program module that cannot be executed due to non-reference to the database is detected according to a UNIT parameter that gives information about the device for executing the program module that refers to the data set file.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得する取得部と、
前記取得部によって取得されたチェック対象プログラムを、前記オペレーションシステムに実行させるテスト実行部と、
前記テスト実行部による実行結果を出力する結果出力部と、
を備え、
前記チェック対象プログラムは、実行結果に関する情報を記述した出力ファイルを作成するとともに当該出力ファイルの世代に関する情報を登録するプログラムモジュールを含み、
前記結果出力部は、
前記チェック対象プログラムの実行により作成された出力ファイルの世代が、当該チェック対象プログラムの実行以前に作成された出力ファイルの世代に後続するか否かに関する情報を出力することを特徴とするチェック装置。 It is a checking device that has a database that stores data that is referenced when the production load is executed in the production system, and has an operating system program that refers to the database and executes the production load installed.
An acquisition unit that acquires a check target program in a format that can be executed by the operating system,
A test execution unit that causes the operating system to execute the check target program acquired by the acquisition unit, and
A result output unit that outputs the execution result by the test execution unit, and
With
The check target program includes a program module that creates an output file that describes information about the execution result and registers information about the generation of the output file.
The result output unit
A check device for outputting information regarding whether or not the generation of the output file created by executing the check target program follows the generation of the output file created before the execution of the check target program.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得し、
取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、
前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力する、
処理を実行させ、
前記チェック対象プログラムは、実行順序が規定された複数のプログラムモジュールによって構成され、
前記複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールの実行を停止して、当該実行できないプログラムモジュールのつぎの実行順序の前記プログラムモジュールを実行することを特徴とするチェックプログラム。 A checker that has a database that stores data that is referenced during the execution of the production load that is being executed in the production system, and has an operating system program that refers to the database and executes the production load.
Obtain a program to be checked in a format that can be executed by the operating system,
The acquired check target program is executed by the operating system, and the operation system is executed.
Outputs the execution result of the checked program by the operating system.
Let the process be executed
The program to be checked is composed of a plurality of program modules whose execution order is defined.
When an unexecutable program module is detected among the plurality of program modules, the execution of the unexecutable program module is stopped, and the program module in the next execution order of the unexecutable program module is executed. Check program.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得し、
取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、
前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力する、
処理を実行させ、
前記チェック対象プログラムは、一方向または双方向リンクする複数のプログラムモジュールによって構成され、
前記複数のプログラムモジュールを前記リンクの方向にしたがった順序で実行し、当該複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールにリンクする別のプログラムモジュールを実行することを特徴とするチェックプログラム。 A checker that has a database that stores data that is referenced during the execution of the production load that is being executed in the production system, and has an operating system program that refers to the database and executes the production load.
Obtain a program to be checked in a format that can be executed by the operating system,
The acquired check target program is executed by the operating system, and the operation system is executed.
Outputs the execution result of the checked program by the operating system.
Let the process be executed
The program to be checked is composed of a plurality of program modules that are linked in one direction or in both directions.
When the plurality of program modules are executed in the order according to the direction of the link and an unexecutable program module is detected among the plurality of program modules, another program module linked to the unexecutable program module is executed. A check program featuring.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得し、
取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、
前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力する、
処理を実行させ、
前記チェック対象プログラムは、実行結果に関する情報を記述した出力ファイルを作成するとともに当該出力ファイルの世代に関する情報を登録するプログラムモジュールを含み、
前記チェック対象プログラムの実行により作成された出力ファイルの世代が、当該チェック対象プログラムの実行以前に作成された出力ファイルの世代に後続するか否かに関する情報を出力することを特徴とするチェックプログラム。 A checker that has a database that stores data that is referenced during the execution of the production load that is being executed in the production system, and has an operating system program that refers to the database and executes the production load.
Obtain a program to be checked in a format that can be executed by the operating system,
The acquired check target program is executed by the operating system, and the operation system is executed.
Outputs the execution result of the checked program by the operating system.
Let the process be executed
The check target program includes a program module that creates an output file that describes information about the execution result and registers information about the generation of the output file.
A check program characterized in that information regarding whether or not the generation of the output file created by executing the check target program follows the generation of the output file created before the execution of the check target program is output.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得させ、
取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、
前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力させ、
前記チェック対象プログラムは、実行順序が規定された複数のプログラムモジュールによって構成され、
前記複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールの実行を停止して、当該実行できないプログラムモジュールのつぎの実行順序の前記プログラムモジュールを実行させる、
ことを特徴とするプログラムチェック方法。 A checker that has a database that stores data that is referenced during the execution of the production load that is being executed in the production system, and has an operating system program that refers to the database and executes the production load.
Acquire a program to be checked in a format that can be executed by the operating system,
The acquired check target program is executed by the operating system, and the operation system is executed.
The execution result of the check target program by the operating system is output, and the result is output.
The program to be checked is composed of a plurality of program modules whose execution order is defined.
When an unexecutable program module is detected among the plurality of program modules, the execution of the unexecutable program module is stopped, and the program module in the next execution order of the unexecutable program module is executed.
A program check method characterized by that.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得させ、Acquire a program to be checked in a format that can be executed by the operating system,
取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、The acquired check target program is executed by the operating system, and the operation system is executed.
前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力させ、The execution result of the check target program by the operating system is output, and the result is output.
前記チェック対象プログラムは、一方向または双方向リンクする複数のプログラムモジュールによって構成され、The program to be checked is composed of a plurality of program modules that are linked in one direction or in both directions.
前記複数のプログラムモジュールを前記リンクの方向にしたがった順序で実行させ、当該複数のプログラムモジュールのうち実行できないプログラムモジュールを検出した場合、当該実行できないプログラムモジュールにリンクする別のプログラムモジュールを実行させる、The plurality of program modules are executed in the order according to the direction of the link, and when an unexecutable program module is detected among the plurality of program modules, another program module linked to the unexecutable program module is executed.
ことを特徴とするプログラムチェック方法。A program check method characterized by that.
前記オペレーションシステムによる実行が可能な形式のチェック対象プログラムを取得させ、Acquire a program to be checked in a format that can be executed by the operating system,
取得されたチェック対象プログラムを、前記オペレーションシステムに実行させ、The acquired check target program is executed by the operating system, and the operation system is executed.
前記オペレーションシステムによる前記チェック対象プログラムの実行結果を出力させ、The execution result of the check target program by the operating system is output, and the result is output.
前記チェック対象プログラムは、実行結果に関する情報を記述した出力ファイルを作成するとともに当該出力ファイルの世代に関する情報を登録するプログラムモジュールを含み、The check target program includes a program module that creates an output file that describes information about the execution result and registers information about the generation of the output file.
前記チェック対象プログラムの実行により作成された出力ファイルの世代が、当該チェック対象プログラムの実行以前に作成された出力ファイルの世代に後続するか否かに関する情報を出力させることを特徴とするプログラムチェック方法。A program check method characterized in that information regarding whether or not the generation of the output file created by executing the check target program follows the generation of the output file created before the execution of the check target program is output. ..
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017126798A JP6907760B2 (en) | 2017-06-28 | 2017-06-28 | Check device, check program and program check method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017126798A JP6907760B2 (en) | 2017-06-28 | 2017-06-28 | Check device, check program and program check method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019008750A JP2019008750A (en) | 2019-01-17 |
| JP6907760B2 true JP6907760B2 (en) | 2021-07-21 |
Family
ID=65028896
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017126798A Active JP6907760B2 (en) | 2017-06-28 | 2017-06-28 | Check device, check program and program check method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6907760B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02272645A (en) * | 1989-04-14 | 1990-11-07 | Hitachi Ltd | Method for supporting program debugging |
| JP5951654B2 (en) * | 2014-01-10 | 2016-07-13 | 中国電力株式会社 | Data tracking system, data tracking method, and computer program for data tracking |
| WO2015198440A1 (en) * | 2014-06-26 | 2015-12-30 | 株式会社日立製作所 | Management server, calculation system and method |
-
2017
- 2017-06-28 JP JP2017126798A patent/JP6907760B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019008750A (en) | 2019-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9075695B2 (en) | Version conflict checking to installable unit | |
| CN105404519A (en) | Version control method, code testing method and system | |
| US11467871B2 (en) | Pipeline task verification for a data processing platform | |
| US10678864B2 (en) | Analysis model preparing system, programming apparatus, and analysis model preparing method | |
| CN103488590A (en) | Programmable display | |
| US20060085404A1 (en) | Method, apparatus, and computer program product updating software in an information processing apparatus | |
| TWI492004B (en) | Programmable logic controller,programmable logic controller system and method for creating execution error information | |
| CN116303361A (en) | Service data migration method, device and system | |
| US20220342399A1 (en) | Distributed production planning and instruction apparatus and distributed production planning and instruction system | |
| CN109150596B (en) | SCADA system real-time data dump method and device | |
| JP6907760B2 (en) | Check device, check program and program check method | |
| CN108255629B (en) | Breakpoint data obtaining method and terminal equipment | |
| JPH10326212A (en) | Data management device | |
| JP4495688B2 (en) | Verification system | |
| CN109116818B (en) | Real-time data dump method and device during SCADA system upgrade | |
| JP6984120B2 (en) | Load compare device, load compare program and load compare method | |
| JP2009087136A (en) | Fault repair system and fault repair method | |
| CN113434359B (en) | Data traceability system construction method and device, electronic device and readable storage medium | |
| JP2014041536A (en) | Computer kitting problem countermeasure management system, problem countermeasure management computer and computer kitting problem countermeasure management program | |
| JP4796446B2 (en) | Application setting information update method | |
| US20090177705A1 (en) | System and method for using generic utilities to perform database utilities on mainframe operated DB2 databases | |
| JP5808006B2 (en) | Server start / stop control device and server start / stop control method | |
| JP3999477B2 (en) | Control program creation system, apparatus, method, recording medium, and program | |
| JP2018128919A (en) | Work plan creation system, work plan creation method and work plan creation program | |
| KR20010108752A (en) | System for maintaining consistency for created information of lot in manufacturing semiconductor process and method using for the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200330 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210302 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210318 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210601 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210614 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6907760 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |