JPH05204551A - Flexible disk data set copy system with data set area reservation - Google Patents

Flexible disk data set copy system with data set area reservation

Info

Publication number
JPH05204551A
JPH05204551A JP4034057A JP3405792A JPH05204551A JP H05204551 A JPH05204551 A JP H05204551A JP 4034057 A JP4034057 A JP 4034057A JP 3405792 A JP3405792 A JP 3405792A JP H05204551 A JPH05204551 A JP H05204551A
Authority
JP
Japan
Prior art keywords
data set
flexible disk
copy
name
area
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
JP4034057A
Other languages
Japanese (ja)
Inventor
Masamichi Iwasaki
正道 岩崎
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP4034057A priority Critical patent/JPH05204551A/en
Publication of JPH05204551A publication Critical patent/JPH05204551A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To prevent a failure in area reservation and copying at the time of copying a data set to a flexible disk. CONSTITUTION:A copy data set name 14 and a number 15 of data records are prepared in the first record of a copy source data set, and they are inputted to perform the check of overlapped names in a data set name check part 8, data set area reservation of a data set area reserving part 11, and data set copying of a data set copy part 13, thus preventing a failure in area reservation and copying due to misoperation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は他媒体にあるデータセッ
トをフレキシブルディスクに複写するデータセット領域
確保付きフレキシブルディスクデータセット複写方式に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a flexible disk data set copying system with a data set area reservation for copying a data set on another medium to a flexible disk.

【0002】[0002]

【従来の技術】従来、フレキシブルディスクに他媒体の
データセットを複写する場合には、複写元データセット
のデータレコード件数を調べ、その値によりまず、フレ
キシブルディスクのデータセットラベルに複写先となる
データセット名およびデータレコード件数を書込み領域
を確保する。その後、複写元データセット名と複写先デ
ータセット名とを指定し、データセットを複写する手段
を使用して複写していた。このため、フレキシブルディ
スクに対する領域確保時のデータセット名入力作業とデ
ータレコード件数入力作業およびデータセット複写手段
時の複写元データセット名入力作業,複写先データセッ
ト名入力作業が操作員の手入力により行われていた。
2. Description of the Related Art Conventionally, when copying a data set of another medium to a flexible disk, the number of data records in the copy source data set is checked, and the data to be the copy destination is first set in the data set label of the flexible disk based on the value. Secure a write area for the set name and the number of data records. After that, a copy source data set name and a copy destination data set name are designated, and data is copied using a means for copying the data set. Therefore, the operator must manually input the data set name when allocating the area to the flexible disk, the data record number input operation, and the copy source data set name input operation and the copy destination data set name input operation when using the data set copying method. It was done.

【0003】[0003]

【発明が解決しようとする課題】この従来のフレキシブ
ルディスクへのデータセット領域確保およびデータセッ
ト複写方式では、操作員により、データセット名、デー
タレコード件数を手入力するため、操作員の負担が大と
なっており、また入力ミスによるデータセット領域確保
失敗およびデータセット複写失敗を誘発する原因になる
という課題があった。
In this conventional method of securing the data set area on the flexible disk and copying the data set, the operator manually inputs the data set name and the number of data records, which imposes a heavy burden on the operator. In addition, there is a problem that it causes a failure to secure the dataset area and a failure to copy the dataset due to an input error.

【0004】[0004]

【課題を解決するための手段】本発明のデータセット領
域確保付きフレキシブルディスクデータセット複写方式
は、先頭レコードに複写データセット名とデータレコー
ド件数を持つ複写元データセットを読込み,複写先であ
るフレキシブルディスクのデータセットラベルを検索し
データセット名を検査するデータセット名検査部と、上
記データレコード件数により領域を検査,確保する領域
確保部と、実データレコードを複写する複写部とからな
り、上記複写先フレキシブルディスクのデータセットラ
ベルに複写データセット名と同一データセットが存在す
る際は別フレキシブルディスクの装填を要求し、存在し
ない際には上記複写元データセットのデータレコード件
数を格納する領域があるか検査を行い、格納する領域が
なければ同様に別フレキシブルディスクの装填を要求
し、格納できる際には上記フレキシブルディスクのデー
タセットラベルの所定の位置に、データセット名とエク
ステントの始め(BOE)およびエクステントの終り
(EOE)ならびにデータセットの終り(EOD)を書
込み領域を確保した後、実データレコードを格納するよ
うにしたものである。
According to the flexible disk data set copy method with a data set area reservation of the present invention, a copy source data set having a copy data set name and the number of data records is read in the first record, and the copy destination is flexible. It consists of a data set name inspecting unit that searches the data set label of the disk and inspects the data set name, an area reserving unit that inspects and reserves an area according to the number of data records, and a copying unit that copies actual data records. If the data set label of the copy destination flexible disk contains a data set with the same name as the copy data set name, another flexible disk is requested to be loaded, and if it does not exist, there is an area to store the number of data records of the copy source data set. Check if there is, and if there is no storage area, do the same. When it is requested to load and store a flexible disk, the data set name, the beginning of the extent (BOE), the end of the extent (EOE), and the end of the dataset (EOD) are placed at predetermined positions of the data set label of the flexible disk. ), The actual data record is stored after the writing area is secured.

【0005】[0005]

【作用】本発明においては、操作員は複写元データセッ
ト名を入力するのみで、自動的に複写先フレキシブルデ
ィスクに領域の確保,データセットの複写を行うように
する。
According to the present invention, the operator only needs to input the copy source data set name to automatically secure the area on the copy destination flexible disk and copy the data set.

【0006】[0006]

【実施例】図1は本発明の一実施例を説明するための説
明図で、図1(a)はフレキシブルディスクのデータセ
ットラベルであり、1はラベル識別、2はデータセット
名、3はエクステントの始め(BOE)、4はエクステ
ントの終り(EOE)、5はデータセットの終り(EO
D)を示す。図1(b)は処理の流れを示すフローチャ
ートであり、6は複写元データセット名入力、7は複写
元データセットの先頭レコード入力、8は先頭レコード
に複写データセット名とデータレコード件数を持つ複写
元データセットを読込み,複写先であるフレキシブルデ
ィスクのデータセットラベルを検索しデータセット名を
検査するデータセット名検査部、9はこのデータセット
名検査部8によって得られる結果、10は別媒体装填メ
ッセージ出力、11はデータレコード件数により領域を
検査,確保するデータセット領域確保部、12はこの領
域確保部11によって得られる結果、13は実データレ
コードを複写するデータセット複写部を示す。図1
(c)は複写元データセットの先頭レコードであり、1
4は複写データセット名、15はデータレコード件数を
示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an explanatory view for explaining an embodiment of the present invention. FIG. 1 (a) is a data set label of a flexible disk, 1 is label identification, 2 is data set name, 3 is Start of extent (BOE), 4 end of extent (EOE), 5 end of dataset (EO)
D) is shown. FIG. 1B is a flowchart showing the flow of processing. 6 is the input of the copy source data set name, 7 is the input of the first record of the copy source data set, and 8 is the first record having the copy data set name and the number of data records. A data set name inspection unit that reads the copy source data set, searches the data set label of the flexible disk that is the copy destination, and inspects the data set name, 9 is the result obtained by this data set name inspection unit, and 10 is another medium A loading message output, 11 is a data set area reserving section for inspecting and reserving an area based on the number of data records, 12 is a result obtained by this area reserving section 11, and 13 is a data set copying section for copying an actual data record. Figure 1
(C) is the first record of the copy source data set, which is 1
Reference numeral 4 indicates a copy data set name, and 15 indicates the number of data records.

【0007】そして、複写先フレキシブルディスクのデ
ータセットラベルに複写データセット名と同一データセ
ットが存在する際は別フレキシブルディスクの装填を要
求し、存在しない際には複写元データセットのデータレ
コード件数を格納する領域があるか検査を行い、格納す
る領域がなければ同様に別フレキシブルディスクの装填
を要求し、格納できる際にはフレキシブルディスクのデ
ータセットラベルの所定の位置に、データセット名とエ
クステントの始め(BOE)およびエクステントの終り
(EOE)ならびにデータセットの終り(EOD)を書
込み領域を確保した後、実データレコードを格納するよ
うに構成されている。
If a data set having the same name as the copy data set name exists in the data set label of the copy destination flexible disk, loading of another flexible disk is requested, and if it does not exist, the number of data records in the copy source data set is displayed. If there is a storage area, it is inspected.If there is no storage area, another flexible disk is requested to be loaded, and when it can be stored, the data set name and extent are stored at the specified position of the flexible disk data set label. After the write area is reserved at the beginning (BOE) and the end of the extent (EOE) and the end of the data set (EOD), the actual data record is stored.

【0008】つぎにこの図1に示す実施例の動作を図1
の(b)により説明する。まず、操作員は複写元データ
セット名を入力する(複写元データセット名入力6参
照)、その後複写元データセットより先頭1レコードを
読込み(複写元データセットの先頭レコード入力7参
照)、データセット名検査部8は複写先のフレキシブル
ディスクのデータセットラベルを検査し、空ラベルがあ
るかまた複写データセット名14と同一データセット名
が存在しないかを検査し、空ラベルがない場合、または
同一データセット名が既に存在する場合には別フレキシ
ブルディスク装填のメッセージを出力し、操作員による
フレキシブルディスク装填がなされた後、データセット
名検査部8に戻る。そして、このデータセット名検査部
8の検査に成功した場合にはデータセット領域確保部1
1に移り、複写先フレキシブルディスクにデータレコー
ド数15を格納する領域があるか検査する。ここで、デ
ータレコード件数15を格納するに満たない場合には別
フレキシブルディスク装填のメッセージを出力し、装填
後、データセット名検査部8に戻る。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to FIG.
This will be described with reference to (b). First, the operator inputs the copy source data set name (see copy source data set name input 6), then reads the first record from the copy source data set (see the first record input 7 of the copy source data set), and the data set The name inspecting unit 8 inspects the data set label of the copy destination flexible disk and checks whether there is an empty label or the same data set name as the copy data set name 14, and if there is no empty label or the same. If the data set name already exists, another flexible disk loading message is output, and after the flexible disk loading by the operator, the process returns to the data set name inspection unit 8. If the data set name checking unit 8 has succeeded in checking, the data set area securing unit 1
Moving to 1, it is inspected whether the copy destination flexible disk has an area for storing 15 data records. Here, if the number of data records is less than 15, the message of loading another flexible disk is output, and after loading, the process returns to the data set name inspection unit 8.

【0009】つぎに、データセット領域確保部11にお
ける検査は、既にフレキシブルディスク内に何らかのデ
ータセットが存在する場合、エクステントの始め3とエ
クステントの終り4およびフレキシブルディスクの形式
による格納可能件数により決定できる。例えば、両面倍
密度8インチ(一般に2Dと呼ばれる)の場合、フレキ
シブルディスクに格納できるレコード件数は、1シリン
ダ,0サイド,1トラックから74シリンダ,1サイ
ド,26トラックまでの3848レコードとなる。した
がって、既にデータセットが存在すれば、この値より既
存データセットのレコード件数を差し引くことで求まる
ことになる。そして、データセット領域確保部11の検
査に成功すると、ラベル識別1をHDR1に書替え、デ
ータセット名2を複写データセット名14で書替え、エ
クステントの始め3を複写先フレキシブルディスクに既
存データセットが存在しない場合1シリンダ,0サイ
ド,1トラックに書替え、既にデータセットが存在する
場合には、データセット領域確保部11で検査した領域
の先頭位置となる値で書替え、エクステントの終り4お
よびデータセットの終り5はエキステントの始め3にデ
ータレコード件数15を加算した値で書替える。この
後、データセット複写部13に移り、複写元データセッ
トを読込み複写先データセットのエクステントの始め3
の位置より順に複写を行う。
Next, the inspection in the data set area reserving section 11 can be decided by the extent start 3 and the extent end 4 and the number of storable cases in the form of the flexible disk when some data set already exists in the flexible disk. .. For example, in the case of a double-sided double density of 8 inches (generally called 2D), the number of records that can be stored in the flexible disk is 3848 records from 1 cylinder, 0 side, 1 track to 74 cylinders, 1 side, 26 tracks. Therefore, if the data set already exists, it can be obtained by subtracting the number of records in the existing data set from this value. Then, when the inspection of the data set area securing unit 11 is successful, the label identification 1 is rewritten to HDR1, the data set name 2 is rewritten to the copy data set name 14, and the beginning 3 of the extent is the existing data set on the copy destination flexible disk. If not, rewrite to 1 cylinder, 0 side, 1 track. If the data set already exists, rewrite with the value that becomes the head position of the area inspected by the data set area reserving unit 11, end of extent 4 and data set. At the end 5, it is rewritten with a value obtained by adding 15 data records to the beginning 3 of the extent. After that, the process moves to the data set copying unit 13 to read the copy source data set and start the extent 3 of the extent of the copy destination data set.
Copy from the position of.

【0010】[0010]

【発明の効果】以上説明したように本発明は、操作員は
複写元データセット名を入力するのみで、自動的に複写
先フレキシブルディスクに領域の確保,データセットの
複写を行うようにしたので、操作員の操作の軽減および
操作ミスを防止することができるという効果を有する。
As described above, according to the present invention, the operator automatically reserves an area on the copy destination flexible disk and copies the data set only by inputting the copy source data set name. Therefore, it is possible to reduce the operation of the operator and prevent an operation error.

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

【図1】本発明の一実施例を説明するための説明図であ
る。
FIG. 1 is an explanatory diagram for explaining an embodiment of the present invention.

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

1 ラベル識別 2 データセット名 3 エクステントの始め 4 エクステントの終り 5 データセットの終り 6 複写元データセット名入力 7 複写元データセットの先頭レコード入力 8 データセット名検査部 9 データセット名検査結果 10 別媒体装填メッセージ出力 11 データセット領域確保部 12 データセット領域確保結果 13 データセット複写部 14 複写データセット名 15 データセットレコード件数 1 label identification 2 data set name 3 start of extent 4 end of extent 5 end of data set 6 input of copy source data set name 7 input of first record of copy source data set 8 data set name inspection section 9 data set name inspection result 10 separate Output of media loading message 11 Data set area securing section 12 Data set area securing result 13 Data set copying section 14 Copy data set name 15 Number of data set records

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 先頭レコードに複写データセット名とデ
ータレコード件数を持つ複写元データセットを読込み,
複写先であるフレキシブルディスクのデータセットラベ
ルを検索しデータセット名を検査するデータセット名検
査部と、前記データレコード件数により領域を検査,確
保する領域確保部と、実データレコードを複写する複写
部とからなり、前記複写先フレキシブルディスクのデー
タセットラベルに複写データセット名と同一データセッ
トが存在する際は別フレキシブルディスクの装填を要求
し、存在しない際には前記複写元データセットのデータ
レコード件数を格納する領域があるか検査を行い、格納
する領域がなければ同様に別フレキシブルディスクの装
填を要求し、格納できる際には前記フレキシブルディス
クのデータセットラベルの所定の位置に、データセット
名とエクステントの始めおよびエクステントの終りなら
びにデータセットの終りを書込み領域を確保した後、実
データレコードを格納するようにしたことを特徴とする
データセット領域確保付きフレキシブルディスクデータ
セット複写方式。
1. A copy source data set having a copy data set name and the number of data records is read into the first record,
A data set name inspecting unit that searches the data set label of the flexible disk that is the copy destination and inspects the data set name, an area reserving unit that inspects and secures an area based on the number of data records, and a copying unit that copies the actual data record. When the data set label of the copy destination flexible disk has the same data set as the copy data set name, another flexible disk is requested to be loaded, and when it does not exist, the number of data records of the copy source data set Is checked, and if there is no storage area, another flexible disk is similarly requested to be loaded, and when it can be stored, a data set name and Extent start and end and data set After securing the write area of the end, the data set area allocation with the flexible disk dataset copying method is characterized in that so as to store the actual data record.
JP4034057A 1992-01-27 1992-01-27 Flexible disk data set copy system with data set area reservation Pending JPH05204551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4034057A JPH05204551A (en) 1992-01-27 1992-01-27 Flexible disk data set copy system with data set area reservation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4034057A JPH05204551A (en) 1992-01-27 1992-01-27 Flexible disk data set copy system with data set area reservation

Publications (1)

Publication Number Publication Date
JPH05204551A true JPH05204551A (en) 1993-08-13

Family

ID=12403652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4034057A Pending JPH05204551A (en) 1992-01-27 1992-01-27 Flexible disk data set copy system with data set area reservation

Country Status (1)

Country Link
JP (1) JPH05204551A (en)

Similar Documents

Publication Publication Date Title
US5319626A (en) Method for rewriting defect management areas on optical disk according to ECMA standard
US5327535A (en) Magnetic recording control apparatus
US5689481A (en) Method of accessing multifile storage medium and library system
JPH0646488B2 (en) Storage medium auto changer device
TW201025309A (en) Overwrite control method and overwrite control program for data in tape recording apparatus, and tape recording apparatus
JPH05204551A (en) Flexible disk data set copy system with data set area reservation
JP2790265B2 (en) Information recording method
JPH03192436A (en) Information recording and reproducing system
JPS6314390A (en) Multi-volume control system
US5630115A (en) Method of rewriting information on a record medium by rewriting only changed portions
CN100562937C (en) The data record method of Write-once optical disc and device
JP2523739B2 (en) Backup copy method
JP2652388B2 (en) Optical disk storage management method
JPH07114443A (en) File retrieval method and magnetic tape device
JPS629444A (en) Copy and inspection control method between floppy medias of computer system
JP4792998B2 (en) File management method, apparatus, program, and medium
JPH04156626A (en) File entry generating system for vtoc
JPH0887829A (en) Data managing system for optical disc
JPH06101198B2 (en) Recording medium copy method
JPS6117059B2 (en)
JPS6049927B2 (en) Data processing method
JPH0492916A (en) Double write control system
JPS5987572A (en) Controlling system of disk storage device
JPH1125355A (en) Electronic journal device
JPH06274277A (en) Data recording system for sequentual storage medium