JPH11272478A - Synchronous transfer control system - Google Patents

Synchronous transfer control system

Info

Publication number
JPH11272478A
JPH11272478A JP7218598A JP7218598A JPH11272478A JP H11272478 A JPH11272478 A JP H11272478A JP 7218598 A JP7218598 A JP 7218598A JP 7218598 A JP7218598 A JP 7218598A JP H11272478 A JPH11272478 A JP H11272478A
Authority
JP
Japan
Prior art keywords
data
input
temporary file
output
buffer
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.)
Pending
Application number
JP7218598A
Other languages
Japanese (ja)
Inventor
Yoshiaki Niimura
義章 新村
Takayasu Yamakawa
隆康 山川
Kazuhisa Miyata
和久 宮田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7218598A priority Critical patent/JPH11272478A/en
Publication of JPH11272478A publication Critical patent/JPH11272478A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To unnecessitate the re-output of an output job, and to unnecessitate the re-activation of an input job when one or plural input jobs operate the intermediate extraction of data and the repeated input of arbitrary data in synchronous transfer control for shortening a processing executing time by executing a data output job and a data input job in parallel. SOLUTION: A synchronous transfer controlling means 1 for operating data transfer is provided with a temporary file 14 for storing inter-job succession data, temporary file input/output controlling parts 12 and 10, and repositioning controlling part 11. The temporary file output controlling part 10 stores data which are being transferred in the temporary file 14 in parallel, checks whether or not target data are present in a transfer buffer when the repeated input of arbitrary data from an input job is requested, and re-inputs the already stored data to the temporary file 14 as necessary.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ処理システ
ムにおけるデータの同期転送制御方式に係り、特に、出
力ジョブから入力ジョブに並列にデータを転送し、デー
タ処理時間の短縮を図ることのできるデータの同期転送
制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronous transfer control method for data in a data processing system, and more particularly to a data transfer method for transferring data from an output job to an input job in parallel to reduce data processing time. And a synchronous transfer control method.

【0002】[0002]

【従来の技術】従来技術によるデータの同期転送制御方
式は、データ出力ジョブとデータ入力ジョブとを並列に
実行させ、ジョブ間のデータ引き継ぎを、データ転送用
パイプ機能によるデータ転送によって実現し、これによ
り、バッチ処理時間の短縮を図ることを可能としたもの
である。前記データ転送用パイプは、入出力データの蓄
積構造を持たない単なるデータ転送経路であるため、前
述の従来技術は、データを逐次処理する業務だけに適用
範囲が限定されている。
2. Description of the Related Art A data synchronous transfer control method according to the prior art is to execute a data output job and a data input job in parallel and realize data takeover between jobs by data transfer by a data transfer pipe function. Thus, the batch processing time can be reduced. Since the data transfer pipe is simply a data transfer path having no input / output data storage structure, the above-described prior art is limited in its application range only to the task of sequentially processing data.

【0003】また、他の従来技術として、データ転送と
同時に外部記録装置上にもデータを保存しておくバック
アップ機能付きのデータの同期転送制御が知られている
が、この方式は、データ出力ジョブの完了前に外部記録
装置上の保存データを再利用できないため、データの再
入力を必要とする業務の場合、データ出力ジョブが完了
してからデータの再入力を行う必要があり、再入力時間
を短縮することができないものである。
As another prior art, synchronous transfer control of data with a backup function for storing data on an external recording device at the same time as data transfer is known. Since the saved data on the external recording device cannot be reused before the completion of the job, if the job requires re-input of data, it is necessary to re-input the data after the data output job is completed, Cannot be shortened.

【0004】[0004]

【発明が解決しようとする課題】前述した従来技術は、
データ出力ジョブとデータ入力ジョブとを並列に実行さ
せ、ジョブ間のデータ引き継ぎをデータ転送によって実
行時間を短縮することに主眼をおいており、1つあるい
は複数の入力ジョブが、データの途中取り出しを行うこ
と、任意のデータの繰返し入力を行うことに対する配慮
がなされておらず、このような場合に、データ出力を再
度行い、あるいは、直接データファイルからの入力を再
度開始しなければならないという問題点を有している。
The prior art described above is
The data output job and the data input job are executed in parallel, and the data transfer between the jobs is focused on reducing the execution time by data transfer. No consideration has been given to what to do and how to repeatedly input arbitrary data, and in such a case, the data must be output again or the input from the data file must be directly started again. have.

【0005】本発明の目的は、前記従来技術の問題点を
解決し、データ出力ジョブとデータ入力ジョブとを並列
に実行させることにより処理実行時間の短縮を図る運用
の下で、1つあるいは複数の入力ジョブがデータの途中
取り出し、任意のデータの繰返し入力を行う場合、出力
ジョブの再出力を不要とさせ、また、入力ジョブの再起
動も不要とさせることにより、1つあるいは複数の入力
ジョブがデータの途中取り出し、任意のデータの繰返し
入力を行う業務における処理実行時間の短縮を図ること
のできるデータの同期転送制御方式を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to solve one or more of the problems of the prior art, and to execute one or more data output jobs and data input jobs in parallel to reduce the processing execution time. When the input job of the input job takes out data in the middle and repeatedly inputs arbitrary data, it is not necessary to re-output the output job, and it is not necessary to restart the input job. It is an object of the present invention to provide a data synchronous transfer control method which can shorten the processing execution time in the task of extracting data halfway and repeatedly inputting arbitrary data.

【0006】[0006]

【課題を解決するための手段】本発明によれば前記目的
は、出力ジョブから1または複数の入力ジョブにデータ
を転送する同期転送制御方式において、出力ジョブから
データ転送バッファを介して入力ジョブに転送中のデー
タを並列に一時ファイルに格納し、前記データ転送バッ
ファに存在しないデータを前記一時ファイルから前記入
力ジョブに再入力する一時ファイル入出力手段を備える
ことにより達成される。
According to the present invention, there is provided a synchronous transfer control system for transferring data from an output job to one or a plurality of input jobs. This is achieved by providing a temporary file input / output unit that stores data being transferred in a temporary file in parallel and re-inputs data that does not exist in the data transfer buffer from the temporary file to the input job.

【0007】また、前記目的は、前記一時ファイル入出
力手段として、前記データ転送バッファの他に、一時フ
ァイルへの格納用の一時ファイル出力バッファ、及び、
一時ファイルから入力ジョブにデータを入力する一時フ
ァイル入力バッファを備え、前記入力ジョブの起動、実
行の遅れに対して、前記出力ジョブからのデータを一時
ファイル出力バッファを介して前記一時ファイルに出力
することにより達成される。
Further, the object is to provide, as the temporary file input / output means, a temporary file output buffer for storing in a temporary file in addition to the data transfer buffer;
A temporary file input buffer for inputting data from the temporary file to the input job, and outputting data from the output job to the temporary file via the temporary file output buffer in response to start-up and execution delay of the input job This is achieved by:

【0008】さらに、前記目的は、前記入力ジョブが、
前記データ転送バッファからデータの入力を行い、前記
データ転送バッファが空になった場合、前記一時ファイ
ル内のデータを前記一時ファイル入力バッファを介して
入力することにより達成される。
Further, the object is that the input job is:
This is achieved by inputting data from the data transfer buffer and inputting data in the temporary file via the temporary file input buffer when the data transfer buffer becomes empty.

【0009】すなわち、本発明は、データ出力ジョブと
データ入力ジョブとを並列に実行させ、ジョブ間のデー
タ引き継ぎをデータ転送によって行うことにより実行時
間を短縮するデータ転送において、入力ジョブによるデ
ータの途中取り出し、任意のデータの繰り返し入力を可
能とするため、データ転送経路の中にジョブ間の引き継
ぎデータを格納する一時ファイル、一時ファイル入力制
御部、再位置付け制御部を設けたものである。一時ファ
イル入力制御部は、転送中のデータを一時ファイルに並
行して格納し、再位置づけ制御部は、入力ジョブからの
転送済みの任意のデータの繰り返し入力要求時に、目的
のデータがデータ転送バッファに存在するか否かをチェ
ックし、データ転送バッファ上に存在しない場合、一時
ファイル入力制御部により一時ファイル中に格納済みの
データを一時ファイル入力バッファを介して再入力する
よう制御する。なお、転送バッファに入力されたデータ
の入力ジョブへの入力は、従来技術の場合と同一であ
る。
That is, according to the present invention, in a data transfer in which the data output job and the data input job are executed in parallel, and the data transfer between the jobs is performed by the data transfer to reduce the execution time, the data transfer by the input job is performed. A temporary file for storing takeover data between jobs, a temporary file input control unit, and a repositioning control unit are provided in the data transfer path in order to enable extraction and repeated input of arbitrary data. The temporary file input control unit stores the data being transferred in a temporary file in parallel, and the repositioning control unit stores the target data in the data transfer buffer when the input job repeatedly requests input of any transferred data. The temporary file input control unit controls whether the data stored in the temporary file is re-input via the temporary file input buffer if it does not exist in the data transfer buffer. The input of the data input to the transfer buffer to the input job is the same as that of the prior art.

【0010】また、本発明は、前記一時ファイルへの入
出力において、出力ジョブ及び入力ジョブの待ちをなく
すため、従来のデータ転送バッファに加え、出力ジョブ
用の一時ファイル格納用の一時ファイル出力バッファ及
び入力ジョブ用の一時ファイルから入力する一時ファイ
ル入力バッファの3種類のバッファを設けたものであ
る。一時ファイル格納用の一時ファイル出力バッファ
は、入力ジョブの起動、実行の遅れに対して出力ジョブ
のデータを一時ファイルに連続出力し、出力ジョブの待
ちをなくするように制御される。さらに、本発明は、出
力ジョブが一時ファイル格納用の一時ファイル出力バッ
ファを使用して出力ジョブのデータを一時ファイルに出
力完了した場合、出力ジョブを完了させるようにしてい
る。
The present invention also provides a temporary file output buffer for storing a temporary file for an output job, in addition to a conventional data transfer buffer, in order to eliminate the waiting for an output job and an input job in inputting / outputting the temporary file. And a temporary file input buffer for inputting from a temporary file for an input job. The temporary file output buffer for storing the temporary file is controlled so as to continuously output the data of the output job to the temporary file in response to the delay of the start and execution of the input job, and to eliminate the waiting of the output job. Further, according to the present invention, when the output job completes outputting the data of the output job to the temporary file using the temporary file output buffer for storing the temporary file, the output job is completed.

【0011】さらに、入力ジョブ用の一時ファイル入力
バッファは、再位置付け制御部からの入力要求に対し
て、一時ファイルからデータを入力し、途中から入力ジ
ョブにデータを転送するように動作する。
Further, the temporary file input buffer for the input job operates to input data from the temporary file in response to an input request from the repositioning control unit, and to transfer the data to the input job halfway.

【0012】[0012]

【発明の実施の形態】以下、本発明による同期転送制御
方式の一実施形態を図面により詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a synchronous transfer control system according to the present invention.

【0013】図1は本発明の一実施形態による同期転送
制御手段の構成を示すブロック図、図2は転送同期管理
テーブルの構成を説明する図、図3は転送バッファ管理
テーブルの構成を説明する図、図4はバッファの使用方
法を説明する図、図5は一時ファイル管理テーブルの構
成を説明する図、図6はデータ出力制御の処理動作を説
明するフローチャート、図7はデータ入力制御の処理動
作を説明するフローチャート、図8は一時ファイル出力
制御部の処理動作を説明するフローチャート、図9は再
位置付け制御の処理動作を説明する図、図10は一時フ
ァイル入力制御部の処理動作を説明するフローチャート
である。図1において、1は同期転送制御手段、2はデ
ータ出力制御部、3はデータ入力制御部、4は並列デー
タ転送同期制御部、5はデータ転送バッファ、10は一
時ファイル出力制御部、11は再位置付け制御部、12
は一時ファイル入力制御部、13は一時ファイル入力バ
ッファ、14は一時ファイル、15は一時ファイル出力
バッファ、20は出力ジョブ、30は入力ジョブ、40
は転送同期管理テーブル、50は転送バッファ管理テー
ブル、60は一時ファイル管理テーブルである。
FIG. 1 is a block diagram showing the structure of a synchronous transfer control means according to an embodiment of the present invention, FIG. 2 is a diagram for explaining the structure of a transfer synchronization management table, and FIG. 3 is for explaining the structure of a transfer buffer management table. FIGS. 4 and 5 are diagrams illustrating a method of using a buffer, FIG. 5 is a diagram illustrating a configuration of a temporary file management table, FIG. 6 is a flowchart illustrating a processing operation of data output control, and FIG. 8 is a flowchart illustrating the processing operation of the temporary file output control unit, FIG. 9 is a diagram illustrating the processing operation of the repositioning control, and FIG. 10 illustrates the processing operation of the temporary file input control unit. It is a flowchart. In FIG. 1, 1 is a synchronous transfer control unit, 2 is a data output control unit, 3 is a data input control unit, 4 is a parallel data transfer synchronous control unit, 5 is a data transfer buffer, 10 is a temporary file output control unit, and 11 is Repositioning controller, 12
Is a temporary file input control unit, 13 is a temporary file input buffer, 14 is a temporary file, 15 is a temporary file output buffer, 20 is an output job, 30 is an input job, 40
Is a transfer synchronization management table, 50 is a transfer buffer management table, and 60 is a temporary file management table.

【0014】図1に示す本発明の一実施形態は、出力ジ
ョブ20からの出力データを、同期転送制御手段1を介
して入力ジョブ30に入力するものである。そして、出
力ジョブ20は、データセットをオープンするためのO
PENマクロ21、データの出力を要求するWRITE
マクロ22、出力の完了をチェックするCHECKマク
ロ23及びデータセットをクローズするCLOSEマク
ロ24により構成されている。また、入力ジョブ30
は、データセットをオープンするためのOPENマクロ
31、データの入力を要求するREADマクロ32、入
力の完了をチェックするCHECKマクロ33、必要に
応じてデータの再位置づけを指示するPOINTマクロ
34及びデータセットをクローズするCLOSEマクロ
35により構成されている。なお、前述の各ジョブを構
成するマクロ名は、一例であり、実施システムにより異
なる名称を持つ。
In one embodiment of the present invention shown in FIG. 1, output data from an output job 20 is input to an input job 30 via a synchronous transfer control unit 1. Then, the output job 20 has an O for opening the data set.
PEN macro 21, WRITE requesting data output
It comprises a macro 22, a CHECK macro 23 for checking the completion of output, and a CLOSE macro 24 for closing a data set. Also, the input job 30
A OPEN macro 31 for opening a data set, a READ macro 32 for requesting input of data, a CHECK macro 33 for checking completion of input, a POINT macro 34 for instructing repositioning of data as necessary, and a data set. Is configured by a CLOSE macro 35 that closes Note that the names of the macros constituting each of the above-described jobs are merely examples, and have different names depending on the execution system.

【0015】同期転送制御手段1は、データ出力制御部
2と、データ入力制御部3と、並列データ転送同期制御
部4と、データ転送バッファ5と、一時ファイル出力制
御部10と、再位置付け制御部11と、一時ファイル入
力制御部12と、一時ファイル入力バッファ13と、一
時ファイル14と、一時ファイル出力バッファ15とを
備えて構成されている。なお、同期転送制御手段1内の
太線で示している各機能部が本発明により新たに設けら
れたものである。
The synchronous transfer control means 1 includes a data output control section 2, a data input control section 3, a parallel data transfer synchronization control section 4, a data transfer buffer 5, a temporary file output control section 10, a repositioning control section, It comprises a unit 11, a temporary file input control unit 12, a temporary file input buffer 13, a temporary file 14, and a temporary file output buffer 15. Each functional unit shown by a thick line in the synchronous transfer control means 1 is newly provided according to the present invention.

【0016】次に、本発明の実施形態で使用する各種の
テーブルの構成について、実施形態の説明に先だって説
明する。なお、これらの各テーブルは、並列データ転送
同期制御部4内に各制御部4からアクセス可能に設けら
れるが、各制御部からアクセス可能であれば、同期転送
制御手段1内のどこに設けられてもよい。
Next, the configuration of various tables used in the embodiment of the present invention will be described prior to the description of the embodiment. Each of these tables is provided in the parallel data transfer synchronization control unit 4 so as to be accessible from each control unit 4, but if it is accessible from each control unit, it is provided anywhere in the synchronous transfer control unit 1. Is also good.

【0017】図2に示す転送同期管理テーブル40は、
並列データ転送同期制御部4が管理するテーブルであ
り、転送データを処理するジョブ毎のエントリ41−1
〜41−3より構成される。各エントリは、ジョブを識
別するジョブ名41、入力及び出力などの入出力形態を
示すアクセスタイプ42、処理しているデータを持つレ
コードを識別するためのレコード番号43、処理したレ
コードの格納位置を表すデータ転送バッファ5内のポイ
ンタ44及びジョブの状態を示す状態46により構成さ
れる。状態46としては、データセットのオープンが未
完了を示す未OPEN46−1、データセットのオープ
ン処理中を示すOPEN中46−2、データ転送バッフ
ァ5の空きを待つバッファ空き待ち46−3、データセ
ットのクローズ処理中を示すCLOSE中46−4、デ
ータセットのクローズ完了をを示すCLOSE済み46
−5等がある。なお、この状態46の内容は、処理方式
により若干異なる場合もある。
The transfer synchronization management table 40 shown in FIG.
This is a table managed by the parallel data transfer synchronization control unit 4, and is an entry 41-1 for each job that processes transfer data.
To 41-3. Each entry includes a job name 41 for identifying a job, an access type 42 indicating an input / output mode such as input and output, a record number 43 for identifying a record having data being processed, and a storage location of the processed record. It comprises a pointer 44 in the data transfer buffer 5 and a state 46 indicating the state of the job. The status 46 includes an unopened 46-1 indicating that the opening of the data set is not completed, an OPEN 46-2 indicating that the opening of the data set is being processed, a buffer empty wait 46-3 waiting for the data transfer buffer 5 to be empty, and a data set. During closing process 46-4, indicating that the closing of the data set has been completed 46, indicating that the closing of the data set has been completed 46
-5 and so on. The contents of the state 46 may be slightly different depending on the processing method.

【0018】図3に示す転送バッファ管理テーブル50
は、データ転送バッファ5、一時ファイル出力バッファ
15、一時ファイル入力バッファ13の状態を管理する
テーブルであり、データ転送バッファ5を管理するエン
トリ51−1、一時ファイル出力バッファ15を管理す
るエントリ51−2、一時ファイル入力バッファ13の
状態を管理するエントリ51−3により構成される。な
お、本発明の実施形態は、3種類の転送用のバッファを
用いてデータ転送の制御を行っているため、転送バッフ
ァ管理テーブル50を3つのエントリで構成している
が、制御方式等によりバッファ数が増加した場合、該当
するエントリを増加することにより対応可能である。
The transfer buffer management table 50 shown in FIG.
Is a table for managing the states of the data transfer buffer 5, the temporary file output buffer 15, and the temporary file input buffer 13, and includes an entry 51-1 for managing the data transfer buffer 5, and an entry 51- for managing the temporary file output buffer 15. 2. It is composed of an entry 51-3 for managing the state of the temporary file input buffer 13. In the embodiment of the present invention, the data transfer is controlled using three types of transfer buffers. Therefore, the transfer buffer management table 50 is composed of three entries. When the number increases, it can be dealt with by increasing the number of corresponding entries.

【0019】テーブル50における各エントリ51−
1、51−2、51−3は、格納されているレコード番
号を表すレコード番号52、図4により後述する転送用
の各バッファ内のレコードのポインタを表すポインタ5
3により構成される。レコード番号52は、バッファ内
の先頭レコードの番号を表す先頭52−1と、最後のレ
コードの番号を表す最終52−2とにより構成される。
また、ポインタ53は、バッファの先頭ポインタ55を
示す先頭53−1と、入力ポインタ56を表す入力53
−2と、出力ポインタ57を表す出力53−3と、最終
ポインタ58を表す最終53−4とにより構成される。
Each entry 51- in the table 50
Reference numerals 1, 51-2, and 51-3 denote a record number 52 representing a stored record number, and a pointer 5 representing a pointer of a record in each transfer buffer described later with reference to FIG.
3. The record number 52 is composed of a head 52-1 representing the number of the first record in the buffer and a last 52-2 representing the number of the last record.
The pointer 53 includes a head 53-1 indicating the head pointer 55 of the buffer and an input 53 indicating the input pointer 56.
-2, an output 53-3 representing the output pointer 57, and a final 53-4 representing the final pointer 58.

【0020】データ転送バッファ5、一時ファイル出力
バッファ15、一時ファイル入力バッファ13のそれぞ
れは、図4にその使用方法を示すように、バッファの先
頭を示す先頭ポインタ55、入力を行う入力ポインタ5
6、出力を行う出力ポインタ57、バッファの最後を示
す最終ポインタ58により管理される。これらのポイン
タは、図3によりポインタ53として説明したものであ
る。同時に複数の入力ジョブが存在する場合は、入力ポ
インタ56を複数設定することにより対応することがで
きる。
Each of the data transfer buffer 5, the temporary file output buffer 15, and the temporary file input buffer 13 has a head pointer 55 indicating the head of the buffer and an input pointer 5 for inputting, as shown in FIG.
6. It is managed by an output pointer 57 for outputting and a final pointer 58 indicating the end of the buffer. These pointers have been described as the pointer 53 with reference to FIG. When a plurality of input jobs exist at the same time, it can be dealt with by setting a plurality of input pointers 56.

【0021】図5に示す一時ファイル管理テーブル60
は、一時ファイル14を管理するテーブルであり、一時
ファイル14に最後に出力したレコード番号を示す最終
出力レコード番号61と、一時ファイル14の処理状態
を示す状態62とにより構成される。状態62は、一時
ファイル14がオープンされていない状態を表す未OP
EN62−1、オープン中である状態を表すOPEN中
62−1、データ出力中を表す出力中62−3、クロー
ズ処理中を表すCLOSE中62−4、クローズ完了を
表すCLOSE済62−5等がある。
The temporary file management table 60 shown in FIG.
Is a table for managing the temporary file 14, and is composed of a final output record number 61 indicating the record number last output to the temporary file 14, and a state 62 indicating the processing state of the temporary file 14. The state 62 is a non-OP indicating that the temporary file 14 is not opened.
EN 62-1, OPEN 62-1 indicating an open state, output 62-3 indicating a data output, CLOSE 62-4 indicating a close process, CLOSE completed 62-5 indicating a close completion, and the like. is there.

【0022】前述のように構成される本発明の実施形態
において、出力ジョブ20からOPENマクロ21が発
行されると、同期転送制御手段1内のデータ出力制御部
2がOPENマクロ21を受け付けて、制御が並列デー
タ転送同期制御部4に渡される。並列データ転送同期制
御部4は、図2に示す転送同期管理テーブル40内に出
力ジョブ20のエントリを作成して、ジョブ名41、ア
クセスタイプ42、状態46を設定する。なお、CLO
SEマクロ24が発行された場合、転送同期管理テーブ
ル40内の出力ジョブ20のエントリが解除される。
In the embodiment of the present invention configured as described above, when the OPEN macro 21 is issued from the output job 20, the data output control unit 2 in the synchronous transfer control means 1 receives the OPEN macro 21, and Control is passed to the parallel data transfer synchronization control unit 4. The parallel data transfer synchronization control unit 4 creates an entry of the output job 20 in the transfer synchronization management table 40 shown in FIG. 2, and sets a job name 41, an access type 42, and a state 46. In addition, CLO
When the SE macro 24 is issued, the entry of the output job 20 in the transfer synchronization management table 40 is released.

【0023】また、出力ジョブ20からデータの出力を
要求するWRITEマクロ22が発行されると、同期転
送制御手段1内のデータ出力制御部2に制御が渡され、
データ出力制御部2は、並列データ転送同期制御部4を
呼び出す。並列データ転送同期制御部4は、転送同期管
理テーブル40内のアクセスタイプ42、レコード番号
43、状態46、データ転送バッファ5のポインタ44
の情報に基づいて、データ転送バッファ5に該当データ
を格納できるか否かを判断し、その結果をデータ出力制
御部2報告する。
When a WRITE macro 22 requesting data output is issued from the output job 20, control is passed to the data output control unit 2 in the synchronous transfer control means 1, and
The data output control unit 2 calls the parallel data transfer synchronization control unit 4. The parallel data transfer synchronization control unit 4 includes an access type 42, a record number 43, a state 46, and a pointer 44 of the data transfer buffer 5 in the transfer synchronization management table 40.
It is determined whether or not the corresponding data can be stored in the data transfer buffer 5 based on the above information, and the result is reported to the data output control unit 2.

【0024】データ出力制御部2は、データ転送バッフ
ァ5にデータを格納することができる場合、データをデ
ータ転送バッファ5に格納して、その旨を並列データ転
送同期制御部4に報告する。並列データ転送制御部4
は、転送同期管理テーブル40にその旨を登録する。な
お、データ出力に関する詳細な処理動作については、図
6を参照して後述する。
When data can be stored in the data transfer buffer 5, the data output control unit 2 stores the data in the data transfer buffer 5 and reports the fact to the parallel data transfer synchronization control unit 4. Parallel data transfer control unit 4
Registers that fact in the transfer synchronization management table 40. The detailed processing operation related to data output will be described later with reference to FIG.

【0025】一方、入力ジョブ30からOPENマクロ
31が発行されると、同期転送制御手段1内の並列デー
タ転送同期制御部4に制御が渡され、並列データ転送同
期制御部4は、転送同期管理テーブル40内に入力ジョ
ブ30のエントリを作成して、ジョブ名41、アクセス
タイプ42、状態46を設定する。なお、CLOSEマ
クロ35が発行された場合、転送同期管理テーブル40
内の入力ジョブ30のエントリが解除される。
On the other hand, when the OPEN macro 31 is issued from the input job 30, control is transferred to the parallel data transfer synchronization control unit 4 in the synchronous transfer control means 1, and the parallel data transfer synchronization control unit 4 An entry of the input job 30 is created in the table 40, and a job name 41, an access type 42, and a state 46 are set. When the CLOSE macro 35 is issued, the transfer synchronization management table 40
The entry of the input job 30 in is canceled.

【0026】また、入力ジョブ30からデータの入力を
要求するREADマクロ32が発行されると、同期転送
制御手段1内のデータ入力制御部3に制御が渡され、デ
ータ入力制御部3は、並列データ転送同期制御部4を呼
び出す。並列データ転送同期制御部4は、転送同期管理
テーブル40内のアクセスタイプ42、レコード番号4
3、状態46、データ転送バッファ5のポインタ44の
情報に基づいて、データ転送バッファ5に該当データが
格納されているか否かを判断し、その結果をデータ入力
制御部3に報告する。
When a READ macro 32 for requesting data input is issued from the input job 30, control is passed to the data input control unit 3 in the synchronous transfer control means 1, and the data input control unit 3 The data transfer synchronization control unit 4 is called. The parallel data transfer synchronization control unit 4 stores the access type 42 and the record number 4 in the transfer synchronization management table 40.
3, the state 46, based on the information of the pointer 44 of the data transfer buffer 5, determines whether or not the corresponding data is stored in the data transfer buffer 5, and reports the result to the data input control unit 3.

【0027】データ入力制御部3は、データ転送バッフ
ァ5にデータが格納されている場合、データをデータ転
送バッファ5から転送して、その旨を並列データ転送同
期制御部4に報告する。並列データ転送同期制御部4
は、転送同期管理テーブル40にその旨を登録する。な
お、データ入力に関する詳細な処理動作については、図
7を参照して後述する。
When data is stored in the data transfer buffer 5, the data input control unit 3 transfers the data from the data transfer buffer 5 and reports the fact to the parallel data transfer synchronization control unit 4. Parallel data transfer synchronization controller 4
Registers that fact in the transfer synchronization management table 40. The detailed processing operation related to data input will be described later with reference to FIG.

【0028】また、入力ジョブ30からデータの再位置
付けを指示するPOINTマクロ34が発行されると、
同期転送制御手段1内の再位置づけ制御部11に制御が
渡される。再位置づけ制御部11は、データ転送バッフ
ァ5、一時ファイル入力バッファ13の状態により異な
った処理を実行する。この再位置付け処理の詳細な処理
動作については、図9を参照して後述する。本発明の一
実施形態は、さらに、データを再位置付けして入力する
ために、同期転送制御手段1内にデータを一時的に格納
する一時ファイル14が設けられており、一時ファイル
14への出力用の一時ファイル出力バッファ15、一時
ファイル14への出力を制御する一時ファイル出力制御
部10、一時ファイル14への入力用の一時ファイル入
力バッファ13、一時ファイル14への入力を制御する
一時ファイル入力制御部12が設けられている。
When the input job 30 issues a POINT macro 34 for instructing repositioning of data,
Control is passed to the repositioning control unit 11 in the synchronous transfer control means 1. The repositioning control unit 11 executes different processing depending on the states of the data transfer buffer 5 and the temporary file input buffer 13. The detailed processing operation of this repositioning processing will be described later with reference to FIG. In the embodiment of the present invention, a temporary file 14 for temporarily storing data is provided in the synchronous transfer control means 1 for repositioning and inputting data. Temporary file output buffer 15, temporary file output control unit 10 for controlling output to temporary file 14, temporary file input buffer 13 for input to temporary file 14, temporary file input for controlling input to temporary file 14 A control unit 12 is provided.

【0029】次に、図6に示すフローを参照して、出力
ジョブからのデータ出力時の処理動作を説明する。
Next, with reference to the flow shown in FIG. 6, a processing operation at the time of outputting data from an output job will be described.

【0030】(1)出力ジョブ20からWRITEマク
ロ22が発行され、データ出力制御部2がコールされる
と、データ出力制御部2は、転送バッファ管理テーブル
50のデータ転送バッファのエントリ51−1の出力ポ
インタ53−3と最終ポインタ53−4とを比較するこ
とにより、データ転送バッファ5が満杯か否かをチェッ
クする(ステップ70)。
(1) When the WRITE macro 22 is issued from the output job 20 and the data output control unit 2 is called, the data output control unit 2 reads the entry 51-1 of the data transfer buffer entry 51-1 of the transfer buffer management table 50. By comparing the output pointer 53-3 with the final pointer 53-4, it is checked whether or not the data transfer buffer 5 is full (step 70).

【0031】(2)ステップ70のチェックでデータ転
送バッファ5が満杯でない場合、データ出力制御部2
は、WRITEマクロ22と共に出力されてきたデータ
をデータ転送バッファ5に格納し、並列データ転送同期
制御部4は、転送バッファ管理テーブル50内のデータ
転送バッファのエントリ51−1の出力ポインタ53−
3を更新する(ステップ71、72)。
(2) If the data transfer buffer 5 is not full at the check in step 70, the data output control unit 2
Stores the data output together with the WRITE macro 22 in the data transfer buffer 5, and the parallel data transfer synchronization control unit 4 sets the output pointer 53- of the data transfer buffer entry 51-1 in the transfer buffer management table 50.
3 is updated (steps 71 and 72).

【0032】(3)その後、並列データ転送同期制御部
4は、転送同期管理テーブル40の入力エントリ41−
2の状態46をチェックし、入力ジョブ30がデータ転
送バッファ5の空き待ち46−3であるか否かをチェッ
クし、データ転送バッファ5の空き待ち46−3であれ
ば、この待ち状態を解除する(ステップ73、74)。
(3) Thereafter, the parallel data transfer synchronization control unit 4 sets the input entry 41-
2 is checked to see if the input job 30 is in the idle state 46-3 of the data transfer buffer 5, and if it is the idle state 46-3 of the data transfer buffer 5, this standby state is released. (Steps 73 and 74).

【0033】(4)ステップ74の処理の後、あるい
は、ステップ73で入力ジョブ30がデータ転送バッフ
ァ5の空き待ち46−3でなかった場合、一時ファイル
14へのデータ出力を起動するために、一時ファイル出
力制御部10の待ち状態を解除する(ステップ75)。
(4) After the process of step 74, or when the input job 30 is not the waiting for empty space 46-3 of the data transfer buffer 5 in step 73, the data output to the temporary file 14 is started. The temporary file output control unit 10 is released from the waiting state (step 75).

【0034】(5)ステップ70のチェックで、データ
転送バッファ5が満杯であった場合、該データ転送バッ
ファ5内のレコードが全て入力済みか否かを、転送バッ
ファ管理テーブル50の入力ポインタ53−2と最終ポ
インタ53−4とを比較して判断する(ステップ7
6)。
(5) If the data transfer buffer 5 is full as a result of the check in step 70, it is determined whether all the records in the data transfer buffer 5 have been input or not by the input pointer 53- in the transfer buffer management table 50. (Step 7)
6).

【0035】(6)ステップ76のチェックで、データ
転送バッファ5内の全てのレコードが入力済みの場合、
転送バッファ管理テーブル50のデータ転送バッファの
エントリ51−1を初期化してから、ステップ71の処
理に移行してデータをデータ転送バッファ5へ格納する
処理を続行する(ステップ77)。
(6) If all the records in the data transfer buffer 5 have already been input in the check in step 76,
After initializing the data transfer buffer entry 51-1 of the transfer buffer management table 50, the process proceeds to step 71 to continue the process of storing data in the data transfer buffer 5 (step 77).

【0036】(7)ステップ76のチェックで、データ
転送バッファ5内のレコードの全てが入力済みでない場
合、転送同期管理テーブル40の出力のエントリ41−
1の状態46をバッファ空き待ち46−3に設定して出
力待ちとする。待ちが解除された場合、データ出力処理
の先頭から処理を続行する(ステップ78)。
(7) If all the records in the data transfer buffer 5 have not been input in the check in step 76, the entry 41- in the output of the transfer synchronization management table 40
The state 46 of 1 is set to the buffer empty wait 46-3 to wait for output. When the waiting is released, the processing is continued from the head of the data output processing (step 78).

【0037】次に、図7に示すフローを参照して、入力
ジョブからのデータ入力要求が行われた場合の処理動作
を説明する。
Next, the processing operation when a data input request is made from an input job will be described with reference to the flow shown in FIG.

【0038】(1)入力ジョブ30からREADマクロ
32が発行され、データ入力制御部3がコールされる
と、データ入力制御部3は、要求されるレコード番号が
転送バッファ管理テーブル50のデータ転送バッファの
エントリ51−1のレコー番号52の先頭52−1と最
終52−2との間であるか否かをチェックする(ステッ
プ80)。
(1) When a READ macro 32 is issued from the input job 30 and the data input control unit 3 is called, the data input control unit 3 sets the requested record number in the data transfer buffer of the transfer buffer management table 50. It is checked whether or not the entry 51-1 is between the beginning 52-1 and the last 52-2 of the record number 52 (step 80).

【0039】(2)ステップ80のチェックで、要求さ
れるレコード番号がデータ転送バッファ5内にあれば、
データ転送バッファ5から該当レコードを入力し、入力
したことを表すために、転送バッファ管理テーブルのデ
ータ転送バッファのエントリ51−1の入力ポインタ5
3−2を更新する(ステップ81、82)。
(2) If it is determined in step 80 that the requested record number is in the data transfer buffer 5,
The corresponding record is input from the data transfer buffer 5, and the input pointer 5 of the entry 51-1 of the data transfer buffer in the transfer buffer management table is indicated in order to indicate the input.
3-2 is updated (steps 81 and 82).

【0040】(3)ステップ80のチェックで、要求さ
れるレコード番号がデータ転送バッファ5内になかった
場合、要求されたレコード番号と転送バッファ管理テー
ブル50のデータ転送バッファのエントリ51−1の先
頭レコード番号52−1とを比較する(ステップ8
5)。
(3) If the requested record number is not found in the data transfer buffer 5 in the check in step 80, the requested record number and the start of the data transfer buffer entry 51-1 of the transfer buffer management table 50 Compare with record number 52-1 (step 8)
5).

【0041】(4)ステップ85のチェックで、要求さ
れるレコード番号が先頭レコード番号より大きい場合、
このレコードが、データ転送バッファ5に未入力状態で
あるため、転送同期管理テーブル40の入力エントリ4
1−2の状態46をバッファ空き待ち46−3に設定し
てデータ入力制御部3を待ち状態に設定する。この待ち
状態が解除された場合、ステップ80に戻ってデータ入
力処理を先頭から続行する(ステップ89)。
(4) If the requested record number is larger than the first record number in the check in step 85,
Since this record has not been input to the data transfer buffer 5, the input entry 4 of the transfer synchronization management table 40
The state 46 of 1-2 is set to the buffer empty wait 46-3, and the data input control unit 3 is set to the wait state. When the waiting state is released, the process returns to step 80 to continue the data input process from the beginning (step 89).

【0042】(5)ステップ85の要求されるレコード
番号とデータ転送バッファのエントリ51−1の先頭レ
コード番号52−1との比較で、要求されるレコード番
号が先頭レコード番号より小さい場合、このレコード
が、すでに一時ファイル14に格納されているため、一
時ファイル入力バッファ13に要求されるレコードが格
納されているか否かをチェックする。このチェックは、
要求されるレコードの番号と転送バッファ管理テーブル
50の一時ファイル入力バッファのエントリ51−3の
先頭レコード番号52−1と最終レコード番号52−2
とを比較することにより行われる(ステップ86)。
(5) If the requested record number is smaller than the first record number in the comparison of the requested record number in step 85 with the first record number 52-1 of the entry 51-1 of the data transfer buffer, Since the file is already stored in the temporary file 14, it is checked whether or not the requested record is stored in the temporary file input buffer 13. This check is
Requested record number, first record number 52-1 and last record number 52-2 of entry 51-3 of temporary file input buffer of transfer buffer management table 50
(Step 86).

【0043】(6)ステップ86によるチェックで、要
求されたレコードの番号が一時ファイル入力バッファ1
3に格納されていると判定された場合、一時ファイル入
力バッファ13からレコードの入力を行い、さらに、転
送バッファ管理テーブル50の一時ファイル入力バッフ
ァのエントリ51−3の入力ポインタ53−2を更新す
る(ステップ87、88)。
(6) In the check in step 86, the requested record number is stored in the temporary file input buffer 1
3 is input, a record is input from the temporary file input buffer 13 and the input pointer 53-2 of the entry 51-3 of the temporary file input buffer of the transfer buffer management table 50 is updated. (Steps 87 and 88).

【0044】(7)ステップ88の処理終了後、また
は、前述したステップ82の処理終了後、データ出力制
御部2が出力待ち状態か否かを、転送同期管理テーブル
40の出力エントリ41−1の状態46がバッファ空き
待ち46−3であるかを判定してチェックし、出力待ち
状態であった場合、その出力待ちを解除して処理を終了
し、また、データ出力制御部2が出力待ちでない場合、
そのまま処理を終了する(ステップ83、84)。
(7) After the end of the processing in step 88 or the end of the processing in step 82 described above, it is determined whether or not the data output control unit 2 is in the output waiting state in the output entry 41-1 of the transfer synchronization management table 40. It is determined whether or not the state 46 is the buffer empty wait state 46-3. If the state is the output wait state, the output wait state is released and the processing is terminated, and the data output control unit 2 is not in the output wait state. If
The processing ends as it is (steps 83 and 84).

【0045】(8)ステップ86の要求されたレコード
の番号が一時ファイル入力バッファ13に格納されてい
るか否かのチェックで否の場合、要求されたデータが一
時ファイル4に格納されているので、一時ファイル14
からレコードを入力するために、転送管理テーブル50
の一時ファイル入力バッファエントリ51−3の先頭レ
コード番号52−1に要求するレコード番号を格納し、
最終レコード番号52−2、入力ポインタ53−2を初
期化し、一時ファイル入力制御部12の待ちを解除す
る。その後、ステップ80からの処理に戻り、一時ファ
イル入力制御部12は、一時ファイル14から一時ファ
イル入力バッファ13に該当するレコードが入力された
ら、データ入力処理を実行する(ステップ90)。
(8) If it is determined in step 86 whether the requested record number is stored in the temporary file input buffer 13 or not, the requested data is stored in the temporary file 4. Temporary file 14
To input a record from the transfer management table 50
The requested record number is stored in the first record number 52-1 of the temporary file input buffer entry 51-3 of
The last record number 52-2 and the input pointer 53-2 are initialized, and the waiting state of the temporary file input control unit 12 is released. Thereafter, returning to the processing from step 80, when the record corresponding to the temporary file input buffer 13 is input from the temporary file 14, the temporary file input control unit 12 executes the data input processing (step 90).

【0046】次に、図8に示すフローを参照して、一時
ファイル出力制御部10の処理動作を説明する。なお、
この処理は、図6により説明したステップ75により起
動される。
Next, the processing operation of the temporary file output control unit 10 will be described with reference to the flow shown in FIG. In addition,
This processing is started in step 75 described with reference to FIG.

【0047】(1)図8に示す処理が起動されると、一
時ファイル14に出力するレコードがあるか否かの判定
を行う。この判定は、転送同期管理テーブル40の出力
ジョブのエントリ41−1の最終出力レコード番号43
と一時ファイル出力のエントリ41−3の最終出力レコ
ード番号43とを比較することにより行われる。転送同
期管理テーブル40の出力ジョブのエントリ41−1の
最終出力レコード番号43が一時ファイル出力のエント
リ41−3の最終出力レコード番号43より大きい場
合、一時ファイル14への出力レコードがあることにな
る。この判定の結果、出力レコードが、一時ファイル1
4内にない場合処理を終了する(ステップ100)。
(1) When the process shown in FIG. 8 is started, it is determined whether or not there is a record to be output to the temporary file 14. This determination is based on the final output record number 43 of the output job entry 41-1 of the transfer synchronization management table 40.
This is performed by comparing the final output record number 43 of the entry 41-3 of the temporary file output. If the final output record number 43 of the output job entry 41-1 of the transfer synchronization management table 40 is larger than the final output record number 43 of the temporary file output entry 41-3, there is an output record to the temporary file 14. . As a result of this determination, the output record is
If not, the process ends (step 100).

【0048】(2)ステップ100の判定で、一時ファ
イル14内に出力レコードがあると判定された場合、一
時ファイル出力バッファ15が満杯状態か否かをチェッ
クする。このチェックは、転送バッファ管理テーブル5
0の一時ファイル出力バッファのエントリ51−2の出
力ポインタ53−3と最終ポインタ53−4とが同一の
場合に一時ファイル出力バッファ15が満杯状態である
と判断するすることにより行うことができる(ステップ
101)。
(2) If it is determined in step 100 that there is an output record in the temporary file 14, it is checked whether the temporary file output buffer 15 is full. This check is performed in the transfer buffer management table 5
When the output pointer 53-3 of the entry 51-2 of the temporary file output buffer 0 and the final pointer 53-4 are the same, it can be determined by determining that the temporary file output buffer 15 is full ( Step 101).

【0049】(3)ステップ101の判定で、一時ファ
イル出力バッファ15が満杯状態であると判定された場
合、一時ファイル14に一時ファイル出力バッファ15
の内容を出力する。その後、一時ファイル管理テーブル
60の最終出力レコード番号61を更新し、転送バッフ
ァ管理テーブル50の一時ファイル出力バッファのエン
トリ51−2のレコード番号52、ポインタ53を初期
化して処理を終了する(ステップ102〜104)。
(3) If it is determined in step 101 that the temporary file output buffer 15 is full, the temporary file
Output the contents of Thereafter, the final output record number 61 of the temporary file management table 60 is updated, the record number 52 and the pointer 53 of the entry 51-2 of the temporary file output buffer of the transfer buffer management table 50 are initialized, and the process is terminated (step 102). To 104).

【0050】(4)ステップ101の判定で、一時ファ
イル出力バッファ15が満杯状態でないと判定された場
合、データ転送バッファ5の該当レコードを一時ファイ
ル出力バッファ15に転送し、転送バッファ管理テーブ
ル50のデータ転送バッファのエントリ51−1、一時
ファイル出力バッファのエントリ51−2の各レコード
番号52、出力ポインタ53−3を更新して処理を終了
する(ステップ105、106)。
(4) If it is determined in step 101 that the temporary file output buffer 15 is not full, the corresponding record in the data transfer buffer 5 is transferred to the temporary file output buffer 15 and the transfer buffer management table 50 The record number 52 and the output pointer 53-3 of the entry 51-1 of the data transfer buffer and the entry 51-2 of the temporary file output buffer are updated, and the process ends (steps 105 and 106).

【0051】次に、図9に示すフローを参照して、再位
置付け制御部11の処理動作を説明する。この処理は、
入力ジョブ30からPOINTマクロ34が発行される
ことにより起動される。
Next, the processing operation of the repositioning control section 11 will be described with reference to the flow shown in FIG. This process
It is activated by issuing a POINT macro 34 from the input job 30.

【0052】(1)まず、入力ジョブ30のPOINT
マクロ34で指定された再位置付け要求のレコード番号
がデータ転送バッファ5の中に存在するか否かをチェッ
クする。このチェックは、転送バッファ管理テーブル5
0のデータ転送バッファのエントリ51−1の先頭52
−1と最終52−2との間に要求されたレコード番号が
あるか否かにより行うことができる(ステップ11
0)。
(1) First, the POINT of the input job 30
It is checked whether or not the record number of the repositioning request specified by the macro 34 exists in the data transfer buffer 5. This check is performed in the transfer buffer management table 5
Head 52 of entry 51-1 of data transfer buffer 0
-1 and the last 52-2 can be performed depending on whether or not the requested record number exists (step 11).
0).

【0053】(2)ステップ110のチェックで、再位
置付けのレコードがデータ転送バッファ5に存在する場
合、該当レコードを入力し、転送バッファ管理テーブル
50のデータ転送バッファのエントリ51−1の入力ポ
インタ53−2を更新して処理を終了する(ステップ1
16、117)。
(2) If the repositioned record exists in the data transfer buffer 5 as a result of the check in step 110, the record concerned is input and the input pointer 53 of the data transfer buffer entry 51-1 of the transfer buffer management table 50 is entered. -2 is updated and the process is terminated (step 1
16, 117).

【0054】(3)ステップ110のチェックで、再位
置付け要求のレコード番号のレコードがデータ転送バッ
ファ5の中に存在しない場合、一時ファイル14内にそ
のレコードが存在するか否かをチェックする。このチェ
ックは、一時ファイル管理テーブル60の最終出力レコ
ード番号61により行う。すなわち、再位置付け要求の
レコード番号が一時ファイル管理テーブル60の最終出
力レコード番号61より小さいとき、一時ファイル14
内にそのレコードが存在すると判定することができる
(ステップ111)。
(3) If the record of the record number of the repositioning request does not exist in the data transfer buffer 5 in the check in step 110, it is checked whether or not the record exists in the temporary file 14. This check is performed based on the final output record number 61 of the temporary file management table 60. That is, when the record number of the repositioning request is smaller than the final output record number 61 of the temporary file management table 60, the temporary file 14
It can be determined that the record exists in (step 111).

【0055】(4)ステップ111のチェックで、一時
ファイル14中に該当レコードがないと判定された場
合、転送同期管理テーブル40の入力エントリ41−2
の状態46をバッファ空き待ち46−3に設定して再位
置付け制御部11を待ち状態とする。この待ちが解除さ
れた場合、ステップ110に戻って、再位置付け処理を
先頭から再実行する(ステップ112)。
(4) If it is determined in step 111 that there is no corresponding record in the temporary file 14, the input entry 41-2 of the transfer synchronization management table 40
Is set to the buffer empty wait state 46-3, and the repositioning control unit 11 is set to the wait state. When the waiting is released, the process returns to step 110 to re-execute the repositioning process from the beginning (step 112).

【0056】(5)ステップ111のチェックで、一時
ファイル14中に該当レコードがあると判定された場
合、一時ファイル入力バッファ13内に該当レコードが
存在するか否かをチェックする。このチェックは、転送
バッファ管理テーブル50の一時ファイル入力バッファ
のエントリ51−3の先頭52−1、最終52−2のレ
コード番号の間に該当レコード番号がある場合に、一時
ファイル入力バッファ13の中に該当レコードがあると
判定することにより行うことができる(ステップ11
3)。
(5) If it is determined in the step 111 that there is a corresponding record in the temporary file 14, it is checked whether or not the corresponding record exists in the temporary file input buffer 13. This check is performed in the temporary file input buffer 13 when there is a corresponding record number between the first 52-1 and last 52-2 record numbers of the entry 51-3 of the temporary file input buffer of the transfer buffer management table 50. Is determined by determining that there is a corresponding record (step 11).
3).

【0057】(6)ステップ113のチェックで、再位
置付けのレコードが一時入力バッファ13に存在すると
判定された場合、該当レコードを入力して、転送バッフ
ァ管理テーブル50の一時ファイル入力バッファのエン
トリ51−3の入力ポインタ53−2を更新して処理を
終了する(ステップ114、115)。
(6) If it is determined in the step 113 that the repositioned record exists in the temporary input buffer 13, the relevant record is input and the entry 51- of the temporary file input buffer of the transfer buffer management table 50 is entered. The input pointer 53-2 of No. 3 is updated, and the process is terminated (steps 114 and 115).

【0058】(7)ステップ113のチェックで、再位
置付けのレコードが一時入力バッファ13に存在しない
と判定された場合、一時ファイル14からレコードを入
力するために、転送バッファ管理テーブル50の一時フ
ァイル入力バッファのエントリ51−3の先頭レコード
番号52−1に要求するレコード番号を格納し、最終レ
コード番号52−2、入力ポインタ53−3を初期化
し、一時ファイル入力制御部12の待ちを解除する。一
時ファイル入力制御部12で一時ファイル14から一時
ファイル入力バッファに該当するレコードが入力された
ら、ステップ110の処理に戻って再位置付けの処理を
先頭から続行する(ステップ118)。
(7) If it is determined in the step 113 that the repositioned record does not exist in the temporary input buffer 13, the temporary file input of the transfer buffer management table 50 is performed to input the record from the temporary file 14. The requested record number is stored in the first record number 52-1 of the buffer entry 51-3, the last record number 52-2 and the input pointer 53-3 are initialized, and the waiting of the temporary file input control unit 12 is released. When a record corresponding to the temporary file input buffer is input from the temporary file 14 by the temporary file input control unit 12, the process returns to step 110 and the repositioning process is continued from the beginning (step 118).

【0059】次に、図10に示すフローを参照して、一
時ファイル入力制御部12の処理動作を説明する。この
処理は、図9により説明したステップ118の処理で一
時ファイル入力制御部12の待ちが解除されたときに起
動される。
Next, the processing operation of the temporary file input control unit 12 will be described with reference to the flow shown in FIG. This process is started when the waiting state of the temporary file input control unit 12 is released in the process of step 118 described with reference to FIG.

【0060】(1)まず、転送バッファ管理テーブル5
0の一時ファイル入力バッファのエントリ51−3の先
頭レコード番号52−1に要求するレコード番号を用い
て一時ファイル14への位置付けを行う(ステップ13
0)。
(1) First, the transfer buffer management table 5
Positioning to the temporary file 14 is performed using the record number required for the first record number 52-1 of the entry 51-3 of the temporary file input buffer 0 (step 13).
0).

【0061】(2)ステップ130での位置付け完了
後、該当レコードから一時ファイル入力バッファ13に
レコードを入力する(ステップ131)。
(2) After the positioning in step 130 is completed, a record is input from the relevant record to the temporary file input buffer 13 (step 131).

【0062】(3)その後、転送バッファ管理テーブル
50の一時ファイル入力バッファのエントリ51−3の
先頭レコード番号52−1、最終レコード番号52−
2、入力ポインタ53−2を更新し、入力完了後処理を
終了する(ステップ132)。
(3) Thereafter, the first record number 52-1 and the last record number 52-of the entry 51-3 of the temporary file input buffer of the transfer buffer management table 50.
2. The input pointer 53-2 is updated, and the process is completed after the input is completed (step 132).

【0063】前述した本発明の実施形態によれば、デー
タ出力ジョブ及びデータ入力ジョブを変更することな
く、ジョブ間の引き継ぎデータを繰り返して処理する業
務に対してもデータの並列同期転送を行うことが可能と
なり、処理時間を短縮することができる。
According to the above-described embodiment of the present invention, it is possible to perform parallel synchronous transfer of data even for a task of repeatedly processing takeover data between jobs without changing a data output job and a data input job. And processing time can be shortened.

【0064】前述の結果、本発明は、ジョブ間の引き継
ぎデータを繰り返して処理する必要がある以下のような
業務に適用して好適であり、これらの業務における処理
時間を短縮することができる。
As a result of the above, the present invention is suitable for application to the following tasks which require repeated processing of data taken over between jobs, and the processing time in these tasks can be reduced.

【0065】前述の業務としては、例えば、1.データ
セットをオープンしたまま、任意のデータを繰り返して
入力して処理する業務、2.データセットのオープン、
クローズを繰り返して入力して処理を行う業務、3.オ
ンラインリアルタイムのように、処理を長時間中断させ
ることができない業務の出力データを、繰り返して入力
して処理を行う必要がある付帯業務等がある。
The aforementioned tasks include, for example, 1. 1. A task of repeatedly inputting and processing arbitrary data with the data set open. Opening a dataset,
2. A task of performing processing by repeatedly inputting and closing; As in online real-time, there is ancillary work and the like in which it is necessary to repeatedly input and execute processing of output data of a work in which processing cannot be interrupted for a long time.

【0066】[0066]

【発明の効果】以上説明したように本発明によれば、デ
ータ出力ジョブとデータ入力ジョブとを並列に実行させ
ることにより処理実行時間の短縮を図ることを可能にし
た同期転送制御において、1つあるいは複数の入力ジョ
ブがデータの途中取り出し、任意のデータの繰返し入力
を行う場合、出力ジョブの再出力を不要とさせ、また、
入力ジョブの再起動も不要とさせることができ、これに
より、1つあるいは複数の入力ジョブがデータの途中取
り出し、任意のデータの繰返し入力を行う業務における
処理実行時間の短縮を図ることができる。
As described above, according to the present invention, in the synchronous transfer control which makes it possible to shorten the processing execution time by executing the data output job and the data input job in parallel. Or, when a plurality of input jobs take out data in the middle and repeatedly input arbitrary data, it is unnecessary to re-output the output job, and
The restart of the input job can also be made unnecessary, whereby the processing execution time in the task of fetching one or more input jobs in the middle of the data and repeatedly inputting arbitrary data can be reduced.

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

【図1】本発明の一実施形態による同期転送制御手段の
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a synchronous transfer control unit according to an embodiment of the present invention.

【図2】転送同期管理テーブルの構成を説明する図であ
る。
FIG. 2 is a diagram illustrating a configuration of a transfer synchronization management table.

【図3】転送バッファ管理テーブルの構成を説明する図
である。
FIG. 3 is a diagram illustrating a configuration of a transfer buffer management table.

【図4】バッファの使用方法を説明する図である。FIG. 4 is a diagram illustrating a method of using a buffer.

【図5】一時ファイル管理テーブルの構成を説明する図
である。
FIG. 5 is a diagram illustrating a configuration of a temporary file management table.

【図6】データ出力制御の処理動作を説明するフローチ
ャートである。
FIG. 6 is a flowchart illustrating a processing operation of data output control.

【図7】データ入力制御の処理動作を説明するフローチ
ャートである。
FIG. 7 is a flowchart illustrating a processing operation of data input control.

【図8】一時ファイル出力制御部の処理動作を説明する
フローチャートである。
FIG. 8 is a flowchart illustrating a processing operation of a temporary file output control unit.

【図9】再位置付け制御の処理動作を説明する図であ
る。
FIG. 9 is a diagram illustrating a processing operation of repositioning control.

【図10】一時ファイル入力制御部の処理動作を説明す
るフローチャートである。
FIG. 10 is a flowchart illustrating a processing operation of a temporary file input control unit.

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

1 同期転送制御手段 2 データ出力制御部 3 データ入力制御部 4 並列データ転送同期制御部 5 データ転送バッファ 10 一時ファイル出力制御部 11 再位置付け制御部 12 一時ファイル入力制御部 13 一時ファイル入力バッファ 14 一時ファイル 15 一時ファイル出力バッファ 20 出力ジョブ 30 入力ジョブ 40 転送同期管理テーブル 50 転送バッファ管理テーブル 60 一時ファイル管理テーブル DESCRIPTION OF SYMBOLS 1 Synchronous transfer control means 2 Data output control part 3 Data input control part 4 Parallel data transfer synchronous control part 5 Data transfer buffer 10 Temporary file output control part 11 Repositioning control part 12 Temporary file input control part 13 Temporary file input buffer 14 Temporary File 15 Temporary file output buffer 20 Output job 30 Input job 40 Transfer synchronization management table 50 Transfer buffer management table 60 Temporary file management table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 出力ジョブから1または複数の入力ジョ
ブにデータを転送する同期転送制御方式において、出力
ジョブからデータ転送バッファを介して入力ジョブに転
送中のデータを並列に一時ファイルに格納し、前記デー
タ転送バッファに存在しないデータを前記一時ファイル
から前記入力ジョブに再入力する一時ファイル入出力手
段を備えたことを特徴とする同期転送制御方式。
In a synchronous transfer control method for transferring data from an output job to one or more input jobs, data being transferred from an output job to an input job via a data transfer buffer is stored in a temporary file in parallel. A synchronous transfer control method, comprising: a temporary file input / output unit for re-inputting data not existing in the data transfer buffer from the temporary file to the input job.
【請求項2】 前記一時ファイル入出力手段として、前
記データ転送バッファの他に、一時ファイルへの格納用
の一時ファイル出力バッファ、及び、一時ファイルから
入力ジョブにデータを入力する一時ファイル入力バッフ
ァを備え、前記入力ジョブの起動、実行の遅れに対し
て、前記出力ジョブからのデータを一時ファイル出力バ
ッファを介して前記一時ファイルに出力することを特徴
とする請求項1記載の同期転送制御方式。
2. A temporary file output buffer for storing data in a temporary file and a temporary file input buffer for inputting data from a temporary file to an input job, in addition to the data transfer buffer, as the temporary file input / output means. 2. The synchronous transfer control method according to claim 1, further comprising: outputting data from the output job to the temporary file via a temporary file output buffer in response to a delay in activation and execution of the input job.
【請求項3】 前記入力ジョブは、前記データ転送バッ
ファからデータの入力を行い、前記データ転送バッファ
が空になった場合、前記一時ファイル内のデータを前記
一時ファイル入力バッファを介して入力することを特徴
とする請求項2記載の同期転送制御方式。
3. The input job receives data from the data transfer buffer, and inputs data in the temporary file via the temporary file input buffer when the data transfer buffer becomes empty. 3. The synchronous transfer control method according to claim 2, wherein:
JP7218598A 1998-03-20 1998-03-20 Synchronous transfer control system Pending JPH11272478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7218598A JPH11272478A (en) 1998-03-20 1998-03-20 Synchronous transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7218598A JPH11272478A (en) 1998-03-20 1998-03-20 Synchronous transfer control system

Publications (1)

Publication Number Publication Date
JPH11272478A true JPH11272478A (en) 1999-10-08

Family

ID=13481913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7218598A Pending JPH11272478A (en) 1998-03-20 1998-03-20 Synchronous transfer control system

Country Status (1)

Country Link
JP (1) JPH11272478A (en)

Similar Documents

Publication Publication Date Title
JP3231571B2 (en) Ordered multi-thread execution method and its execution device
CN100382033C (en) Computer system
JP2001265609A (en) Arithmetic processor
US8140503B2 (en) Information processing apparatus having process units operable in parallel
JP3721780B2 (en) Data processing apparatus having a plurality of pipeline processing mechanisms
JP2821345B2 (en) Asynchronous I / O control method
JP5155655B2 (en) Microprocessor output port and control of instructions provided from it
JPH04284548A (en) Data base exclusive controlling system
JPH11272478A (en) Synchronous transfer control system
JPH0895810A (en) Batch job execution system
JPH0370253B2 (en)
KR960014825B1 (en) Information processing system
JP2866588B2 (en) System and method for transferring control between processing processes
JP2814683B2 (en) Instruction processing unit
JP2522162B2 (en) Terminal sharing control method in virtual machine system
EP3923136A1 (en) Hardware-accelerated computing system
JPH10161915A (en) Data inheriting method for realizing exclusive control giving priority to subsequent job
JPH03196222A (en) Program replacing system
CN110764880A (en) Three-state control method based on atomic operation
JP2926873B2 (en) Computer system
JPS60167037A (en) Emulation system
JPH0391055A (en) Method for setting hardware lock, hardware lock controller, method and device for detecting hardware lock
JPH10171670A (en) Task switching device and medium recording task switching program
JPH05165756A (en) Channel controller with macro processing function
JPH03291745A (en) Data processor