JP2615520B2 - I / O device status confirmation method - Google Patents

I / O device status confirmation method

Info

Publication number
JP2615520B2
JP2615520B2 JP3315097A JP31509791A JP2615520B2 JP 2615520 B2 JP2615520 B2 JP 2615520B2 JP 3315097 A JP3315097 A JP 3315097A JP 31509791 A JP31509791 A JP 31509791A JP 2615520 B2 JP2615520 B2 JP 2615520B2
Authority
JP
Japan
Prior art keywords
input
status
task
channel
reset
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
JP3315097A
Other languages
Japanese (ja)
Other versions
JPH05151135A (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 JP3315097A priority Critical patent/JP2615520B2/en
Publication of JPH05151135A publication Critical patent/JPH05151135A/en
Application granted granted Critical
Publication of JP2615520B2 publication Critical patent/JP2615520B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、チャネル・パスリセッ
ト(RCHP)命令発行時の、入出力装置のステータスを確認
する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for checking the status of an input / output device when a channel path reset (RCHP) instruction is issued.

【0002】複数個のチャネル・パスを介して、それぞ
れのチャネル・パスに複数個の入出力装置(I/O) が接続
されている計算機システムにおいて、中央処理装置(CP
U) がチャネル・パスリセット(RCHP)命令を発行したと
きの、各入出力装置(I/O) のステータスをテストする場
合、各チャネル・パスには、複数個の入出力装置が接続
されている為、例えば、ある入出力装置(I/O) をテスト
する試験機能タスクが、単独で、上記チャネル・パスリ
セット(RCHP)命令を発行すると、該試験機能タスクに関
係のない入出力装置(I/O) に影響がでる問題がある。
In a computer system in which a plurality of input / output devices (I / O) are connected to each channel path via a plurality of channel paths, a central processing unit (CP)
To test the status of each input / output device (I / O) when the U) issues a channel path reset (RCHP) instruction, multiple I / O devices are connected to each channel path. Therefore, for example, if the test function task that tests a certain input / output device (I / O) issues the above-mentioned channel path reset (RCHP) instruction by itself, the input / output device (I / O) that is not related to the test function task There is a problem that affects I / O).

【0003】又、各試験機能タスクで連携して、当該計
算機システムの全てのチャネル・パスを選択しながら、
該チャネル・パスリセット(RCHP)命令を発行するように
すると、該チャネル・パスリセット(RCHP)命令の排他制
御を行う関係で、複数個のタスク間での通信が必要とな
り、制御が複雑となる等の問題がある。
In addition, in cooperation with each test function task, while selecting all the channel paths of the computer system,
If the channel path reset (RCHP) instruction is issued, communication between a plurality of tasks is required because of the exclusive control of the channel path reset (RCHP) instruction, which complicates the control. There are problems such as.

【0004】このようなことから、任意に、チャネル・
パスリセット(RCHP)命令を発行しながら、効率よく、入
出力装置(I/O) をテストする方法が要求される。
[0004] From such a situation, arbitrarily the channel
A method for efficiently testing an input / output device (I / O) while issuing a path reset (RCHP) instruction is required.

【0005】[0005]

【従来の技術】図5, 図6は、従来の入出力装置のステ
ータスの確認方法を説明する図であり、図5は、計算機
システムの構成例を示し、図6は、従来の入出力装置(I
/O) のテスト方法を説明する図である。
2. Description of the Related Art FIGS. 5 and 6 are diagrams for explaining a conventional method for checking the status of an input / output device. FIG. 5 shows an example of the configuration of a computer system, and FIG. (I
FIG. 3 is a diagram illustrating a test method of (/ O).

【0006】図5において、各入出力装置(I/O) 6 は、
チャネル処理装置(CHP) 3 の配下にあるチャネル装置(C
H) 4に、入出力制御装置(IOC) 5 を介して接続されてお
り、中央処理装置(CPU) 1 が入出力命令を発行すること
により、チャネル処理装置(CHP) 3,チャネル装置(CH) 4
が自律的に、該入出力命令を解読して、必要なコマンド
(リード/ライト/センスコマンド)を、チャネル・パ
ス 40,入出力制御装置(IOC) 5 を介して、対応する入出
力装置(I/O) 6 に発行して、各入出力装置(I/O) 6 を制
御する。
In FIG. 5, each input / output device (I / O) 6
Channel device (C) subordinate to channel processor (CHP) 3
H) 4 via an input / output control unit (IOC) 5, and a central processing unit (CPU) 1 issues an input / output instruction, so that a channel processing unit (CHP) 3 and a channel unit (CH ) Four
Autonomously decodes the input / output instruction and sends the necessary command
(Read / write / sense command) is issued to the corresponding input / output device (I / O) 6 via the channel path 40 and the input / output control device (IOC) 5, and each input / output device (I / O O) Control 6.

【0007】本発明に関連するチャネル・パスリセット
(RCHP)命令は、該チャネル・パスリセット(RCHP)命令が
指示するチャネル・パス識別子(CHPID) に対応したチャ
ネル・パス 40 配下の入出力制御装置(IOC) 5,入出力装
置(I/O) 6 のステータスをクリアする。
Channel path reset associated with the present invention
The (RCHP) instruction includes an input / output controller (IOC) 5 under the channel path 40 corresponding to the channel path identifier (CHPID) indicated by the channel path reset (RCHP) instruction, and an input / output device (I / O ) Clear the status of 6.

【0008】又、該計算機システムに接続されている任
意の入出力装置(I/O) 6 をテストするのに、従来方法に
おいては、図6に示した構造の試験機能タスクA〜a
が用意され、中央処理装置(CPU) 1 が、それぞれの試験
機能タスクA〜aを実行することにより、対応する入
出力装置(I/O) 6 をテストする。
In order to test an arbitrary input / output device (I / O) 6 connected to the computer system, the conventional method uses the test function tasks A to a having the structure shown in FIG.
Is prepared, and the central processing unit (CPU) 1 executes the respective test function tasks A to a to test the corresponding input / output device (I / O) 6.

【0009】従って、この試験機能タスクA〜aにお
いて、入出力制御装置(IOC) 5,入出力装置(I/O) 6 のハ
ードウェア動作を中断するチャネル・パスリセット(RCH
P)命令を実行することがある。
Accordingly, in the test function tasks A to a, the channel / path reset (RCH) for interrupting the hardware operation of the input / output control device (IOC) 5 and the input / output device (I / O) 6
P) The instruction may be executed.

【0010】従来、ハードウェア動作を中断するチャネ
ル・パスリセット命令(以下、RCHP命令という)の
テストにおいては、テストプログラムの複数の試験機能
タスクA〜aが動作し、それぞれの試験機能タスクA
〜aにおいて、単独で、任意のチャネル・パス識別子
(以下、CHPIDという)に対して、上記RCHP命
令を発行するか,又は、上記試験機能タスクa群で連
携して、システムの全てのCHPIDのチャネル・パス
40 を選択,制御しながらRCHP命令を発行するよう
にして実施してきた。
Conventionally, in the test of a channel / path reset instruction (hereinafter referred to as RCHP instruction) for interrupting the hardware operation, a plurality of test function tasks A to a of a test program operate, and each test function task A
In a to a, the RCHP command is issued to an arbitrary channel path identifier (hereinafter referred to as CHPID) alone, or all the CHPIDs of the system are linked in the test function task group a. Channel path
The RCHP instruction is issued while selecting and controlling 40.

【0011】[0011]

【発明が解決しようとする課題】前者の、試験機能タス
クA〜a単独で、任意のチャネル・パス識別子(以
下、CHPIDという)に対して、上記RCHP命令を
発行する方法では、単独で任意のCHPIDに対して、
該RCHP命令を発行するため、該CHPIDに接続さ
れているリセット処理の影響を受ける入出力装置(I/O)
6 の完了動作の妥当性を確認することが困難であるとい
う問題がある。
In the former method in which the test function tasks A to a alone issue the RCHP instruction to an arbitrary channel path identifier (hereinafter, referred to as CHPID), any of For CHPID,
An input / output device (I / O) that is affected by reset processing connected to the CHPID to issue the RCHP instruction
There is a problem that it is difficult to confirm the validity of the completion operation of 6.

【0012】即ち、リセットが何時, どのCHPIDに
対して発行されたのかは、該RCHP命令を発行した試
験機能タスクAa以外では認識できない。通常、該試
験機能タスクAaで該RCHP命令を発行すると、入
出力装置(I/O) 6 からの「デバイスエンド」割り込みが
得られなくなるが、別の試験機能タスクB〜aでは、
入出力装置(I/O) 6 自身のエラーで、該「デバイスエン
ド」割り込みが得られないのか、上記RCHP命令で得
られないのかが判断できない。
That is, it is impossible to recognize when and to which CHPID the reset was issued, except for the test function task Aa that issued the RCHP instruction. Normally, when the RCHP instruction is issued in the test function task Aa, a “device end” interrupt from the input / output device (I / O) 6 cannot be obtained. However, in the other test function tasks B to a,
It is impossible to determine whether the “device end” interrupt cannot be obtained due to an error of the input / output device (I / O) 6 itself, or whether it can be obtained by the RCHP instruction.

【0013】又、後者の上記試験機能タスクA〜a群
で連携して、システムの全てのCHPIDを選択,制御
しながらRCHP命令を発行する方法では、複数の試験
機能タスクA,〜a間ので通信で、該RCHP命令の
発行の排他制御が必要なため、制御が複雑になり、テス
トシステム全体における処理のオーバヘッドが大きくな
り、そのため効率的なテストが実施できないという問題
があった。
In the latter method, in which the RCHP instruction is issued while selecting and controlling all the CHPIDs in the system in cooperation with the test function tasks A to a, a plurality of test function tasks A, to a are used. Since exclusive control of issuance of the RCHP instruction is required in communication, control becomes complicated, and the overhead of processing in the entire test system increases, so that there is a problem that an efficient test cannot be performed.

【0014】本発明は上記従来の欠点に鑑み、複数個の
チャネル・パスを介して、それぞれのチャネル・パスに
複数個の入出力装置(I/O) が接続されている計算機シス
テムにおいて、チャネル・パスリセット命令(RCHP
命令)発行時の、入出力装置(I/O) の完了動作の妥当性
を効率よくテストする方法を提供することを目的とする
ものである。
The present invention has been made in view of the above-mentioned drawbacks, and in a computer system in which a plurality of input / output devices (I / O) are connected to each channel path via a plurality of channel paths.・ Path reset instruction (RCHP)
It is an object of the present invention to provide a method for efficiently testing the validity of the completion operation of an input / output device (I / O) at the time of issuance.

【0015】[0015]

【課題を解決するための手段】図1は、本発明の原理説
明図である。上記の問題点は下記の如くに構成した入出
力装置のステータス確認方法によって解決される。
FIG. 1 is a diagram illustrating the principle of the present invention. The above problem is solved by a method for confirming the status of an input / output device configured as follows.

【0016】複数個のチャネル・パス 40 を介して、そ
れぞれのチャネル・パス 40 に複数個の入出力装置(I/
O) 6 が接続されている計算機システムにおいて、中央
処理装置(CPU) 1 がチャネル・パスリセット(RCHP)命令
を発行したときの、各入出力装置(I/O) 6 のステータス
をテストする方法であって、各入出力装置(I/O)6 に対
応した複数個の試験機能タスクから、チャネル・パス
リセットタスク, 及び、各入出力装置の完了動作の妥当
性をテストするタスクを分離して、システムで唯一つの
リセットタスク, 及び、入出力装置ステータス完了状
態確認タスクを設け、各入出力装置(I/O) 6 のステー
タスバイト 60,61, 及び、入出力命令を発行したときの
入出力装置起動情報 62,チャネル・パスリセット(RCHP)
命令の発行/完了情報 63 に発生日時(TOD) を付加し、
上記試験機能タスク, リセットタスクの実行に対応
して生成,更新されている上記各入出力装置(I/O) 6 の
ステータスバイト 60,61, 入出力装置起動情報62,チャ
ネル・パスリセット命令(RCHP)発行/完了情報 63 を、
上記入出力装置ステータス完了状態確認タスクで、時
系列にトレースして、該チャネル・パスリセット(RCHP)
命令の発行時の個々の入出力装置(I/O) 6 のステータス
の妥当性を確認するように構成する。
A plurality of input / output devices (I / Is) are connected to each channel path 40 via the plurality of channel paths 40.
O) In the computer system to which 6 is connected, how to test the status of each input / output device (I / O) 6 when the central processing unit (CPU) 1 issues a channel path reset (RCHP) instruction. The channel / path reset task and the task of testing the validity of the completion operation of each input / output device are separated from the plurality of test function tasks corresponding to each input / output device (I / O) 6. Therefore, only one reset task in the system and a task for confirming the completion status of the input / output device status are provided, and the status bytes 60, 61 of each input / output device (I / O) 6 and the input when the input / output instruction is issued Output device startup information 62, channel / path reset (RCHP)
The date and time of occurrence (TOD) is added to the instruction issue / completion information 63,
The status bytes 60, 61, I / O device startup information 62, and channel / path reset instruction (I / O device 6) of each of the above I / O devices 6 generated and updated in response to the execution of the test function task and reset task RCHP) issue / completion information 63,
In the above I / O device status completion status confirmation task, trace in chronological order and reset the channel / path (RCHP).
It is configured to check the validity of the status of each input / output device (I / O) 6 when the instruction is issued.

【0017】[0017]

【作用】即ち、本発明においては、試験機能タスクA〜
aからチャネル・パスリセット(RCHP)命令の試験処理
を分離して、専用タスク (リセットタスク) とする。
そして、この専用タスク (リセットタスク) がハード
ウェアシステムを構成する全てのチャネル処理装置(CH
P) 3 配下のチャネル・パス 40 に対してリセット試験
を実行する。
That is, in the present invention, the test function tasks A to
The test processing of the channel / path reset (RCHP) instruction is separated from a and made a dedicated task (reset task).
Then, this dedicated task (reset task) is used for all the channel processors (CH
P) 3 Perform a reset test on the subordinate channel path 40.

【0018】従って、チャネル・パス 40 の一元管理が
可能となり、試験機能タスクA〜間の、上記RCHP
命令の競合がなくなる。さらに、本発明においては、該
チャネル・パスリセットの影響を受ける入出力装置(I/
O)6 群のステータスを確認するための入出力装置ステー
タス完了状態確認タスク (完了確認タスク) を、該試
験機能タスクA〜aから分離して、専用に設ける。
Therefore, the centralized management of the channel path 40 becomes possible, and the RCHP between the test function tasks A to
Eliminate instruction conflicts. Further, in the present invention, the input / output device (I /
O) An I / O device status completion status confirmation task (completion confirmation task) for confirming the status of the 6 groups is provided separately from the test function tasks A to a.

【0019】そして、本発明に置いては、各入出力装置
(I/O) 6 のステータスバイト 60,61, 及び、入出力命令
を発行したときの入出力装置起動情報 62,チャネル・パ
スリセット(RCHP)命令の発行/完了情報 63 に発生日時
(TOD) を付加し、上記試験機能タスク, リセットタス
クの実行に対応して生成,更新されている上記発生日
時(TOD) 付きの各入出力装置(I/O) 6 のステータスバイ
ト 60,61, 入出力装置起動情報 62,チャネル・パスリセ
ット命令(RCHP)発行/完了情報 63 を、上記試験機能タ
スクA〜とは独立した入出力装置ステータス完了状態
確認タスクで、時系列でトレースして、該チャネル・
パスリセット(RCHP)命令の発行時の個々の入出力装置の
ステータスの妥当性を確認する。
According to the present invention, each input / output device
(I / O) 6 status bytes 60 and 61, I / O device activation information when an I / O instruction is issued 62, Channel path reset (RCHP) instruction issuance / completion information 63
(TOD), the status byte 60, 61 of each input / output device (I / O) 6 with the above date and time (TOD) generated and updated corresponding to the execution of the test function task and reset task. The I / O device activation information 62 and the channel / path reset instruction (RCHP) issue / completion information 63 are traced in time series in the I / O device status completion status check task independent of the test function task A to The channel
Check the validity of the status of each I / O device when the path reset (RCHP) instruction is issued.

【0020】該トレース情報は、複数個の試験機能タス
ク, リセットタスクが実行された時の、各入出力装
置(I/O) 6 に対する入出力命令の起動情報 62,RCHP
命令の発行/完了情報 63,各入出力装置の割り込みステ
ータスバイト 61,終了ステータスバイト 60 が、発生日
時(TOD)と共に生成されている情報を、上記入出力装置
ステータス完了状態確認タスクが時系列的にトレース
したものであるので、該RCHP命令が、入出力装置(I
/O) 6 の動作中のいつの時点で発行されたかを判定する
ことで、各入出力装置(I/O) 6 の完了状態について、R
CHP命令により強制終了させられたのか、入出力命令
による試験の入出力動作の期待した終了であるのかの切
り分けが可能になる。
The trace information includes start information 62, RCHP of input / output instructions for each input / output device (I / O) 6 when a plurality of test function tasks and reset tasks are executed.
The instruction issue / completion information 63, the interrupt status byte 61 of each input / output device, and the end status byte 60 are used to generate information along with the date and time of occurrence (TOD). The RCHP instruction is executed by the input / output device (I
/ O) 6 to determine when it was issued during operation, to determine the completion status of each input / output device (I / O) 6
It is possible to determine whether the termination has been forcibly terminated by the CHP instruction or the expected termination of the test input / output operation by the input / output instruction.

【0021】[0021]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の原理説明図であり、図2,
図3,図4は本発明の一実施例を示した図であり、図2
は、チャネル・パスのリセット動作を示し、図3は、ト
レーステーブルの一例を示し、図4は、入出力装置ステ
ータス完了状態確認タスクによる上記トレーステーブ
ルを時系列的にトレースする動作を示している。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. FIG. 1 is an explanatory view of the principle of the present invention.
3 and 4 are views showing one embodiment of the present invention.
FIG. 3 shows an example of a trace table, and FIG. 4 shows an operation of chronologically tracing the trace table by the input / output device status completion state confirmation task. .

【0022】本発明においては、複数個のチャネル・パ
ス 40 を介して、それぞれのチャネル・パス 40 に複数
個の入出力装置(I/O) 6 が接続されている計算機システ
ムにおいて、中央処理装置(CPU) 1 がチャネル・パスリ
セット(RCHP)命令を発行したときの、各入出力装置(I/
O) 6 のステータスをテストするのに、各入出力装置(I/
O) 6 に対応した複数個の試験機能タスクaから、チ
ャネル・パスリセットタスク, 及び、各入出力装置の完
了動作の妥当性をテストするタスクを分離して、システ
ムで唯一つのリセットタスク, 及び、入出力装置ステ
ータス完了状態確認タスク (完了確認タスク) を設
け、各入出力装置(I/O) 6 のステータスバイト,及び、
入出力命令を発行したときの入出力装置起動情報 62,チ
ャネル・パスリセット命令(RCHP)の発行/完了情報 63
に発生日時(TOD) を付加し、上記試験機能タスク, リ
セットタスクの実行に対応して生成,更新されている
上記発生日時付(TOD) 付きの各入出力装置(I/O) 6 のス
テータスバイト 60,61, 入出力装置起動情報 62,RCHP発
行/完了情報 63 を、上記入出力装置ステータス完了状
態確認タスクでトレースする手段が、本発明を実施す
るのに必要な手段である。尚、全図を通して同じ符号は
同じ対象物を示している。
According to the present invention, in a computer system in which a plurality of input / output devices (I / O) 6 are connected to each channel path 40 via a plurality of channel paths 40, a central processing unit When the (CPU) 1 issues the channel path reset (RCHP) instruction, each input / output device (I /
O) Test each I / O device (I /
O) The channel / path reset task and the task of testing the validity of the completion operation of each input / output device are separated from the plurality of test function tasks a corresponding to 6 so that only one reset task in the system is provided. , An I / O device status completion status confirmation task (completion confirmation task) is provided, and the status byte of each I / O device (I / O) 6
I / O device activation information when an I / O instruction is issued 62, Channel path reset instruction (RCHP) issue / completion information 63
The status of each input / output device (I / O) 6 with the date and time of occurrence (TOD) that has been generated and updated in response to the execution of the test function task and reset task. The means for tracing the bytes 60, 61, the input / output device activation information 62, and the RCHP issue / completion information 63 by the input / output device status completion status confirmation task is a means necessary for carrying out the present invention. Note that the same reference numerals indicate the same object throughout the drawings.

【0023】以下、図1を参照しながら、図2〜図4を
用いて、本発明の入出力装置のステータス確認方法を説
明する。先ず、本発明においては、図1に示したよう
に、リセットタスクが、各入出力装置(I/O) 6 に対応
した試験機能タスクA〜とは独立に構成されているの
で、該試験機能タスクA〜による入出力動作に対応し
て、図2に示したように、各CHPIDにより、各チャ
ネル・パス 40 を選択して、該チャネル・パス 40のリ
セットを行う。
Hereinafter, the method of checking the status of the input / output device according to the present invention will be described with reference to FIGS. First, in the present invention, as shown in FIG. 1, the reset task is configured independently of the test function tasks A to A corresponding to each input / output device (I / O) 6. As shown in FIG. 2, each channel path 40 is selected by each CHPID and the channel path 40 is reset in response to the input / output operation by tasks A to.

【0024】図2において、該リセットタスクは、各
チャネル・パス 40のリセット状況を、図示のチャネル
パス管理テーブルにより一元管理しておいる。図2の例
では、各チャネル・パス (CH1〜CH4対応) 40 を
一回リセットした後、現在、チャネル・パス (CH5対
応) 40のリセットを実行中であることが示されている。
In FIG. 2, the reset task manages the reset status of each channel path 40 in a unified manner using a channel path management table shown in FIG. The example of FIG. 2 shows that after resetting each channel path (corresponding to CH1 to CH4) once, the channel path (corresponding to CH5) 40 is currently being reset.

【0025】従って、各試験機能タスクA〜は、他の
試験機能タスクB〜によるRCHP命令を意識するこ
となく、入出力命令を実行することができ,該試験機能
タスクA〜間における、該RCHP命令の排他処理を
行う為の通信が要らなくなり、該通信によるオーバヘッ
ドを削減することができる。又、上記チャネルパス管理
テーブルの参照,更新処理のオーバヘッドも削減するこ
とができる。
Therefore, each test function task A can execute an input / output instruction without being aware of the RCHP instruction by another test function task B, and the RCHP between the test function tasks A can be executed. Communication for performing exclusive processing of an instruction is not required, and overhead due to the communication can be reduced. Also, the overhead of referring to and updating the channel path management table can be reduced.

【0026】次に、図3,図4によって、入出力装置ス
テータス完了状態確認タスクによる入出力装置(I/O)
の動作完了状態のトレース動作を説明する。図3(a),
(b) に示したように、各入出力装置(I/O) 6 は終了ステ
ータスバイト60 とか, 割り込みステータスバイト 61
等を備えており、本発明においては、これらのステータ
スバイト 60,61に発生日時(TOD) を付加する。
Next, referring to FIGS. 3 and 4, the input / output device (I / O) by the input / output device status completion status confirmation task will be described.
The trace operation in the operation completed state will be described. Fig. 3 (a),
As shown in (b), each input / output device (I / O) 6 has an end status byte 60 or an interrupt status byte 61
In the present invention, the date and time of occurrence (TOD) is added to these status bytes 60 and 61.

【0027】又、各入出力装置(I/O) 6 に入出力命令を
発行したときの入出力起動情報{図3(c) 参照}62に
も、その発生日時(TOD) を付加し、更に、RCHP命令
を発行したときのRCHP発行/完了情報{図3(d) 参
照}63にも、その発生日時(TOD)を付加しておく。
Also, the date and time of occurrence (TOD) is added to the input / output activation information (see FIG. 3 (c)) 62 when an input / output command is issued to each input / output device (I / O) 6. Furthermore, the date and time of occurrence (TOD) is also added to the RCHP issue / completion information at the time of issuing the RCHP instruction {see FIG. 3 (d)}.

【0028】従って、本発明を実施した場合、試験機能
タスクA〜が実行される毎に、上記入出力装置(I/O)
6 の終了ステータスバイト 60とか, 割り込みステータ
スバイト 61 が更新され、その更新日時(TOD) が記録さ
れていることになる。
Therefore, when the present invention is implemented, each time the test function tasks A to A are executed, the above-mentioned input / output device (I / O)
The end status byte 60 and interrupt status byte 61 of 6 are updated, and the update date and time (TOD) is recorded.

【0029】又、該試験機能タスクA〜とは独立に動
作するリセットタスクが実行される毎に、上記RCH
P発行/完了情報 63 が、その発生/完了日時(TOD) と
共に、図示されていない主記憶装置(MSU) 2(図5参照)
上に記録される。
Each time a reset task that operates independently of the test function tasks A- is executed, the RCH
The P issue / completion information 63, together with its occurrence / completion date and time (TOD), is not shown in the main storage unit (MSU) 2 (see FIG. 5).
Recorded above.

【0030】従って、図4に示したように、本発明の入
出力装置ステータス完了状態確認タスクにより、上記
各入出力装置(I/O) 6 の完了状態60 とか、RCHP発
行/完了情報 63 を、時系列的にトレースして、該トレ
ースされた情報を解析することにより、該RCHP命令
の影響を受けた入出力装置(I/O) 6 のステータスの妥当
性を確認することがしできるようになる。
Accordingly, as shown in FIG. 4, the completion status 60 of each input / output device (I / O) 6 or the RCHP issue / completion information 63 is determined by the input / output device status completion status confirmation task of the present invention. By tracing in time series and analyzing the traced information, the validity of the status of the input / output device (I / O) 6 affected by the RCHP instruction can be confirmed. become.

【0031】例えば、試験機能タスクAにより入出力
装置Aに入出力命令が発行されたとき、その終了ステー
タスの日時(TOD) の後に、例えば、RCHP命令が発行
されていれば、正常終了していることを確認すること
で、その妥当性を認識することができる。又、該終了ス
テータスが設定されていない場合、上記RCHP命令の
発行/完了の日時(TOD) を確認することで、その妥当性
を確認することができる。
For example, when an input / output command is issued to the input / output device A by the test function task A, if the RCHP command is issued after the end status date and time (TOD), the process ends normally. By confirming that they are valid, their validity can be recognized. If the end status is not set, the validity can be confirmed by confirming the date / time (TOD) of issue / completion of the RCHP instruction.

【0032】このように、本発明は、複数個のチャネル
・パス 40 を介して、それぞれのチャネル・パス 40 に
複数個の入出力装置(I/O) 6 が接続されている計算機シ
ステムにおいて、中央処理装置(CPU) 1 がチャネル・パ
スリセット(RCHP)命令を発行したときの、各入出力装置
(I/O) 6 のステータスをテストするのに、各入出力装置
(I/O) 6 に対応した複数個の試験機能タスクaから、
チャネル・パスリセットタスク, 及び、各入出力装置の
完了動作の妥当性をテストするタスクを分離して、シス
テムで唯一つのリセットタスク, 及び、入出力装置ス
テータス完了状態確認タスクを設け、各入出力装置(I
/O) 6 のステータスバイト 60,61, 及び、入出力命令を
発行したときの入出力装置起動情報 62,チャネル・パス
リセット命令(RCHP)の発行/完了情報 63 に発生日時(T
OD) を付加し、上記試験機能タスク, リセットタスク
の実行に対応して生成, 更新されている上記発生日時
(TOD) 付きの各入出力装置(I/O)6 のステータスバイト
60,61, 入出力装置起動情報 62,RCHP発行/完了情報 63
を、上記入出力装置ステータス完了状態確認タスク
で、時系列でトレースして、該チャネル・パスリセット
(RCHP)命令の発行時の個々の入出力装置のステータスの
妥当性を確認するようにしたところに特徴がある。
As described above, the present invention provides a computer system in which a plurality of input / output devices (I / O) 6 are connected to each channel path 40 via the plurality of channel paths 40. Each I / O device when Central Processing Unit (CPU) 1 issues a reset channel path (RCHP) instruction
To test the status of (I / O) 6, check each I / O device.
From a plurality of test function tasks a corresponding to (I / O) 6,
Separate the channel / path reset task and the task to test the validity of the completion operation of each I / O device, and provide only one reset task and the I / O device status completion status confirmation task in the system. Equipment (I
/ O) 6 status bytes 60, 61, I / O device activation information 62 when an I / O instruction is issued, and channel path reset instruction (RCHP) issuance / completion information 63
OD), and the date and time of occurrence that has been generated and updated in response to the execution of the test function task and reset task
Status byte for each input / output device (I / O) 6 with (TOD)
60,61, I / O device startup information 62, RCHP issue / completion information 63
Are traced in chronological order by the above-mentioned I / O device status completion status confirmation task, and the channel / path reset is performed.
The feature is that the validity of the status of each input / output device when the (RCHP) instruction is issued is checked.

【0033】[0033]

【発明の効果】以上、詳細に説明したように、本発明の
入出力装置の状態確認方法では、チャネル・パスをリセ
ットするテストをテストシステムで唯一の専用タスク
(リセットタスク)とする事で、リセットの実行対象
とするチャネル・パスの管理,制御が該リセットタスク
で一元管理ができ、試験機能タスク間の通信と記録
テーブルの更新といった処理が不要となる。このため、
テストシステムにおけるチャネル・パスをリセットする
テストに関する処理のオーバヘッドが解消され、チャネ
ル・パスをリセットするテストが効率的に実行される。
又、試験機能タスクとは別に、入出力装置ステータス
完了状態確認タスクを設け、各入出力装置(I/O) 6 の
ステータスバイト,及び、入出力命令を発行したときの
入出力装置起動情報, チャネル・パスリセット命令(RCH
P)の発行/完了情報に発生日時(TOD) を付加し、上記試
験機能タスク, リセットタスクの実行に対応して生
成,更新されている上記発生日時(TOD) 付きの各入出力
装置(I/O) 6 のステータスバイト, 入出力装置起動情
報,RCHP 発行/完了情報を、上記入出力装置ステータス
完了状態確認タスクで、時系列でトレースして、該チ
ャネル・パスリセット(RCHP)命令の発行時の個々の入出
力装置のステータスの妥当性を確認するようにしている
ので、従来困難であったチャネル・パスのリセットによ
り影響を受ける個々の入出力装置(I/O) のステータスの
妥当性を効率良く確認することが可能となる。
As described in detail above, in the input / output device state checking method of the present invention, the test for resetting the channel / path is set as the only dedicated task (reset task) in the test system. The management and control of the channel path to be reset can be centrally managed by the reset task, and the processing such as communication between test function tasks and updating of the recording table is not required. For this reason,
The overhead associated with the test for resetting the channel path in the test system is eliminated, and the test for resetting the channel path is efficiently executed.
In addition to the test function task, an I / O device status completion status confirmation task is provided, and the status byte of each I / O device (I / O) 6 and I / O device activation information when an I / O command is issued, Channel path reset instruction (RCH
P) with the date and time of occurrence (TOD) added to the issuance / completion information, and the I / O device (I / O) with the date and time of occurrence (TOD) generated and updated in response to the execution of the test function task and reset task. / O) Trace the 6 status bytes, I / O device startup information, and RCHP issue / completion information in chronological order with the I / O device status completion status confirmation task, and issue the channel path reset (RCHP) instruction. The validity of the status of each I / O device at the time is checked, so that the validity of the status of each I / O device affected by the reset of the channel path, which was difficult in the past, Can be checked efficiently.

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

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例を示した図(その1)FIG. 2 shows an embodiment of the present invention (part 1).

【図3】本発明の一実施例を示した図(その2)FIG. 3 shows an embodiment of the present invention (part 2).

【図4】本発明の一実施例を示した図(その3)FIG. 4 shows an embodiment of the present invention (part 3).

【図5】従来の入出力装置のステータスの確認方法を説
明する図(その1)
FIG. 5 is a diagram for explaining a conventional method of checking the status of an input / output device (part 1);

【図6】従来の入出力装置のステータスの確認方法を説
明する図(その2)
FIG. 6 illustrates a conventional method for checking the status of an input / output device (part 2).

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

1 中央処理装置(CPU) 2 主記憶装置
(MSU) 3 チャネル処理装置(CHP) 4 チャネル装
置(CH) 40 チャネル・パス 5 入出力制御
装置(IOC) 6 入出力装置(I/O) 60 終了ステータスバイト 61 割り込みス
テータスバイト 62 入出力装置起動情報 63 RCHP発
行/完了情報 , a 試験機能タスク リセットタスク 入出力装置ステータス完了状態確認タスク
1 Central processing unit (CPU) 2 Main storage device
(MSU) 3 channel processor (CHP) 4 channel device (CH) 40 channel path 5 I / O controller (IOC) 6 I / O device (I / O) 60 Exit status byte 61 Interrupt status byte 62 I / O device activation Information 63 RCHP issue / completion information, a Test function task Reset task I / O device status completion status confirmation task

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数個のチャネル・パス(40)を介して、
それぞれのチャネル・パス(40)に複数個の入出力装置
(I/O)(6)が接続されている計算機システムにおいて、 中央処理装置(CPU)(1)がチャネル・パスリセット(RCHP)
命令を発行したときの、各入出力装置(I/O)(6)のステー
タスをテストする方法であって、 各入出力装置(I/O)(6)に対応した複数個の試験機能タス
ク () から、チャネル・パスリセットタスク, 及び、
各入出力装置の完了動作の妥当性をテストするタスクを
分離して、システムで唯一つのリセットタスク (),及
び、入出力装置ステータス完了状態確認タスク () を
設け、 各入出力装置(I/O)(6)のステータスバイト(60,61),及
び、入出力命令を発行したときの入出力装置起動情報(6
2), チャネル・パスリセット(RCHP)命令の発行/完了情
報(63)に発生日時(TOD) を付加し、 上記試験機能タスク (),リセットタスク () の実行
に対応して生成,更新されている上記各入出力装置(I/
O)(6)のステータスバイト(60,61),入出力装置起動情報
(62), チャネル・パスリセット命令(RCHP)発行/完了情
報(63)を、上記入出力装置ステータス完了状態確認タス
ク () で、時系列にトレースして、該チャネル・パス
リセット(RCHP)命令の発行時の個々の入出力装置(I/O)
(6)のステータスの妥当性を確認することを特徴とする
入出力装置のステータス確認方法。
1. A method according to claim 1, wherein said plurality of channel paths comprise:
Multiple I / O devices for each channel path (40)
In the computer system to which (I / O) (6) is connected, the central processing unit (CPU) (1) uses the channel path reset (RCHP)
A method for testing the status of each input / output device (I / O) (6) when an instruction is issued, comprising a plurality of test function tasks corresponding to each input / output device (I / O) (6). From (), the channel / path reset task, and
The task of testing the validity of the completion operation of each I / O device is separated, and only one reset task () and the I / O device status completion status confirmation task () are provided in the system. O) (6) status byte (60, 61) and I / O device activation information (6
2), The generation date and time (TOD) is added to the issue / completion information (63) of the channel path reset (RCHP) instruction, which is generated and updated in response to the execution of the test function task () and reset task (). Each of the above input / output devices (I /
O) (6) status byte (60, 61), I / O device startup information
(62), the channel / path reset instruction (RCHP) issuance / completion information (63) is traced in chronological order by the input / output device status completion status confirmation task (), and the channel / path reset (RCHP) instruction is traced. Input / output device (I / O) at the time of issuance of
(6) A method for confirming the status of an input / output device, which comprises checking the validity of the status.
JP3315097A 1991-11-29 1991-11-29 I / O device status confirmation method Expired - Fee Related JP2615520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3315097A JP2615520B2 (en) 1991-11-29 1991-11-29 I / O device status confirmation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3315097A JP2615520B2 (en) 1991-11-29 1991-11-29 I / O device status confirmation method

Publications (2)

Publication Number Publication Date
JPH05151135A JPH05151135A (en) 1993-06-18
JP2615520B2 true JP2615520B2 (en) 1997-05-28

Family

ID=18061381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3315097A Expired - Fee Related JP2615520B2 (en) 1991-11-29 1991-11-29 I / O device status confirmation method

Country Status (1)

Country Link
JP (1) JP2615520B2 (en)

Also Published As

Publication number Publication date
JPH05151135A (en) 1993-06-18

Similar Documents

Publication Publication Date Title
US5978584A (en) Debugging apparatus for debugging a program by changing hardware environments without changing program operation state
US8813035B2 (en) Paradigm for concurrency testcase generation
US6275956B1 (en) Integrated dynamic-visual parallel debugging apparatus and method thereof
US8336032B2 (en) Implementing enhanced template debug
JP2000132424A (en) Software instrumentation method
JPS62162146A (en) Testing system for multiprocessor system
US20140089903A1 (en) Sampling Based Runtime Optimizer for Efficient Debugging of Applications
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
WO2011125280A1 (en) Debugging support device, debugging support method and debugging support program
JP2615520B2 (en) I / O device status confirmation method
CN115237728B (en) Visual monitoring method for real-time operating system running state
RU2729210C1 (en) Electronic devices software testing system
JP2692477B2 (en) I / O device status confirmation method
JP2746796B2 (en) Hardware system test I / O management system and I / O management method
CN111143141B (en) State machine setting method and system
JP2507789B2 (en) Logical simulation processing method of virtual machine
JPH11154004A (en) Device and method for communication data display and storage medium
JPS60124746A (en) Data processing unit
JPS62120548A (en) Test system for information processing system
SE524799C2 (en) Debugging method for single or multi process real time systems, identifies significant event break off point with unique marker comprising check sum
CN114327648A (en) Drive debugging method and device, electronic equipment and storage medium
JPH03237502A (en) Programmable controller
JPH02135548A (en) Test processing system for program
JPS63113649A (en) Controller
JPH1185573A (en) System and method for measuring performance and recording medium recording measuring control program therefor

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: 19970107

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080311

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees