JP2615520B2 - How to check the status of I/O devices - Google Patents
How to check the status of I/O devicesInfo
- 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
- status
- command
- task
- reset
- rchp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【0001】[0001]
【産業上の利用分野】本発明は、チャネル・パスリセッ
ト(RCHP)命令発行時の、入出力装置のステータスを確認
する方法に関する。FIELD OF THEINVENTION The present invention relates to a method for checking the status of an I/O device when a reset channel path (RCHP) command 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 of a plurality of channel paths, a central processing unit (CP)
When testing the status of each input/output device (I/O) when the test function task (TAS) issues a channel path reset (RCHP) command, since multiple I/O devices are connected to each channel path, if a test function task testing a certain I/O device issues the channel path reset (RCHP) command by itself, there is a problem that this affects I/O devices that are not related to the test function task.
【0003】又、各試験機能タスクで連携して、当該計
算機システムの全てのチャネル・パスを選択しながら、
該チャネル・パスリセット(RCHP)命令を発行するように
すると、該チャネル・パスリセット(RCHP)命令の排他制
御を行う関係で、複数個のタスク間での通信が必要とな
り、制御が複雑となる等の問題がある。In addition, each test function task cooperates with the others to select all the channel paths of the computer system,
If the channel path reset (RCHP) command is issued, communication between a plurality of tasks is required to perform exclusive control of the channel path reset (RCHP) command, which results in problems such as complicated control.
【0004】このようなことから、任意に、チャネル・
パスリセット(RCHP)命令を発行しながら、効率よく、入
出力装置(I/O) をテストする方法が要求される。For this reason, it is possible to arbitrarily select a channel
A method is required to efficiently test input/output (I/O) devices while issuing a reset path (RCHP) command.
【0005】[0005]
【従来の技術】図5, 図6は、従来の入出力装置のステ
ータスの確認方法を説明する図であり、図5は、計算機
システムの構成例を示し、図6は、従来の入出力装置(I
/O) のテスト方法を説明する図である。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 a computer system configuration, and FIG.
1 is a diagram explaining a test method for the NI 6110/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 is
The channel device (C) under the channel processing unit (CHP) 3
The I/O control unit (IOC) 5 is connected to the I/O control unit (I/O H) 4, and the central processing unit (CPU) 1 issues an I/O command to the channel processing unit (CHP) 3, the channel unit (CH) 4,
autonomously decodes the input/output command and issues the necessary command
(Read/Write/Sense commands) are issued to the corresponding input/output device (I/O) 6 via the channel path 40 and the input/output control device (IOC) 5 to control each input/output device (I/O) 6 .
【0007】本発明に関連するチャネル・パスリセット
(RCHP)命令は、該チャネル・パスリセット(RCHP)命令が
指示するチャネル・パス識別子(CHPID) に対応したチャ
ネル・パス 40 配下の入出力制御装置(IOC) 5,入出力装
置(I/O) 6 のステータスをクリアする。Channel Path Reset Related to the Present Invention
The (RCHP) command clears the status of the input/output control unit (IOC) 5 and input/output device (I/O) 6 under the channel path 40 corresponding to the channel path identifier (CHPID) specified by the (RCHP) command.
【0008】又、該計算機システムに接続されている任
意の入出力装置(I/O) 6 をテストするのに、従来方法に
おいては、図6に示した構造の試験機能タスクA〜a
が用意され、中央処理装置(CPU) 1 が、それぞれの試験
機能タスクA〜aを実行することにより、対応する入
出力装置(I/O) 6 をテストする。In order to test any input/output device (I/O) 6 connected to the computer system, the conventional method uses test function tasks A to a shown in FIG.
are prepared, and a central processing unit (CPU) 1 executes each of the 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)命令を実行することがある。Therefore, in the test function tasks A to a, a channel path reset (RCH) command is used to interrupt the hardware operations of the input/output control unit (IOC) 5 and the input/output device (I/O) 6.
P) may execute commands.
【0010】従来、ハードウェア動作を中断するチャネ
ル・パスリセット命令(以下、RCHP命令という)の
テストにおいては、テストプログラムの複数の試験機能
タスクA〜aが動作し、それぞれの試験機能タスクA
〜aにおいて、単独で、任意のチャネル・パス識別子
(以下、CHPIDという)に対して、上記RCHP命
令を発行するか,又は、上記試験機能タスクa群で連
携して、システムの全てのCHPIDのチャネル・パス
40 を選択,制御しながらRCHP命令を発行するよう
にして実施してきた。Conventionally, in testing a channel path reset instruction (hereinafter referred to as an RCHP instruction) that suspends hardware operation, a plurality of test function tasks A to a of a test program are operated.
In the test function tasks a to a, the RCHP command is issued independently to an arbitrary channel path identifier (hereinafter referred to as CHPID), or the test function tasks a cooperate with each other to issue the RCHP command to the channel paths of all CHPIDs in the system.
The implementation has been such that the RCHP command is issued while selecting and controlling 40.
【0011】[0011]
【発明が解決しようとする課題】前者の、試験機能タス
クA〜a単独で、任意のチャネル・パス識別子(以
下、CHPIDという)に対して、上記RCHP命令を
発行する方法では、単独で任意のCHPIDに対して、
該RCHP命令を発行するため、該CHPIDに接続さ
れているリセット処理の影響を受ける入出力装置(I/O)
6 の完了動作の妥当性を確認することが困難であるとい
う問題がある。In the former method, the test function tasks A to a each independently issue the RCHP command to any channel path identifier (hereinafter referred to as CHPID).
The I/O device affected by the reset process that is connected to the CHPID for which the RCHP command is issued.
There is a problem in that it is difficult to verify the validity of the completion action of 6.
【0012】即ち、リセットが何時, どのCHPIDに
対して発行されたのかは、該RCHP命令を発行した試
験機能タスクAa以外では認識できない。通常、該試
験機能タスクAaで該RCHP命令を発行すると、入
出力装置(I/O) 6 からの「デバイスエンド」割り込みが
得られなくなるが、別の試験機能タスクB〜aでは、
入出力装置(I/O) 6 自身のエラーで、該「デバイスエン
ド」割り込みが得られないのか、上記RCHP命令で得
られないのかが判断できない。In other words, when and for which CHPID the reset was issued cannot be recognized by any other test function task than the test function task Aa which issued the RCHP command. Normally, when the test function task Aa issues the RCHP command, it becomes impossible to obtain a "device end" interrupt from the input/output device (I/O) 6. However, in other test function tasks B to a,
It is not possible to determine whether the "device end" interrupt is not obtained due to an error in the input/output device (I/O) 6 itself, or whether the interrupt is not obtained by the above RCHP command.
【0013】又、後者の上記試験機能タスクA〜a群
で連携して、システムの全てのCHPIDを選択,制御
しながらRCHP命令を発行する方法では、複数の試験
機能タスクA,〜a間ので通信で、該RCHP命令の
発行の排他制御が必要なため、制御が複雑になり、テス
トシステム全体における処理のオーバヘッドが大きくな
り、そのため効率的なテストが実施できないという問題
があった。In the latter method, in which the test function tasks A to a work together to issue an RCHP command while selecting and controlling all CHPIDs in the system, exclusive control of the issuance of the RCHP command is required through communication between multiple test function tasks A to a, which complicates the control and increases the processing overhead in the entire test system, resulting in the problem that efficient testing cannot be performed.
【0014】本発明は上記従来の欠点に鑑み、複数個の
チャネル・パスを介して、それぞれのチャネル・パスに
複数個の入出力装置(I/O) が接続されている計算機シス
テムにおいて、チャネル・パスリセット命令(RCHP
命令)発行時の、入出力装置(I/O) の完了動作の妥当性
を効率よくテストする方法を提供することを目的とする
ものである。In view of the above-mentioned drawbacks of the prior art, the present invention provides a channel path reset command (RCHP) for a computer system in which a plurality of input/output devices (I/O) are connected to each of a plurality of channel paths.
The present invention aims to provide a method for efficiently testing the validity of an input/output (I/O) completion operation when an instruction is issued.
【0015】[0015]
【課題を解決するための手段】図1は、本発明の原理説
明図である。上記の問題点は下記の如くに構成した入出
力装置のステータス確認方法によって解決される。1 is a diagram for explaining the principle of the present invention. The above problems are solved by a method for checking 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/O devices) are connected to each of the plurality of channel paths 40 via the plurality of channel paths 40.
In a computer system to which an input/output device (I/O) 6 is connected, a central processing unit (CPU) 1 issues a channel path reset (RCHP) command, and a method of testing the status of each input/output device (I/O) 6 is provided by separating a channel path reset task and a task for testing the validity of the completion operation of each I/O device from a plurality of test function tasks corresponding to each input/output device (I/O) 6, and storing only one reset task and an I/O device status completion state confirmation task in the system, and storing status bytes 60, 61, of each input/output device (I/O) 6, and I/O device startup information 62 when an input/output command is issued, and a channel path reset (RCHP) command.
The time of occurrence (TOD) is added to the command issue/completion information 63,
The status bytes 60, 61 of the input/output devices (I/O) 6, which are generated and updated in response to the execution of the test function task and the reset task, the I/O device start information 62, and the channel path reset command (RCHP) issue/completion information 63,
In the above I/O device status completion confirmation task, trace in chronological order and check the channel path reset (RCHP)
It is configured to check the validity of the status of each input/output device (I/O) 6 at the time the command is issued.
【0017】[0017]
【作用】即ち、本発明においては、試験機能タスクA〜
aからチャネル・パスリセット(RCHP)命令の試験処理
を分離して、専用タスク (リセットタスク) とする。
そして、この専用タスク (リセットタスク) がハード
ウェアシステムを構成する全てのチャネル処理装置(CH
P) 3 配下のチャネル・パス 40 に対してリセット試験
を実行する。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).
This dedicated task (reset task) then resets all the channel processing units (CHs) that make up the hardware system.
P) 3 Perform a reset test on channel path 40.
【0018】従って、チャネル・パス 40 の一元管理が
可能となり、試験機能タスクA〜間の、上記RCHP
命令の競合がなくなる。さらに、本発明においては、該
チャネル・パスリセットの影響を受ける入出力装置(I/
O)6 群のステータスを確認するための入出力装置ステー
タス完了状態確認タスク (完了確認タスク) を、該試
験機能タスクA〜aから分離して、専用に設ける。Therefore, the channel path 40 can be managed in a unified manner, and the above-mentioned RCHP between the test function tasks A to
In addition, in the present invention, the I/O device (I/O device) affected by the channel path reset is reset.
O) An I/O device status completion state confirmation task (completion confirmation task) for confirming the status of the six groups is separated from the test function tasks A to a and provided exclusively for this purpose.
【0019】そして、本発明に置いては、各入出力装置
(I/O) 6 のステータスバイト 60,61, 及び、入出力命令
を発行したときの入出力装置起動情報 62,チャネル・パ
スリセット(RCHP)命令の発行/完了情報 63 に発生日時
(TOD) を付加し、上記試験機能タスク, リセットタス
クの実行に対応して生成,更新されている上記発生日
時(TOD) 付きの各入出力装置(I/O) 6 のステータスバイ
ト 60,61, 入出力装置起動情報 62,チャネル・パスリセ
ット命令(RCHP)発行/完了情報 63 を、上記試験機能タ
スクA〜とは独立した入出力装置ステータス完了状態
確認タスクで、時系列でトレースして、該チャネル・
パスリセット(RCHP)命令の発行時の個々の入出力装置の
ステータスの妥当性を確認する。In the present invention, each input/output device
(I/O) 6 status bytes 60, 61, and I/O device startup information 62 when an I/O command was issued, and channel path reset (RCHP) command issue/completion information 63 show the occurrence date and time.
The status bytes 60, 61, I/O device start information 62, and channel path reset command (RCHP) issue/completion information 63 of each input/output device (I/O) 6 with the above-mentioned occurrence date and time (TOD) that are generated and updated in response to the execution of the test function task and reset task are traced in chronological order by an I/O device status completion state confirmation task independent of the test function tasks A, B, C, and D.
Validates the status of each I/O device at the time the Reset Path (RCHP) command 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 input/output command start information 62, RCHP for each input/output device (I/O) 6 when a plurality of test function tasks and a reset task are executed.
The command issue/completion information 63, the interrupt status byte 61, and the end status byte 60 of each I/O device are generated together with the time of occurrence (TOD) and are chronologically traced by the I/O device status completion state confirmation task.
By determining when the I/O device 6 was issued during its operation, the completion status of each I/O device 6 can be calculated using the
It becomes possible to distinguish whether the test was forcibly terminated by a CHP command or whether the test input/output operation was terminated as expected by an input/output command.
【0021】[0021]
【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の原理説明図であり、図2,
図3,図4は本発明の一実施例を示した図であり、図2
は、チャネル・パスのリセット動作を示し、図3は、ト
レーステーブルの一例を示し、図4は、入出力装置ステ
ータス完了状態確認タスクによる上記トレーステーブ
ルを時系列的にトレースする動作を示している。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described in detail with reference to the accompanying drawings. FIG. 1 is a diagram for explaining the principle of the present invention.
3 and 4 show an embodiment of the present invention.
FIG. 3 shows an example of a trace table, and FIG. 4 shows the operation of tracing the above trace table in a time series manner by the I/O 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 を、上記入出力装置ステータス完了状
態確認タスクでトレースする手段が、本発明を実施す
るのに必要な手段である。尚、全図を通して同じ符号は
同じ対象物を示している。In the present invention, in a computer system in which a plurality of input/output devices (I/O) 6 are connected to each of a plurality of channel paths 40 via the channel paths 40, when a central processing unit (CPU) 1 issues a channel path reset (RCHP) command, the status of each input/output device (I/O) 6 is
Each input/output device (I/O) 6 is tested for its status.
From the multiple test function tasks a corresponding to the I/O devices (I/O) 6, the channel path reset task and the task for testing the validity of the completion operation of each I/O device are separated, and a reset task and an I/O device status completion state confirmation task (completion confirmation task) that are unique in the system are provided, and the status byte of each I/O device (I/O) 6 and
I/O device startup information when an I/O command is issued 62, Channel Path Reset Command (RCHP) issue/completion information 63
The means required to carry out the present invention is a means for adding a time of occurrence (TOD) to the status bytes 60, 61, I/O device start information 62, and RCHP issue/completion information 63 of each input/output device (I/O) 6 with the time of occurrence (TOD) which are generated and updated in response to the execution of the test function task and reset task, and tracing the I/O device status completion state confirmation task. Note that the same symbols indicate the same objects throughout the drawings.
【0023】以下、図1を参照しながら、図2〜図4を
用いて、本発明の入出力装置のステータス確認方法を説
明する。先ず、本発明においては、図1に示したよう
に、リセットタスクが、各入出力装置(I/O) 6 に対応
した試験機能タスクA〜とは独立に構成されているの
で、該試験機能タスクA〜による入出力動作に対応し
て、図2に示したように、各CHPIDにより、各チャ
ネル・パス 40 を選択して、該チャネル・パス 40のリ
セットを行う。[0023] The method of checking the status of an I/O device of the present invention will be described below with reference to Figures 2 to 4 while referring to Figure 1. First, in the present invention, as shown in Figure 1, the reset task is configured independently of the test function tasks A ~ corresponding to each input/output device (I/O) 6, so that in response to the I/O operation by the test function tasks A ~, each channel path 40 is selected by each CHPID as shown in Figure 2, and the channel path 40 is reset.
【0024】図2において、該リセットタスクは、各
チャネル・パス 40のリセット状況を、図示のチャネル
パス管理テーブルにより一元管理しておいる。図2の例
では、各チャネル・パス (CH1〜CH4対応) 40 を
一回リセットした後、現在、チャネル・パス (CH5対
応) 40のリセットを実行中であることが示されている。2, the reset task uses the illustrated channel path management table to centrally manage the reset status of each channel path 40. In the example of Fig. 2, after each channel path (corresponding to CH1 to CH4) 40 has been reset once, it is shown that the reset of channel path (corresponding to CH5) 40 is currently being executed.
【0025】従って、各試験機能タスクA〜は、他の
試験機能タスクB〜によるRCHP命令を意識するこ
となく、入出力命令を実行することができ,該試験機能
タスクA〜間における、該RCHP命令の排他処理を
行う為の通信が要らなくなり、該通信によるオーバヘッ
ドを削減することができる。又、上記チャネルパス管理
テーブルの参照,更新処理のオーバヘッドも削減するこ
とができる。Therefore, each test function task A can execute an I/O command without being aware of the RCHP command by other test function tasks B, and communication between the test function tasks A for exclusive processing of the RCHP command is not required, reducing the overhead of the communication. 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 FIG. 3 and FIG. 4, the input/output device (I/O) status completion state confirmation task
The trace operation of the operation completion state is explained as shown in Figure 3(a).
As shown in (b), each I/O device (6) outputs an end status byte (60), an interrupt status byte (61), etc.
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)を付加しておく。In addition, the date and time of occurrence (TOD) is also added to the I/O start information (see FIG. 3(c)) 62 when an I/O command is issued to each I/O device (I/O) 6, and further, the date and time of occurrence (TOD) is also added to the RCHP issue/completion information (see FIG. 3(d)) 63 when an RCHP command is issued.
【0028】従って、本発明を実施した場合、試験機能
タスクA〜が実行される毎に、上記入出力装置(I/O)
6 の終了ステータスバイト 60とか, 割り込みステータ
スバイト 61 が更新され、その更新日時(TOD) が記録さ
れていることになる。Therefore, when the present invention is implemented, each time a test function task A is executed, the input/output device (I/O)
The end status byte 60 or the interrupt status byte 61 is updated, and the update date and time (TOD) is recorded.
【0029】又、該試験機能タスクA〜とは独立に動
作するリセットタスクが実行される毎に、上記RCH
P発行/完了情報 63 が、その発生/完了日時(TOD) と
共に、図示されていない主記憶装置(MSU) 2(図5参照)
上に記録される。In addition, each time a reset task that operates independently of the test function tasks A to C is executed, the RCH
P issue/completion information 63, together with its occurrence/completion date and time (TOD), is stored in main storage unit (MSU) 2 (not shown) (see FIG. 5).
is recorded above.
【0030】従って、図4に示したように、本発明の入
出力装置ステータス完了状態確認タスクにより、上記
各入出力装置(I/O) 6 の完了状態60 とか、RCHP発
行/完了情報 63 を、時系列的にトレースして、該トレ
ースされた情報を解析することにより、該RCHP命令
の影響を受けた入出力装置(I/O) 6 のステータスの妥当
性を確認することがしできるようになる。Therefore, as shown in FIG. 4, the I/O device status completion state confirmation task of the present invention chronologically traces the completion state 60 of each I/O device 6 and the RCHP issue/completion information 63, and by analyzing the traced information, it becomes possible to confirm the validity of the status of the I/O device 6 affected by the RCHP command.
【0031】例えば、試験機能タスクAにより入出力
装置Aに入出力命令が発行されたとき、その終了ステー
タスの日時(TOD) の後に、例えば、RCHP命令が発行
されていれば、正常終了していることを確認すること
で、その妥当性を認識することができる。又、該終了ス
テータスが設定されていない場合、上記RCHP命令の
発行/完了の日時(TOD) を確認することで、その妥当性
を確認することができる。For example, when an I/O command is issued to I/O device A by test function task A, if an RCHP command is issued after the date and time (TOD) of the end status, the validity of the command can be confirmed by confirming that the command has ended normally. Also, if the end status is not set, the validity of the command can be confirmed by checking the date and time (TOD) of the issuance/completion of the RCHP command.
【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)命令の発行時の個々の入出力装置のステータスの
妥当性を確認するようにしたところに特徴がある。In this way, the present invention is directed to a computer system in which a plurality of input/output devices (I/O) 6 are connected to each of a plurality of channel paths 40 via the plurality of channel paths 40, and when a central processing unit (CPU) 1 issues a channel path reset (RCHP) command, the state of each I/O device is
(I/O) 6 Test the status of each I/O device.
From a plurality of test function tasks a corresponding to (I/O) 6,
The channel path reset task and the task that tests the validity of the completion operation of each I/O device are separated, and only one reset task and I/O device status completion state confirmation task are provided in the system.
The status bytes 60 and 61 of the I/O command 6, the I/O device startup information 62 when the I/O command was issued, and the issue/completion information 63 of the channel path reset command (RCHP) contain the occurrence date and time (T
OD) is added, and the occurrence date and time is generated and updated in response to the execution of the above 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
The I/O device status completion confirmation task traces the channel path reset in chronological order.
A feature of this method is that it checks the validity of the status of each input/output device when the (RCHP) command is issued.
【0033】[0033]
【発明の効果】以上、詳細に説明したように、本発明の
入出力装置の状態確認方法では、チャネル・パスをリセ
ットするテストをテストシステムで唯一の専用タスク
(リセットタスク)とする事で、リセットの実行対象
とするチャネル・パスの管理,制御が該リセットタスク
で一元管理ができ、試験機能タスク間の通信と記録
テーブルの更新といった処理が不要となる。このため、
テストシステムにおけるチャネル・パスをリセットする
テストに関する処理のオーバヘッドが解消され、チャネ
ル・パスをリセットするテストが効率的に実行される。
又、試験機能タスクとは別に、入出力装置ステータス
完了状態確認タスクを設け、各入出力装置(I/O) 6 の
ステータスバイト,及び、入出力命令を発行したときの
入出力装置起動情報, チャネル・パスリセット命令(RCH
P)の発行/完了情報に発生日時(TOD) を付加し、上記試
験機能タスク, リセットタスクの実行に対応して生
成,更新されている上記発生日時(TOD) 付きの各入出力
装置(I/O) 6 のステータスバイト, 入出力装置起動情
報,RCHP 発行/完了情報を、上記入出力装置ステータス
完了状態確認タスクで、時系列でトレースして、該チ
ャネル・パスリセット(RCHP)命令の発行時の個々の入出
力装置のステータスの妥当性を確認するようにしている
ので、従来困難であったチャネル・パスのリセットによ
り影響を受ける個々の入出力装置(I/O) のステータスの
妥当性を効率良く確認することが可能となる。As explained above in detail, in the method for checking the status of an input/output device of the present invention, the test for resetting a channel path is made the only dedicated task (reset task) in the test system, so that the management and control of the channel path to be reset can be unified by the reset task, and processing such as communication between test function tasks and updating of the record table becomes unnecessary.
The overhead of processing related to a test that resets a channel path in a test system is eliminated, and the test that resets a channel path is efficiently executed.
In addition to the test function task, an I/O device status completion status confirmation task is provided, which records the status byte of each I/O device (I/O) 6, I/O device startup information when an I/O command is issued, and channel path reset command (RCH
The status byte, I/O device startup information, and RCHP issue/completion information of each input/output device (I/O) 6 with the above-mentioned date and time of occurrence (TOD), which are generated and updated in response to the execution of the above-mentioned test function task and reset task, are traced in chronological order by the above-mentioned I/O device status completion state confirmation task to confirm the validity of the status of each I/O device at the time of issuing the channel path reset (RCHP) command, so that it becomes possible to efficiently confirm the validity of the status of each input/output device (I/O) affected by the channel path reset (RCHP), which was previously difficult.
【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の一実施例を示した図(その1)FIG. 2 is a diagram showing an embodiment of the present invention (part 1).
【図3】本発明の一実施例を示した図(その2)FIG. 3 is a diagram showing an embodiment of the present invention (part 2).
【図4】本発明の一実施例を示した図(その3)FIG. 4 is a diagram showing an embodiment of the present invention (part 3).
【図5】従来の入出力装置のステータスの確認方法を説
明する図(その1)FIG. 5 is a diagram for explaining a conventional method for checking the status of an input/output device (part 1).
【図6】従来の入出力装置のステータスの確認方法を説
明する図(その2)FIG. 6 is a diagram for explaining a conventional method for checking the status of an input/output device (part 2).
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 Memory Unit
(MSU) 3 Channel processing unit (CHP) 4 Channel device (CH) 40 Channel path 5 Input/output control unit (IOC) 6 Input/output device (I/O) 60 End status byte 61 Interrupt status byte 62 I/O device start information 63 RCHP issue/completion information , a Test function task Reset task I/O device status completion state confirmation task
Claims (1)
それぞれのチャネル・パス(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 for providing a plurality of channel paths (40) comprising:
Multiple I/O devices on each channel path (40)
In a computer system to which an I/O (6) is connected, the central processing unit (CPU) (1) issues a channel path reset (RCHP).
A method for testing the status of each input/output device (I/O) (6) when a command is issued, comprising: a channel path reset task, and a test function task () corresponding to each input/output device (I/O) (6).
The tasks for testing the validity of the completion operation of each I/O device are separated, and a reset task (), which is unique in the system, and an I/O device status completion status confirmation task () are provided. The status bytes (60, 61) of each I/O device (6) and the I/O device startup information (6) when an I/O command is issued are recorded.
2) The time of occurrence (TOD) is added to the issue/completion information (63) of the channel path reset (RCHP) command, and the above-mentioned input/output devices (I/O devices) that are generated and updated in response to the execution of the above-mentioned test function task () and reset task () are added.
O) (6) Status byte (60,61), I/O device startup information
(62) The channel path reset command (RCHP) issue/completion information (63) is traced in chronological order by the I/O device status completion state confirmation task () to obtain the status of each I/O device at the time of issuance of the channel path reset (RCHP) command.
(6) A method for checking the status of an input/output device, comprising: checking the validity of the status.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3315097A JP2615520B2 (en) | 1991-11-29 | 1991-11-29 | How to check the status of I/O devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3315097A JP2615520B2 (en) | 1991-11-29 | 1991-11-29 | How to check the status of I/O devices |
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 | How to check the status of I/O devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2615520B2 (en) |
-
1991
- 1991-11-29 JP JP3315097A patent/JP2615520B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05151135A (en) | 1993-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1504347B1 (en) | Automated software testing system and method | |
| US5978584A (en) | Debugging apparatus for debugging a program by changing hardware environments without changing program operation state | |
| US3659272A (en) | Digital computer with a program-trace facility | |
| US20140089903A1 (en) | Sampling Based Runtime Optimizer for Efficient Debugging of Applications | |
| JPS62162146A (en) | Testing system for multiprocessor system | |
| US6240529B1 (en) | Debugging method and debugging apparatus for microcomputer system and recording medium on which debug program is recorded | |
| JP2615520B2 (en) | How to check the status of I/O devices | |
| JPH0511827A (en) | Execution time output method of industrial automatic equipment | |
| JP2692477B2 (en) | How to check the status of I/O devices | |
| JPS60124746A (en) | data processing equipment | |
| JPS6363935B2 (en) | ||
| JPH11154004A (en) | Communication data display device and method, storage medium | |
| JPH02220145A (en) | Program tracing system | |
| JPS62267841A (en) | Program debug device | |
| JP2658699B2 (en) | Method of managing device under test of input / output device test program | |
| JPH1091477A (en) | Control microcomputer device and maintenance tool for the device | |
| JPH05241891A (en) | Tracer circuit | |
| JPH01290055A (en) | Channel test method | |
| JPS6111855A (en) | Function diagnosing method of data processor | |
| JPS6159549A (en) | Software specification formation method | |
| JPH064424A (en) | I/o management system for hardware system test and its i/o management method | |
| JPH0535464A (en) | Hicroprogram control system | |
| JPS61235955A (en) | Program debugging system | |
| JPS60160442A (en) | Microprogram address tracing system | |
| JPH04352248A (en) | Fault analysis system |
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 |