[go: up one dir, main page]

JPH0668717B2 - Magnetic tape file processing method - Google Patents

Magnetic tape file processing method

Info

Publication number
JPH0668717B2
JPH0668717B2 JP62036983A JP3698387A JPH0668717B2 JP H0668717 B2 JPH0668717 B2 JP H0668717B2 JP 62036983 A JP62036983 A JP 62036983A JP 3698387 A JP3698387 A JP 3698387A JP H0668717 B2 JPH0668717 B2 JP H0668717B2
Authority
JP
Japan
Prior art keywords
magnetic tape
volume
file
processing unit
unit
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 - Lifetime
Application number
JP62036983A
Other languages
Japanese (ja)
Other versions
JPS63204317A (en
Inventor
正 福永
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 JP62036983A priority Critical patent/JPH0668717B2/en
Publication of JPS63204317A publication Critical patent/JPS63204317A/en
Publication of JPH0668717B2 publication Critical patent/JPH0668717B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔概要〕 本発明は、情報処理システムのデータ管理部の媒体チェ
ック部が、装着されたボリュームがファイルの先頭ボリ
ュームでない場合には、その旨を操作卓に表示して操作
者の判断を促し、操作卓からオープンする旨の通知があ
った場合にはそのままオープン処理せしめる問い合わせ
部と、ボリュームの最終を検出したとき、ファイルの最
終でなくても、操作卓からクローズする旨の通知があっ
た場合には、正常終了の処置をさせる正常終了処理部と
を設けたことにより、複数個の磁気テープボリュームに
またがるファイルを、任意のボリュームでオープンある
いはクローズ可能としたものである。
DETAILED DESCRIPTION OF THE INVENTION [Outline] According to the present invention, when the mounted volume is not the head volume of a file, the medium check section of the data management section of the information processing system displays that fact on the operator console. The inquiry part that prompts the operator to make a decision, and if there is a notification to open from the console, it will open the process as it is, and when the end of the volume is detected, it will close from the console even if it is not the end of the file When a notification to that effect is sent, a normal termination processing unit that handles the normal termination is provided, so that files that span multiple magnetic tape volumes can be opened or closed with any volume. is there.

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

本発明は情報処理システムにおける磁気テープファイル
の処理方式に関する。
The present invention relates to a magnetic tape file processing method in an information processing system.

〔従来の技術〕[Conventional technology]

情報処理システムで用いる磁気テープボリュームには、
標準のラベル形式が定められている。即ち、各ボリュー
ムの始めと終わりにボリュームラベルが、また各ファイ
ルの始めと終わりにファイルラベルが記録されている。
このような磁気テープボリュームに対する読み書きに際
しては、オペレーティングシステム(以下単にOSと略
記する)のデータ管理部が、上記ボリュームラベル及び
ファイルラベルを参照することにより、所望のファイル
を識別する。
Magnetic tape volume used in information processing system,
A standard label format is defined. That is, a volume label is recorded at the beginning and end of each volume, and a file label is recorded at the beginning and end of each file.
When reading / writing such a magnetic tape volume, a data management unit of an operating system (hereinafter simply referred to as OS) refers to the volume label and the file label to identify a desired file.

近年に至り情報処理システム上で稼働する各種システム
が大規模化するのに伴い、データ量も飛躍的に増大し、
1個のファイルが複数個の磁気テープボリュームにまた
がって存在する例が出現している。
With the recent increase in the scale of various systems operating on information processing systems, the amount of data has increased dramatically,
There is an example in which one file exists across a plurality of magnetic tape volumes.

磁気テープボリュームにはこのような複数ボリューム/
単ファイル構成のファイル以外に、1ボリューム上にフ
ァイルが1個のみ存在する単ボリューム/単ファイル,
1ボリューム上に複数ファイルが存在する単ボリューム
/複数ファイル等種々の構成があるが、現在の情報処理
システムにおいては、ファイルを処理する場合には、所
望のレコードを常にファイルの先頭から探して行き、フ
ァイルの最終に記録されている‘End Of Fil
e’マークを見出した時始めて処理を終了するようにな
っている。
For magnetic tape volume, multiple volumes such as
In addition to files with a single file structure, a single volume / single file in which only one file exists on one volume,
There are various configurations such as single volume / multiple files in which multiple files exist on one volume. In the current information processing system, when processing a file, the desired record is always searched from the beginning of the file. , 'End Of Fil' recorded at the end of the file
The process is ended when the e'mark is found.

通常の業務処理においてはこれで問題はないが、時とし
て特定のレコードのみを処理する必要を生じることがあ
る。このような場合でもファイルの先頭から所望のレコ
ードを探して行く現在の方式では、ファイルが複数ボリ
ュームにまたがる場合でも、先頭のボリュームから順番
に所望のレコードが見つかるまで磁気テープを空読みす
ることになり、特定レコードの処理が終了した後も、正
常終了させるためには、ファイルの終わりを検出するま
で磁気テープを空読みする必要があり、無駄な時間を消
費し、手数も煩雑である。
This is fine for normal business processing, but sometimes it may be necessary to process only specific records. Even in such a case, the current method of searching for the desired record from the beginning of the file is such that even if the file spans multiple volumes, the magnetic tape is idle read until the desired record is found in order from the beginning volume. Therefore, even after the processing of the specific record is completed, it is necessary to idle-read the magnetic tape until the end of the file is detected in order to end normally, which consumes wasteful time and is troublesome.

そこで所望のレコードが記録されているボリュウムのみ
を処理させようとしても、データ管理部がシーケンスチ
ェックを行っているため、最初に先頭ボリュームをセッ
トしないと、シーケンスが正常でないためエラーとな
り、処理を実行することができない。
Therefore, even if you try to process only the volume in which the desired record is recorded, the data management section performs a sequence check.If you do not set the first volume first, an error occurs because the sequence is not normal and the process is executed. Can not do it.

〔発明が解決しようとする問題点〕 上述のように従来は、複数ボリューム/単ファイル構成
の場合、特定ボリュームのみを処理することができず、
手数が煩雑であるとともに無駄な時間を消費するという
不都合を生じる。
[Problems to be Solved by the Invention] As described above, conventionally, in the case of a multiple volume / single file configuration, only a specific volume cannot be processed,
There is an inconvenience that it is troublesome and wastes time.

そこで本発明においては、一つのファイルが複数ボリュ
ームにまたがって存在する場合に、特定のボリュームの
みを処理可能とすることを目的とする。
Therefore, it is an object of the present invention to enable processing of only a specific volume when one file exists across a plurality of volumes.

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

本発明は、情報処理システムを制御するオペレーティン
グシステムの一部を構成し、オープン処理部とクローズ
処理部と媒体チェック部を具えたデータ管理部の制御の
もとで、複数個の磁気テープボリュームにまたがるファ
イルを取り扱うに際し、上記媒体チェック部に、装着さ
れた磁気テープボリュームの通番に異常を検出したとき
操作卓に処置の判断を促すメッセージを表示させ、操作
卓からオープンする旨の通知があったときは、上記オー
プン処理部にその磁気テープボリュームをオープンせし
める問い合わせ部と、最終ボリューム以外のボリューム
においてクローズする旨操作卓から通知された場合に、
クローズ処理部に正常終了させる正常終了処理部を設け
たことにより、任意のボリュームでオープンあるいはク
ローズ可能とした。
The present invention constitutes a part of an operating system for controlling an information processing system, and controls a plurality of magnetic tape volumes under the control of a data management unit including an open processing unit, a close processing unit and a medium checking unit. When handling a straddling file, the medium check section displayed a message prompting the operator to judge the action when an abnormality was detected in the serial number of the mounted magnetic tape volume, and the operator console notified that the file should be opened. In this case, when the inquiring section for opening the magnetic tape volume in the open processing section and the operator console to close the volume other than the final volume are notified,
By providing a normal end processing unit for normal termination in the close processing unit, it is possible to open or close with any volume.

〔作用〕[Action]

媒体チェック部はファイルをオープンする際に装着され
たボリュームがそのファイルの先頭ボリュームでない時
は、操作者からの指令に基づいてそのままオープン可能
とし、最終ボリュームでなくても、これまた操作者の指
令に基づいてクローズ処理可能としたことにより、1個
のファイルが複数個の磁気テープボリュームにまたがる
場合に、特定のボリュームだけを処理することが可能と
なる。
The medium check part, if the volume mounted when opening a file is not the top volume of the file, it will be able to open as it is based on the command from the operator, and even if it is not the final volume, this will also be the command of the operator. By enabling the close processing based on the above, it becomes possible to process only a specific volume when one file spans a plurality of magnetic tape volumes.

〔実施例〕〔Example〕

以下本発明の一実施例を、第1図(a),(b)を参照しなが
ら説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 (a) and 1 (b).

今ユーザプログラム3等の応用プログラムにより、複数
個の磁気テープボリューム5にまたがるファイルのう
ち、特定の磁気テープボリューム5′のみを処理しよう
としているものとする。
Now, it is assumed that an application program such as the user program 3 is going to process only a specific magnetic tape volume 5 ′ among the files extending over the plurality of magnetic tape volumes 5.

この磁気テープボリューム5′を磁気テープ装置(図示
せず)に装着し、ユーザプログラム3を起動して処理を
実行しようとした時、データ管理部2の媒体管理部6中
の通番管理部8によりボリューム通番がチェックされ、
この磁気テープボリューム5′がファイルの先頭のボリ
ュームでない場合には、従来は前述したようにシーケン
スエラーとなり、ユーザプログラム3を走行させること
ができなかった。
When this magnetic tape volume 5'is mounted in a magnetic tape device (not shown) and the user program 3 is started to execute processing, the serial number management unit 8 in the medium management unit 6 of the data management unit 2 Volume serial number is checked,
If the magnetic tape volume 5'is not the head volume of the file, the sequence error occurs and the user program 3 cannot be run conventionally as described above.

本実施例においては同図(b)に見られる如く、上記デー
タ管理部2の媒体チェック部6に、問い合わせ部11と正
常終了処理部12を付設した。なお、図中、1はデータ管
理部2等から構成されるオペレーティングシステム、4
は操作卓、7はオープン処理部、9はクローズ処理部で
ある。
In this embodiment, as shown in FIG. 2B, the medium check unit 6 of the data management unit 2 is additionally provided with an inquiry unit 11 and a normal termination processing unit 12. In the figure, 1 is an operating system including a data management unit 2 and 4
Is an operation console, 7 is an open processing unit, and 9 is a close processing unit.

本実施例においてはかかる場合に、問い合わせ部11が操
作卓4の表示画面に、シーケンスエラーであること、及
びどのように処置するか判断を促すメッセージを表示す
る。本実施例では上記磁気テープボリューム5′のみを
処理したいのであるから、操作者はここで現在装着され
ているボリュームをオープンする旨、操作卓4を介して
回答する。
In this case, in the present embodiment, the inquiry unit 11 displays a message on the display screen of the operator console 4 for prompting the user to judge that there is a sequence error and how to deal with it. In this embodiment, since it is desired to process only the magnetic tape volume 5 ', the operator replies via the console 4 that the volume currently mounted is opened here.

問い合わせ部11はこの操作卓4からの通知に従って以後
の処置を実行するのであるが、この場合には、シーケン
スエラーとせず、オープン処理部7に当該ボリューム
5′に対してオープン処理を実行させる。
The inquiry unit 11 executes the subsequent processing according to the notification from the operator console 4. In this case, the open processing unit 7 causes the open processing unit 7 to execute the open processing without causing a sequence error.

この磁気テープボリューム5′内のレコードに対する処
理を終了し、ボリュームの最終が検出されると、問い合
わせ部11は、引き続いて次のボリュームの処理を行う
か、或いはファイルの終了(EOF)の扱いとするかを
問い合わせるメッセージを操作卓4に表示せしめる。こ
こで操作者が操作卓4を介してクローズする旨指令する
と、問い合わせ部11は正常終了処理部12にこれを転送
し、正常終了処理部12は正常終了するためにファイル終
了の条件を成立させた後、クローズ処理部9に上記ユー
ザプログラム3のクローズ処理を行わせる。これにより
ユーザプログラム3は正常終了するので、システム全体
の運営に悪影響を及ぼすことはない。
When the processing for the record in the magnetic tape volume 5'is completed and the end of the volume is detected, the inquiry unit 11 continues to process the next volume or handles the end of file (EOF). A message asking whether to do this is displayed on the console 4. Here, when the operator gives a command to close via the console 4, the inquiry unit 11 transfers it to the normal end processing unit 12, and the normal end processing unit 12 establishes a file end condition for normal end. After that, the close processing unit 9 is caused to perform the close processing of the user program 3. As a result, the user program 3 ends normally, so that the operation of the entire system is not adversely affected.

〔発明の効果〕〔The invention's effect〕

以上説明した如く本発明によれば、プログラムで考慮し
なくても、必要なボリュームのみ扱えるので、処理時間
が短くてすみ、無駄なハンドリング時間が不要となり、
また特定ボリュームのみを扱うためのプログラムが簡単
化される。
As described above, according to the present invention, only a necessary volume can be handled without considering it by a program, so that the processing time can be shortened and unnecessary handling time can be eliminated.
Also, the program for handling only the specific volume is simplified.

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

第1図(a)及び(b)は本発明の一実施例説明図である。 図において、1はオペレーティングシステム、2はデー
タ管理部、3はユーザプログラムのような応用プログラ
ム、4は操作卓、5,5′は磁気テープボリューム、6
は媒体チェック部、7はオープン処理部、8は通番管理
部、9はクローズ処理部、11は問い合わせ部、12は正常
終了処理部を示す。
1 (a) and 1 (b) are explanatory views of an embodiment of the present invention. In the figure, 1 is an operating system, 2 is a data management unit, 3 is an application program such as a user program, 4 is a console, 5 and 5'are magnetic tape volumes, 6
Is a medium check unit, 7 is an open processing unit, 8 is a serial number management unit, 9 is a close processing unit, 11 is an inquiry unit, and 12 is a normal end processing unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】磁気テープボリューム(5,5′)に格納さ
れたファイルを応用プログラム(3)と結合してレコード
を入出力可能な環境を作成するオープン処理部(7)と、
該オープン処理部により結合されたファイルと応用プロ
グラムとを切り離すクローズ処理部(9)と、レコードの
入出力を行う磁気テープボリュームの通番管理を行う媒
体チェック部(6)とを具えたデータ管理部(2)に、 前記媒体チェック部(6)が、応用プログラム(3)の要求に
従って装着された磁気テープボリューム(5′)の通番に
異常を検出したとき、操作卓(4)に判断を促すメッセー
ジを表示せしめるとともに、操作卓から当該磁気テープ
ボリューム(5′)をオープンする旨通知されると、前記
オープン処理部(7)に前記磁気テープボリューム(5′)を
オープンせしめる問い合わせ部(11)と、 操作卓からオープンされている磁気テープボリューム
(5′)をクローズする旨の通知を受け取った場合には、
ファイル終了の処置を施した後前記クローズ処理部(9)
に応用プログラム(3)をクローズせしめる正常終了処理
部(12)とを設け、 複数個の磁気テープボリュームにまたがって存在するフ
ァイルを、任意のボリュームでオープン及びクローズ可
能としたことを特徴とする磁気テープファイルの処理方
式。
1. An open processing unit (7) for creating an environment in which records can be input / output by combining files stored in a magnetic tape volume (5, 5 ′) with an application program (3),
A data management unit including a close processing unit (9) for separating the file and the application program combined by the open processing unit and a medium check unit (6) for managing the serial number of the magnetic tape volume for inputting and outputting records. In (2), when the medium check unit (6) detects an abnormality in the serial number of the magnetic tape volume (5 ') mounted according to the request of the application program (3), prompts the operator (4) to make a judgment. When a message is displayed and the operator console notifies that the magnetic tape volume (5 ') is to be opened, the inquiry section (11) for opening the magnetic tape volume (5') in the open processing section (7). And the magnetic tape volume opened from the console
If you receive a notice to close (5 '),
After the end of file is processed, the close processing unit (9)
A normal termination processing unit (12) for closing the application program (3) is provided in the magnetic field, and files existing over multiple magnetic tape volumes can be opened and closed by any volume. Tape file processing method.
JP62036983A 1987-02-19 1987-02-19 Magnetic tape file processing method Expired - Lifetime JPH0668717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62036983A JPH0668717B2 (en) 1987-02-19 1987-02-19 Magnetic tape file processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62036983A JPH0668717B2 (en) 1987-02-19 1987-02-19 Magnetic tape file processing method

Publications (2)

Publication Number Publication Date
JPS63204317A JPS63204317A (en) 1988-08-24
JPH0668717B2 true JPH0668717B2 (en) 1994-08-31

Family

ID=12484985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62036983A Expired - Lifetime JPH0668717B2 (en) 1987-02-19 1987-02-19 Magnetic tape file processing method

Country Status (1)

Country Link
JP (1) JPH0668717B2 (en)

Also Published As

Publication number Publication date
JPS63204317A (en) 1988-08-24

Similar Documents

Publication Publication Date Title
JP4990442B2 (en) Storage control device and computer system
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
WO2022083236A1 (en) Animated video backup method and apparatus therefor, and animated video management method and apparatus therefor
JPH0668717B2 (en) Magnetic tape file processing method
JP3120493B2 (en) Data processing device
JPH07320026A (en) Image data processing system
JPH03246645A (en) Data management system
JP2669042B2 (en) Automatic volume incorporation processing method in business programs
JPH10275107A (en) System and method for data registration
JP2000353116A (en) Data processing system and recording medium
JPH09134300A (en) Error log editing system
JP3129254B2 (en) Book output management system
JPH1125355A (en) Electronic journal device
JPS62229345A (en) File multiplexing system
JPH04315217A (en) Cd-rom library control system
JPH09218809A (en) File information confirmation apparatus and method
JP2000047917A (en) File managing method and filing system
JPH0644202A (en) Operation system for information processing system
JPH05257773A (en) File managing system
JPH044427A (en) Executed patch checking system
JPH08147332A (en) Data gathering device
JP2001209526A (en) System and method for extracting system information in computer system
JPH0283724A (en) Information processor
JPS6227820A (en) Data input and output control device
JPH08171611A (en) Character recognition system