JPH0738263B2 - Magnetic tape file management device - Google Patents
Magnetic tape file management deviceInfo
- Publication number
- JPH0738263B2 JPH0738263B2 JP61314769A JP31476986A JPH0738263B2 JP H0738263 B2 JPH0738263 B2 JP H0738263B2 JP 61314769 A JP61314769 A JP 61314769A JP 31476986 A JP31476986 A JP 31476986A JP H0738263 B2 JPH0738263 B2 JP H0738263B2
- Authority
- JP
- Japan
- Prior art keywords
- magnetic tape
- writing
- trailer label
- label
- trailer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】 技術分野 本発明は磁気テープファイル管理装置に関し、特にデバ
ッグ用あるいはトラブル解析用のトレース情報を磁気テ
ープに出力する電子計算機システムにおける磁気テープ
ファイル管理装置に関する。TECHNICAL FIELD The present invention relates to a magnetic tape file management device, and more particularly to a magnetic tape file management device in an electronic computer system that outputs trace information for debugging or trouble analysis to a magnetic tape.
従来技術 従来、この種の電子計算機システムにおいては、デバッ
グやトラブル解析用のトレース情報を出力する処理主体
(たとえばユーティリティプログラムなど)がトレース
情報をいったん磁気テープに出力し、デバッグが終了し
た後に、あるいは、システムダウンなどのトラブルが起
きたときに、トレース情報が格納されている磁気テープ
からトレース情報を編集出力する運用となっている。2. Description of the Related Art Conventionally, in this type of electronic computer system, a processing entity (for example, a utility program) that outputs trace information for debugging and trouble analysis outputs the trace information to a magnetic tape once, and after the debugging is completed, or When a trouble such as system down occurs, the trace information is edited and output from the magnetic tape in which the trace information is stored.
この磁気テープファイルには編集出力のために、ヘッダ
ラベルとトレーララベルとが書込まれている必要があ
る。A header label and a trailer label must be written in this magnetic tape file for editing output.
このような従来の電子計算機システムでは、システムダ
ウン時においてトレース情報を出力する処理主体が磁気
テープにトレーララベルを書込めないため、システムの
再開始時に、ジョブの再開始によって磁気テープの存在
場所を突止め、磁気テープにトレーララベルを書込む動
作を行わなければならないという問題点があり、デバッ
グの終了時のようにシステムの再開始処理が不要な場合
には、手間が余計にかかって不便であるという欠点があ
った。In such a conventional computer system, the processing entity that outputs the trace information when the system is down cannot write the trailer label to the magnetic tape.Therefore, when the system is restarted, the location of the magnetic tape is changed by restarting the job. There is a problem that it is necessary to stop the operation and write the trailer label to the magnetic tape, and when the system restart processing is not necessary like at the end of debugging, it takes extra time and inconvenience. There was a drawback.
発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、システムダウン時における処理主体の再
開始処理により行われていたトレーララベルの書込み動
作を不要として、処理主体の開発工数を削減することが
でき、トレーララベルの書込み動作のための再開始処理
がなくともトレース情報が格納された磁気テープの編集
を可能とすることができる磁気テープファイル管理装置
の提供を目的とする。SUMMARY OF THE INVENTION The present invention has been made to eliminate the above-mentioned drawbacks of the prior art, and eliminates the need for the trailer label writing operation that was performed by the restart processing of the processing subject when the system went down, and An object of the present invention is to provide a magnetic tape file management device capable of reducing the development man-hours and capable of editing a magnetic tape storing trace information without restart processing for trailer label writing operation. To do.
発明の構成 本発明による磁気テープファイル管理装置は、磁気テー
プへのデータの書込みを行う電子計算機システムの磁気
テープファイル管理装置であって、前記磁気テープへの
トレーララベルの書込みの要否を予め保持する保持手段
(7)と、前記保持手段の内容が前記トレーララベルの
書込み要のときに前記データの書込み前に前記磁気テー
プを前記データの書込み量だけ先送りして前記トレーラ
ラベルの書込みを行うよう制御する制御手段(5)と、
前記保持手段の内容が前記トレーララベルの書込み否の
ときに前記制御手段により前記トレーララベルの書込み
を行うことなく前記データの書込みを行いかつ前記保持
手段の内容が前記トレーララベルの書込み要のときに前
記制御手段により前記トレーララベルの書込みが終了し
た後に前記磁気テープを巻戻して前記データの書込みを
行う手段(3,6)とを有することを特徴とする。The magnetic tape file management device according to the present invention is a magnetic tape file management device for an electronic computer system that writes data to a magnetic tape, and holds in advance whether or not it is necessary to write a trailer label to the magnetic tape. Holding means (7) for holding the trailer label and writing the trailer label by advancing the magnetic tape by the writing amount of the data before writing the data when the content of the holding means requires writing of the trailer label. Control means (5) for controlling,
When the content of the holding means is the writing of the trailer label and the writing of the data is performed by the control means without writing the trailer label, and the content of the holding means is the writing of the trailer label. After the trailer label has been written by the control means, the magnetic tape is rewound to write the data (3, 6).
実施例 次に、本発明の一実施例について図面を参照して説明す
る。Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。図
において、本発明の一実施例による電子計算機システム
は、電子計算機1と、磁気テープ2とにより構成されて
いる。電子計算機1はファイルオープン処理部3と、フ
ァイルクローズ処理部4と、自動磁気テープトレーララ
ベル書込み処理部5と、ファイル書込み処理部6と、オ
ープンファイル管理テーブル7とにより構成されてい
る。FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, an electronic computer system according to an embodiment of the present invention comprises an electronic computer 1 and a magnetic tape 2. The electronic computer 1 includes a file open processing unit 3, a file close processing unit 4, an automatic magnetic tape trailer label writing processing unit 5, a file writing processing unit 6, and an open file management table 7.
オープンファイル管理テーブル7にはファイル各8と自
動トレーララベル書込み要否9とが登録されている。In the open file management table 7, files 8 and automatic trailer label writing necessity 9 are registered.
第2図は本発明の一実施例の動作を説明するための図で
ある。図において、矢印aは磁気テープ2を先送りする
方向を示し、矢印bは磁気テープ2を巻戻す方向を示
す。FIG. 2 is a diagram for explaining the operation of one embodiment of the present invention. In the figure, an arrow a indicates the direction in which the magnetic tape 2 is advanced, and an arrow b indicates the direction in which the magnetic tape 2 is rewound.
第1図と第2図とを用いて本発明の一実施例の動作につ
いて説明する。The operation of the embodiment of the present invention will be described with reference to FIG. 1 and FIG.
図示せぬ処理主体(たとえばユーティリティプログラム
など)がトレース情報を出力するために、まず、磁気テ
ープファイルのオープンをファイルオープン処理部3へ
依頼すると、ファイルオープン処理部3では処理主体の
指定したファイル各8と自動磁気テープトレーララベル
書込み要否9とをオープンファイル管理テーブル7に登
録する。In order for a processing entity (not shown) (such as a utility program) to output trace information, first, the file open processing section 3 requests the file open processing section 3 to open a magnetic tape file. 8 and automatic magnetic tape trailer label writing necessity 9 are registered in the open file management table 7.
次に、磁気テープ2へのヘッダラベルの書込みが行われ
るが、処理主体の指定した自動磁気テープトレーララベ
ル書込み要否9が要だった場合には、自動磁気テープト
レーララベル書込み処理部5にトレース情報の出力デー
タ長にヘッダラベルの長さを加えて設定し、自動磁気テ
ープトレーララベル書込み処理を依頼し、その自動磁気
テープトレーララベル書込み処理が終了してからヘッダ
ラベルの磁気テープ2への書込みが行われる。Next, although the header label is written to the magnetic tape 2, if it is necessary to write the automatic magnetic tape trailer label 9 designated by the processing subject, the automatic magnetic tape trailer label writing processing unit 5 traces it. Set the output data length of information by adding the length of the header label, request the automatic magnetic tape trailer label writing process, and write the header label to the magnetic tape 2 after the automatic magnetic tape trailer label writing process is completed. Is done.
また、自動磁気テープトレーララベル書込み要否9が否
だった場合には、自動磁気テープトレーララベル書込み
処理を行わずにヘッダラベルの磁気テープ2への書込み
が行われる。If the automatic magnetic tape trailer label writing necessity 9 is negative, the header label is written on the magnetic tape 2 without performing the automatic magnetic tape trailer label writing process.
処理主体がトレース情報の出力をファイル書込み処理部
6に要求すると、ファイル書込み処理部6ではオープン
ファイル管理テーブル7の自動磁気テープトレーララベ
ル書込み要否9が要だった場合には、出力データ長とし
てトレース情報の長さを設定し、自動磁気テープトレー
ララベル書込み処理部5に自動磁気テープトレーララベ
ル書込み処理を依頼し、自動磁気テープトレーララベル
書込み処理が終了してから、磁気テープ2に出力データ
(トレース情報)21の書込みを行う。When the processing entity requests the file write processing unit 6 to output the trace information, the file write processing unit 6 outputs the output data length when the automatic magnetic tape trailer label write necessity 9 in the open file management table 7 is required. The length of the trace information is set, the automatic magnetic tape trailer label writing processing unit 5 is requested to perform the automatic magnetic tape trailer label writing processing, and after the automatic magnetic tape trailer label writing processing is completed, the output data ( (Trace information) 21 is written.
また、自動磁気テープトレーララベル書込み要否9が否
だった場合には、自動磁気テープトレーララベル書込み
処理を行わずに磁気テープ2への出力データ21の書込み
が行われる。If the necessity of writing the automatic magnetic tape trailer label is 9, the output data 21 is written to the magnetic tape 2 without performing the automatic magnetic tape trailer label writing process.
自動磁気テープトレーララベル書込み処理部5では自動
磁気テープトレーララベル書込み処理の依頼を受ける
と、トレース情報の出力データ長だけ磁気テープを矢印
aの方向に進ませ、トレーララベル22を書込み、出力デ
ータ長とトレーララベル長だけ磁気テープ2を矢印bの
方向に巻戻して出力データ書込み開始位置cを設定す
る。When the automatic magnetic tape trailer label writing processing unit 5 receives a request for automatic magnetic tape trailer label writing processing, the magnetic tape is advanced in the direction of arrow a by the output data length of the trace information, the trailer label 22 is written, and the output data length is written. Then, the magnetic tape 2 is rewound in the direction of arrow b by the trailer label length to set the output data writing start position c.
トレース情報の出力が終了すると、処理主体は磁気テー
プファイルのクローズをファイルクローズ処理部4へ依
頼する。ファイルクローズ処理部4ではオープンファイ
ル管理テーブル7の自動磁気テープトレーララベル書込
み要否9が要だった場合には、トレーララベル22の書込
みをすでに行っているのでトレーララベル22の書込みを
行わない。自動磁気テープトレーララベル書込み要否9
が否だった場合には、トレーララベル22の書込みを行
う。最後に、自動磁気テープトレーララベル書込み要否
9に関わらずオープンファイル管理テーブル7のファイ
ル名8と自動磁気テープトレーララベル書込み要否9と
を削除する。When the output of the trace information is completed, the processing entity requests the file close processing unit 4 to close the magnetic tape file. When it is necessary to write the automatic magnetic tape trailer label 9 in the open file management table 7 in the file close processing unit 4, since the trailer label 22 has already been written, the trailer label 22 is not written. Automatic magnetic tape trailer label writing necessity 9
If No, the trailer label 22 is written. Finally, the file name 8 and the automatic magnetic tape trailer label writing necessity 9 of the open file management table 7 are deleted regardless of the automatic magnetic tape trailer label writing necessity 9.
以上のように、自動磁気テープトレーララベル書込み要
否9を判定して自動磁気テープトレーララベル書込み処
理を行う。As described above, whether or not the automatic magnetic tape trailer label writing is necessary is determined and the automatic magnetic tape trailer label writing process is performed.
このように、磁気テープ2へのトレーララベル22の書込
みをトレース情報(出力データ21)の書込み前に行うよ
うに指示があるとき、磁気テープ2を出力データ長だけ
先送りしてトレーララベル22を書込み、出力データ長と
トレーララベル22の長さとの分だけ磁気テープ2を巻戻
してトレース情報の書込みを行うようにすることによっ
て、システムダウン時における従来処理主体の再開始処
理などによって行っていたトレーララベル22の書込み処
理が不要になり、各処理主体の開発工数の削減を図るこ
とができ、トレーララベル22の書込みのための再開始処
理がなくてもトレース情報が格納された磁気テープ2の
編集が可能となる。In this way, when there is an instruction to write the trailer label 22 to the magnetic tape 2 before writing the trace information (output data 21), the magnetic tape 2 is advanced by the output data length and the trailer label 22 is written. By rewinding the magnetic tape 2 by the amount of the output data length and the length of the trailer label 22 to write the trace information, the trailer which has been performed by the restart processing of the conventional processing main body when the system is down. Since the writing process of the label 22 is not required, it is possible to reduce the development man-hours of each processing entity, and the editing of the magnetic tape 2 in which the trace information is stored without the restart process for writing the trailer label 22. Is possible.
尚、本発明の一実施例ではトレース情報の磁気テープ2
への書込みについて述べたが、トレース情報以外のデー
タの書込みにも適用できることは明白である。In the embodiment of the present invention, the magnetic tape 2 for trace information is used.
However, it is obvious that the present invention can be applied to the writing of data other than the trace information.
発明の効果 以上説明したように本発明によれば、磁気テープへのト
レーララベルの書込みをデータの書込み前に行うように
指示があるとき、磁気テープをそのデータの書込み量だ
け先送りしてからトレーララベルを書込み、磁気テープ
を巻戻してからデータの書込みを行うようにすることに
よって、システムダウン時における処理主体の再開始処
理により行われていたトレーララベルの書込み動作を不
要として、処理主体の開発工数を削減することができ、
トレーララベルの書込み動作のための再開発処理がなく
ともトレース情報が格納された磁気テープの編集を可能
とすることができるという効果がある。As described above, according to the present invention, when it is instructed to write the trailer label to the magnetic tape before writing the data, the trailer is advanced by the write amount of the data and then the trailer. By writing the label and rewinding the magnetic tape before writing the data, the trailer label writing operation that was performed by the restart processing of the processing subject when the system went down is eliminated, and the processing subject is developed. Can reduce man-hours,
Even if there is no redevelopment processing for writing the trailer label, there is an effect that the magnetic tape storing the trace information can be edited.
第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例の動作を説明するための図である。 主要部分の符号の説明 2……磁気テープ 5……自動磁気テープトレーララベル書込み処理部 7……オープンファイル管理テーブル 9……自動磁気テープトレーララベル書込み要否FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram for explaining the operation of the embodiment of the present invention. Explanation of main part code 2 …… Magnetic tape 5 …… Automatic magnetic tape trailer label writing processing unit 7 …… Open file management table 9 …… Automatic magnetic tape trailer label writing necessity
Claims (1)
計算機システムの磁気テープファイル管理装置であっ
て、前記磁気テープへのトレーララベルの書込みの要否
を予め保持する保持手段と、前記保持手段の内容が前記
トレーララベルの書込み要のときに前記データの書込み
前に前記磁気テープを前記データの書込み量だけ先送り
して前記トレーララベルの書込みを行うよう制御する制
御手段と、前記保持手段の内容が前記トレーララベルの
書込み否のときに前記制御手段により前記トレーララベ
ルの書込みを行うことなく前記データの書込みを行いか
つ前記保持手段の内容が前記トレーララベルの書込み要
のときに前記制御手段により前記トレーララベルの書込
みが終了した後に前記磁気テープを巻戻して前記データ
の書込みを行う手段とを有することを特徴とする磁気テ
ープファイル管理装置。1. A magnetic tape file management device of an electronic computer system for writing data to a magnetic tape, comprising: holding means for holding in advance whether or not it is necessary to write a trailer label to the magnetic tape; and the holding means. When the content of the trailer label is required to be written, control means for controlling to write the trailer label by advancing the magnetic tape by the write amount of the data before writing the data, and the content of the holding means. When the trailer label is not written, the controller writes the data without writing the trailer label, and the holding means writes the data when the trailer label needs to be written by the controller. Means for rewinding the magnetic tape and writing the data after the trailer label has been written Magnetic tape file management apparatus characterized by having a.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61314769A JPH0738263B2 (en) | 1986-12-25 | 1986-12-25 | Magnetic tape file management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61314769A JPH0738263B2 (en) | 1986-12-25 | 1986-12-25 | Magnetic tape file management device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63164073A JPS63164073A (en) | 1988-07-07 |
| JPH0738263B2 true JPH0738263B2 (en) | 1995-04-26 |
Family
ID=18057364
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61314769A Expired - Fee Related JPH0738263B2 (en) | 1986-12-25 | 1986-12-25 | Magnetic tape file management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0738263B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5730133A (en) * | 1980-07-30 | 1982-02-18 | Fuji Facom Corp | Magnetic tape file for logging |
-
1986
- 1986-12-25 JP JP61314769A patent/JPH0738263B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63164073A (en) | 1988-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0738263B2 (en) | Magnetic tape file management device | |
| JPH0789328B2 (en) | Data processing device | |
| JP3138575B2 (en) | File copy transfer method | |
| JPH027096B2 (en) | ||
| JPH0793101A (en) | Data backup device | |
| JPH0895835A (en) | Method for reserving file space | |
| JPH03216743A (en) | Parallel saving system for data base | |
| JPH05346867A (en) | Processor for restarting data transfer | |
| JP3022011B2 (en) | Data backup system | |
| JP2524620B2 (en) | Input / output control method | |
| JP2573559B2 (en) | Update file save method | |
| JPS5968067A (en) | Specifying system for number of run steps | |
| JPH05113854A (en) | Disk device with buffer | |
| JPH03218545A (en) | Pre-loading system for main storage | |
| JPS62245347A (en) | Database systems and their processing methods | |
| JP2561399B2 (en) | Rewritable magneto-optical disk device | |
| JPS6254348A (en) | Processing system for fault of file | |
| JPH0319014A (en) | Area control system for optical disk medium | |
| JP2771986B2 (en) | Magnetic tape unit | |
| JP3110391B2 (en) | Program re-execution method | |
| JPH07334313A (en) | Copying method for magnetic disk device | |
| JPS63175283A (en) | Writing system for tray label of automatic magnetic tape file | |
| JPH01116851A (en) | Program loading control method | |
| JPS61248124A (en) | Input precedence control system | |
| JPH0281141A (en) | Trace control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |