JP3253224B2 - I / O command test equipment - Google Patents

I / O command test equipment

Info

Publication number
JP3253224B2
JP3253224B2 JP29427594A JP29427594A JP3253224B2 JP 3253224 B2 JP3253224 B2 JP 3253224B2 JP 29427594 A JP29427594 A JP 29427594A JP 29427594 A JP29427594 A JP 29427594A JP 3253224 B2 JP3253224 B2 JP 3253224B2
Authority
JP
Japan
Prior art keywords
command
input
output
unit
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP29427594A
Other languages
Japanese (ja)
Other versions
JPH08153016A (en
Inventor
裕史 栄山
透 金子
浩子 市川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP29427594A priority Critical patent/JP3253224B2/en
Publication of JPH08153016A publication Critical patent/JPH08153016A/en
Application granted granted Critical
Publication of JP3253224B2 publication Critical patent/JP3253224B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は計算機に接続される入出
力装置の試験を行う入出力コマンド試験装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output command test apparatus for testing an input / output device connected to a computer.

【0002】[0002]

【従来の技術】計算機に接続される入出力装置(IO装
置)を新規に開発した場合には、そのIO装置の接続が
正常かどうかを確認する試験が行なわれている。このI
O装置の接続確認としては、IOコマンドの起動確認に
よって行なわれる。
2. Description of the Related Art When an input / output device (IO device) connected to a computer is newly developed, a test is performed to confirm whether the connection of the IO device is normal. This I
Confirmation of the connection of the O device is performed by confirming activation of the IO command.

【0003】例えば、図18に示すIOコマンド試験方
法では、制御プログラムを起動し、10進数で対象機番
IOコマンドコードを入力する。IOコマンドを発行
し、IO装置の接続確認を実行する。その試験の結果
は、メモリやレジスタのあるアドレスに格納される。オ
ペレータは手作業によりレジスタ又はメモリをダンプ
し、集結ステータスを別のオペレーションによって参照
して、その試験の結果を確認していた。
For example, in the IO command test method shown in FIG. 18, a control program is started and a target machine number IO command code is input in decimal. An IO command is issued to check the connection of the IO device. The result of the test is stored at an address in a memory or a register. The operator manually dumped the register or memory and referred to the aggregation status by another operation to confirm the results of the test.

【0004】また、図19に示すようにIOコマンド試
験方法では、ワークステーション上でIOコマンドを実
行するために試験プログラムを作成し、その試験プログ
ラムをコンパイルしてロードモジュールを作成する。さ
らに、対象の計算機でIOコマンドを実行し、その実行
の結果を確認する。なお、他のIOコマンドを実行した
い場合、あるいは実行したIOコマンドを修正したい場
合には、再度、ロードモジュールを作成する。
In the IO command test method, as shown in FIG. 19, a test program is created to execute an IO command on a workstation, and the test program is compiled to create a load module. Further, the IO command is executed on the target computer, and the result of the execution is confirmed. If another IO command is to be executed, or if the executed IO command is to be modified, a load module is created again.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
試験方法でIO装置を試験する場合に、IOコマンドの
作成と実行にかなりの時間がかかり、また、実行された
IOコマンドは一度きりで消去されるため、非常に効率
が悪かった。また、IOコマンドを入力する操作が複雑
であるため、入力ミスによる誤動作が発生する。また、
IOコマンドを実行した後に収集される情報はアダプタ
によって異なるため、その情報の確認が非常に難かし
く、オペレータの経験が大きく左右していた。さらに、
この方法では、一度に1つのIOコマンドしか実行でき
なかった。
However, when testing an IO device by the conventional test method, it takes a considerable time to create and execute an IO command, and the executed IO command is erased only once. Therefore, it was very inefficient. Further, since the operation of inputting an IO command is complicated, a malfunction due to an input error occurs. Also,
Since the information collected after executing the IO command differs depending on the adapter, it is very difficult to confirm the information, and the experience of the operator has largely influenced the information. further,
With this method, only one IO command could be executed at a time.

【0006】一方、前記試験プログラムを作成して試験
を実行する方法では、IOコマンドを保存したり、IO
コマンドを再現することができる。しかし、非常に簡単
なIOコマンドを確認する場合であっても、複雑な手順
からなる試験プログラムを作成する必要がある。このた
め、簡単な単発のIOコマンドを複数実行することによ
り細かい確認を行うような、例えば、開発初期段階のI
O装置の試験には不向きであった。
On the other hand, in the method of creating a test program and executing a test, an IO command is stored,
Commands can be reproduced. However, even when confirming a very simple IO command, it is necessary to create a test program having complicated procedures. For this reason, for example, an I / O command in an early stage of development is used to perform detailed confirmation by executing a plurality of simple single IO commands.
It was unsuitable for testing O equipment.

【0007】本発明の目的は、入出力IOコマンドを用
いて簡単に入出力装置を試験することのできる入出力コ
マンド試験装置を提供することにある。
An object of the present invention is to provide an input / output command test apparatus that can easily test an input / output device using input / output IO commands.

【0008】[0008]

【課題を解決するための手段】本発明の入出力コマンド
試験装置は、前記課題を解決するため、以下の手段を採
用した。
The input / output command testing apparatus of the present invention employs the following means in order to solve the above-mentioned problems.

【0009】<本発明の入出力IOコマンド試験装置の
要旨>本発明の入出力IOコマンド試験装置は図1に示
したように計算機に接続された入出力装置の試験を行う
ための入出力コマンドを画面上に作成するコマンド作成
部30と、前記コマンド作成部30で作成された入出力
コマンドを実行することにより前記入出力装置の試験を
行うコマンド実行部40と、前記コマンド実行部40で
実行された入出力コマンドの結果が正常か異常かどうか
を確認する結果確認部50とを備えていることである
(請求項1に対応)。
<Summary of Input / Output IO Command Test Apparatus of the Present Invention> An input / output IO command test apparatus of the present invention is an input / output command for testing an input / output apparatus connected to a computer as shown in FIG. On the screen, a command execution unit 40 for executing the input / output command created by the command creation unit 30 to test the input / output device, and a command execution unit 40 And a result confirmation unit 50 for confirming whether the result of the input / output command is normal or abnormal (corresponding to claim 1).

【0010】要は、入出力コマンドを画面上で作成し、
実行し、さらに試験の結果を表示するものである。以
下、その構成要件を説明する。 (コマンド作成部)コマンド作成部30は計算機に接続
された入出力装置の試験を行うための入出力コマンドを
画面上に作成するもので、例えば、中央処理装置がメモ
リに格納されたプログラムを実行することにより実現さ
れる機能、すなわちソフトウェアである。 (コマンド実行部)コマンド実行部40は前記コマンド
作成部30で作成された入出力コマンドを実行すること
により前記入出力装置の試験を行うもので、例えば、ソ
フトウェアである。 (結果確認部)結果確認部50は前記コマンド実行部4
0で実行された入出力コマンドの結果が正常か異常かど
うかを確認するもので、例えば、ソフトウェアである。
The point is that I / O commands are created on the screen,
Execute and display the test results. Hereinafter, the constituent requirements will be described. (Command Creation Unit) The command creation unit 30 creates on the screen input / output commands for testing the input / output devices connected to the computer. For example, the central processing unit executes a program stored in the memory. Function, ie, software. (Command Executing Unit) The command executing unit 40 tests the input / output device by executing the input / output command created by the command creating unit 30, and is, for example, software. (Result Confirmation Unit) The result confirmation unit 50 is the command execution unit 4
This is for checking whether the result of the input / output command executed at 0 is normal or abnormal, and is, for example, software.

【0011】本発明は以下の付加的構成要素を付加して
も成立する。その付加的構成要素とは、前記結果確認部
50は、前記画面上に設けられたステータス領域に前記
入出力コマンドが実行されたときの結果を表示する結果
表示部51を備えていることである(請求項2に対
応)。
The present invention can be realized by adding the following additional components. The additional component is that the result confirmation unit 50 includes a result display unit 51 that displays a result when the input / output command is executed in a status area provided on the screen. (Corresponding to claim 2).

【0012】その他の付加的構成要素とは、さらに、前
記画面で作成された入出力コマンドをファイル化したコ
マンドファイル16を記憶する記憶部12を備えている
ことである(請求項3に対応)。
Another additional component is that it further comprises a storage unit 12 for storing a command file 16 in which input / output commands created on the screen are filed (corresponding to claim 3). .

【0013】その他の付加的構成要素とは、さらに、入
出力装置を起動したときに前記記憶部に記憶されたコマ
ンドファイル16を指定してその指定されたコマンドフ
ァイル16の内容を前記コマンド実行部40に出力する
コマンド指定部61を備えることである(請求項4に対
応)。
[0013] The other additional components further include a command file 16 stored in the storage unit when the input / output device is started, and the contents of the specified command file 16 are stored in the command execution unit. 40 is provided with a command specifying unit 61 that outputs the command to the control unit 40 (corresponding to claim 4).

【0014】その他の付加的構成要素とは、さらに、前
記画面に表示された入出力コマンドの実行結果をファイ
ル化したコマンド結果ファイルを記憶する記憶部12を
備えることである(請求項5に対応)。
Another additional component is to further include a storage unit 12 for storing a command result file in which execution results of input / output commands displayed on the screen are filed. ).

【0015】その他の付加的構成要素とは、前記コマン
ド作成部30は、前記画面の内容を変更するために前記
画面の内容を型、属性で定義した画面定義体ファイル1
7を記憶する記憶部12を備える(請求項6に対応)。
Another additional component is that the command creating unit 30 includes a screen definition file 1 in which the contents of the screen are defined by types and attributes in order to change the contents of the screen.
7 is provided (corresponding to claim 6).

【0016】その他の付加的構成要素とは、前記コマン
ド作成部30は、複数種類の文字列の中のいずれかの文
字列を選択して入力するキーワード入力によって前記選
択された文字列に対応する数値を入力することである
(請求項7に対応)。
Another additional component is that the command creating section 30 corresponds to the selected character string by a keyword input for selecting and inputting any one of a plurality of types of character strings. This is to input a numerical value (corresponding to claim 7).

【0017】その他の付加的構成要素とは、前記結果確
認部50は、入出力コマンドを実行したときの実際値を
試験結果が正常であることを示す期待値と比較すること
により試験結果を判定することである(請求項8に対
応)。
Another additional component is that the result confirmation unit 50 determines the test result by comparing the actual value when executing the input / output command with the expected value indicating that the test result is normal. (Corresponding to claim 8).

【0018】その他の付加的構成要素とは、前記結果確
認部50は、実際値と期待値との各々が複数のデータ値
からなる場合に前記実際値と期待値とのいずれか一方の
複数のデータ値の中の一部のデータ値をマスクすること
である(請求項9に対応)。
The other additional constituent element is that the result checking unit 50 includes a plurality of ones of the actual value and the expected value when each of the actual value and the expected value includes a plurality of data values. Masking a part of the data values (corresponding to claim 9).

【0019】その他の付加的構成要素とは、前記コマン
ド作成部30は、前記入出力装置に送出すべきライトデ
ータを画面上に作成することである(請求項10に対
応)。その他の付加的構成要素とは、前記コマンド作成
部30は、前記入出力装置に送出すべきライトデータの
中の特定値、ライトデータの昇順、ライトデータの降順
のいずれか1つを指定することにより前記画面上に各種
形態のデータを作成することである(請求項11に対
応)。
Another additional component is that the command creating section 30 creates write data to be sent to the input / output device on a screen (corresponding to claim 10). The other additional components are that the command creation unit 30 specifies one of a specific value in write data to be sent to the input / output device, an ascending order of write data, and a descending order of write data. To create various types of data on the screen (corresponding to claim 11).

【0020】その他の付加的構成要素とは、前記コマン
ド作成部30は、前記入出力装置に送出すべきライトデ
ータに対して乱数値によってランダムデータを作成する
ことである(請求項12に対応)。
Another additional component is that the command creation section 30 creates random data with a random number value for write data to be sent to the input / output device (corresponding to claim 12). .

【0021】その他の付加的構成要素とは、前記結果確
認部50は、ライトコマンドを実行した後にリードコマ
ンドを実行したときに前記ライトコマンドにより書き込
まれたライトデータを期待値と比較して表示することで
ある(請求項13に対応)。
Another additional component is that the result confirmation unit 50 compares the write data written by the write command with the expected value when the read command is executed after the execution of the write command and displays the result. (Corresponding to claim 13).

【0022】その他の付加的構成要素とは、前記コマン
ド実行部40は、複数の連結された入出力コマンドの各
々を指定するとともにその指定された入出力コマンドを
順次連続的に実行する連結実行部41を備えることであ
る(請求項14に対応)。
The other additional components are a command execution unit 40 which specifies each of a plurality of connected input / output commands and sequentially and sequentially executes the specified input / output commands. 41 (corresponding to claim 14).

【0023】その他の付加的構成要素とは、前記連結実
行部41は、複数の連結された入出力コマンドの各入出
力コマンドの実行結果を判定することである(請求項1
5に対応)。
Another additional component is that the connection execution unit 41 determines the execution result of each input / output command of a plurality of connected input / output commands.
5).

【0024】その他の付加的構成要素とは、前記連結実
行部41は、読み込みデータを記憶するとともに記憶さ
れたデータを次コマンドの書き込みデータによって指定
することである(請求項16に対応)。
Another additional component is that the connection execution unit 41 stores read data and specifies the stored data by writing data of the next command (corresponding to claim 16).

【0025】その他の付加的構成要素とは、さらに、入
出力コマンドが実行されたときの前記入出力装置からの
結果が前記結果確認部50に到達する前に次の入出力コ
マンドを発行する非同期コマンド発行部42を備える
(請求項17に対応)。
[0025] The other additional components include an asynchronous component that issues the next input / output command before the result from the input / output device reaches the result confirmation unit 50 when the input / output command is executed. A command issuing unit 42 is provided (corresponding to claim 17).

【0026】その他の付加的構成要素とは、前記結果確
認部50は、入出力コマンドを実行したときに実際値が
期待値に一致しない場合に前記入出力装置に関する装置
情報を収集する収集部54を備える(請求項18に対
応)。
Another additional component is that the result confirmation unit 50 collects device information on the input / output device when the actual value does not match the expected value when the input / output command is executed. (Corresponding to claim 18).

【0027】その他の付加的構成要素とは、さらに、前
記入出力装置が複数個からなる場合に各入出力装置に割
り当てられた互いに異なる識別番号を選択することによ
り試験対象とすべき入出力装置を指定する装置指定部4
3を備える(請求項19に対応)。
[0027] The other additional constituent elements further include an input / output device to be tested by selecting different identification numbers assigned to each input / output device when the input / output device is composed of a plurality of input / output devices. Device specifying section 4 for specifying
3 (corresponding to claim 19).

【0028】その他の付加的構成要素とは、前記装置指
定部43は、コマンドの実行選択モードに応じて前記複
数の入出力装置に対する並列動作と複数の入出力装置に
対する順次動作とのいずれか1つを選択することである
(請求項20に対応)。
Another additional component is that the device specifying section 43 performs one of a parallel operation on the plurality of input / output devices and a sequential operation on the plurality of input / output devices in accordance with a command execution selection mode. One of them (corresponding to claim 20).

【0029】その他の付加的構成要素とは、さらに、前
記複数個の入出力装置が1つのグループを形成しかつ複
数のグループからなる入出力装置が存在する場合に前記
装置指定部は、各グループを指定するとともにそのグル
ープ内の複数の入出力装置を同時に起動させることであ
る(請求項21に対応)。
[0029] The other additional constituent elements further include, when the plurality of input / output devices form one group and there is an input / output device composed of a plurality of groups, the device designating unit includes: And simultaneously activating a plurality of input / output devices in the group (corresponding to claim 21).

【0030】その他の付加的構成要素とは、さらに、前
記装置指定部43は各グループの入出力装置を指定し、
前記計算機と入出力装置との間で転送される転送データ
の方向を指定し、転送データの属性を指定することであ
る(請求項22に対応)。
The other additional constituent elements are that the device specifying section 43 specifies input / output devices of each group,
The direction of the transfer data transferred between the computer and the input / output device is specified, and the attribute of the transfer data is specified (corresponding to claim 22).

【0031】[0031]

【作用】本発明によれば、コマンド作成部により入出力
コマンドを画面上に作成し、作成された入出力コマンド
をコマンド実行部で実行することにより入出力装置の試
験を行い、実行された入出力コマンドの結果が正常か異
常かどうかを結果確認部で確認する。
According to the present invention, an input / output command is created on the screen by the command creation unit, and the created input / output command is executed by the command execution unit to test the input / output device. Check whether the result of the output command is normal or abnormal in the result check section.

【0032】すなわち、入出力コマンドの作成、実行、
及び結果が画面イメージによって容易にかつ簡便に確認
でき、入出力装置の試験の能率が向上する。また、結果
表示部51は画面上に設けられたステータス領域に結果
を表示するので、システム側としてはエラー処理とステ
ーテス表示画面として特別にフォーマットする必要がな
くなる。
That is, creation and execution of input / output commands,
In addition, the result can be easily and easily confirmed by the screen image, and the efficiency of the test of the input / output device is improved. Further, since the result display unit 51 displays the result in the status area provided on the screen, it is not necessary for the system side to specially format the error processing and the status display screen.

【0033】さらに、作成されたIOコマンドはファイ
ル化して保存できるため、既に作成されたIOコマンド
の再現実行、既存ファイルの複写、修正による新規ファ
イルの作成なども行える。
Further, since the created IO command can be saved as a file, it is possible to execute the reproduction of the already created IO command, copy the existing file, and create a new file by modification.

【0034】さらに、コマンド指定部61はコマンドフ
ァイル16を指定してその指定されたコマンドファイル
16の内容を出力するので、会話型編集画面を使用せず
にIOコマンドの実行及び確認ができる。
Further, since the command specifying section 61 specifies the command file 16 and outputs the contents of the specified command file 16, it is possible to execute and confirm the IO command without using the interactive editing screen.

【0035】さらに、画面に表示された入出力コマンド
の実行結果をファイルに記憶するので、前回の実行結果
の参照や障害履歴リストの出力ができる。画面定義体フ
ァイル17は画面の内容を型、属性で定義するので、ロ
ードモジュールに手を加えずに画面の内容を変更するこ
とができる。
Further, since the execution result of the input / output command displayed on the screen is stored in a file, the previous execution result can be referred to and a failure history list can be output. Since the screen definition file 17 defines the contents of the screen by types and attributes, the contents of the screen can be changed without changing the load module.

【0036】キーワード入力によって選択された文字列
に対応する数値を入力することでより簡便なコマンド編
集ができる。結果確認部50は実際値を期待値と比較す
ることにより試験結果を判定するので、試験の成否を容
易に判断できる。
By inputting a numerical value corresponding to the character string selected by the keyword input, simpler command editing can be performed. The result checker 50 determines the test result by comparing the actual value with the expected value, so that the success or failure of the test can be easily determined.

【0037】実際値と期待値とのいずれか一方の複数の
データ値の中の一部のデータ値をマスクするので、不定
値を含む領域を比較できる。コマンド作成部30は、入
出力装置に送出すべきライトデータを画面上に作成する
ので、任意のデータを簡便に指定できる。
Since a part of the plurality of data values of either the actual value or the expected value is masked, it is possible to compare regions including indefinite values. Since the command creation unit 30 creates write data to be sent to the input / output device on the screen, any data can be easily specified.

【0038】ここで、入出力装置に送出すべきライトデ
ータの中の特定値、ライトデータの昇順、ライトデータ
の降順のいずれか1つを指定することにより前記画面上
に各種形態のデータを作成することで、様々な形式のデ
ータを簡便に指定できる。また、前記入出力装置に送出
すべきライトデータに対して乱数値によってランダムデ
ータを作成することもできる。
Here, various types of data are created on the screen by designating any one of a specific value of the write data to be sent to the input / output device, an ascending order of the write data, and a descending order of the write data. By doing so, data in various formats can be easily specified. In addition, random data can be created with random numbers for the write data to be sent to the input / output device.

【0039】さらに、ライトコマンドを実行した後にリ
ードコマンドを実行したときに前記ライトコマンドによ
り書き込まれたライトデータを期待値と比較して表示す
ることもできる。
Further, when the read command is executed after the execution of the write command, the write data written by the write command can be compared with an expected value and displayed.

【0040】複数の連結された入出力コマンドの各々を
指定するとともにその指定された入出力コマンドを順次
連続的に実行するので、テストプログラム的な一連の連
続コマンド発行動作を確認できる。
Since each of the plurality of linked input / output commands is designated and the designated input / output commands are sequentially and sequentially executed, a series of continuous command issuing operations like a test program can be confirmed.

【0041】複数の連結された入出力コマンドの各入出
力コマンドの実行結果を判定するので、類似した機種間
のファイルの共通化などを図ることができる。読み込み
データを記憶するとともに記憶されたデータを次コマン
ドの書き込みデータによって指定するので、コマンド間
のデータの授受が行える。
Since the execution result of each input / output command of a plurality of connected input / output commands is determined, it is possible to share files between similar models. Since the read data is stored and the stored data is specified by the write data of the next command, data can be transferred between the commands.

【0042】さらに、入出力コマンドが実行されたとき
の前記入出力装置からの結果が前記結果確認部に到達す
る前に次の入出力コマンドを発行する非同期処理を行う
ので、入出力コマンドの重複実行によるコマンド保持試
験やコマンド処理中断処理試験を行うことができる。
Further, since the asynchronous processing for issuing the next input / output command is performed before the result from the input / output device when the input / output command is executed reaches the result confirmation unit, duplication of the input / output command is performed. A command holding test by execution and a command processing interruption processing test can be performed.

【0043】入出力コマンドを実行したときに実際値が
期待値に一致しない場合に前記入出力装置に関する装置
情報を収集するので、エラー内容を即座に把握できる。
識別番号を選択することにより試験対象とすべき入出力
装置を指定するので、同一試験の複数装置での実行が行
える。
If the actual value does not match the expected value when the input / output command is executed, device information on the input / output device is collected, so that the contents of the error can be immediately grasped.
Since the input / output device to be tested is specified by selecting the identification number, the same test can be executed by a plurality of devices.

【0044】また、コマンドの実行選択モードに応じて
前記複数の入出力装置に対する並列動作と複数の入出力
装置に対する順次動作とのいずれか1つを選択すること
もできる。
Further, one of the parallel operation for the plurality of input / output devices and the sequential operation for the plurality of input / output devices can be selected according to the command execution selection mode.

【0045】さらに、複数のグループからなる入出力装
置が存在する場合には、各グループを指定するとともに
そのグループ内の複数の入出力装置を同時に起動させる
こともできる。
Further, when there are input / output devices composed of a plurality of groups, it is possible to designate each group and activate a plurality of input / output devices in the group at the same time.

【0046】さらに、各グループの入出力装置を指定
し、前記計算機と入出力装置との間で転送される転送デ
ータの方向を指定し、転送データの属性を指定すること
で、オペレータにコマンドの詳細な内容を意識させな
い、より簡潔な試験を実行することができる。
Further, by designating the input / output devices of each group, designating the direction of the transfer data to be transferred between the computer and the input / output devices, and designating the attributes of the transfer data, the operator can be given commands. A more concise test can be performed without being aware of the details.

【0047】さらに、実行結果などによる論理機能を含
めた場合の性質は従来の試験プログラムに類似してい
る。しかし、従来の試験プログラムに比較してファイル
サイズや作成、修正が容易である。
Further, the properties when the logic function based on the execution result and the like are included are similar to the conventional test program. However, the file size, creation, and modification are easier than in a conventional test program.

【0048】以上説明した機能により本発明は例えば、
図2に示すように動作する。まず、試験プログラムを起
動し(ステップS1)、次に、複数の入出力装置の機番
(識別番号)を指定することによりツール(プログラム
ツール)を起動する(ステップS2)。さらに、入出力
コマンドファイルが直接起動したかどうかを判定する
(ステップS3)。
With the functions described above, the present invention provides, for example,
It operates as shown in FIG. First, a test program is started (step S1), and then a tool (program tool) is started by designating device numbers (identification numbers) of a plurality of input / output devices (step S2). Further, it is determined whether the input / output command file has been directly started (step S3).

【0049】ここで、入出力コマンドファイルが直接起
動しない場合には、初期画面を表示する(ステップS
4)。オペレーション指定を行う。ここでは、入出力コ
マンドの作成、修正、削除、単一コマンドまたは連結コ
マンドの実行を行うどうかを判定する(ステップS
5)。そして、入出力(IO)コマンド作成(IOコマ
ンド、期待値、比較ビット指定、格納)を行う(ステッ
プS6)。
If the input / output command file is not directly started, an initial screen is displayed (step S).
4). Specify the operation. Here, it is determined whether to create, modify, or delete an input / output command, or to execute a single command or a concatenation command (step S).
5). Then, an input / output (IO) command is created (IO command, expected value, comparison bit designation, storage) (step S6).

【0050】さらに、IOコマンド起動指示を行い(ス
テップS7)、IOコマンド起動パラメータUI,HA
LT,SENSEを入力し(ステップS8)、入出力装
置から応答を受信する(ステップS9)。そして、試験
の結果をステータスに表示し、その結果を格納し、リー
ドデータを処理する(ステップS10)。
Further, an IO command start instruction is issued (step S7), and IO command start parameters UI and HA are set.
LT and SENSE are input (step S8), and a response is received from the input / output device (step S9). Then, the result of the test is displayed in the status, the result is stored, and the read data is processed (step S10).

【0051】一方、ファイルを起動した場合には、単一
のIOコマンドまたは連続IOコマンドでファイルを読
み込み(ステップS11)、対象機番を認識し(ステッ
プS12)、IOコマンドを生成する(ステップS1
3)。
On the other hand, when the file is started, the file is read by a single IO command or a continuous IO command (step S11), the target machine number is recognized (step S12), and an IO command is generated (step S1).
3).

【0052】さらに、IOコマンドを起動し(ステップ
S14)、応答を受信する(ステップS15)。さら
に、結果を予め定められた値と比較して、その結果が正
常かどうかを判定し(ステップS16)、結果が正常で
ある場合には、結果を格納する(ステップS17)。結
果が異常である場合には、エラー処理を行う(ステップ
S18)。
Further, an IO command is activated (step S14), and a response is received (step S15). Further, the result is compared with a predetermined value to determine whether the result is normal (Step S16). If the result is normal, the result is stored (Step S17). If the result is abnormal, error processing is performed (step S18).

【0053】[0053]

【実施例】以下、本発明の実施例を図面を参照して説明
する。 <実施例1>図3は本発明の実施例に従ったIOコマン
ド入出力試験装置のハードウェア構成を示す図である。
図3において、IOコマンド入出力装置は中央処理装置
(CPU)11、CPU11により制御されるMEM
(メモリ)12、CPU11により制御されるADP
(アダプタ)13(13a〜13n)と、ADP13aに接続さ
れるコンソール14、各ADP13(13a〜13n)に接続さ
れる3つのIO装置15(15b-1〜15b-3乃至15n-1〜15n-
3)とを備える。
Embodiments of the present invention will be described below with reference to the drawings. <First Embodiment> FIG. 3 is a diagram showing a hardware configuration of an IO command input / output test apparatus according to an embodiment of the present invention.
In FIG. 3, the IO command input / output device is a central processing unit (CPU) 11, and a MEM controlled by the CPU 11.
(Memory) 12, ADP controlled by CPU 11
(Adapter) 13 (13a to 13n), console 14 connected to ADP 13a, and three IO devices 15 (15b-1 to 15b-3 to 15n-1 to 15n-) connected to each ADP 13 (13a to 13n).
3).

【0054】前記コンソール14は、データ、コマンド
などの各種の情報を入力するキーボード21と画面に各
種のデータ、コマンドを表示するディスプレイ装置22
をと備える。
The console 14 includes a keyboard 21 for inputting various information such as data and commands, and a display device 22 for displaying various data and commands on a screen.
With.

【0055】前記MEM12はIOコマンドにより前記
各IO装置15の試験を行うための処理プログラムを備
える。各IO装置15はIOコマンドにより試験を実行
しその結果をコンソール4に返す。
The MEM 12 has a processing program for testing each of the IO devices 15 by an IO command. Each IO device 15 executes a test according to an IO command, and returns the result to the console 4.

【0056】前記CPU1が前記処理プログラムを実行
することで実現される機能、すなわち、IOコマンド入
出力装置のソフトウェア構成を図4に示す。図4におい
て、装置は入出力コマンドを画面上で作成、実行、結果
の表示を行うために、コマンド作成部30、コマンド作
成部30に接続されるコマンド実行部40、MEM12
及びコマンド実行部40に接続されるコマンド指定部6
1、コマンド実行部40に接続される結果確認部50と
を備える。実施例の特徴はフルスクリーンの画面上で視
覚的にIOコマンドを入力し、この画面において、IO
コマンド作成、IOコマンド実行、結果表示の順に処理
を進めることである。
FIG. 4 shows a function realized by the CPU 1 executing the processing program, that is, a software configuration of the IO command input / output device. In FIG. 4, the apparatus creates a command creation unit 30, a command execution unit 40 connected to the command creation unit 30, and a MEM 12 to create and execute input / output commands on a screen and display the result.
And a command specifying unit 6 connected to the command execution unit 40
1, a result confirmation unit 50 connected to the command execution unit 40; A feature of the embodiment is that an IO command is visually input on a full screen screen, and an IO command is input on this screen.
That is, the processing proceeds in the order of command creation, IO command execution, and result display.

【0057】以下、各構成を詳細に説明する。 (コマンド作成部)コマンド作成部30は図示しない計
算機に接続されたIO装置15の試験を行うための入出
力コマンドの値を入力して前記ディスプレイ装置22の
画面上に作成する。入力コマンドはキーボード21など
から入力される。図5にIOコマンドの作成画面を示
す。図6にIOコマンド及びその機能を示す。なお、I
Oコマンドは図5のDCW、DCW−パラメータに作成
される。
Hereinafter, each component will be described in detail. (Command creator) The command creator 30 receives input and output command values for testing the IO device 15 connected to a computer (not shown) and creates the value on the screen of the display device 22. The input command is input from the keyboard 21 or the like. FIG. 5 shows a screen for creating an IO command. FIG. 6 shows IO commands and their functions. Note that I
The O command is created in DCW and DCW-parameter of FIG.

【0058】IOコマンドの値は該当部分にカーソルを
移動して記述される。IOコマンドを入力するめたにコ
マンド入力部30にはキーワード入力部31が設けられ
る。キーワード入力部31は複数種類の文字列の中のい
ずれかの文字列を選択して入力するキーワード入力によ
って前記選択された文字列に対応する数値を入力する。
なお、IOコマンドの入力方法は16進数によって行っ
てもよい。
The value of the IO command is described by moving the cursor to the corresponding portion. For inputting an IO command, the command input unit 30 is provided with a keyword input unit 31. The keyword input section 31 inputs a numerical value corresponding to the selected character string by keyword input for selecting and inputting any one of a plurality of types of character strings.
Note that the input method of the IO command may be performed in hexadecimal.

【0059】ライトデータ作成部32は前記IO装置1
5に送出すべきライトデータを前記画面上に作成する。
ライトデータは図5の画面に作成される。実際のライト
データは4ワードを越えるため、内部でこの4ワードを
繰り返し任意の長さに設定する。
The write data creation unit 32
5. Write data to be transmitted to the screen 5 is created on the screen.
Write data is created on the screen of FIG. Since the actual write data exceeds four words, these four words are internally set to an arbitrary length.

【0060】なお、ライトデータ作成部32は前記入出
力装置に送出すべきライトデータの中の特定値、ライト
データの昇順、ライトデータの降順のいずれか1つを指
定することにより前記画面上に各種形態のデータを作成
するようにしてもよい。
The write data creation unit 32 specifies one of a specific value of the write data to be sent to the input / output device, an ascending order of the write data, and a descending order of the write data, thereby displaying on the screen. Various forms of data may be created.

【0061】さらに、ライトデータ作成部32は前記入
出力装置に送出すべきライトデータに対して乱数値によ
ってランダムデータを作成するようにしてもよい。例え
ば、ライトデータ作成部32は図5のサイクルデータx
xの部分の値を変化させることによって、図10に示す
ようにライトデータを変化させる。 (コマンド実行部)コマンド実行部40は画面上に表示
された実行コマンドを用いて前記コマンド作成部30で
作成された入出力コマンドを実行することにより前記I
O装置15の試験を行う。図7に示すように画面下部に
はIOコマンドを実行するための実行条件設定画面が表
示される。なお、図5の画面下部には実行コマンドXな
どのコマンド一覧が表示される。
Further, the write data creation section 32 may create random data with a random number value for the write data to be sent to the input / output device. For example, the write data creation unit 32 stores the cycle data x in FIG.
By changing the value of the x portion, the write data is changed as shown in FIG. (Command Executor) The command executor 40 executes the input / output command created by the command creator 30 using the execution command displayed on the screen to execute the I / O command.
The O device 15 is tested. As shown in FIG. 7, an execution condition setting screen for executing an IO command is displayed at the bottom of the screen. A list of commands such as the execution command X is displayed at the bottom of the screen in FIG.

【0062】前記コマンド実行部40は、複数の連結さ
れた入出力コマンドの各々を指定するとともにその指定
された入出力コマンドを順次連続的に実行する連結実行
部41を備える。
The command execution unit 40 includes a connection execution unit 41 that specifies each of a plurality of connected input / output commands and sequentially and sequentially executes the specified input / output commands.

【0063】前記連結実行部41は、複数の連結された
入出力コマンドの各入出力コマンドの実行結果を判定す
る。連結実行部41は図5に示す画面で作成された1つ
のIOコマンドファイル(単一コマンドファイル)をバ
ッチ的に連続で発行する。図12に連結ファイルの作成
画面を示す。連結実行部41は連結作成画面の左半分の
領域に示される単一命令ファイルの一覧の中から任意の
ファイル名を選択し、画面右半分の領域に登録してい
く。
The connection execution unit 41 determines the execution result of each input / output command of the plurality of connected input / output commands. The link execution unit 41 issues one IO command file (single command file) created on the screen shown in FIG. 5 continuously in a batch. FIG. 12 shows a connection file creation screen. The link execution unit 41 selects an arbitrary file name from the list of single command files shown in the left half area of the link creation screen and registers it in the right half area of the screen.

【0064】連結実行部41は、単一コマンド名の羅列
である連結ファイル41aに書かれたファイル名を順に
読み出し、単一コマンドを順に実行していく。また、連
結実行部41は、図13に示すように連結ファイル中に
分岐命令を記述することでよりプログラムに近い動作を
行う。
The connection execution unit 41 sequentially reads out the file names written in the connection file 41a, which is a list of single command names, and sequentially executes the single commands. The link execution unit 41 performs an operation closer to a program by describing a branch instruction in a link file as shown in FIG.

【0065】前記連結実行部41は、読み込みデータを
記憶するとともに記憶されたデータを次コマンドの書き
込みデータによって指定する。コマンド実行部40は、
さらに、入出力コマンドが実行されたときの前記入出力
装置からの結果が前記結果確認部に到達する前に次の入
出力コマンドを発行する非同期コマンド発行部42を備
える。
The link execution unit 41 stores the read data and specifies the stored data by the write data of the next command. The command execution unit 40
Further, an asynchronous command issuing unit 42 for issuing a next input / output command before a result from the input / output device when the input / output command is executed reaches the result confirmation unit is provided.

【0066】図7の画面内のホールトオンはIOコマン
ドを実行した直後のコマンド処理中断指示を表す。非同
期コマンド発行部42は前記指示をオンに設定し、さら
に、after(アフタ)XXmsecを設定することでIOコマン
ドを実行した後のXXミリ秒後に対象のIO装置のコマ
ンド処理を中断させる。
Halt-on in the screen of FIG. 7 indicates a command processing interruption instruction immediately after the execution of the IO command. The asynchronous command issuing unit 42 sets the instruction to ON, and further sets after (XX) msec to interrupt the command processing of the target IO device XX milliseconds after executing the IO command.

【0067】コマンド実行部40は、さらに、各IO装
置15に割り当てられた互いに異なる識別番号を選択す
ることにより試験対象とすべき入出力装置15を指定す
る装置指定部43を備える。
The command execution unit 40 further includes a device designation unit 43 for designating the input / output device 15 to be tested by selecting different identification numbers assigned to the respective IO devices 15.

【0068】前記装置指定部43は同一のアダプタ13
に接続される複数のIO装置15に対して、(A)複数
装置に同時にIOコマンドを送出することで並列動作さ
せる処理(B)複数装置の各々に順番にIOコマンドを
送出する順次動作させる処理とのいずれか一方の子処理
を選択する。 (結果確認部)結果確認部50はコマンド実行部40で
実行された入出力コマンドの結果が正常か異常かどうか
を確認する。ここでは、結果確認部50は、図5に示す
画面上において、入出力コマンドを実行したときの実際
値DSW(Act)を試験結果が正常であることを示す期待値DS
W(Exp)と比較することにより試験結果を判定する。
The device specifying section 43 is the same adapter 13
(A) A process for transmitting IO commands to a plurality of devices in parallel by simultaneously transmitting IO commands to a plurality of IO devices 15 connected to the (B) A process for sequentially transmitting IO commands to each of the plurality of devices 15 One of the child processes is selected. (Result Confirmation Unit) The result confirmation unit 50 confirms whether the result of the input / output command executed by the command execution unit 40 is normal or abnormal. Here, the result confirmation unit 50 changes the actual value DSW (Act) when the input / output command is executed on the screen shown in FIG. 5 into the expected value DS indicating that the test result is normal.
The test result is determined by comparing with W (Exp).

【0069】また、前記結果確認部50は、結果表示部
51、マスク部52、リードコマンド実行部53、収集
部54とを備える。結果表示部51は図5の前記画面上
に設けられたステータス領域に前記入出力コマンドが実
行されたときの結果を表示する。
The result confirmation unit 50 includes a result display unit 51, a mask unit 52, a read command execution unit 53, and a collection unit 54. The result display unit 51 displays a result when the input / output command is executed in a status area provided on the screen of FIG.

【0070】前記マスク部52は前記実際値と期待値と
の各々が複数のデータ値からなる場合に前記実際値と期
待値とのいずれか一方の複数のデータ値の中の一部のデ
ータ値をマスクする。マスク部52は例えば、期待値を
実際値と比較したくない部分がある場合には、図5の画
面右の「DSW-マスク」を使用する。
When each of the actual value and the expected value is composed of a plurality of data values, the masking section 52 performs a partial data value in one of the plurality of data values of the actual value and the expected value. Is masked. For example, when there is a portion where it is not desired to compare the expected value with the actual value, the mask unit 52 uses “DSW-mask” on the right side of the screen in FIG.

【0071】リードコマンド実行部53はライトコマン
ドを実行した後にリードコマンドを実行したときに前記
ライトコマンドにより書き込まれたライトデータを期待
値と比較して表示する。
The read command execution section 53 compares the write data written by the write command with the expected value when the read command is executed after the execution of the write command, and displays it.

【0072】前記収集部54は、入出力コマンドを実行
したときに実際値が期待値に一致しない場合に前記IO
装置15に関する装置情報を収集する。 (その他の構成)前記MEM12はコマンドファイル1
6、画面定義体ファイル17、画面定義体スクリプト1
8を記憶する。
If the actual value does not match the expected value when the input / output command is executed,
Device information on the device 15 is collected. (Other Configuration) The MEM 12 is a command file 1
6. Screen definition file 17, screen definition script 1
8 is stored.

【0073】コマンドファイル16は前記画面で作成さ
れた入出力コマンドをファイル化したものである。コマ
ンドファイル16は前記画面に表示された入出力コマン
ドの実行結果をファイル化したコマンド結果ファイルを
記憶するもので、図5に示す実際値「DSW(Act)」と期待
値「DSW(Exp)」とを数世代分ファイル内に格納する。
The command file 16 is a file of the input / output commands created on the screen. The command file 16 stores a command result file in which execution results of input / output commands displayed on the screen are converted into a file. The actual value “DSW (Act)” and the expected value “DSW (Exp)” shown in FIG. Are stored in the file for several generations.

【0074】図5で編集されたIOコマンドのイメージ
はそのままファイル化される。ファイルはIOコマンド
データの他に画面で入力されるほとんどのデータ(ライ
トデータ、期待値、マスク、各種スイッチなど)を格納
する。
The image of the IO command edited in FIG. 5 is filed as it is. The file stores most data (write data, expected value, mask, various switches, etc.) input on the screen in addition to the IO command data.

【0075】図8は画面定義体ファイルの内容を示す図
である。図9は画面定義体スクリプトの内容を示す図で
ある。前記画面定義体ファイル17は実際の画面に出力
されるイメージ図の元となるファイルである。このツー
ルは前記2種類のファイルから画面を作成し表示する。
FIG. 8 shows the contents of the screen definition file. FIG. 9 is a diagram showing the contents of the screen definition body script. The screen definition file 17 is a file serving as a basis for an image diagram output on an actual screen. This tool creates and displays a screen from the two types of files.

【0076】前記画面定義体ファイル17は画面定義体
スクリプト18に対して1対1で設けられている。前記
画面定義体ファイル17は画面に表示されるイメージを
管理する。図8に示すように「ア」〜「サ」の部分は値
が入力可能な部分である。この部分の後にその入力ポイ
ントの名称が英字3字程度で書かれている。合計4文字
によって入力ポイント名が定義される。
The screen definition file 17 is provided one-to-one with respect to the screen definition script 18. The screen definition file 17 manages images displayed on the screen. As shown in FIG. 8, the portions "A" to "SA" are portions where values can be input. After this part, the name of the input point is written in about three alphabetic characters. The input point name is defined by a total of four characters.

【0077】前記画面定義体スクリプト18はオペレー
タが画面上に値を入力する際のデータの型、属性などを
管理する。前記画面定義体スクリプト18には図8に示
す前記画面定義ファイル17の入力ポイントで入力され
る値の型などが定義されている。
The screen definition script 18 manages data types, attributes, and the like when an operator inputs a value on the screen. The screen definition body script 18 defines the type of a value input at an input point of the screen definition file 17 shown in FIG.

【0078】前記コマンド指定部61は、IO装置15
を起動したときに前記MEM12に記憶されたコマンド
ファイルを指定してその指定されたコマンドファイルの
内容を前記コマンド実行部40に出力する。コマンド指
定部61が起動時にIOコマンドのファイル名を指定し
た場合には、図11に示すIOコマンド選択画面は出力
されず、指定されたIOコマンドが直接に実行される。
コマンド指定部61はこのファイル名に連結ファイルを
指定することもできる。
The command designating section 61 is provided for the IO device 15
Is started, the command file stored in the MEM 12 is specified, and the contents of the specified command file are output to the command execution unit 40. When the command specification unit 61 specifies the file name of the IO command at the time of startup, the specified IO command is directly executed without outputting the IO command selection screen shown in FIG.
The command specifying unit 61 can also specify a linked file for this file name.

【0079】次に、このように構成された実施例の動作
を図14〜図16に示すフローチャートを参照して説明
する。まず、本ツールの起動コマンドを入力してツール
を起動する(ステップ101)。
Next, the operation of the embodiment configured as described above will be described with reference to the flowcharts shown in FIGS. First, the tool is started by inputting a start command of the present tool (step 101).

【0080】次に、ツールが起動されたときにIOコマ
ンドファイル名が指定されたかどうかが判定される(ス
テップ102)。ここで、IOコマンドファイル名が指
定されていない場合には、ファイル化して記憶されたI
Oコマンドファイル16の一覧が図11に示すように画
面に表示される(ステップ103)。
Next, it is determined whether or not an IO command file name has been designated when the tool was activated (step 102). Here, if the IO command file name is not specified, the filed I
A list of the O command files 16 is displayed on the screen as shown in FIG. 11 (step 103).

【0081】そして、コマンド指定部61は画面に表示
されたIOコマンドファイル16の一覧の中から目的の
IOコマンドファイルを指定(選択)する(ステップ1
04)。さらに、コマンド実行部40は指定されたIO
コマンドファイルが単一IOコマンドファイルか連結I
Oコマンドファイルかを判定する(ステップ105)。
Then, the command specifying section 61 specifies (selects) a target IO command file from the list of IO command files 16 displayed on the screen (step 1).
04). Further, the command execution unit 40 transmits the specified IO
Command file is a single IO command file or concatenated I
It is determined whether the file is an O command file (step 105).

【0082】IOコマンドファイルが単一IOコマンド
ファイルである場合には、コマンド作成部30による単
一IOコマンドの画面上での編集とコマンド実行部40
によるコマンドの実行が図15に示すフローチャートに
従って行われる。
When the IO command file is a single IO command file, the command creation unit 30 edits the single IO command on the screen and the command execution unit 40
Is executed according to the flowchart shown in FIG.

【0083】図15に示すように選択された単一のIO
コマンドファイルが入力されると、そのファイルの内容
が読み出される(ステップ111)。さらに、画面定義
体ファイル17から画面に表示されるイメージが読み出
され、画面定義体スクリプト18からデータの型、属性
が読み出される(ステップ112)。
A single IO selected as shown in FIG.
When a command file is input, the contents of the file are read (step 111). Further, an image displayed on the screen is read from the screen definition file 17 and the data type and attribute are read from the screen definition script 18 (step 112).

【0084】このとき、図8に示すように入力ポイント
名が、「ア」〜「サ」の部分の入力値とその後の入力ポ
イントの名称(英字3字)との合計4文字によって定義
される。前記2つのファイルは一般のテキストエディタ
などで修正でき、ツール本体のロードモジュールを変更
することなしに画面イメージを容易に修正することがで
きる。
At this time, as shown in FIG. 8, the input point name is defined by a total of four characters including the input values of the parts "A" to "S" and the names of the subsequent input points (three alphabetic characters). . The two files can be modified with a general text editor or the like, and the screen images can be easily modified without changing the load module of the tool body.

【0085】次に、コマンド作成部30はIOコマンド
を画面上で作成する(ステップ113)。このとき、コ
マンド作成部30はIOコマンドの入力方法に主眼をお
き、フルスクリーンの画面上で視覚的にIOコマンドを
入力する。これにより、IOコマンドを簡便に入力で
き、しかも入力の効率を上げかつ入力ミスを軽減するこ
とができる。
Next, the command creating section 30 creates an IO command on the screen (step 113). At this time, the command creation unit 30 focuses on the input method of the IO command, and visually inputs the IO command on a full screen screen. As a result, it is possible to easily input an IO command, and to improve the input efficiency and reduce input errors.

【0086】コマンド作成部30は図5に示すように画
面左上の「DCW(Device Control Word)-パラメータ」、C
DB(Command Descripter Block)-パラメータ」の部分に
値を入力し、「DCW」の部分にIOコマンドを作成す
る。
As shown in FIG. 5, the command creation section 30 executes “DCW (Device Control Word) -Parameter” at the upper left of the screen,
Enter a value in the “DB (Command Descripter Block) -parameter” part and create an IO command in the “DCW” part.

【0087】これらのパラメータはDCW(IOコマン
ドのディスクリプタ)内の特に重要な部分を抜き出した
ものである。画面上の「DCW」とパラメータ部分とは
内部的に同一領域を示している。「DCW」のある部分
に値を入力すると、パラメータ部分の該当部分の値も変
化する。
These parameters are extracted from a particularly important part in DCW (descriptor of IO command). “DCW” on the screen and the parameter portion internally indicate the same area. When a value is input to a certain part of “DCW”, the value of the corresponding part of the parameter part also changes.

【0088】ここで、キーワード入力部31は、例え
ば、ノーマル=0,エラー=−1という定義がツール側
に予め用意された場合に、画面上のノーマル,エラーと
いった文字列を選択して0,又は1の数値を入力するこ
とができる。これによれば、感覚的にわかりやすい定義
名で入力することができる。
Here, for example, when the definition of normal = 0, error = −1 is prepared in the tool side in advance, the keyword input unit 31 selects a character string such as normal or error on the screen and selects 0, Alternatively, a numerical value of 1 can be input. According to this, it is possible to input a definition name that is intuitively understandable.

【0089】さらに、その際に、図5に示すように、実
行された時の終結状態の期待値「DSW((Device Status w
ord)Exp)」を設定しておく。期待値が作成された場合
には、図5に示すように画面下部に表示されている実行
コマンド「X」を使用する。すると、画面下部には図7
に示すような実行条件設定画面が表示される。ここで、
各種の実行条件を設定し、IOコマンドをIO装置15
に発行する。
Further, at this time, as shown in FIG. 5, the expected value "DSW ((Device Status w
ord) Exp) ". When the expected value is created, the execution command “X” displayed at the bottom of the screen as shown in FIG. 5 is used. Then, at the bottom of the screen, Figure 7
The execution condition setting screen shown in FIG. here,
Various execution conditions are set, and IO commands are sent to the IO device 15.
Issue to

【0090】すなわち、コマンド実行部40は作成され
たIOコマンドを実行することによりIO装置15の試
験を実行する(ステップ114)。このIOコマンドの
実行は図16に示すフローチャートに従って行われる。
図16において、装置指定部43からコマンドを実行す
るための各種のパラメータが入力される(ステップ12
1)。
That is, the command execution unit 40 executes a test of the IO device 15 by executing the created IO command (step 114). The execution of the IO command is performed according to the flowchart shown in FIG.
In FIG. 16, various parameters for executing a command are input from the device specifying unit 43 (step 12).
1).

【0091】図7のUIはIOコマンドを実行する対象
装置のID番号のID列を示す。装置指定部43は前記
ID列の一部または全部を指定して、複数装置に対して
同一の試験を起動することができる。
The UI in FIG. 7 shows an ID string of the ID number of the target device for executing the IO command. The device specifying unit 43 can start the same test for a plurality of devices by specifying a part or all of the ID string.

【0092】また、装置指定部43は図7のモード設定
によって(A)複数装置に同時にIOコマンドを送出す
ることで並列動作させる処理(B)複数装置の各々に順
番にIOコマンドを送出する順次動作させる処理のいず
れか一方の起動方法を選択することができる。
Further, the device designation section 43 performs (A) a process of transmitting an IO command to a plurality of devices at the same time to perform parallel operations by setting the mode of FIG. 7 (B) transmitting an IO command to each of the plurality of devices in order. Either one of the activation methods can be selected.

【0093】さらに、装置指定部43は図3に示すよう
に1つのアダプタに対して複数のIO装置が接続されて
いる。本ツールはこのアダプタを指定することによりそ
のアダプタに接続される1つのグループである複数のI
O装置の全てに対して、IOコマンドを発行することも
できる。
Further, as shown in FIG. 3, in the device specifying section 43, a plurality of IO devices are connected to one adapter. By specifying this adapter, this tool can connect multiple I
IO commands can be issued to all of the O devices.

【0094】次に、ライトデータ作成部32はIO装置
15に送出すべきライトデータを作成する(ステップ1
22)。この場合、図5に示す画面右下にあるパラメー
タ群がライトデータ入力領域である。ライトデータの囲
み内の4ワードデータはIO装置へのライトデータであ
る。ライトデータ作成部32は実際のライトデータが4
ワードを越えるため、内部でこの4ワードを繰り返し任
意の長さに設定する。
Next, the write data creation section 32 creates write data to be sent to the IO device 15 (step 1).
22). In this case, the parameter group at the lower right of the screen shown in FIG. 5 is the write data input area. Four-word data in the box of write data is write data to the IO device. The write data creation unit 32 determines that the actual write data is 4
To exceed the word, these four words are internally set to an arbitrary length.

【0095】サイクルデータxxの部分は前記4ワード
(16バイト)の内の何バイトを繰り返しデータに使用
するかを指定する。また、前記サイクルデータxxの部
分はその値を変化させることによって、ライトデータを
変化させることができる。図10に示すようにサイクル
データを変化させることでライトデータを変化させるこ
ともできる。図10において、例えば、サイクルデータ
を0x10に設定し、昇順データの初期値を先頭2バイ
トとし、2バイト降順のデータ例を作成する。サイクル
データを0x12に設定し、乱数のシード値を先頭4バ
イトとし、ランダムデータを作成することもできる。
The part of the cycle data xx specifies how many bytes of the four words (16 bytes) are used for the repeated data. The write data can be changed by changing the value of the cycle data xx. As shown in FIG. 10, the write data can be changed by changing the cycle data. In FIG. 10, for example, the cycle data is set to 0x10, the initial value of the ascending data is the first 2 bytes, and a data example of 2 bytes in descending order is created. The cycle data can be set to 0x12, and the seed value of the random number can be set to the first 4 bytes to create random data.

【0096】さらに、上記以外のデータを転送したい場
合には、オペレータがそのデータを任意のファイルとし
て用意することでそれを転送データにすることもでき
る。例えば、図5の右下に示すようなデータファイル名
にそのファイル名を指定することで前記機能が有効とな
る。
Further, if it is desired to transfer data other than those described above, the operator can prepare the data as an arbitrary file and use it as transfer data. For example, the function is enabled by designating the data file name as shown in the lower right of FIG.

【0097】このように、データパターン直接記述、特
定パターン指定によるパターン自動生成、乱数によるラ
ンダムパターン自動生成、送出データファイル読み込み
を行うことで、多数のデータバリエーションに対応し、
大量のデータを転送することもできる。
As described above, by directly describing a data pattern, automatically generating a pattern by designating a specific pattern, automatically generating a random pattern by using a random number, and reading a transmission data file, a large number of data variations can be handled.
It can also transfer large amounts of data.

【0098】さらに、連結実行部41はファイルが連結
ファイル41aかどうかを判定する(ステップ12
3)。ファイルが単一のファイルである場合には、コマ
ンド実行部40は単一コマンドをIO装置15に発行
し、結果確認部50はIO装置15に送出されたライト
データの実際値を期待値と比較する(ステップ12
4)。
Further, the link execution unit 41 determines whether the file is the link file 41a (step 12).
3). If the file is a single file, the command execution unit 40 issues a single command to the IO device 15, and the result check unit 50 compares the actual value of the write data sent to the IO device 15 with the expected value. (Step 12
4).

【0099】ここでは、結果確認部50はIO装置15
が返す実際値「DSW(Act)」を、IOコマンドを実行した
後に期待値「DSW(Exp)」と比較し、実行の成否を判断す
る。さらに、この期待値を実際値と比較したくない部分
がある場合には、図5の画面右上の「DSW-マスク」を使
用する。図5に示す画面右上の「DSW-マスク」はIOコ
マンドを実行したときの期待値のマスク領域であり、マ
スク部52は「DSW-マスク」により期待値「DSW(Exp)」
の4ビット(1デジット)に対して1つのマスクを設定
する。
Here, the result confirmation unit 50 is the IO device 15
Is compared with the expected value "DSW (Exp)" after executing the IO command to determine the success or failure of the execution. Further, when there is a portion where the expected value is not to be compared with the actual value, the “DSW-mask” at the upper right of the screen in FIG. 5 is used. “DSW-Mask” at the upper right of the screen shown in FIG. 5 is a mask area of the expected value when the IO command is executed, and the mask unit 52 sets the expected value “DSW (Exp)” by “DSW-Mask”.
One mask is set for the 4 bits (1 digit) of.

【0100】これにより、部分的に期待値と実際値との
比較処理を避けられ、不定値を含むようなステータス領
域の比較、確認が行える。さらに、結果の確認として
は、ステータスだけでなく、読み込みデータについても
確認できる。
As a result, the comparison between the expected value and the actual value can be partially avoided, and the comparison and confirmation of the status area including the undefined value can be performed. Further, as a result confirmation, not only the status but also the read data can be confirmed.

【0101】例えば、図5に示す画面右下の「データコ
ンプ」はライトデータの比較を行うかどうかを示すデー
タである。リードコマンド実行部53がリードコマンド
を実行したときに、得られたデータを期待値として比較
を行うものである。直前にライトコマンドを実行した場
合などに「データコンプオン」に設定して、リードコマ
ンドを実行する場合には、直前に書き込んだデータが比
較される。
For example, "Data Comp" at the lower right of the screen shown in FIG. 5 is data indicating whether or not to compare write data. When the read command execution unit 53 executes the read command, the obtained data is compared with an expected value. When the data command is set to “data compon” when the write command is executed immediately before and the read command is executed, the data written immediately before is compared.

【0102】この例では、読み込み結果が予測できるリ
ード系の試験において有効となる。次に、発行されたI
Oコマンドは正常終了又は異常終了する。正常終了又は
異常終了のいずれの場合でも、結果表示部51は図5の
「DSW(Act)」に終結ステータスを表示する(ステップ1
25)。異常終了の場合には、その旨が画面下部に表示
される。
This example is effective in a read test in which a read result can be predicted. Next, the issued I
The O command ends normally or abnormally. In either case of normal termination or abnormal termination, the result display unit 51 displays the termination status in “DSW (Act)” of FIG. 5 (step 1).
25). In the case of abnormal termination, a message to that effect is displayed at the bottom of the screen.

【0103】この場合に、IOコマンド作成画面中にこ
のステータス表示域を設けることによりエラー処理及び
ステータス表示画面と編集画面とを共有している。これ
により、システム側としては、エラー処理及びステータ
ス表示画面として特別にフォーマットする必要がなくな
り、余分な操作や手続が少なくなる。
In this case, by providing this status display area in the IO command creation screen, the error processing and status display screen and the editing screen are shared. This eliminates the need for the system to specially format the error handling and status display screens, thereby reducing extra operations and procedures.

【0104】一方、ファイルが連結ファイル41aであ
る場合には、連結実行部41は連結ファイル41a内の
ファイル名をひとつずつ読み出して各ファイルを実行す
る(ステップ126)。
On the other hand, if the file is the linked file 41a, the link executing unit 41 reads out the file names in the linked file 41a one by one and executes each file (step 126).

【0105】この場合に、連結実行部41は図12に示
す連結ファイル41aに書かれたファイル名を順に読み
出し、単一コマンドを順に実行していく。また、図13
に示す連結ファイル中に分岐命令を記述することでより
プログラムに近い性質をもつ動作が可能となる。#が付
加されないものは単一コマンドファイル名であり、#が
付加されたものは各種のコマンドである。単一のコマン
ドの後に(i)などの形式で引数を付加することで特定
値を単一のコマンドに渡すことができる。
In this case, the link execution unit 41 sequentially reads the file names written in the link file 41a shown in FIG. 12 and sequentially executes a single command. FIG.
By describing a branch instruction in the concatenated file shown in (1), an operation having characteristics closer to that of a program can be performed. Those to which # is not added are single command file names, and those to which # is added are various commands. A specific value can be passed to a single command by adding an argument such as (i) after the single command.

【0106】なお、ステップ121において、前記パラ
メータとして非同期発行部42、収集部54からのパラ
メータを入力してもよい。この場合、非同期発行部42
は図7に示す画面内においてIOコマンドを実行した直
後のコマンド処理中断指示を表すホールト指示をオンに
設定し、さらに、アフタXXmsecを設定することでIOコ
マンドを実行した後のXXミリ秒後に対象のIO装置の
コマンド処理を中断する。非同期発行部42は入出力コ
マンドが実行されたときの前記IO装置15からの結果
が前記結果確認部50に到達する前に次の入出力コマン
ドを発行する。
In step 121, parameters from the asynchronous issuing unit 42 and the collecting unit 54 may be input as the parameters. In this case, the asynchronous issuing unit 42
In the screen shown in FIG. 7, the halt instruction indicating the command processing interruption instruction immediately after the execution of the IO command is set to ON, and after XX milliseconds after executing the IO command by setting the after XX msec, Command processing of the IO device is interrupted. The asynchronous issuing unit 42 issues the next input / output command before the result from the IO device 15 when the input / output command is executed reaches the result checking unit 50.

【0107】これにより、IO装置15でのコマンドの
保持機能試験、通常のコマンド実行後のリセットといっ
た異常系の試験を行うことができる。また、IOコマン
ドを実行した後の結果が期待値と異なっている場合に
は、スタータス比較でエラーが発生する。この場合に
は、図7のオートセンスをオンに設定することで収集部
54は装置情報を獲得するための装置情報収集コマンド
を実行して装置情報を収集し、状況を即座に把握するこ
とができる。
As a result, it is possible to perform an abnormal system test such as a command holding function test in the IO device 15 and a reset after executing a normal command. If the result after executing the IO command is different from the expected value, an error occurs in the status comparison. In this case, by setting the auto sense of FIG. 7 to ON, the collection unit 54 executes a device information collection command for acquiring the device information, collects the device information, and can immediately grasp the situation. it can.

【0108】さらに、処理が終了したかどうかを判定し
(ステップ115)、処理が継続される場合にはステッ
プ113に戻り、ステップ113からステップ114の
処理を繰り返す。
Further, it is determined whether or not the processing is completed (step 115). If the processing is continued, the process returns to step 113, and the processing from step 113 to step 114 is repeated.

【0109】一方、IOコマンドファイルが連結ファイ
ルである場合には、コマンド作成部30による連結IO
コマンドの画面上での編集とコマンド実行部40による
コマンドの実行が行われる(ステップ107)。連結フ
ァイルの処理については、既に説明したので、ここでは
その説明は省略する。
On the other hand, when the IO command file is a linked file, the command
The command is edited on the screen and the command is executed by the command execution unit 40 (step 107). Since the processing of the concatenated file has already been described, the description thereof is omitted here.

【0110】一方、ステップ102において、IOファ
イル名が指定されている場合には、そのIOコマンドを
実行する(ステップ108)。このIOコマンドの実行
については、既に説明したので、ここではその説明は省
略する。
On the other hand, if the IO file name is specified in step 102, the IO command is executed (step 108). Since the execution of the IO command has already been described, the description thereof is omitted here.

【0111】このように実施例1によれば、コマンド作
成部30により入出力コマンドを画面上に作成し、作成
された入出力コマンドをコマンド実行部40で実行する
ことにより入出力装置の試験を行い、実行された入出力
コマンドの結果が正常か異常かどうかを結果確認部50
で確認する。
As described above, according to the first embodiment, the input / output command is created on the screen by the command creation unit 30 and the created input / output command is executed by the command execution unit 40, thereby testing the input / output device. The result confirmation unit 50 checks whether the result of the executed input / output command is normal or abnormal.
Confirm with.

【0112】すなわち、入出力コマンドの作成、実行、
及び結果が画面イメージによって容易にかつ簡便に確認
でき、IO装置15の試験の能率が向上する。また、作
成されたIOコマンドはIOコマンドファイル16にフ
ァイル化して保存できるため、既に作成されたIOコマ
ンドの再現実行、既存ファイルの複写、修正による新規
ファイルの作成なども行える。また、ファイルにはIO
コマンドデータの他に画面で入力されるライトデータ、
期待値、マスク、各種スイッチなどを格納することもで
きる。
That is, creation and execution of input / output commands,
In addition, the result can be easily and easily confirmed by the screen image, and the testing efficiency of the IO device 15 is improved. In addition, since the created IO command can be saved as a file in the IO command file 16, reproduction of the already created IO command, copying of the existing file, creation of a new file by modification, and the like can be performed. Also, the file contains IO
Write data input on the screen in addition to command data,
An expected value, a mask, various switches, and the like can be stored.

【0113】また、図5に示す実際値「DSW(Act)」と期
待値「DSW(Exp)」とを数世代分ファイル内に格納する。
オペレータはこの履歴を参照することで前回までの実行
状況を把握し、障害調査に役立てることができる。
The actual value “DSW (Act)” and the expected value “DSW (Exp)” shown in FIG. 5 are stored in the file for several generations.
By referring to this history, the operator can grasp the execution status up to the previous time and use it for trouble investigation.

【0114】さらに、このファイル1つはIOコマンド
1つであるが、連結実行部41によりこのファイルを組
み合わせて連続的に実行したり、実行結果などによる論
理機能を含めた場合の性質は従来の試験プログラムに類
似している。しかし、従来の試験プログラムに比較して
ファイルサイズや作成、修正が容易である。
Further, although this one file is one IO command, the nature of the case where the link execution unit 41 continuously executes the files by combining them and includes the logical function based on the execution result is the same as the conventional one. Similar to the test program. However, the file size, creation, and modification are easier than in a conventional test program.

【0115】また、起動したときにIOコマンドのファ
イル名を指定すると、図5に示す画面は出力されず、指
定されたIOコマンドが直接に実行される。このファイ
ル名に前記連結ファイルを指定することもできる。この
機能によってインタプリタ言語的な感覚でIOコマンド
を実行することができる。
When the file name of the IO command is specified at the time of activation, the screen shown in FIG. 5 is not output, and the specified IO command is directly executed. The connection file can be specified in the file name. With this function, an IO command can be executed as if it were an interpreted language.

【0116】なお、本発明は前記実施例に限定されるも
のではない。例えば、IOコマンドパラメータの詳細を
ツールに管理させ、オペレータは図17に示すようにグ
ループ化した装置指定、データの方向、転送するデータ
のような抽象的指定によりツールが適当なIOコマンド
を作成し実行する。
Note that the present invention is not limited to the above embodiment. For example, the tool manages the details of the IO command parameters, and the operator creates an appropriate IO command by the abstract designation such as grouped device designation, data direction, and data to be transferred as shown in FIG. Execute.

【0117】図17に示す例では、前記装置指定部43
が、複数の対象装置の中の1つ(DASD1)を指定
し、さらに、転送データの方向を計算機からIO装置へ
指定し、転送データの属性としてランダムデータを指定
する。これらの部分はオペレータが設定する。
In the example shown in FIG.
Specifies one of the plurality of target devices (DASD1), further specifies the direction of the transfer data from the computer to the IO device, and specifies random data as the attribute of the transfer data. These parts are set by the operator.

【0118】そして、ツールがIOコマンドを作成し、
実行する。これにより、オペレータが試験対象のIO装
置のコマンドに関しての知識がない場合であっても容易
に試験を実行することができる。
Then, the tool creates an IO command,
Execute. This makes it possible to easily execute the test even when the operator has no knowledge of the command of the IO device to be tested.

【0119】[0119]

【発明の効果】本発明によれば、コマンド作成部により
入出力コマンドを画面上に作成し、作成された入出力コ
マンドをコマンド実行部で実行することにより入出力装
置の試験を行い、実行された入出力コマンドの結果が正
常か異常かどうかを結果確認部で確認する。すなわち、
入出力コマンドの作成、実行、及び結果が画面イメージ
によって容易にかつ簡便に確認でき、入出力装置の試験
の能率が向上する。
According to the present invention, an input / output command is created on a screen by the command creation unit, and the created input / output command is executed by the command execution unit, thereby testing the input / output device. The result confirmation unit checks whether the result of the input / output command is normal or abnormal. That is,
The creation, execution, and result of the input / output command can be easily and easily confirmed by the screen image, and the efficiency of the test of the input / output device is improved.

【0120】また、結果表示部は画面上に設けられたス
テータス領域に結果を表示するので、システム側として
はエラー処理とステーテス表示画面として特別にフォー
マットする必要がなくなる。
Since the result display section displays the result in the status area provided on the screen, the system does not need to format the error processing and status display screen specially.

【0121】さらに、作成されたコマンドはファイル化
して保存できるため、既に作成されたコマンドの再現実
行、既存ファイルの複写、修正による新規ファイルの作
成なども行える。
Furthermore, since the created command can be saved as a file, it is possible to reproduce and execute the already created command, copy the existing file, and create a new file by modification.

【0122】さらに、コマンド指定部はコマンドファイ
ルを指定してその指定されたコマンドファイルの内容を
出力するので、会話型編集画面を使用せずにコマンドの
実行及び確認ができる。
Further, since the command specifying section specifies a command file and outputs the contents of the specified command file, the command can be executed and confirmed without using the interactive editing screen.

【0123】さらに、画面に表示された入出力コマンド
の実行結果をファイルに記憶するので、前回の実行結果
の参照や障害履歴リストの出力ができる。画面定義体フ
ァイルは画面の内容を型、属性で定義するので、ロード
モジュールに手を加えずに画面の内容を変更することが
できる。
Furthermore, since the execution result of the input / output command displayed on the screen is stored in a file, the previous execution result can be referenced and a failure history list can be output. Since the screen definition file defines the contents of the screen by type and attribute, the contents of the screen can be changed without changing the load module.

【0124】キーワード入力によって選択された文字列
に対応する数値を入力することでより簡便なコマンド編
集ができる。結果確認部は実際値を期待値と比較するこ
とにより試験結果を判定するので、試験の成否を容易に
判断できる。実際値と期待値とのいずれか一方の複数の
データ値の中の一部のデータ値をマスクするので、不定
値を含む領域を比較できる。
By inputting a numerical value corresponding to a character string selected by keyword input, simpler command editing can be performed. The result checking unit determines the test result by comparing the actual value with the expected value, so that the success or failure of the test can be easily determined. Since a part of the plurality of data values of either the actual value or the expected value is masked, it is possible to compare regions including indefinite values.

【0125】コマンド作成部は、入出力装置に送出すべ
きライトデータを画面上に作成するので、任意のデータ
を簡便に指定できる。ここで、入出力装置に送出すべき
ライトデータの中の特定値、ライトデータの昇順、ライ
トデータの降順のいずれか1つを指定することにより前
記画面上に各種形態のデータを作成することで、様々な
形式のデータを簡便に指定できる。また、前記入出力装
置に送出すべきライトデータに対して乱数値によってラ
ンダムデータを作成することもできる。
The command creation section creates write data to be sent to the input / output device on the screen, so that any data can be easily specified. Here, by specifying any one of a specific value in the write data to be sent to the input / output device, an ascending order of the write data, and a descending order of the write data, data in various forms is created on the screen. , Various types of data can be easily specified. In addition, random data can be created with random numbers for the write data to be sent to the input / output device.

【0126】さらに、ライトコマンドを実行した後にリ
ードコマンドを実行したときに前記ライトコマンドによ
り書き込まれたライトデータを期待値と比較して表示す
ることもできる。
Furthermore, when the read command is executed after the execution of the write command, the write data written by the write command can be compared with an expected value and displayed.

【0127】複数の連結された入出力コマンドの各々を
指定するとともにその指定された入出力コマンドを順次
連続的に実行するので、テストプログラム的な一連の連
続コマンド発行動作を確認できる。複数の連結された入
出力コマンドの各入出力コマンドの実行結果を判定する
ので、類似した機種間のファイルの共通化などを図るこ
とができる。読み込みデータを記憶するとともに記憶さ
れたデータを次コマンドの書き込みデータにより指定す
るので、コマンド間のデータの授受が行える。
Since each of the plurality of connected input / output commands is specified and the specified input / output commands are sequentially and sequentially executed, a series of continuous command issuing operations like a test program can be confirmed. Since the execution result of each input / output command of a plurality of connected input / output commands is determined, it is possible to share files between similar models. Since the read data is stored and the stored data is specified by the write data of the next command, data can be transferred between the commands.

【0128】さらに、入出力コマンドが実行されたとき
の前記入出力装置からの結果が前記結果確認部に到達す
る前に次の入出力コマンドを発行する非同期処理を行う
ので、入出力コマンドの重複実行によるコマンド保持試
験やコマンド処理中断処理試験を行うことができる。
Further, since the asynchronous processing for issuing the next input / output command before the result from the input / output device when the input / output command is executed reaches the result confirmation unit is performed, the duplication of the input / output command is performed. A command holding test by execution and a command processing interruption processing test can be performed.

【0129】入出力コマンドを実行したときに実際値が
期待値に一致しない場合に前記入出力装置に関する装置
情報を収集するので、エラー内容を即座に把握できる。
識別番号を選択することにより試験対象とすべき入出力
装置を指定するので、同一試験の複数装置での実行が行
える。また、コマンドの実行選択モードに応じて前記複
数の入出力装置に対する並列動作と複数の入出力装置に
対する順次動作とのいずれか1つを選択することもでき
る。
If the actual value does not match the expected value when the input / output command is executed, the device information on the input / output device is collected, so that the contents of the error can be immediately grasped.
Since the input / output device to be tested is specified by selecting the identification number, the same test can be executed by a plurality of devices. Further, one of the parallel operation for the plurality of input / output devices and the sequential operation for the plurality of input / output devices can be selected according to a command execution selection mode.

【0130】さらに、複数のグループからなる入出力装
置が存在する場合には、各グループを指定するとともに
そのグループ内の複数の入出力装置を同時に起動させる
こともできる。
Further, when there are input / output devices composed of a plurality of groups, each group can be designated and a plurality of input / output devices in the group can be activated simultaneously.

【0131】さらに、各グループの入出力装置を指定
し、前記計算機と入出力装置との間で転送される転送デ
ータの方向を指定し、転送データの属性を指定すること
で、オペレータにコマンドの詳細な内容を意識させな
い、より簡潔な試験を実行することができる。
Further, by specifying the input / output devices of each group, specifying the direction of the transfer data to be transferred between the computer and the input / output devices, and specifying the attributes of the transfer data, the command of the operator can be specified. A more concise test can be performed without being aware of the details.

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

【図1】本発明の入出力コマンド試験装置を示す原理図
である。
FIG. 1 is a principle diagram showing an input / output command test device of the present invention.

【図2】本発明の入出力コマンド試験装置の動作を説明
するフローチャートである。
FIG. 2 is a flowchart illustrating an operation of the input / output command test device of the present invention.

【図3】本発明の実施例に従ったIOコマンド入出力試
験装置のハードウェア構成を示す図である。
FIG. 3 is a diagram showing a hardware configuration of an IO command input / output test device according to an embodiment of the present invention.

【図4】本発明の実施例に従ったIOコマンド入出力試
験装置のソフトウェア構成を示す図である。
FIG. 4 is a diagram showing a software configuration of an IO command input / output test apparatus according to an embodiment of the present invention.

【図5】IOコマンドの作成画面を示す図である。FIG. 5 is a diagram showing a screen for creating an IO command.

【図6】IOコマンド及びその機能を示す図である。FIG. 6 is a diagram showing IO commands and their functions.

【図7】実行条件設定画面を示す図である。FIG. 7 is a diagram showing an execution condition setting screen.

【図8】画面定義体ファイルの内容を示す図である。FIG. 8 is a diagram showing the contents of a screen definition body file.

【図9】画面定義体スクリプトの内容を示す図である。FIG. 9 is a diagram showing the contents of a screen definition body script.

【図10】各種のライトデータを示す図である。FIG. 10 is a diagram showing various write data.

【図11】IOコマンドファイルの選択画面を示す図で
ある。
FIG. 11 is a diagram showing an IO command file selection screen.

【図12】連結ファイル作成画面を示す図である。FIG. 12 is a diagram showing a connection file creation screen.

【図13】論理構造をもつファイルを示す図である。FIG. 13 is a diagram showing a file having a logical structure.

【図14】入出力コマンド試験装置の動作を示すフロー
チャートである。
FIG. 14 is a flowchart showing the operation of the input / output command test device.

【図15】単一コマンドファイルの編集を示すフローチ
ャートである。
FIG. 15 is a flowchart showing editing of a single command file.

【図16】コマンド実行部の動作を示すフローチャート
である。
FIG. 16 is a flowchart illustrating the operation of a command execution unit.

【図17】抽象化を示す図である。FIG. 17 is a diagram showing abstraction.

【図18】従来のコマンド試験方法の例1を示す図であ
る。
FIG. 18 is a diagram showing Example 1 of a conventional command test method.

【図19】従来のコマンド試験方法の例2を示す図であ
る。
FIG. 19 is a diagram showing a second example of the conventional command test method.

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

11・・CPU 12・・メモリ 13・・アダプタ 14・・コンソール 15・・IO装置 16・・コマンドファイル 17・・画面定義体ファイル 18・・画面定義体スクリプト 21・・キーボード 22・・ディスプレイ装置 30・・コマンド作成部 31・・キーワード入力部 32・・ライトデータ作成部 40・・コマンド実行部 41・・連結実行部 42・・非同期コマンド発行部 43・・装置指定部 50・・結果確認部 51・・結果表示部 52・・マスク部 53・・リードコマンド実行部 54・・収集部 61・・コマンド指定部 11. CPU 12, memory 13, adapter 14, console 15, IO device 16, command file 17, screen definition file 18, screen definition script 21, keyboard 22, display device 30 ··· Command creation unit 31 ··· Keyword input unit 32 ··· Write data creation unit 40 ··· Command execution unit 41 ··· Link execution unit 42 ··· Asynchronous command issuing unit 43 ··· Device designation unit 50 ··· Result confirmation unit 51 ..Result display part 52..Mask part 53..Read command execution part 54..Collection part 61..Command designation part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 市川 浩子 神奈川県横浜市港北区新横浜二丁目15番 16 株式会社富士通コンピュータテクノ ロジ内 (56)参考文献 特開 平6−4330(JP,A) 特開 平2−54343(JP,A) 特開 平3−252840(JP,A) 特開 平6−149612(JP,A) 特開 平4−369737(JP,A) 特開 平5−303510(JP,A) 特開 平3−263151(JP,A) 特開 平3−90983(JP,A) 特開 平5−181691(JP,A) 特開 昭61−184647(JP,A) 特開 平2−294740(JP,A) 特開 平2−186283(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/277 G06F 9/06 ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiroko Ichikawa 2-15-15 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa Prefecture 16 Within Fujitsu Computer Technology Co., Ltd. JP-A-2-54343 (JP, A) JP-A-3-252840 (JP, A) JP-A-6-149612 (JP, A) JP-A-4-369737 (JP, A) JP-A-5-303510 ( JP, A) JP-A-3-263151 (JP, A) JP-A-3-90983 (JP, A) JP-A-5-181691 (JP, A) JP-A-61-184647 (JP, A) JP JP-A-2-294740 (JP, A) JP-A-2-186283 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 11/22-11/277 G06F 9/06

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 前記画面で作成された入出力コマンドをファイル化した
コマンドファイルを記憶する記憶部と、 入出力装置を起動したときに前記記憶部に記憶されたコ
マンドファイルを指定してその指定されたコマンドファ
イルの内容を前記コマンド実行部に出力するコマンド指
定部を備える入出力コマンド試験装置。
A command creation unit for creating, on a screen, an input / output command for testing an input / output device connected to a computer; and executing the input / output command created by the command creation unit. A command execution unit for testing the input / output device, a result confirmation unit for checking whether the result of the input / output command executed by the command execution unit is normal or abnormal, and a file for input / output command created on the screen A storage unit for storing the converted command file, and a command specification for specifying the command file stored in the storage unit when the input / output device is started and outputting the contents of the specified command file to the command execution unit I / O command test device with a unit.
【請求項2】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 前記画面で作成された入出力コマンドをファイル化した
コマンドファイルを記憶する記憶部と、 前記画面に表示された入出力コマンドの実行結果をファ
イル化したコマンド結果ファイルを記憶する記憶部を備
える入出力コマンド試験装置。
2. A command creation unit for creating an input / output command for performing a test of an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation unit. A command execution unit for testing the input / output device, a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal, and a file for input / output command created on the screen An input / output command test apparatus comprising: a storage unit that stores a converted command file; and a storage unit that stores a command result file in which execution results of the input / output commands displayed on the screen are filed.
【請求項3】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部とを備え、 前記コマンド作成部は、前記画面の内容を変更するため
に前記画面の内容を型、属性で定義した画面定義体ファ
イルを記憶する記憶部を備える入出力コマンド試験装
置。
3. A command creation section for creating an input / output command for performing a test of an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation section. A command execution unit for performing a test of the entry / output device; and a result confirmation unit for confirming whether a result of the input / output command executed by the command execution unit is normal or abnormal. An input / output command test apparatus comprising: a storage unit for storing a screen definition file in which the contents of the screen are defined by types and attributes to change the contents.
【請求項4】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部とを備え、 前記コマンド作成部は、複数種類の文字列の中のいずれ
かの文字列を選択して入力するキーワード入力によって
前記選択された文字列に対応する数値を入力する入出力
コマンド試験装置。
4. A command creating section for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creating section to execute a command. A command execution unit that performs a test of a writing / output device; and a result confirmation unit that confirms whether a result of an input / output command executed by the command execution unit is normal or abnormal. An input / output command test apparatus for inputting a numerical value corresponding to the selected character string by keyword input for selecting and inputting any character string from the character strings.
【請求項5】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部とを備え、 前記結果確認部は、入出力コマンドを実行したときの実
際値を試験結果が正常であることを示す期待値と比較す
ることにより試験結果を判定し、前記実際値と期待値と
の各々が複数のデータ値からなる場合に前記実際値と期
待値とのいずれか一方の複数のデータ値の中の一部のデ
ータ値をマスクする入出力コマンド試験装置。
5. A command creation unit for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation unit to execute a test. A command execution unit for testing a writing / output device; and a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal. The test result is determined by comparing the actual value when executing the test result with the expected value indicating that the test result is normal, and when the actual value and the expected value each include a plurality of data values, the actual value is determined. An input / output command test device for masking a part of data values of a plurality of data values of one of a value and an expected value.
【請求項6】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部とを備え、 前記コマンド作成部は、前記入出力装置に送出すべきラ
イトデータの中の特定値、ライトデータの昇順、ライト
データの降順のいずれか1つを指定することにより前記
画面上に各種形態のデータを作成する入出力コマンド試
験装置。
6. A command creation section for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation section to execute a command. A command execution unit for testing a writing / output device; and a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal. An input / output command test apparatus for creating various types of data on the screen by designating any one of a specific value of write data to be sent to the apparatus, an ascending order of write data, and a descending order of write data.
【請求項7】 計算機に接続された入出力装置の試験
を行うための入出力コマンドを画面上に作成するコマン
ド作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部とを備え、 前記コマンド実行部は、複数の連結された入出力コマン
ドの各々を指定するとともにその指定された入出力コマ
ンドを順次連続的に実行する連結実行部を有し、 前記連結実行部は、複数の連結された入出力コマンドの
各入出力コマンドの実行結果を判定し、読み込みデータ
を記憶するとともに記憶されたデータを次コマンドの書
き込みデータによって指定する入出力コマンド試験装
置。
7. A command creation unit for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation unit to execute a command. A command execution unit for testing a writing / output device; and a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal. A connected execution unit for designating each of the input / output commands and sequentially and sequentially executing the specified input / output commands, wherein the connection execution unit is configured to input / output each of the plurality of connected input / output commands. An input / output command test device that determines a command execution result, stores read data, and specifies the stored data by write data of a next command.
【請求項8】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 入出力コマンドが実行されたときの前記入出力装置から
の結果が前記結果確認部に到達する前に次の入出力コマ
ンドを発行する非同期コマンド発行部とを備える入出力
コマンド試験装置。
8. A command creation unit for creating an input / output command for performing a test of an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation unit. A command execution unit for performing a test of the input / output device; a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal; and the input / output command when the input / output command is executed. An input / output command test device comprising: an asynchronous command issuing unit that issues a next input / output command before a result from an output device reaches the result checking unit.
【請求項9】 計算機に接続された入出力装置の試験を
行うための入出力コマンドを画面上に作成するコマンド
作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 前記入出力装置に関する装置情報を収集する収集部とを
備え、 前記結果確認部は、入出力コマンドを実行したときの実
際値を試験結果が正常であることを示す期待値と比較す
ることにより試験結果を判定し、 前記収集部は、入出力コマンドを実行したときに実際値
が期待値に一致しない場合に、前記入出力装置に関する
装置情報を収集する入出力コマンド試験装置。
9. A command creation unit for creating an input / output command for performing a test of an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation unit. A command execution unit for testing the input / output device; a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal; and a collection for collecting device information on the input / output device The result checking unit determines a test result by comparing an actual value when the input / output command is executed with an expected value indicating that the test result is normal. An input / output command test device for collecting device information on the input / output device when an actual value does not match an expected value when an output command is executed.
【請求項10】 計算機に接続された入出力装置の試験
を行うための入出力コマンドを画面上に作成するコマン
ド作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 前記入出力装置が複数個からなる場合に各入出力装置に
割り当てられた互いに異なる識別番号を選択することに
より試験対象とすべき入出力装置を指定する装置指定部
とを備え、 前記装置指定部は、コマンドの実行選択モードに応じて
前記複数の入出力装置に対する並列動作と複数の入出力
装置に対する順次動作とのいずれか1つを選択する入出
力コマンド試験装置。
10. A command creating unit for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creating unit to execute a test. A command execution unit for testing the input / output device; a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal; A device specifying unit that specifies an input / output device to be tested by selecting a different identification number assigned to each input / output device, the device specifying unit comprising: An input / output command test apparatus for selecting one of a parallel operation for a plurality of input / output devices and a sequential operation for a plurality of input / output devices.
【請求項11】 計算機に接続された入出力装置の試験
を行うための入出力コマンドを画面上に作成するコマン
ド作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 前記入出力装置が複数個からなる場合に各入出力装置に
割り当てられた互いに異なる識別番号を選択することに
より試験対象とすべき入出力装置を指定する装置指定部
とを備え、 前記複数個の入出力装置が1つのグループを形成しかつ
複数のグループからなる入出力装置が存在する場合に前
記装置指定部は、各グループを指定するとともにそのグ
ループ内の複数の入出力装置を同時に起動させる入出力
コマンド試験装置。
11. A command creation section for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation section to execute a command. A command execution unit for testing the input / output device; a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal; A device specifying unit for specifying an input / output device to be tested by selecting different identification numbers assigned to the respective input / output devices, wherein the plurality of input / output devices form one group; When there are input / output devices composed of a plurality of groups, the device designation unit designates each group and simultaneously activates the plurality of input / output devices in the group. That input and output command test equipment.
【請求項12】 計算機に接続された入出力装置の試験
を行うための入出力コマンドを画面上に作成するコマン
ド作成部と、 前記コマンド作成部で作成された入出力コマンドを実行
することにより前記入出力装置の試験を行うコマンド実
行部と、 前記コマンド実行部で実行された入出力コマンドの結果
が正常か異常かどうかを確認する結果確認部と、 前記入出力装置が複数個からなる場合に各入出力装置に
割り当てられた互いに異なる識別番号を選択することに
より試験対象とすべき入出力装置を指定する装置指定部
とを備え、 前記装置指定部は各グループの入出力装置を指定し、前
記計算機と入出力装置との間で転送される転送データの
方向を指定し、転送データの属性を指定する入出力コマ
ンド試験装置。
12. A command creation section for creating an input / output command for testing an input / output device connected to a computer on a screen, and executing the input / output command created by the command creation section to execute a command. A command execution unit for testing the input / output device; a result confirmation unit for confirming whether the result of the input / output command executed by the command execution unit is normal or abnormal; A device specifying unit that specifies an input / output device to be tested by selecting a different identification number assigned to each input / output device, wherein the device specifying unit specifies an input / output device of each group, An input / output command test apparatus for designating a direction of transfer data transferred between the computer and the input / output device and designating an attribute of the transfer data.
JP29427594A 1994-11-29 1994-11-29 I / O command test equipment Expired - Fee Related JP3253224B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29427594A JP3253224B2 (en) 1994-11-29 1994-11-29 I / O command test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29427594A JP3253224B2 (en) 1994-11-29 1994-11-29 I / O command test equipment

Publications (2)

Publication Number Publication Date
JPH08153016A JPH08153016A (en) 1996-06-11
JP3253224B2 true JP3253224B2 (en) 2002-02-04

Family

ID=17805603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29427594A Expired - Fee Related JP3253224B2 (en) 1994-11-29 1994-11-29 I / O command test equipment

Country Status (1)

Country Link
JP (1) JP3253224B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283931B2 (en) * 2003-06-23 2007-10-16 Samsung Electronics Co., Ltd. Inspecting apparatus for semiconductor device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI757840B (en) * 2020-08-20 2022-03-11 建碁股份有限公司 Remote management method for display device and host system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283931B2 (en) * 2003-06-23 2007-10-16 Samsung Electronics Co., Ltd. Inspecting apparatus for semiconductor device

Also Published As

Publication number Publication date
JPH08153016A (en) 1996-06-11

Similar Documents

Publication Publication Date Title
US5926638A (en) Program debugging system for debugging a program having graphical user interface
US5164911A (en) Schematic capture method having different model couplers for model types for changing the definition of the schematic based upon model type selection
US6243835B1 (en) Test specification generation system and storage medium storing a test specification generation program
JP2765969B2 (en) Schematic data-driven program development support system
US7990375B2 (en) Virtual view schematic editor
US6177942B1 (en) Part development system
JPH09259153A (en) Device and method for generating batch execution control program
JP3459481B2 (en) Path analysis display device for logic circuit design
JP3253224B2 (en) I / O command test equipment
JPH096628A (en) Method and device for parallel processing procedure selection
JP2007219649A (en) Diagram editing device
US6581029B1 (en) Method and system for optimizing execution of a collection of related module sequences by eliminating redundant modules
US5381344A (en) Apparatus and method for obtaining a list of numbers of wafers for integrated circuit testing
JPH07219810A (en) Module testing method and device therefor
US7962796B2 (en) State testing device and methods thereof
JPH0934698A (en) Software generating method and software developing and supporting method
JPH06110733A (en) Test case generating device of program
US6243848B1 (en) Process for analyzing complex structures and system for implementing a process of this type
US5553278A (en) Method and system for manipulation of database and issuing report thereof
JP2969423B2 (en) Communication system between graphics display and text file display in CAD system
JPS60122435A (en) Memory damp system
JP2586799B2 (en) Memory buffer status check device managed by chain method
JP2619487B2 (en) File operation method
JP2990159B1 (en) Apparatus and method for managing events in debugger
JPH11212606A (en) Programming device and program monitoring device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011106

LAPS Cancellation because of no payment of annual fees