JPH02224156A - File saving system - Google Patents

File saving system

Info

Publication number
JPH02224156A
JPH02224156A JP1045747A JP4574789A JPH02224156A JP H02224156 A JPH02224156 A JP H02224156A JP 1045747 A JP1045747 A JP 1045747A JP 4574789 A JP4574789 A JP 4574789A JP H02224156 A JPH02224156 A JP H02224156A
Authority
JP
Japan
Prior art keywords
medium
saving
file
name
file saving
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
JP1045747A
Other languages
Japanese (ja)
Inventor
Hisami Ishii
石井 久美
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 JP1045747A priority Critical patent/JPH02224156A/en
Publication of JPH02224156A publication Critical patent/JPH02224156A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten a processing time by successively starting a medium initializing means for initializing a saving medium with an optional medium name to a new medium and a file saving means for saving a file to the initialized medium by a medium control means to execute file saving. CONSTITUTION:The medium initializing means 3 accessed by the medium control means 2 commands a user to set up a saving medium on a device, and when the user sets up the medium on the device, adds the value of a medium number counter to an inputted medium control name, allocates a unique medium name and initializes the medium to a savable state. The file saving means 4 accessed by the means 2 reads out the contents of the file stored in a secondary storage device 1 and writes the contents of the read file in a magnetic tape 5. Consequently, a series of processing time are saved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はファイル退避方式に関し、特に記憶媒体上のフ
ァイルを磁気テープなどの退避手段へ退避するファイル
退避方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a file saving method, and more particularly to a file saving method for saving files on a storage medium to a saving means such as a magnetic tape.

(従来の技術) 従来、この種のファイル退避方式においては、使用者が
ファイルを退避するために必要な数の媒体を媒体初期化
プログラムを用いて、前もって媒体名を付け、退避可能
な状態に初期化しておく必要があり、初期化済みの媒体
にファイル退避プログラムを用いてファイルを退避して
いた。
(Prior art) Conventionally, in this type of file saving method, the user uses a media initialization program to name the media in advance for the number of media necessary for saving files, and prepares them in a state in which they can be saved. It was necessary to initialize the media, and files were saved to the initialized medium using a file saving program.

(発明が解決しようとする課題) 上述した従来の退避方式では、ファイル退避を媒体の初
期化処理と退避処理とに分けて、別々に行っているなめ
、使用者が常にAllの管理をしていなければならず、
そのうえ初期化処理とが個々に独立しているため一連の
処理に時間がかかるという欠点がある。
(Problem to be Solved by the Invention) In the conventional saving method described above, file saving is divided into medium initialization processing and saving processing and performed separately, so the user does not have to constantly manage All files. must,
Furthermore, since the initialization processing is performed independently, there is a drawback that the series of processing takes time.

(課題を解決するための手段) 本発明によるファイル退避方式は、記憶媒体上のファイ
ルを磁気テープなどの退避媒体へ退避するファイル退避
方式において、任意の媒体名の退避媒体を新しい媒体名
にし、ファイルの退避が可能な媒体を作成する媒体初期
化手段と、前記媒体初期化手段により初期化された媒体
に前記記憶媒体上のファイルを退避するファイル退避手
段と、前記媒体初期化手段と前記ファイル退避手段を順
次に起動する媒体管理手段とを含む。
(Means for Solving the Problems) A file saving method according to the present invention is a file saving method in which files on a storage medium are saved to a saving medium such as a magnetic tape. a medium initializing means for creating a medium on which files can be saved; a file saving means for saving files on the storage medium to a medium initialized by the medium initializing means; the medium initializing means and the files; and a medium management means that sequentially activates the saving means.

(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

本発明によるファイル退避方式の一実施例は、第1図に
示す如く、二次記憶装r!!、1と、媒体管理手段2と
、媒体初期化手段3と、ファイル退避手段4と、磁気テ
ープ5とから構成されており、二次記憶装置1から磁気
テープ5への退避を行う。
An embodiment of the file saving method according to the present invention is as shown in FIG. ! , 1, a medium management means 2, a medium initialization means 3, a file saving means 4, and a magnetic tape 5, and saves data from the secondary storage device 1 to the magnetic tape 5.

以下、本実施例の動作を、主要構成部である媒体管理手
段2、媒体初期化手段3およびファイル退避手段4につ
いて、各手段の処理流れを示す第2図、第3図および第
4図を参照しながら説明する。
The operation of this embodiment will be described below with reference to FIGS. 2, 3, and 4, which show the processing flow of each means, regarding the main components of the medium management means 2, medium initialization means 3, and file saving means 4. I will explain while referring to it.

まず、媒体管理手段2は第2図の流れ図における媒体情
報入力ステップ21により二次記憶装置1内のファイル
を退避するのに必要な媒体の数と、ユニークな媒体名を
付けるなめに必要な媒体管理基を取り込む。次に媒体初
期化手段が呼び出しステップ22により!#:初期化手
段3を呼び出し、ファイル退避手段呼び出しステップ2
3によりファイル退避手段4を呼び出す。その後、媒体
数カウントアツプ24で処理した媒体の数を管理する媒
体数カウンタに1加算し、媒体数比較ステップ25によ
り媒体情報入力ステップ21で取り込んだ必要媒体数と
前記カウンタを比較し、必要媒体数が前記カウンタの値
より大きい間、媒体初期化手段呼び出しステップ22と
、ファイル退避手段呼び出しステップ23と、媒体数カ
ウントアツプ24と、媒体数比較25を繰り返す。
First, the media management means 2 determines the number of media required to save files in the secondary storage device 1 and the number of media required to give a unique media name through the media information input step 21 in the flowchart of FIG. Import management group. Next, the medium initialization means calls ! by step 22! #: Initialization means 3 is called, file saving means is called step 2
3 calls the file saving means 4. Thereafter, in the medium number count up 24, 1 is added to the medium number counter that manages the number of processed media, and in the medium number comparison step 25, the required number of media taken in in the medium information input step 21 is compared with the counter, and the required number of media is While the number is greater than the value of the counter, the medium initialization means calling step 22, the file saving means calling step 23, the medium number count up 24, and the medium number comparison 25 are repeated.

次に、媒体初期化手段3とファイル退避手段4について
説明する。
Next, the medium initialization means 3 and the file saving means 4 will be explained.

媒体初期化手段呼び出しステップ22で媒体管理手段2
に呼び出された媒体初期化手段3では、第3図に示す如
く、媒体のマウント要求ステップ31で使用者に退避媒
体の装置へのセットを求め、装置マウントステップ32
で使用者が装置への媒体のセットを行うと、媒体名設定
ステップ33で媒体情報入力ステップ21で入力された
媒体管理基に前記媒体数カウンタの値を付加し、ユニー
クな媒体名を付け、初期化ステップ34で退避可能な状
態に媒体を初期化する。
In the medium initialization means calling step 22, the medium management means 2
As shown in FIG. 3, the medium initialization means 3 called up requests the user to set the evacuation medium in the device in the medium mount request step 31, and then requests the user to set the evacuation medium in the device in the device mount step 32.
When the user sets a medium in the device, in a medium name setting step 33, the value of the medium number counter is added to the medium management base inputted in the medium information input step 21, and a unique medium name is given. In an initialization step 34, the medium is initialized to a state in which it can be saved.

また、ファイル退避手段呼び出しステップ23で媒体管
理手段2に呼び出されたファイル退避手段4では、入カ
フアイル読み込みステップ41で二次記憶装置1内のフ
ァイルの内容を読み、出力フアイル書き出しステップ4
2で磁気テープ5に入カフアイル読み込みステップ41
で読んだファイルの内容を書き出す。
Further, the file saving means 4 called by the medium management means 2 in the file saving means calling step 23 reads the contents of the file in the secondary storage device 1 in the input file reading step 41, and reads the contents of the file in the secondary storage device 1 in the output file writing step 4.
2, enter the magnetic tape 5 in the file reading step 41
Write out the contents of the file read.

(発明の効果) 以上詳細に説明したように本発明は、媒体管理手段によ
り、任意の媒体名の退避媒体を新しい媒体にする媒体初
期化手段および初期化された媒体にファイルを退避せし
めるファイル退避手段を順次に起動し、ファイル退避を
行っているのでファイルを出力する媒体の管理が容易に
なるだけでなく、処理時間短縮が可能となり、特にマル
チボリュームでのファイルの退避に効果がある。
(Effects of the Invention) As described above in detail, the present invention provides a medium initialization means that uses a media management means to convert a saved medium with an arbitrary medium name into a new medium, and a file saving means that saves files to the initialized medium. Since the means are activated sequentially and files are saved, it is not only easier to manage the media on which files are output, but also the processing time can be shortened, which is particularly effective for saving files in multi-volumes.

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

第1図は本発明によるファイル退避方式の一実施例を示
す構成図、第2図は第1図におけるiA陣管理手段2の
処理手順を示す流れ図、第3図は第1図における媒体初
期化手段3の処理手順を示す流れ図、第4図は第1図に
おけるファイル退避手段4の処理手順を示す流れ図であ
る。 1・・・二次記憶装置、2・・・媒体管理手段、3・・
・媒体初期化手段、4・・・ファイル退避手段、5・・
・磁気テープ。
FIG. 1 is a block diagram showing an embodiment of the file saving method according to the present invention, FIG. 2 is a flowchart showing the processing procedure of the iA team management means 2 in FIG. 1, and FIG. 3 is the medium initialization in FIG. 1. 4 is a flowchart showing the processing procedure of the means 3. FIG. 4 is a flowchart showing the processing procedure of the file saving means 4 in FIG. 1... Secondary storage device, 2... Media management means, 3...
・Media initialization means, 4...File saving means, 5...
·Magnetic tape.

Claims (1)

【特許請求の範囲】[Claims] 記憶媒体上のファイルを磁気テープなどの退避媒体へ退
避するファイル退避方式において、任意の媒体名の退避
媒体を新しい媒体名にし、ファイルの退避が可能な媒体
を作成する媒体初期化手段と、前記媒体初期化手段によ
り初期化された媒体に前記記憶媒体上のファイルを退避
するファイル退避手段と、前記媒体初期化手段と前記フ
ァイル退避手段を順次に起動する媒体管理手段とを含む
ことを特徴とするファイル退避方式。
In a file saving method for saving files on a storage medium to a saving medium such as a magnetic tape, a medium initializing means for changing a saving medium having an arbitrary medium name to a new medium name to create a medium on which files can be saved; The storage medium is characterized by comprising a file saving means for saving files on the storage medium to a medium initialized by the medium initializing means, and a medium management means for sequentially activating the medium initializing means and the file saving means. File saving method.
JP1045747A 1989-02-27 1989-02-27 File saving system Pending JPH02224156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045747A JPH02224156A (en) 1989-02-27 1989-02-27 File saving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045747A JPH02224156A (en) 1989-02-27 1989-02-27 File saving system

Publications (1)

Publication Number Publication Date
JPH02224156A true JPH02224156A (en) 1990-09-06

Family

ID=12727905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045747A Pending JPH02224156A (en) 1989-02-27 1989-02-27 File saving system

Country Status (1)

Country Link
JP (1) JPH02224156A (en)

Similar Documents

Publication Publication Date Title
JPS62177621A (en) Disk device
JPH02224156A (en) File saving system
JPH027096B2 (en)
JPS593567A (en) Buffer number setting system of tree structure
JPH0535414A (en) Magnetic tape file access system
JPH0296277A (en) Picture data control system
JPH04106643A (en) System for managing file area of floppy disk
JPH06231016A (en) File coupling/dividing method
JPH05274091A (en) Magnetic tape device
JP2507399B2 (en) Database equipment
JPH02171913A (en) Optical disk device control system
JPH03174622A (en) Disk duplexing control system
JPH05119924A (en) File access system
JPH04260139A (en) File access rpocessor
JPH0338739A (en) Automatic reorganization executing system
JPS58195956A (en) Variable memory area management method for each data buffer series
JPS62219041A (en) High speed system restart processing system
JPH04260126A (en) System configuration information setting system
JPH0243615A (en) Method and device for initializing auxiliary storage medium
JPH0695945A (en) Transfer system for work file
JPH02220151A (en) Variable length data access system
JPH04342011A (en) Asynchronous input/output controlling system
JPH01163848A (en) Disk file double update prevention method
JPS6089256A (en) File control device
JPS62134718A (en) Data access control system