JPS61264459A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS61264459A
JPS61264459A JP60107114A JP10711485A JPS61264459A JP S61264459 A JPS61264459 A JP S61264459A JP 60107114 A JP60107114 A JP 60107114A JP 10711485 A JP10711485 A JP 10711485A JP S61264459 A JPS61264459 A JP S61264459A
Authority
JP
Japan
Prior art keywords
data
command
bytes
status
transfer
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.)
Granted
Application number
JP60107114A
Other languages
Japanese (ja)
Other versions
JPH0465418B2 (en
Inventor
Masahito Hihara
日原 正仁
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 JP60107114A priority Critical patent/JPS61264459A/en
Publication of JPS61264459A publication Critical patent/JPS61264459A/en
Publication of JPH0465418B2 publication Critical patent/JPH0465418B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To transfer continuously data blocks with high efficiency by adding a state qualifying status to the transfer of data and informing collectively the interruptions for report of reception to a CPU after the reception of the data block. CONSTITUTION:A CPU decides previously the number of bytes designated by a CCW and informs the number of bytes to the CPU by a setting command. At the same time, the CCW consisting of at least a read or write command, a command chain flag, the byte number, a data transfer area, etc. and the CCW consisting of a NOP command, a command chain, a program interruption flag, etc. are chained in plural pieces when a transmission/reception command is produced. An additional information area is set at the data transfer area of the CCW. The CPU counts the transfer bytes during the execution of a command. In case the end of a block is detected within the informed byte number, the transfer of data is carried out together with the additional information showing the valid display of end information, the transfer byte number, the details of errors, etc. Then the transfer of data is through with the input/output device end status and the channel device end status.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 (第1図)作用 実施例 (1)発明の構成 (第2図〜第5図)(2)発明の動
作 (3)発明の第2実施例 (第6図、第7図)発明の効
果 〔概要〕 中央処理装置からの指令により端末装置とのデータ送受
信制御を行う通信制御装置を有するデータ通信システム
において、中央処理装置は、送受信指令発行時はリード
(ライト)コマンドと指令連鎖フラグとデータ転送領域
を有するCCW(A)と、NOPコマンドと指令連鎖及
びプログラム割込みフラグを有するCCW (B)を複
数連鎖させ、通信制御装置にあってはデータ転送バイト
数をカウントし、予め通知されたバイト数以内にデータ
ブロックの終了を検出しないときは状態修飾(SM)ス
テータスで終結してデータを継続転送し、またデータ領
域に転送バイト長を含む付加情報を記入して中央処理装
置がICCW(A)毎の転送バイト長を判読可能にした
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Field of Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (Fig. 1) Working Examples (1) Structure of the Invention ( (Figures 2 to 5) (2) Operation of the invention (3) Second embodiment of the invention (Figures 6 and 7) Effects of the invention [Summary] Data exchange with the terminal device by commands from the central processing unit In a data communication system having a communication control device that controls transmission and reception, the central processing unit issues a read (write) command, a command chain flag, a CCW (A) having a data transfer area, a NOP command, and a command chain when issuing a transmission/reception command. The communication control device counts the number of data transfer bytes, and if the end of the data block is not detected within the number of bytes notified in advance, it changes the status ( SM) status, the data is continuously transferred, and additional information including the transfer byte length is written in the data area so that the central processing unit can read the transfer byte length for each ICCW (A).

〔産業上の利用分野〕[Industrial application field]

本発明はデータ転送方式に係り、特にデータ通信システ
ムにおける中央処理装置(以下CPUという)と、チャ
ネル装置を介して接続される通信制御装置(以下ccp
という)のデータ転送方式%式% 〔従来の技術〕 一般に入出力装置の入出力動作は、CPUからの入出力
開始命令及びチャネル・コマンド・ワード(以下CCW
という)により行われる。このCCWはチャネルにより
読み出される。ところでCCWの形式は、第4図(a)
に示す如く、コマンド部CMD、フラグ部FLG、バイ
ト・カウント部BC1データアドレス部DTA等により
構成されている。
The present invention relates to a data transfer method, and particularly relates to a central processing unit (hereinafter referred to as CPU) in a data communication system and a communication control device (hereinafter referred to as ccp) connected via a channel device.
[Prior art] In general, the input/output operation of an input/output device is performed using an input/output start command from the CPU and a channel command word (hereinafter referred to as "CCW").
). This CCW is read by the channel. By the way, the format of CCW is shown in Figure 4 (a).
As shown in the figure, it is composed of a command section CMD, a flag section FLG, a byte count section BC1, a data address section DTA, etc.

コマンド部CMDは入出力装置により実行されるべき命
令であり、CCWを読出した時点でチャネルにより解読
され、チャネル内とび起しコマンド、無効コマンド以外
は入出力装置へ通知される。
The command part CMD is an instruction to be executed by the input/output device, and is decoded by the channel when CCW is read, and the input/output device is notified of commands other than the command to wake up the channel and the invalid command.

入出力装置はコマンドを受は取るとコードによって定義
された入出力動作を開始する。
When an I/O device receives a command, it begins the I/O operation defined by the code.

フラグ部FLGは、第4図〜)に示す形式であり、チャ
ネルに対するチャネル・プログラムの実行を指定するも
のである。このフラグ部FLGのCDはチェーンデータ
の有無を示すもの(データ連鎖)、CCは指令連鎖を示
すもの、SLiはサプレスであって指示されたデータバ
イト数と実際のバイト数が不一致でもOKとするもの、
5kipはデータ受信の無視を示すもの、PClはプロ
グラム割込みを示すもの、iDAはインダイレクト・ア
ドレスを示すもである。
The flag section FLG has the format shown in FIGS. 4-), and specifies execution of a channel program for a channel. The CD of this flag part FLG indicates the presence or absence of chain data (data chain), CC indicates the command chain, and SLi indicates suppression, so it is OK even if the instructed number of data bytes and the actual number of bytes do not match. thing,
5kip indicates that data reception is ignored, PCl indicates a program interrupt, and iDA indicates an indirect address.

バイト・カウント部BCは転送先のデータ領域の大きさ
を示すバイト数を指示するものであり、データアドレス
部DTAはデータバイト数として使用される転送される
データ領域の主記憶装置内における先頭アドレスを指定
している。
The byte count section BC indicates the number of bytes indicating the size of the data area of the transfer destination, and the data address section DTA indicates the start address in the main memory of the data area to be transferred, which is used as the number of data bytes. is specified.

いまCPUからの入出力開始命令により、チャネルがC
CWを読み出し、入出力装置にこのCCWのコマンドを
通知し、入出力装置が実行可能な応答を行うと一連の起
動動作は完了し、以後データ転送が行われることになる
Now, due to the input/output start command from the CPU, the channel is
When the CW is read, the command of this CCW is notified to the input/output device, and the input/output device makes an executable response, a series of startup operations is completed, and data transfer will be performed thereafter.

入出力装置からデータ転送要求があると、チャネルはデ
ータアドレス部DTAで指定された主記憶装置の領域へ
データ転送を行う。チャネルはその都度バイト・カウン
トを減算し、転送バイト数を管理する。データ転送の途
中でバイト・カウント部分が零になると、フラグ部FL
Gのビット8のCDが判定され、このCDがONであれ
ば現在実行中のCCWに続いて、主記憶装置内に格納さ
れている新しいCCWを読み出してデータ転送を続行す
る。これがデータ連鎖である。このデータ連鎖はチャネ
ルによって実行されるので、入出力装置は関知すること
はない。
When a data transfer request is received from an input/output device, the channel transfers the data to the area of the main memory specified by the data address section DTA. The channel subtracts the byte count each time to manage the number of bytes transferred. If the byte count section becomes zero during data transfer, the flag section FL
The CD of bit 8 of G is determined, and if this CD is ON, a new CCW stored in the main memory is read out following the currently executing CCW, and data transfer is continued. This is a data chain. This data chaining is performed by channels and is transparent to input/output devices.

データ連鎖の指定がない場合(前記CDが0FF)は、
現在実行中のCCWを終了するため、入出力装置へデー
タ転送終了指示を出す。データ転送終了指示を受けた入
出力装置はコマンドの実行を終了してチャネルに報告す
る。
If no data chain is specified (the CD is 0FF),
In order to terminate the currently executing CCW, a data transfer termination instruction is issued to the input/output device. The input/output device that receives the data transfer end instruction ends the command execution and reports it to the channel.

チャネルは入出力装置からコマンドの終了を受けるとバ
イト・カウントの値と、フラグ部FLGの内容により、
以下のようにチャネル・プログラムの実行を決定する。
When the channel receives the end of the command from the input/output device, it uses the byte count value and the contents of the flag section FLG.
Decide to run the channel program as follows:

■ バイト・カウントが零でフラグ部FLGのビット9
のCCがONであれば、指令連鎖が指示されているので
、新しいCCWを実行する。またバイト・カウント部が
零でなかったときはフラグ部FLGのビット10のSL
iを判定してこれがONのときはバイト・カウントが零
の場合と同様“に指令連鎖を行う。そしてこのとき指令
連鎖で読み出す新しいCCWは入出力装置のステータス
により異なる。ステータスが入出力装置終了、チャネル
装置終了の場合は例えば現CCWの+8のアドレスより
読み出され、またステータスが入出力装置終了、チャネ
ル装置終了、状態修飾の場合は現CCWの+16のアド
レスより読み出す。
■ When the byte count is zero, bit 9 of the flag section FLG
If the CC is ON, a new CCW is executed because a command chain is instructed. Also, if the byte count section is not zero, the SL of bit 10 of the flag section FLG
When i is determined and it is ON, the command chain is executed in the same way as when the byte count is zero.The new CCW read in the command chain at this time differs depending on the status of the input/output device.If the status is the input/output device completed For example, if the channel device is terminated, it is read from address +8 of the current CCW, and if the status is input/output device terminated, channel device terminated, or status modification, it is read from address +16 of the current CCW.

■ 上記以外でコマンド連鎖を行わない場合は、チャネ
ルはCPUに対して入出力終了割込みを要求する。入出
力割込みが受付けられると実行したCCW+8のアドレ
ス位置と更新したバイト・カウントの内容及びステータ
スを主記憶装置の固定領域へ格納し、入出力動作を終了
する。
■ If command chaining is not performed other than the above, the channel requests an input/output end interrupt to the CPU. When the input/output interrupt is accepted, the address location of the executed CCW+8 and the updated byte count contents and status are stored in a fixed area of the main storage device, and the input/output operation is ended.

以上が入出力動作の概要である。The above is an overview of input/output operations.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

さてデータ通信システムにおいて、CCPは入出力装置
に位置づけられ、CPUからのコマンドによりデータ送
受信制御を行うわけであるが、端末装置からの不定長の
複数のデータ・ブロックを連続受信する場合がある。
In a data communication system, the CCP is positioned as an input/output device and controls data transmission and reception based on commands from the CPU, but it may continuously receive a plurality of data blocks of undefined length from a terminal device.

この受信動作を前記の従来技術で行う方法としては、 第1には1ブロツク毎にREADコマンドを発行するこ
と、 第2にはデータ連鎖を用いる方法、 第3には指令連鎖を用いる方法、 等が考えられる。
Methods for performing this receiving operation using the prior art described above include: first, issuing a READ command for each block; second, using data chaining; and third, using command chaining, etc. is possible.

しかるに第1の方法では、CPUは1ブロツク毎に入出
力開始命令が必要になるので、起動、割込みのオーバヘ
ッドによりシステムの処理能力の低下を招く欠点がある
However, in the first method, since the CPU requires an input/output start instruction for each block, there is a drawback that the processing capacity of the system is reduced due to startup and interrupt overheads.

第2の方法では受信するデータ・ブロックが不定長であ
るため、用意したバイト・カウントと一致する保障はな
く、不一致の時点でデータ連鎖は抑止されることになる
In the second method, since the received data block has an undefined length, there is no guarantee that it will match the prepared byte count, and data chaining will be inhibited at the point of mismatch.

また第3の方法では、各ブロックのデータ転送量を知る
手段がない欠点がある。つまり指令連鎖においては、最
後に実行されたCCWのバイト・カウントは通知される
が、その途中で実行したCCWのバイト・カウントは知
ることができない。
Furthermore, the third method has the disadvantage that there is no means to know the amount of data transferred for each block. In other words, in the command chain, the byte count of the last executed CCW is notified, but the byte count of the CCW executed in the middle cannot be known.

本発明の目的は、前記の如く、不定長の複数のデータ・
ブロックを連続受信する場合において、従来技術では能
力低下を招いていた受信動作を改善するため、従来の技
術では実現できなかった連鎖によるデータ転送方式を提
供することである。
As mentioned above, the object of the present invention is to
The purpose of this invention is to provide a data transfer system using a chain, which could not be realized with the conventional technique, in order to improve the receiving operation which caused a decrease in performance in the case of continuous reception of blocks in the conventional technique.

〔問題点を解決するための手段〕[Means for solving problems]

前記の目的を達成するため、本発明のデータ転送方式で
は、CPUからの指令により端末装置とのデータ送受信
制御を行うCCPを有するデータ通信°システムにおい
て、CPUはCCWで指定するノ々イト数をあらかじめ
定め、セット指令によりccpへ通知すると共に、送受
信指令発行時は、少なくともリード(またはライト)コ
マンド、指令連鎖(CC)フラグ、前記バイト数及びデ
ータ転送領域等で構成するCCW(A)と、ノツプ(N
OP%NO0peration)コマンド、指令連鎖(
CC)及びプログラム割込み(Pct)フラグ等で構成
するCCW (B)を、第1図に示す如く、複数連鎖さ
せるように構成する。そして前記CCW (A)’のデ
ータ転送領域には、付加情報領域を定め、これに例えば
データ長等を記入する。そしてCCPではコマンド実行
中は転送バイト数を計数し、前記通知されたバイト数以
内にブロックの終了を検出した場合(第1図データB)
は、完了情報有効表示、転送バイト数及びエラーの詳細
等を示す付加情報を伴うデータ転送を行い、入出力装置
終了、チャネル装置終了ステータスで終結する。また前
記通知されたバイト数以内にブロックの終了を検出しな
かった場合(第1図データA)は、完了情報無効表示、
転送バイト数等の付加情報を伴うデータ転送を行い、一
旦入出力装置終了、チャネル装置終了、状態修飾(ステ
ータス・モデファイア、SM)ステータスで終結するよ
うに構成する。
In order to achieve the above object, in the data transfer method of the present invention, in a data communication system having a CCP that controls data transmission and reception with a terminal device based on instructions from the CPU, the CPU transmits the number of nodes specified by the CCW. A CCW (A) consisting of at least a read (or write) command, a command chain (CC) flag, the number of bytes, a data transfer area, etc., is determined in advance and notified to the CCP by a set command, and when issuing a transmit/receive command, Notupu (N
OP%NO0operation) command, chain of command (
As shown in FIG. 1, a plurality of CCWs (B) consisting of CC), program interrupt (Pct) flags, etc. are connected in a chain. An additional information area is defined in the data transfer area of the CCW (A)', and data length, etc., for example, is written in this area. Then, the CCP counts the number of transferred bytes during command execution, and if the end of the block is detected within the notified number of bytes (Figure 1 data B)
performs data transfer with additional information indicating completion information valid indication, number of transferred bytes, error details, etc., and ends with input/output device end and channel device end status. In addition, if the end of the block is not detected within the notified number of bytes (data A in Figure 1), the completion information is displayed as invalid,
Data transfer is performed with additional information such as the number of bytes to be transferred, and is configured to be terminated once with input/output device termination, channel device termination, and state modification (Status Modifier, SM) status.

〔作用〕[Effect]

これによりコマンドを継続してデータ転送を行うことが
可能となり、しかも付加情報により各CCWによるデー
タ転送バイト数を求めることができる。
This makes it possible to continue the command and perform data transfer, and furthermore, the number of data transfer bytes by each CCW can be determined from the additional information.

〔実施例〕〔Example〕

(1)  発明の構成 本発明の一実施例を第2図〜第5図にもとづき説明する
(1) Structure of the Invention An embodiment of the present invention will be described based on FIGS. 2 to 5.

第2図は本発明の一実施例構成図、第3図は本発明にお
ける受信指令発行時のCCWの構成図、第4図はCCW
の詳細図、第5図は付加情報説明図である。
Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of the CCW when issuing a reception command in the present invention, and Fig. 4 is a block diagram of the CCW.
A detailed diagram of FIG. 5 is an explanatory diagram of additional information.

第2図において、50はCPU、51は主メモリであっ
て例えばCCWが格納されていたり、CPUデータ領域
が設けられる。52.53はチャネル装置、60はCC
P、70,71は端末装置である。
In FIG. 2, 50 is a CPU, and 51 is a main memory in which, for example, CCW is stored and a CPU data area is provided. 52.53 is the channel device, 60 is the CC
P, 70, 71 are terminal devices.

CCP60は、ccpを総合的に制御する制御部61、
チャネル装置との転送制御を行う転送制御部62、各種
の制御情報を格納する制御領域63、モデム等の回線制
御を行う回線接続部64.65等から構成される。また
、制御領域63には、受信バイト・カウンタ81、ステ
ータス格納領域82、CPUから通知されたバイト数及
びバッファ個数を保持する格納領域83及び84等が具
備されている。
The CCP 60 includes a control unit 61 that comprehensively controls the CCP;
It is composed of a transfer control section 62 that controls transfer with the channel device, a control area 63 that stores various control information, and line connection sections 64 and 65 that control lines such as modems. The control area 63 also includes a received byte counter 81, a status storage area 82, storage areas 83 and 84 for holding the number of bytes and the number of buffers notified from the CPU, and the like.

CCWは、第4図に示す如き構成を有し、形式は従来の
ものと同様である。コマンド部CMDには実行すべきコ
マンドが記入されるフラグ部FLGには、データ連鎖を
示すチェーン・データ・フラグCD、指令連鎖を示すチ
ェーン・コマンド・フラグCC1転送を実行したデータ
長と指示されたデータ長が一致しなくてもエラーとしな
いことを指示する鎖長表示抑止フラグSLi  (Su
ppress  Length  Indicatio
n)、スキップ(Sk i p)フラグ5kip、プロ
グラム制御割込みフラグPCt  (ProgramC
ontrolled  InterruptiOn)、
間接データアドレスフラグIDA(Indirect 
 Data  Address)等がある。
The CCW has a configuration as shown in FIG. 4, and its format is similar to the conventional one. The command section CMD contains the command to be executed.The flag section FLG indicates the chain data flag CD indicating the data chain, the chain command flag indicating the command chain CC1, and the length of the data that was transferred. Chain length display suppression flag SLi (Su
ppress Length Indication
n), skip (Sk i p) flag 5kip, program control interrupt flag PCt (ProgramC
(interruption),
Indirect data address flag IDA (Indirect
Data Address), etc.

第3図において、10はREADコマンドを構成するC
CW、11はNOPコマンドを構成するCCV、12は
前記CCWIOで指定したデータ領域である。また20
,21.22−・NO,、N1、N2は上記10.11
.12と同様のコマンドのCCW及びデータ領域を示す
。そしてMOは前記CCV群の最後に設けたTtc (
チャネル内とび越し、Transfer  in  c
hannel)コマンド又はNOPコマンドを構成する
CCWである。
In FIG. 3, 10 is C that constitutes the READ command.
CW, 11 is a CCV constituting the NOP command, and 12 is a data area designated by the CCWIO. 20 again
,21.22-・NO,,N1,N2 are as above 10.11
.. 12 shows the CCW and data area of a command similar to No. 12. And MO is Ttc (
Transfer in c
hannel) command or the CCW that constitutes the NOP command.

CCWIO120、NOのフラグ部には指令連鎖(CC
)と、鎖長抑止(SLi)が指定される。
CCWIO120, NO flag part has a command chain (CC
) and chain length inhibition (SLi) are specified.

またバイト・カウント部(B C”)は、データ領域の
バッファサイズであり、ここでは、前記の如く、受信指
令を発行する以前に前もってccpに通知されているバ
イト数が記入される。
The byte count section (B C'') is the buffer size of the data area, and as described above, the number of bytes notified to the CCP in advance before issuing the receive command is written therein.

CCWII、21、N1のフラグ部には、指令連鎖(C
G)と鎖長抑止(SLi)及びプログラム割込み(Pc
t)が指定される。PCtは当該CCWが実行されたと
きCPUにプログラム割込みを発生する機能であり、チ
ャネルにより実行される。
The command chain (C
G), chain length inhibition (SLi) and program interrupt (Pc
t) is specified. PCt is a function that generates a program interrupt to the CPU when the CCW is executed, and is executed by a channel.

また、データ領域は第5図に示す如く構成され・その先
頭部分には、例えば8バイト長の付加情報が付加されて
いる。この付加情報は、ID情報120、情報タイプ情
報121、完了情報122、データ長情報123、エラ
ー詳細コード情報124等を具備している。ID情報1
20はデータの種別を示すものであり、例えば回線に接
続された端末(局)を識別するIDが局の順に1.2−
・・と付与される。このとき回線の場合はroll  
(X)で示される。情報タイプ情報121は「00」(
X)のときIフレーム受信を、「10」のときXIDフ
レーム受信を、X20のとキトレースデータ(受信系)
を、「72」のときは統計情報(タイプ2)を、「73
」のときは統計情報(タイプ3)等を示すものである。
Further, the data area is structured as shown in FIG. 5, and additional information of, for example, 8 bytes in length is added to the beginning of the data area. This additional information includes ID information 120, information type information 121, completion information 122, data length information 123, error detail code information 124, and the like. ID information 1
20 indicates the type of data; for example, the IDs that identify the terminals (stations) connected to the line are 1.2-2 in the order of the stations.
...is given. At this time, in the case of a line, roll
Indicated by (X). The information type information 121 is “00” (
X): I frame reception, "10": XID frame reception, X20 and kit trace data (receiving system)
When it is "72", the statistical information (type 2) is "73".
" indicates statistical information (type 3), etc.

完了情報122は各1バイトの第1完了情報と第2完了
情報よりなり、第1完了情報がroll  (X)の場
合は正常終了を示しそれ以外はエラーを示し、第2完了
情報が[・・・・ ・・・IJ  (B)のとき一つの
区切の最終データを示し、「・・・・ ・・・0」 (
B)のとき次のREADコマンドで転送するデータとは
連続していることを示している。
The completion information 122 consists of first completion information and second completion information of 1 byte each. If the first completion information is roll (X), it indicates a normal completion; otherwise, it indicates an error, and the second completion information is [. ...IJ (B) indicates the final data of one section, and "... ...0" (
B) indicates that the data to be transferred by the next READ command is continuous.

データ長情報123は本バフファに格納されたlフレー
ム長を示すものであり、例えばIフレーム受信、XID
受信通知の場合、バイト8より転送されたlフレーム長
を示し、トレースデータ(送信、受信)の場合バイト8
より格納されたデータ長を示す。
The data length information 123 indicates the length of the l frame stored in this buffer, for example, when receiving an I frame,
In the case of reception notification, byte 8 indicates the length of the transferred l frame; in the case of trace data (transmission, reception), byte 8
Indicates the stored data length.

エラー詳細コード情報124は、エラーの原因となった
フレームのAフィールドの内容や、エラーの原因となっ
たフレームのCフィールドの内容等が記入される。
The error detail code information 124 includes the contents of the A field of the frame that caused the error, the contents of the C field of the frame that caused the error, and the like.

(2)本発明の動作 ■ 第2図において、CPU50が端末装置70からデ
ータ受信(READ)を行う場合について説明する。
(2) Operation of the present invention ■ Referring to FIG. 2, a case will be described in which the CPU 50 receives data (READ) from the terminal device 70.

CPU50はCCP60に対してあらかじめデータ通信
に先立ち発行するセット指令でバッファサイズ(バイト
数)、最大データ・ブロック長(バッファ個数)を通知
する。
The CPU 50 notifies the CCP 60 of the buffer size (number of bytes) and maximum data block length (number of buffers) using a set command issued prior to data communication.

CCPは通知されたバイト数83、バッファ個数84を
制御領域63へ格納すると共に通知されたバイト数分の
データ領域を内部に2つ以上確保してREADコマンド
を待つ。CPU50は、第3図に示すCCWを用意して
CCP60を起動する。CCWIOのREADコマンド
により、CCP60が起動されると、以後回線からのデ
ータ受信が行われるが、このとき受信バイト・カウンタ
81には、付加情報nバイトの値がセットされる。
The CCP stores the notified number of bytes 83 and the number of buffers 84 in the control area 63, internally reserves two or more data areas for the notified number of bytes, and waits for a READ command. The CPU 50 prepares the CCW shown in FIG. 3 and starts the CCP 60. When the CCP 60 is activated by the CCWIO READ command, data is subsequently received from the line, and at this time, the received byte counter 81 is set to the value of n bytes of additional information.

ここで付加情報はCPU50とCCP60の間であらか
じめ定めたバイト数であり、本実施例では8バイトで構
成している。
Here, the additional information is the number of bytes predetermined between the CPU 50 and the CCP 60, and in this embodiment is composed of 8 bytes.

すなわち、CCWで指定したバイト数(データ領域)か
ら8バイトを引いた大きさの領域が受信データ領域(バ
イト数)として使用される事になる。
That is, an area having a size obtained by subtracting 8 bytes from the number of bytes (data area) specified by the CCW will be used as the received data area (number of bytes).

■ 回線からデータを受信すると、CCP60の制御部
61は伝送制御に従った処理を行い受信データを内部デ
ータ領域に格納する。この場合受信バイト・カウンタ8
1の値がデータ領域への格納アドレスとして利用される
、そして受信バイト・カウンタ81を+1して更新する
。以降データブロックの終了を検出するまで繰返して処
理が行われるが、受信バイトカウンタ更新時には常に通
知されたバイト数83との比較が行われる。
(2) Upon receiving data from the line, the control unit 61 of the CCP 60 performs processing according to transmission control and stores the received data in an internal data area. In this case, the received byte counter 8
A value of 1 is used as a storage address in the data area, and the received byte counter 81 is updated by +1. Thereafter, processing is repeated until the end of the data block is detected, but when updating the received byte counter, a comparison is always made with the notified number of bytes, 83.

■ 通知されたバイト数83以内にデータブロックの終
了を検出すると、制御部61は、第5図に示す付加情報
を作成しデータ領域の先頭に格納す。るそしてステータ
ス領域82に入出力装置終了(DE)、チャネル装置終
了(CE) 、ステータスを格納し、転送制御部62ヘ
データ転送要求を行なう。そしてデータ転送終了後、ス
テータス領域82の内容をチャネル52へ通知する(第
1図データB)。
(2) When the end of the data block is detected within the notified number of bytes, 83, the control unit 61 creates additional information shown in FIG. 5 and stores it at the beginning of the data area. Then, the input/output device end (DE), channel device end (CE), and status are stored in the status area 82, and a data transfer request is made to the transfer control unit 62. After the data transfer is completed, the contents of the status area 82 are notified to the channel 52 (data B in FIG. 1).

■ また、通知されたバイト数83以内にデータブロッ
クの終了を検出しなかった場合、すなわちデータ・ブロ
ックの終了検出以前に通知されたバイト数83と更新中
の受信バイトカウンタ81の値が一致した場合も制御部
61は、付加情報及びステータスの作成を行なうが、こ
の場合、CPU50から通知された最大データ・ブロッ
ク長(バッファ個数84)のチェックが行われる。すな
わちデータブロックの終了文字のデータ化けが発生した
場合ブロックの終了は検出できないので無効データも連
続的に受信してしまう事になる。
■ Also, if the end of the data block is not detected within the notified number of bytes 83, that is, the number of bytes 83 notified before the end of the data block is detected and the value of the received byte counter 81 being updated matches. In this case, the control unit 61 also creates additional information and status, but in this case, the maximum data block length (84 buffers) notified from the CPU 50 is checked. That is, if data garbled in the end character of a data block occurs, the end of the block cannot be detected, so invalid data will also be continuously received.

そこで最大デ・−タ・ブロック長、すなわち、1ブロツ
クで使用するバッファ個数84をチェックし範囲内であ
れば完了情報122及びエラー詳細コード124を零に
した付加情報を作成し、データ領域の先頭に格納する。
Therefore, the maximum data block length, that is, the number of buffers used in one block (84) is checked, and if it is within the range, additional information is created with the completion information 122 and error detail code 124 set to zero, and the beginning of the data area is Store in.

そしてステータス領域82に入出力装置終了(DE) 
、チャネル装置終了(CE)、状態修飾(SM) 、ス
テータスを格納し転送制御部62ヘデータ転送要求を行
う。そしてデータ転送終了後ステ・−タス領域82の内
容がチャネル52へ通知される(第1図データA)。
And input/output device end (DE) in status area 82
, channel device end (CE), status modification (SM), and status are stored, and a data transfer request is made to the transfer control unit 62. After the data transfer is completed, the contents of the status area 82 are notified to the channel 52 (data A in FIG. 1).

チャネル52へのデータ転送中あるいはステータス通知
中に受信するデータは2つ以上用意されたCCP60の
別のデータ領域に前記同様の方法で格納され順次受信動
作が行われる。
Data received during data transfer to the channel 52 or status notification is stored in two or more separate data areas of the CCP 60 in the same manner as described above, and reception operations are performed sequentially.

尚、データ・ブロックの終了文字が化けた場合、すなわ
ち、CPU50から通知された最大ブロック長をオーバ
した場合は、付加情報にはエラー内容をセットし、ステ
ータス領域には入出力装置終了(DE) 、チャネル装
置終了CCE> 、を格納し、データ・ブロックの受信
は強制的に終了させる。以後は新たなデータ・ブロック
を前記同様の方法で受信する事は言うまでもない。
If the end character of the data block is garbled, that is, if the maximum block length notified from the CPU 50 is exceeded, the error details are set in the additional information, and the input/output device end (DE) is written in the status area. , channel device end CCE> , and the reception of the data block is forcibly terminated. Needless to say, new data blocks are subsequently received in the same manner as described above.

■ 一方チャネル装置52は、データ転送後、CCP6
0からステータスを受領すると、CCWloの指令連鎖
(CCがON)から、次のCCWを実行することになる
が、CCP60からのステータスによって、第3図に示
す、次に実行するCCWが異なる。
■ On the other hand, after data transfer, the channel device 52
When the status is received from CCWlo, the next CCW is executed from the command chain of CCWlo (CC is ON), but the next CCW to be executed as shown in FIG. 3 differs depending on the status from the CCP 60.

a、CCP60からのステータスが入出力装置終了(D
E) 、チャネル装置終了(CE)の場合は実行したC
CWIOの次のCCWII(例えば実行したccwto
のアドレス)が実行される。
a. The status from CCP60 is input/output device completed (D
E), in the case of channel equipment termination (CE), the executed C
CCWII after CWIO (e.g. executed ccwto
address) is executed.

b、CCP60からのステータスが入出力装置終了(D
B)、チャネル装置終了(CE)、状態修飾(S、M)
の場合は、実行したccwtoの次の次のCCW2O(
例えば実行したCCW+16のアドレス)が実行される
b. The status from CCP60 is input/output device completed (D
B), channel equipment termination (CE), state modification (S, M)
In the case of , the next CCW2O (
For example, the executed CCW+16 address) is executed.

ところで前記aのCCWllはNOPコマンドであるの
で、CCP60により即時オペレーション(CCPは何
もしないで直ちに入出力装置終了(DE)、チャネル装
置終了(CE)で終結する)が行われ、チャネル装置5
2はCCWIIの指令連鎖(CC”)により次のコマン
ドであるCCW2Oを実行することになるが、前記CC
WIIにはプログラム割込みPCiが指定されているの
で、CPU50に対するプログラム割込みPCiも行わ
れる。以後チャネル装置52は前記CCW2Oを実行中
、CCP60のステータスにより、現CCWの次又は次
の次のCCWを、上記と同様に実行する。
By the way, since CCWll in a above is a NOP command, the CCP 60 performs an immediate operation (the CCP does nothing and immediately terminates with input/output device end (DE) and channel device end (CE)), and the channel device 5
2 will execute the next command CCW2O by the command chain (CC'') of CCWII, but the CC
Since the program interrupt PCi is designated for WII, the program interrupt PCi for the CPU 50 is also performed. Thereafter, while executing the CCW2O, the channel device 52 executes the next CCW of the current CCW or the next CCW in the same manner as described above, depending on the status of the CCP 60.

■ 一方CPU50はチャネル装置52からのプログラ
ム割込みにより、連鎖したCCWIOの実行伏況を知る
ことができる。CPU50はこのプログラム割込みによ
り実行ずみのCCWIOからデータ領域を知り、その付
加情報を読み取り、これによりデータ・ブロックの組立
てを行う。このとき付加情報の第2完了情報の末尾が「
0」のとき後続するCCWにデータは股っていることを
示し、rOJ以外のとき該領域内でデータは完了してい
ることを示している。
(2) On the other hand, the CPU 50 can know the execution status of chained CCWIOs by a program interrupt from the channel device 52. The CPU 50 learns the data area from the executed CCWIO through this program interrupt, reads its additional information, and assembles a data block based on this information. At this time, the end of the second completion information of the additional information is “
0'' indicates that the data is included in the following CCW, and a value other than rOJ indicates that the data has been completed within the area.

第1図の場合は、初めにデータA1〜A3までを1ブロ
ツクとしたデータ転送が行われ、続いてデータBを1ブ
ロツクとしたデータ転送が行われたことを示すものであ
る。
In the case of FIG. 1, data transfer is first performed in which data A1 to A3 are made into one block, and then data transfer is performed in which data B is made into one block.

CCP60は、データA (A−A t +A2 +A
3)を転送するとき、まず、内部に確保したデータ領域
の付加情報の分である+8したアドレスにデータA1が
順次格納される。そしてデータA1が満されたとき、C
CP60はこのデータ領域の先頭に前記第5図に示す如
き付加情報を格納する。
The CCP 60 receives data A (A-A t +A2 +A
3), first, data A1 is sequentially stored at an address increased by 8, which is the additional information of the internally reserved data area. And when data A1 is satisfied, C
The CP 60 stores additional information as shown in FIG. 5 at the beginning of this data area.

またこの場合はデータ・ブロックの終了が検出されてい
ないので入出力装置終了(DE) 、チャネル装置終了
(CB) 、状態修飾(SM)ステータスをステータス
領域に格納する。そしてMS51ヘデータ転送後チャネ
ル装置52にステータス通知がなされる。チャネル装置
52は、このステータス特に状態修飾の存在により先に
実行したCCWIOより次の次のCCW2Oを読み出し
これを実行する。
In this case, since the end of the data block has not been detected, the input/output device end (DE), channel device end (CB), and status modification (SM) statuses are stored in the status area. After the data is transferred to the MS 51, a status notification is sent to the channel device 52. The channel device 52 reads and executes the next CCW2O from the previously executed CCWIO due to this status, particularly the presence of state modification.

CCP60はこの実行により、同様にしてデータA2を
処理してステータスを作成するときでも、データのブロ
ック・エンドが検出されないので同様に入出力装置終了
(DE) 、チャネル装置終了(CE)、状態修飾(S
M)ステータスを出力する。これによりチャネル装置5
2はCCW21を飛び越してccwaoを実行する。
Due to this execution, even when the CCP 60 processes data A2 and creates a status, the block end of the data is not detected, so the CCP 60 similarly processes the input/output device end (DE), channel device end (CE), and status modification. (S
M) Output the status. This allows channel device 5
2 skips CCW21 and executes ccwao.

このCCW3Oの実行によりデータA3が処理され、そ
のブロック・エンドが検出されたとき、その受信バイト
・カウンタ81のカウント値は通知されたバイト数の値
より小さいので、ステータスは今度は入出力装置終了(
DE)、チャネル装置終了(CE)ステータスが出力さ
れる。
Data A3 is processed by this execution of CCW3O, and when the end of the block is detected, the count value of the received byte counter 81 is smaller than the notified value of the number of bytes, so the status is changed to "End of input/output device". (
DE), the channel equipment end (CE) status is output.

モしてCCW3Oのフラグ部FLGには指令連鎖CCが
ONになっているので、チャネル装置52は今度はSM
がないため、CCW3Oの次のCCW31をよみ出し、
これを実行する。このCCW31はNOPでありフラグ
FLC,部のPCiがONになっているので、CPU5
0に対するプログラム割込みが行われデータAの1ブロ
ツク転送がCPU50に報告される。CPU50は各デ
ータ領域の先頭の付加情報を読取ることにより、実行し
たccwio、CCW2O、CCW3Oでの受信バイト
数を知ることができる。
Since the command chain CC is ON in the flag section FLG of CCW3O, the channel device 52 is now SM
Because there is no CCW3O, read CCW31 after CCW3O,
Run this. Since this CCW31 is NOP and the flag FLC and PCi of the section are ON, the CPU5
A program interrupt for 0 is made and one block transfer of data A is reported to the CPU 50. By reading the additional information at the beginning of each data area, the CPU 50 can know the number of bytes received in the executed ccwio, CCW2O, and CCW3O.

なおCCW31のフラグ部には、これまた指令連鎖CC
がONのため、チャネル装置52はCCW31の次のC
CW4Oをよみこれを実行する。
In addition, the flag part of CCW31 also has a command chain CC.
is ON, the channel device 52 selects the next CCW of the CCW 31.
Read CW4O and execute it.

このとき、データBの量は、1つのデータ領域の格納範
囲なので、データBの転送終了時には入出力装置終了(
DE)、チャネル装置終了(CE)ステータスが出力さ
れる。したがってチャネル装置52はCCW4Oの次の
CCW41をよみ、これによりプログラム割込みPCi
をCPU50に出力することになる。
At this time, the amount of data B is within the storage range of one data area, so when the transfer of data B is completed, the input/output device is terminated (
DE), the channel equipment end (CE) status is output. Channel device 52 therefore reads CCW41 following CCW4O, thereby causing program interrupt PCi
will be output to the CPU 50.

(3)発明の第2実施例 本発明の第2実施例を第6図、第7図により説明する。(3) Second embodiment of the invention A second embodiment of the present invention will be described with reference to FIGS. 6 and 7.

この第2実施例では、複数のデータ・ブロックの処理に
おいて、1データ・ブロックの転送が終了してもCPU
に対する割込み処理を行うことなく連続的に処理できる
ようにしたものである。
In this second embodiment, when processing a plurality of data blocks, even if the transfer of one data block is completed, the CPU
This allows continuous processing without interrupt processing.

第6図は本発明の第2実施例におけるCCP 60の要
部構成を示し、第7図は第2実施例の動作説明図である
FIG. 6 shows the main part configuration of a CCP 60 in a second embodiment of the present invention, and FIG. 7 is an explanatory diagram of the operation of the second embodiment.

第6図に示す如く、CCP60には、制御部61、転送
制御部62、制御領域63、回線接続部64.65で構
成し、制御領域63には、受信バイト・カウンタ81、
ステータス格納域82、通知されたバイト数格納域83
、通知されたバッファ個数格納域84(それぞれ第2図
に対応するもの)の外に、連続通知ブロック数格納域8
5及びブロック受信カウンタ86を具備している。
As shown in FIG. 6, the CCP 60 includes a control section 61, a transfer control section 62, a control area 63, and a line connection section 64.65, and the control area 63 includes a received byte counter 81,
Status storage area 82, notified byte count storage area 83
, In addition to the notified buffer number storage area 84 (each corresponding to FIG. 2), there is a continuous notification block number storage area 8.
5 and a block reception counter 86.

連続通知ブロック数は1回のプログラム割込みで通知す
るデータ・ブロックの数を表わしたちので、データ通信
に先立ちCPU50 (第2図)より使用するバッファ
サイズ(バイト数)、最大データブロック長、(バッフ
ァ個数)と共にCCP 60に通知される制御部61は
、データ・プロ・ツクの終了を検出して入出力装置終了
(DE)、チャネル装置終了(CB)ステータスを作成
した後に、この連続通知ブロック数(ブロック受信カウ
ンタ86)によりこれに状態修飾(SM)ステータスを
付加したものに置換する。
The number of consecutive notification blocks indicates the number of data blocks to be notified in one program interrupt, so prior to data communication, the CPU 50 (Figure 2) determines the buffer size (number of bytes), maximum data block length, (buffer The control unit 61 detects the end of the data block and creates the input/output device end (DE) and channel device end (CB) status, and then detects the end of the data block. (Block reception counter 86) replaces this with a state modification (SM) status added thereto.

したがって、第7図に示す如く、例えばデータA (A
 1 +A2 +A3 )とデータBとの2ブロツクを
連続転送処理する場合には、CPU50はデータ通信に
先立ち、前記の場合と同様に、使用するバッファサイズ
と、最大データ・ブロック長(バッファ個数)の外に連
続通知ブロック数(第7図の例では2)をCCP60に
通知する。ccp60ではこれにより、連続通知ブロッ
ク数2を格納領域85に格納し、ブロック受信カウンタ
86にも連続通知ブロック数2をセットする。そして前
記の場合と同様な処理が行われるが、データA3の転送
のとき、そのデータ・ブロックの終了を検出すると、制
御部61は第5図に示す付加情報と、入出力装置終了(
DE)、チャネル装置終了(CE) 、のステータスを
作成した後、ブロック受信カウンタ86を−1する。こ
れによりブロック受信カウンタ86は1となるが零でな
いので制御部61は、これに状態修飾(SM)ステータ
スを付加したものに置換する。
Therefore, as shown in FIG. 7, for example, data A (A
1 +A2 +A3) and data B, the CPU 50 determines the buffer size to be used and the maximum data block length (number of buffers) prior to data communication, as in the previous case. The number of consecutive notification blocks (2 in the example of FIG. 7) is also notified to the CCP 60. As a result, the ccp 60 stores the number of consecutive notification blocks, 2, in the storage area 85, and also sets the number of consecutive notification blocks, 2, in the block reception counter 86. Then, the same processing as in the above case is performed, but when the end of the data block is detected when transferring data A3, the control unit 61 sends the additional information shown in FIG. 5 and the input/output device end (
After creating the statuses ``DE'' and ``CE'', the block reception counter 86 is decremented by 1. As a result, the block reception counter 86 becomes 1, but since it is not zero, the control unit 61 replaces it with a value to which a status modification (SM) status is added.

これにより、第7図に示す如く、CCW30の次の次の
CCW40が実行されることになる。
As a result, as shown in FIG. 7, the next CCW 40 following the CCW 30 is executed.

そしてCCW40が実行され、データブロックBの終了
が検出されると、制御部61はブロック受信カウンタ8
6を−1するので、今度はこのブロック受信カウンタ8
6は零になる。
Then, when the CCW 40 is executed and the end of the data block B is detected, the control unit 61 starts the block reception counter 8.
6 is subtracted by 1, so this block reception counter 8
6 becomes zero.

これにより所定の連続転送データ・ブロックの転送処理
が終わったことを制御部61は認識するので、状態修飾
(SM)の付加は行われず、(次のブロック受信のため
ブロック受信カウンタ86に連続通知ブロック数85の
内容が再セットされる)入出力装置終了(DE)、チャ
ネル装置終了(CE)ステータスを出力する事になる。
As a result, the control unit 61 recognizes that the transfer processing of the predetermined continuous transfer data block has ended, so no state modification (SM) is added, and (continuous notification is sent to the block reception counter 86 for reception of the next block). The contents of block number 85 will be reset)) The input/output device end (DE) and channel device end (CE) status will be output.

これにより次にCCW41がよみ出され、プログラム割
込みPctが行われ、CPU50に対しデータ転送終了
が報告される。
As a result, the CCW 41 is then read out, a program interrupt Pct is performed, and the completion of data transfer is reported to the CPU 50.

〔発明の効果〕〔Effect of the invention〕

本発明によれば1つのデータ領域より大きなデータ・ブ
ロックを受信するような場合でも、状態修飾ステータス
を付加することによりデータ・ブロックを連続的に受信
することが可能になるとともに、その受信報告のための
割込みを該データ・ブロックの受信後にまとめてCPU
に通知するため、従来の如く1つのデータ領域分だけ受
信する毎にプログラム割込みによりCPUに報告してい
た場合に比較して、CPUへ通知するためのプログラム
割込みの頻度を大幅に減少させることができる。しかも
複数のデータ・ブロックをCPUに対する割込みを行う
ことなく連続転送することも可能となる。
According to the present invention, even when a data block larger than one data area is received, it is possible to continuously receive the data blocks by adding a status modification status, and the reception report can also be sent. interrupts for the CPU after receiving the data block.
Therefore, the frequency of program interrupts to notify the CPU can be significantly reduced compared to the conventional case where a program interrupt is used to report to the CPU every time one data area is received. can. Moreover, it is also possible to continuously transfer a plurality of data blocks without interrupting the CPU.

さらにデータ領域に付加情報を記入するようにしたので
、各CCWの実行毎のデータ転送数を知ることができる
Furthermore, since additional information is written in the data area, it is possible to know the number of data transfers for each execution of each CCW.

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

第1図は本発明の詳細な説明図、 第2図は本発明の一実施例構成図、 第3図は受信指令発行時のCCWの構成図、第4図はC
CWの1例、 第5図はデータ領域説明図、 第6図は本発明の第2実施例におけるccp、第7図は
本発明の第2実施例の動作説明図である。 50−−一−・CPU    51・−・主メモリ52
.53−・チャネル装置 60・−・CCP 61・−・制御部  62・−転送制御部63・−・制
御領域 64.65−・回線接続部 70.71・−・端末装置 81−受信バイト・カウンタ 82・−・ステータス格納域 83・−・バイト数格納域 84・−・バッファ個数格納域
Fig. 1 is a detailed explanatory diagram of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of the CCW at the time of issuing a reception command, and Fig. 4 is a block diagram of the CCW.
An example of CW, FIG. 5 is a data area explanatory diagram, FIG. 6 is a CCCP in a second embodiment of the present invention, and FIG. 7 is an operation explanatory diagram of the second embodiment of the present invention. 50--1-・CPU 51・-・Main memory 52
.. 53--Channel device 60--CCP 61--Control section 62--Transfer control section 63--Control area 64.65--Line connection section 70.71--Terminal device 81--Received byte counter 82 -- Status storage area 83 -- Byte number storage area 84 -- Buffer number storage area

Claims (2)

【特許請求の範囲】[Claims] (1)中央処理装置からの指令により端末装置とのデー
タ送受信制御を行う通信制御装置を備えたデータ通信シ
ステムにおいて、 中央処理装置はデータ送受信のために発行する指令のチ
ャネル・コマンド・ワードで指定するバイト数をあらか
じめ定めて通信制御装置へ通知するとともに、送受信指
令発行時は、すくなくともリード(又はライト)コマン
ド、指令連鎖フラグ、前記定めたバイト数及びデータ転
送領域を具備するチャネル・コマンド・ワード(A)と
、NOPコマンド、指令連鎖及びプログラム割込みフラ
グを具備するチャネル・コマンド・ワード(B)を複数
連鎖させるように設け、前記チャネル・コマンド・ワー
ド(A)のデータ転送領域には一定の付加情報転送領域
を定めて指令を発行すると共に、通信制御装置において
はコマンド実行中は転送バイト数を計数し、前記通知さ
れたバイト数以内にブロックの終了を検出した場合は完
了情報有効表示、転送バイト数及びエラーの詳細等を示
す付加情報を伴なうデータ転送を行い、入出力装置終了
、チャネル装置終了ステータスで終結するよう構成し、
また通知されたバイト数以内にブロックの終了を検出し
なかった場合は、完了情報無効表示、転送バイト数等の
付加情報を伴なうデータ転送を行い、一旦入出力装置終
了、チャネル装置終了、状態修飾ステータスで終結する
よう構成し、連鎖により発行される次の指令により継続
してデータ転送を行うことを特徴とするデータ転送方式
(1) In a data communication system equipped with a communication control device that controls data transmission and reception with terminal devices based on commands from the central processing unit, the central processing unit specifies the channel command word of the command issued for data transmission and reception. The number of bytes to be transmitted is determined in advance and notified to the communication control device, and when issuing a transmission/reception command, a channel command word that includes at least a read (or write) command, a command chain flag, the predetermined number of bytes, and a data transfer area is issued. (A) and a channel command word (B) comprising a NOP command, a command chain, and a program interrupt flag are provided in a chain, and the data transfer area of the channel command word (A) has a certain number of channels. In addition to determining the additional information transfer area and issuing the command, the communication control device counts the number of transferred bytes while the command is being executed, and if the end of the block is detected within the notified number of bytes, the completion information is displayed as valid. Performs data transfer with additional information indicating the number of transferred bytes and error details, etc., and is configured to terminate with input/output device end and channel device end status,
If the end of the block is not detected within the notified number of bytes, the data is transferred with additional information such as invalid completion information and the number of transferred bytes, and the input/output device is temporarily terminated, the channel device is terminated, A data transfer method characterized in that the data transfer method is configured to terminate with a state modification status, and data transfer is continued by the next command issued in a chain.
(2)前記通信制御装置に入出力装置終了、チャネル装
置終了ステータスを、入出力装置終了、チャネル装置終
了、状態修飾ステータスに変更する手段を設け、中央処
理装置から通知された連続通知ブロック数に応じて前記
変更を行うようにしたことを特徴とする特許請求の範囲
第(1)項記載のデータ転送方式。
(2) Provide means for changing the input/output device termination and channel device termination status of the communication control device to the input/output device termination, channel device termination, and status modification status, and the number of consecutive notification blocks notified from the central processing unit is 2. The data transfer system according to claim 1, wherein the change is made accordingly.
JP60107114A 1985-05-20 1985-05-20 Data transfer system Granted JPS61264459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60107114A JPS61264459A (en) 1985-05-20 1985-05-20 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60107114A JPS61264459A (en) 1985-05-20 1985-05-20 Data transfer system

Publications (2)

Publication Number Publication Date
JPS61264459A true JPS61264459A (en) 1986-11-22
JPH0465418B2 JPH0465418B2 (en) 1992-10-20

Family

ID=14450827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60107114A Granted JPS61264459A (en) 1985-05-20 1985-05-20 Data transfer system

Country Status (1)

Country Link
JP (1) JPS61264459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102112974A (en) * 2008-07-31 2011-06-29 国际商业机器公司 Transport control channel program processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102112974A (en) * 2008-07-31 2011-06-29 国际商业机器公司 Transport control channel program processing
JP2011529589A (en) * 2008-07-31 2011-12-08 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, computer program and apparatus for processing a transport control channel program having chain link branches

Also Published As

Publication number Publication date
JPH0465418B2 (en) 1992-10-20

Similar Documents

Publication Publication Date Title
US5031091A (en) Channel control system having device control block and corresponding device control word with channel command part and I/O command part
EP2097828B1 (en) Dmac to handle transfers of unknown lengths
US5978865A (en) System for performing DMA transfers where an interrupt request signal is generated based on the value of the last of a plurality of data bits transmitted
US5958024A (en) System having a receive data register for storing at least nine data bits of frame and status bits indicating the status of asynchronous serial receiver
JPH0824320B2 (en) Method and device for buffer chaining in communication control device
JPS623362A (en) Data reception system
JPS61264459A (en) Data transfer system
JPS623361A (en) Status report system
JPH08202566A (en) Inter-processor communication system
JPS5833970B2 (en) Inter-processor communication method
JPS6332298B2 (en)
US11714608B2 (en) Device and method for handling programming language function
JP2718690B2 (en) Communication control system
CN112347024A (en) USB data transmission optimization method and system
SU1029175A2 (en) Selector channel
JPS59146347A (en) Communication system between processes
JPH01309445A (en) Data transfer system
JP2707770B2 (en) Data chain control method for remote channel system
JPS6048563A (en) Channel control system
JPS638506B2 (en)
JPS61136152A (en) Data transfer system between host computer and communication controller
JPS61199149A (en) Data communication controller
JPS6217776B2 (en)
JPS63143603A (en) Programmable controller
JPS6182260A (en) Input and output interruption control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees