JPS63136302A - Retrial control system for magnetic tape controller - Google Patents

Retrial control system for magnetic tape controller

Info

Publication number
JPS63136302A
JPS63136302A JP28200486A JP28200486A JPS63136302A JP S63136302 A JPS63136302 A JP S63136302A JP 28200486 A JP28200486 A JP 28200486A JP 28200486 A JP28200486 A JP 28200486A JP S63136302 A JPS63136302 A JP S63136302A
Authority
JP
Japan
Prior art keywords
record
write operation
difference
magnetic tape
measuring
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
JP28200486A
Other languages
Japanese (ja)
Inventor
Chisato Komiyama
小宮山 千里
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP28200486A priority Critical patent/JPS63136302A/en
Publication of JPS63136302A publication Critical patent/JPS63136302A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To confirm the normality of reversing operation of one record by stopping the succeeding processing, if the difference of the running distance between both forward and backward directions in one record is not within the allowable value in the reversing operation with respect to a write error and reporting it to a host device. CONSTITUTION:A data is written in a magnetic tape medium during the write and if a write error takes place, the running distance from the start of write till the end is measured. Then the running distance for the forward or reverse operation of one record is measured to confirm whether or not the difference between both forward and reverse running distances of one record is within the permissible value is confirmed. If not within the permissible value, either forward or reversing is applied by one record again depending on the difference, the result is compared again whether or not it is within the permissible value for one record and if not within the permissible value, the succeeding processing is stopped and it is reported immediately to the host device. Thus, the normality of reversing for one record is confirmed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理システムに利用される磁気テープ制御
装置に係り、特に磁気テープ媒体への書込動作エラ一時
の再試行制御方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a magnetic tape control device used in an information processing system, and particularly relates to a retry control method in the event of an error in a write operation to a magnetic tape medium. be.

〔従来の技術〕[Conventional technology]

従来、磁気テープ媒体への書込動作で書込動作エラーが
発生した場合には、磁気テープ制御装置はソフトウェア
から指示された回数分の致命的障害または正常終了する
までの1レコードの後退動作とイレーズ動作および再書
込動作を行っていたが、1レコードの後退動作が正しく
1レコード分実行されたかを確認していなかった。
Conventionally, when a write operation error occurs during a write operation to a magnetic tape medium, the magnetic tape control device either causes a fatal failure for the number of times instructed by the software, or backs up one record until it completes normally. Although the erase operation and rewrite operation were performed, it was not confirmed whether the backward operation for one record was correctly executed for one record.

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

上述した従来の方式では、書込動作エラーの発生したレ
コードを後退させるための後退動作指令で正しく1レコ
ード分後退したかを確認していないため、誤まって、書
込動作エラーが発生したレコードの1つ前のレコードま
で後退しても誤まシがわからず、イレーズ動作および再
書込動作を行って正常な1レコードを削除してしまうと
いう問照点があった。
In the conventional method described above, since it is not checked whether the backward movement command to move back the record in which the write operation error has occurred is correctly performed by one record, the record in which the write operation error has occurred is mistakenly moved back. There was a problem in that even if the user went back to the previous record, the error could not be detected, and the erase operation and rewrite operation were performed to delete one normal record.

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

本発明の磁気テープ制御装置の再試行制御方式は、磁気
テープ媒体に書込動作を行い書込動作エラーが発生した
ときに書込動作の開始から動作終了までの走行距離を測
定する第1の測定手段と、1レコードの前進または後退
動作を行った際の走行距離を測定する第2の測定手段と
、書込動作エラーに対する後退動作を行った際上記1レ
コードの前進および後退の両方の走行距離の差分が許容
値内に入っているか否かを確認する手段と、上記許容値
内に入っていない場合上記差分から再度1レコード前進
または後退動作のいずれかを行い上記許容値内に入って
いるか比較し、入っていない場合その後の処理を中止し
て即上位装置へその旨を報告する手段とを備えてなるよ
うにしたものである。
The retry control method of the magnetic tape control device of the present invention includes a first method of measuring the travel distance from the start of the write operation to the end of the write operation when a write operation error occurs during a write operation on a magnetic tape medium. a measuring means, a second measuring means for measuring the traveling distance when performing forward or backward movement of one record, and a second measuring means for measuring the traveling distance when performing forward or backward movement of one record, and a second measuring means for measuring the distance traveled when performing forward or backward movement of one record; A means for checking whether the difference in distance is within the tolerance value, and if it is not within the tolerance value, perform either forward movement or backward movement by one record again from the difference value to ensure that the difference is within the tolerance value. The apparatus is equipped with a means for comparing whether or not the data is present, and if it is not found, stopping the subsequent processing and immediately reporting the fact to the higher-level device.

〔作用〕[Effect]

本発明においては、磁気テープ制御装置の書込動作の再
試行処理で1レコードの後退動作の正常性を確認する。
In the present invention, the normality of one record backward operation is confirmed by the write operation retry process of the magnetic tape control device.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

図は本発明を適用した磁気テープ制御装置の再試行制御
方式の処理を示すフローチャートである。
The figure is a flowchart showing processing of a retry control method of a magnetic tape control device to which the present invention is applied.

本発明の一実施例の処理を示すこのフローチャートにお
いて、上位装置から磁気テープ制御装置に対し書込動作
指示があり書込動作を行った後、まず、ステップ100
で書込動作エラーの有無をチェックし、書込動作エラー
がなかった場合は正常終了の処理に行く。そして、書込
動作エラーがあった場合にはステップ101で書込動作
の開始から動作終了までの走行距離を格納エリアAに登
録しておく。
In this flowchart showing the processing of an embodiment of the present invention, after receiving a write operation instruction from the host device to the magnetic tape control device and performing the write operation, step 100 is first performed.
Checks whether there is a write operation error, and if there is no write operation error, the process goes to normal end processing. If there is a write operation error, the distance traveled from the start of the write operation to the end of the write operation is registered in the storage area A in step 101.

つぎに、ステップ102で書込動作エラーのレコードを
再書込するために1レコードの後退動作を実行する。こ
のとき、ステップ103で1レコードの後退動作を行っ
たときの動作の開始から終了までの走行距離を格納エリ
アBに登録する。その後、ステップ104で登録した格
納エリアAと格納エリアBの差分が許容値内に入ってい
るかを比較し、許容値内に入っている場合はステップ1
05でイレーズ動作を行い再書込動作処理に行く。一方
、格納エリアAと格納エリアBとの差分が許容値内に入
っていない場合にはステップ106で格納エリア人と格
納エリアBの内容を比較し、格納エリア人の方が大きい
ときステップ107で1レコード後退動作を行い、ステ
ップ108で1レコード後退動作を行ったときの走行距
離を格納エリアCK登碌する。
Next, in step 102, a one-record backward operation is performed to rewrite the record with the write operation error. At this time, in step 103, the distance traveled from the start to the end of the backward motion for one record is registered in the storage area B. After that, it is compared whether the difference between storage area A and storage area B registered in step 104 is within the tolerance value, and if it is within the tolerance value, step 1
In step 05, the erase operation is performed and the process proceeds to the rewrite operation. On the other hand, if the difference between storage area A and storage area B is not within the allowable value, the content of storage area B is compared with the storage area person in step 106, and if the difference between storage area A and storage area B is larger, step 107 is performed. A one-record backward movement is performed, and in step 108, the distance traveled when the one-record backward movement is performed is added to the storage area CK.

その後、ステップ10i9で格納エリアBと格納エリア
Cとの差分を格納エリアEに登録し、ステップ110で
格納エリアAと格納エリアEの差分が許容値内に入って
いるか比較する。そして、許容値内に入っている場合は
ステップ105へ飛び、許容値内に入っていない場合に
はボジショニングが不正であると判断し、異常終了処理
に行き再試行処理を中止しその旨を上位装置へ報告する
。また、ステップ106で格納エリアAと格納エリアB
の内容を比較し、格納エリアBの方が大きいときにはス
テップ111で1レコード前進動作を行い、ステップ1
12で1レコード前進動作を行ったときの走行距離を格
納エリアDに登録する。
Thereafter, in step 10i9, the difference between storage area B and storage area C is registered in storage area E, and in step 110, it is compared whether the difference between storage area A and storage area E is within a tolerance value. If it is within the allowable value, the process jumps to step 105; if it is not within the allowable value, it is determined that the positioning is incorrect, and the process goes to abnormal termination processing to cancel the retry process and notify that fact. Report to the higher-level device. Also, in step 106, storage area A and storage area B are
The contents of storage area B are compared, and if storage area B is larger, advance operation is performed by one record in step 111, and step 1
In step 12, the distance traveled when one record forward movement is performed is registered in the storage area D.

その後、ステップ113で格納エリアBと格納エリアD
とを加算して格納エリアEに登録し、ステップ110へ
飛ぶ。
After that, in step 113, storage area B and storage area D are
and is registered in the storage area E, and the process jumps to step 110.

前述したところから明らかなように1この図に示すフロ
ーチャートにおけるステップ102は、1レコードの前
進または後退動作を行った際の走行距離を測定する手段
を構成し、ステップ104は、書込動作エラーに対する
後退動作を行った際上記1レコードの前進および後退の
両方の走行距離の差分が許容値内に入っているか否かを
確認する手段を構成し、また、ステップ106.107
・・・113は上記許容値内に入っていない場合上記差
分から再度1レコード前進または後退のいずれかを行い
上記許容値内に入っているか比較し、入っていない場合
その後の処理を中止して即上位装置へその旨を報告する
手段を構成している。そして、このフロ−チャートにお
ける書込動作の中には、磁気テープ媒体に書込動作を行
いその書込動作エラーが発生したときに書込動作の開始
から動作終了までの走行距離を測定する手段を含んでい
る。
As is clear from the foregoing, step 102 in the flowchart shown in this figure constitutes a means for measuring the traveling distance when one record of forward or backward movement is performed, and step 104 constitutes means for measuring the distance traveled when performing one record of forward or backward movement, and step 104 constitutes a means for measuring the distance traveled when one record of forward or backward movement is performed. Constructs means for checking whether the difference between the traveling distances of both the forward and backward travels of the one record is within an allowable value when performing a backward movement, and also includes steps 106 and 107.
...113, if it is not within the above tolerance, either move forward or backward one record again from the above difference and compare whether it is within the tolerance, and if it is not within the tolerance, cancel the subsequent processing. This constitutes means for reporting this to the immediately higher-level device. The write operation in this flowchart includes means for measuring the travel distance from the start of the write operation to the end of the write operation when a write operation error occurs during the write operation on the magnetic tape medium. Contains.

なお、上記実施例においては、走行距離によシ書込動作
エラー後の後退動作の正常性を確認する場合を例にとっ
て説明したが、本発明はこれに限定されるものではなく
、走行距離のかわりにカウンタまたはクロックを使用す
ることもできる。
In the above embodiment, the case where the normality of the backward movement after a write operation error is confirmed based on the mileage is explained as an example, but the present invention is not limited to this, and the present invention is not limited to this. A counter or clock could be used instead.

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

以上説明したように、本発明によれば、磁気テープ制御
装置の書込動作の再試行処理で1レコードの後退動作の
正常性を確認することによって、誤まって正常なレコー
ドを破壊したit処理を続行し、後になってレコードが
抜けているということがわかる問題を防止することがで
きるので、実用上の効果は極めて大である。
As explained above, according to the present invention, by confirming the normality of one record backward operation in the write operation retry process of the magnetic tape control device, IT processing that accidentally destroys a normal record The practical effect is extremely large, since it is possible to continue the process and prevent the problem of finding out later that a record is missing.

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

図は本発明を適用した磁気テープ制御装置の書込動作の
再試行制御方式の処理を示すフローチャートである。 100〜113−・・l再試行制御方式の処理ステップ
The figure is a flowchart showing processing of a write operation retry control method of a magnetic tape control device to which the present invention is applied. 100-113--l Processing steps of retry control method.

Claims (1)

【特許請求の範囲】[Claims] 磁気テープ媒体に書込動作を行い書込動作エラーが発生
したときに書込動作の開始から動作終了までの走行距離
を測定する第1の測定手段と、1レコードの前進または
後退動作を行った際の走行距離を測定する第2の測定手
段と、書込動作エラーに対する後退動作を行った際前記
1レコードの前進および後退の両方の走行距離の差分が
許容値内に入っているか否かを確認する手段と、前記許
容値内に入っていない場合前記差分から再度1レコード
前進または後退動作のいずれかを行い前記許容値内に入
っているか比較し、入っていない場合その後の処理を中
止して即上位装置へその旨を報告する手段とを備えてな
ることを特徴とする磁気テープ制御装置の再試行制御方
式。
A first measuring means for measuring the travel distance from the start of the write operation to the end of the operation when a write operation error occurs during a write operation on a magnetic tape medium, and a first measuring means for performing a forward or backward operation of one record. a second measuring means for measuring the actual traveling distance; and a second measuring means for measuring the traveling distance at the time of writing, and determining whether or not the difference between the traveling distance for both forward and backward traveling of the one record is within an allowable value when performing a backward operation in response to a write operation error. If the difference is not within the allowable value, perform one record forward or backward operation again from the difference and compare whether it is within the allowable value, and if it is not within the allowable value, cancel the subsequent processing. 1. A retry control method for a magnetic tape control device, comprising means for immediately reporting the same to a higher-level device.
JP28200486A 1986-11-28 1986-11-28 Retrial control system for magnetic tape controller Pending JPS63136302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28200486A JPS63136302A (en) 1986-11-28 1986-11-28 Retrial control system for magnetic tape controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28200486A JPS63136302A (en) 1986-11-28 1986-11-28 Retrial control system for magnetic tape controller

Publications (1)

Publication Number Publication Date
JPS63136302A true JPS63136302A (en) 1988-06-08

Family

ID=17646883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28200486A Pending JPS63136302A (en) 1986-11-28 1986-11-28 Retrial control system for magnetic tape controller

Country Status (1)

Country Link
JP (1) JPS63136302A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011014698A (en) * 2009-07-01 2011-01-20 Murata Mfg Co Ltd Electronic component

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011014698A (en) * 2009-07-01 2011-01-20 Murata Mfg Co Ltd Electronic component

Similar Documents

Publication Publication Date Title
JPH0443350B2 (en)
US3771125A (en) Error correcting system of a magnetic tape unit
US6111708A (en) Apparatus and method for detecting read/write gap failure and switching to an alternative read/write gap
JPS63136302A (en) Retrial control system for magnetic tape controller
US7167332B2 (en) Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position
US3274574A (en) Backhitching tape control
JP2565529Y2 (en) Magnetic tape unit
JPS63108506A (en) Re-trial control system for magnetic tape controller
JPH0750428B2 (en) Disk double writing controller
JPS59146466A (en) Magnetic tape recorder
JPS6050671A (en) Processing system of magnetic tape
JPH0440794B2 (en)
JPH04310671A (en) Disk controller
JPS6299964A (en) File controlling method when magnetic tape is abnormal
JPS6040508A (en) Error processing system of magnetic tape device
JPH0626964Y2 (en) Magnetic tape device
JPH0158580B2 (en)
JPS6292105A (en) Magnetic tape recording system
JPS61179747A (en) System for controlling space of printer
JPH04102274A (en) Control system for magnetic memory
JPS63177379A (en) Method for recaribrating floppy disk device
Cunningham The IBM hypertape system
JPS63191343A (en) Magnetic tape device
JPS6132721B2 (en)
JPS6027412B2 (en) Control device for peripheral storage devices