JPS63104154A - File shift system - Google Patents

File shift system

Info

Publication number
JPS63104154A
JPS63104154A JP61251184A JP25118486A JPS63104154A JP S63104154 A JPS63104154 A JP S63104154A JP 61251184 A JP61251184 A JP 61251184A JP 25118486 A JP25118486 A JP 25118486A JP S63104154 A JPS63104154 A JP S63104154A
Authority
JP
Japan
Prior art keywords
file
volume
shift
jcl
migration
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
JP61251184A
Other languages
Japanese (ja)
Inventor
Masami Tanaka
雅美 田中
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 JP61251184A priority Critical patent/JPS63104154A/en
Publication of JPS63104154A publication Critical patent/JPS63104154A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform a file shift job in a simple and highly efficient way just by designating both new and old volumes to be shifted and a file by using a means which produces the job executing description to restore a saving volume to a shift destination volume. CONSTITUTION:An input information output means 1 outputs the file control information on an old volume to an old volume managing information file 9 from a shift destination volume 7 by the input received from a console terminal 5. At the same time, the means 1 outputs the information on the new and old saving volumes for shift to a shift information file 8. A JCL producing means 3 outputs the shift JCL to a JCL data base 11 for each file in response to formation of files based on the shift subject file managing information. Then a JCL storing file output means 4 outputs the contents of the base 11 to a JCL storing file 12 and a printer 6 after saving, area securing and restoring operations. Thus it is possible to automatically data stored in files on the old volume and restore these data to the new volume. Then the manual shift job man-hour can be extremely reduced.

Description

【発明の詳細な説明】 技術分野 本発明はファイル移行方式に関し、特に異なるディスク
装置への自動ファイル移行方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a file migration method, and more particularly to an automatic file migration method to a different disk device.

従来技術 従来、ハードウェアシステムあるいはソフトウェアシス
テムのレベルアップ時において磁気ディスク装置の変更
が生じた場合、また、オペレーティングシステムのバー
ジョンアップ時におけるユーザファイル等の移行作業で
は、ディスクの容量計算を手計算で行った後に新ディス
ク装置上にその領域確保を行い、それぞれの編成にあわ
せたファイルの退避・復元作業を各ファイル毎に対して
ひとつひとつ作業員がコンピュータに対して全ての指示
を行わねばならない。
Conventional technology In the past, when the magnetic disk device was changed when upgrading the hardware system or software system, or when migrating user files etc. when upgrading the operating system, the disk capacity was calculated manually. After that, an area must be secured on the new disk device, and a worker must give all instructions to the computer for each file, one by one, to save and restore files according to each organization.

上述した従来の作業員による容量計算では、計算の誤り
、またコンピュータへ与える指示の誤り等によりファイ
ル移行作業がスムーズに進行しない欠点がある。また重
大な指示誤りによっては旧ファイルを破壊してしまう操
作誤りをおかす欠点もある。更には1つ1つファイルを
チェックしてファイル編成にあわせた移行用JCL (
ジョブ実行記述)を作成するためにかなりの時間を費す
と言う欠点がある。
The above-described conventional capacity calculation performed by a worker has the drawback that the file migration work does not proceed smoothly due to calculation errors or errors in instructions given to the computer. There is also the drawback that a serious instruction error may result in an operational error that destroys the old file. Furthermore, we check each file one by one and create a migration JCL that matches the file organization (
The disadvantage is that it takes a considerable amount of time to create a job execution description (job execution description).

発明の目的 そこで、本発明は従来のものの上記欠点を解決すべくな
されたものであって、その目的とするところは、移行対
象の新・旧ボリュームとファイルとを指定するのみでフ
ァイルの移行作業を簡単に効率良く行うことができる異
なるディスク装置への自動ファイル移行方式を提供する
ことにある。
Purpose of the Invention The present invention has been made to solve the above-mentioned drawbacks of the conventional methods, and its purpose is to perform file migration by simply specifying the new/old volumes and files to be migrated. An object of the present invention is to provide an automatic file migration method to a different disk device that can be easily and efficiently performed.

発明の構成 本発明によれば、異なるボリューム上のファイル移行方
式であって、移行元ボリューム、移行先ボリューム、退
避用ボリューム、移行対象ファイルの情報を入力する入
力手段と、指定された移行対象ファイルの管理情報を選
出する手段と、移行先ボリューム上に移行対象ファイル
の領域を確保し、移行元ボリュームから退避用ボリュー
ムへデータを退避せしめこの退避したデータを退避用ボ
リュームから移行先ボリュームへ復元するためのジョブ
実行記述を生成する手段と、このジョブ実行記述をジョ
ブ実行記述格納ファイルへ出力する手段とを設け、前記
入力手段により移行元ボリューム、移行先ボリューム、
移行対象ファイル名を指定することにより異なるボリュ
ーム上のファイル移行を可能としたことを特徴とするフ
ァイル移行方式が得られる。
Composition of the Invention According to the present invention, there is provided a method for migrating files on different volumes, which includes input means for inputting information on a migration source volume, a migration destination volume, a backup volume, and files to be migrated, and a specified file to be migrated. A method for selecting management information for the migration target volume, securing an area for the migration target file on the migration destination volume, evacuating data from the migration source volume to the evacuation volume, and restoring this evacuated data from the evacuation volume to the migration destination volume. means for generating a job execution description for the job execution, and means for outputting the job execution description to a job execution description storage file.
A file migration method is obtained which is characterized in that it is possible to migrate files on different volumes by specifying the name of the file to be migrated.

実施例 以下、本発明の実施例について図面を参照して説明する
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の実施例のシステムブロック図である。FIG. 1 is a system block diagram of an embodiment of the present invention.

図において、入力情報出力手段1では、コンソール端末
5からの入力により旧ボリューム(移行元ボリューム)
のファイル管理情報を移行元ボリューム7から旧ボリュ
ーム管理情報ファイル9に、また、移行用新・旧退避用
ボリューム情報を移行用情報ファイル8に出力する。
In the figure, the input information output means 1 outputs the old volume (migration source volume) based on the input from the console terminal 5.
The file management information is output from the migration source volume 7 to the old volume management information file 9, and the new and old save volume information for migration is output to the migration information file 8.

移行対象ファイル選出手段2では、入力された移行対象
ファイルの管理情報を旧ボリューム管理情報ファイル9
より取出して移行対象ファイル管理情報10に出力する
The migration target file selection means 2 transfers the input management information of the migration target file to the old volume management information file 9.
, and output it to the migration target file management information 10.

JCL作成手段3では、移行用対象ファイル管理情報を
元にファイル編成に合わせた移行用JCしく新ボリュー
ムへの領域確保用JCL、旧ボリュームから退避用ボリ
ュームへのデータの退避用JCL、退避用ボリュームか
ら新ボリュームへの復元用JCL)を、各ファイル毎に
JCLデータベース11に出力する。JCL格納ファイ
ル出力手段4では、JCLデータベース11の内容を退
避、領域確保、復元の順にJCL格納ファイル12とプ
リンタ6に出力する。
The JCL creation means 3 creates a migration JC according to the file organization based on the migration target file management information, a JCL for securing space in the new volume, a JCL for saving data from the old volume to the evacuation volume, and an evacuation volume. JCL for restoration from to a new volume) is output to the JCL database 11 for each file. The JCL storage file output means 4 outputs the contents of the JCL database 11 to the JCL storage file 12 and the printer 6 in the order of evacuation, area reservation, and restoration.

第2図の処理フロー図にて本発明の具体的実施例を説明
する。作業員は、移行先ボリューム、移行元ボリューム
、退避用ボリュームの各問い合わせメツセージに夫々応
答して、各々のボリュームの装置クラス名、媒体名を入
力すると、入力された移行環境13は移行用情報ファイ
ル8に登録される。移行元ボリュームと指定されたボリ
ュームに存在するファイルの管理情報(ファイル名、)
?イル編成、レコードサイズ、ブロックサイズ。
A specific embodiment of the present invention will be described with reference to the processing flow diagram in FIG. When the worker responds to each inquiry message for the migration destination volume, migration source volume, and evacuation volume and inputs the device class name and media name of each volume, the input migration environment 13 is converted into a migration information file. Registered in 8. Management information (file name,) for files existing in the migration source volume and the specified volume
? file organization, record size, and block size.

サイズ等)は、旧ボリューム管理情報ファイル9に登録
される。
size, etc.) are registered in the old volume management information file 9.

次に、移行対象ファイル140問い合わせに対して移行
したファイル名の入力を行う。ファイル名の指定方法は
、(1)ボリューム全体(“*”と指定する>、(2>
指定されたファイル名(ファイル名群)、(3)マスク
指定されたファイル名(“*”を含んだファイル名:例
えば、NECの文字を含んでいるファイル名“* N 
E C*”と指定する)、(4)指定されたフフル名以
外。
Next, in response to the migration target file 140 inquiry, the name of the migrated file is input. How to specify the file name: (1) Entire volume (specify "*">, (2>
Specified file name (file name group), (3) mask specified file name (file name containing "*": For example, file name containing the characters NEC "*N"
(4) Other than the specified fuffle name.

(5)マスク指定されたファイル名以外等の種類があり
、最初の「入力したファイルの処理をするのか?」の問
い合わせに対してrYEsJを選択した時は、移行した
いファイル名の入力、rNOJを選択した場合は移行し
たいファイル名以外のファイル名の入力を行う。移行元
ボリュームの移行対象ファイル14の多少によって選択
すればよい。
(5) If there is a type of file name other than the one specified as a mask, and you select rYEsJ in response to the first inquiry "Do you want to process the input file?", enter the file name you want to migrate and select rNOJ. If selected, enter a file name other than the one you want to migrate. The selection may be made depending on the number of migration target files 14 in the migration source volume.

「¥EO3Jでファイル名の入力は終了となる。“Entering the file name ends at ¥EO3J.

移行対象とされたファイルは昇順にソートされ、旧ボリ
ューム管理情報ファイル9とマッヂング処理が行われ、
移行対象ファイル14の情報のみを移行対象ファイル管
理情報に登録する。ファイル編成によりデータの退避方
法、復元方法が論理処理か物理処理かで異なるために、
それぞれのファイル編成に伴ったJ CL 110〜1
14を各JCL格納ファイ°ルLJCLデータベース)
11に格納して行く。
The files targeted for migration are sorted in ascending order, and a matching process is performed with the old volume management information file 9.
Only information about the migration target file 14 is registered in the migration target file management information. Because the data backup and restoration methods differ depending on the file organization, whether it is logical processing or physical processing,
J CL 110-1 according to each file organization
14 to each JCL storage file (LJCL database)
I will store it in 11.

尚、この筒口ボリュームと新ボリュームの装置クラスが
違う場合には、1トラツクあたりの容渚(バイト数)が
異なるため装置クラスにあったサイズを計算して領域確
保用J CL 112で指定する。
Note that if the device class of this tube mouth volume and the new volume are different, the capacity (number of bytes) per track will be different, so a size suitable for the device class is calculated and specified in the area reservation JCL 112.

移行対象ファイルについて全ての処理が終了すると、J
CL格納フィル12に退避用JCL、領域確保用JCL
、復元用JCLの順に登録し、作成JCLをリストアウ
ド(15)する。
When all processing for the files to be migrated is completed, J
JCL for evacuation and JCL for securing area in CL storage file 12
, restoration JCL are registered in this order, and the created JCL is restored (15).

移行ツールにより作成されるJCLの詳細を以下に示す
Details of the JCL created by the migration tool are shown below.

(1)退避用磁気テープボリュームの初期化、(2)標
準順編成ファイル、索引順編成ファイル、VSAS順編
成ファイル、VSAS索引順編成ファイルの論理退避、 (3)入力・出力ディスクの装置クラスが同一の場合の
標準[成ファイルとVSAS 乱編成フフイル、VSAS相対編成ファイルの物理的退
避、 (4)新ボリュームのファイルスペースの確保。
(1) Initialization of the magnetic tape volume for backup, (2) Logical backup of standard sequential files, indexed sequential files, VSAS sequential files, and VSAS indexed sequential files, (3) Input/output disk device class Standards for the same case [Physical evacuation of created files and VSAS random organization files, VSAS relative organization files, (4) Securing file space for the new volume.

装置タイプが異なった場合は最適な容り計算を行う。If the equipment types are different, perform optimal capacity calculations.

(5)標準順編成ファイルの論理復元、(6)標準索引
順編成ファイルの論理復元、(7)VSASIIIn編
成ファイル■SΔS索引順編成フィルの論理復元、 (8)入力・出力ディスクの装置クラスが同一の場合の
標準直編成ファイル、VSAS乱編成ファイル、VSA
S相対編成ファイルの論理的復元。
(5) Logical restoration of standard sequential files, (6) Logical restoration of standard indexed sequential files, (7) Logical restoration of VSASIIIn organized files ■ SΔS indexed sequential files, (8) Device class of input/output disks Standard direct organization file, VSAS random organization file, VSA in the same case
Logical restoration of S-relative organization files.

発明の詳細 な説明したように、本発明によれば、異なるディスク装
置でのファイル移行に際し、新・旧のボリュームと移行
対象ファイル名のみを指定するだけで、新ボリューム上
の容量計算と領域の確保。
As described in detail, according to the present invention, when migrating files between different disk devices, by simply specifying the new/old volume and the name of the file to be migrated, the capacity calculation and area on the new volume can be calculated. Secured.

旧ボリューム上のファイル中のデータの退避及び新ボリ
ューム上への復元を自動的に行い、手作業による移行作
業の工数を大巾に削減することができるという効果があ
る。
This has the effect of automatically saving data in files on the old volume and restoring it to the new volume, greatly reducing the number of man-hours required for manual migration work.

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

第1図は本発明の実施例のシステムブロック図、第2図
は本発明の実施例の動作フロー図である。 主要部分の符号の説明 2・・・・・・移行対象ファイル選出手段3・・・・・
・JCL作成手段
FIG. 1 is a system block diagram of an embodiment of the present invention, and FIG. 2 is an operation flow diagram of the embodiment of the present invention. Explanation of symbols of main parts 2... Means for selecting files to be migrated 3...
・JCL creation method

Claims (1)

【特許請求の範囲】[Claims] 異なるボリューム上のファイル移行方式であって、移行
元ボリューム、移行先ボリューム、退避用ボリューム、
移行対象ファイルの情報を入力する入力手段と、指定さ
れた移行対象ファイルの管理情報を選出する手段と、移
行先ボリューム上に移行対象ファイルの領域を確保し、
移行元ボリュームから退避用ボリュームへデータを退避
せしめこの退避したデータを退避用ボリュームから移行
先ボリュームへ復元するためのジョブ実行記述を生成す
る手段と、このジョブ実行記述をジョブ実行記述格納フ
ァイルへ出力する手段とを設け、前記入力手段により移
行元ボリューム、移行先ボリューム、移行対象ファイル
名を指定することにより異なるボリューム上のファイル
移行を可能としたことを特徴とするファイル移行方式。
A method for migrating files on different volumes, including a source volume, a destination volume, a backup volume,
An input means for inputting information about files to be migrated, a means for selecting management information for specified files to be migrated, an area for the files to be migrated on the destination volume, and
A means for generating a job execution description for evacuating data from a migration source volume to a backup volume and restoring the evacuated data from the backup volume to a migration destination volume, and outputting this job execution description to a job execution description storage file. 1. A file migration method, characterized in that the file migration method is characterized in that a file migration method is provided, wherein a file migration on a different volume is made possible by specifying a migration source volume, a migration destination volume, and a migration target file name using the input means.
JP61251184A 1986-10-22 1986-10-22 File shift system Pending JPS63104154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61251184A JPS63104154A (en) 1986-10-22 1986-10-22 File shift system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61251184A JPS63104154A (en) 1986-10-22 1986-10-22 File shift system

Publications (1)

Publication Number Publication Date
JPS63104154A true JPS63104154A (en) 1988-05-09

Family

ID=17218930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61251184A Pending JPS63104154A (en) 1986-10-22 1986-10-22 File shift system

Country Status (1)

Country Link
JP (1) JPS63104154A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0267649A (en) * 1988-09-01 1990-03-07 Hokuriku Nippon Denki Software Kk File securing job control language forming device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0267649A (en) * 1988-09-01 1990-03-07 Hokuriku Nippon Denki Software Kk File securing job control language forming device

Similar Documents

Publication Publication Date Title
JP3901883B2 (en) Data backup method, data backup system and recording medium
JP4477531B2 (en) Data import method and data import apparatus
JPS63273961A (en) Management system for plural versions
JPS63104154A (en) File shift system
JP2741999B2 (en) Data storage management method
JPS6312300B2 (en)
JP2000207264A (en) Backup method and restoring method
JPH05324555A (en) Already executed operation canceller
JP2000148562A (en) Data backup method, data backup device utilizing the method and computer readable recording medium recorded with data backup program
JPH0535414A (en) Magnetic tape file access system
JPH06231016A (en) File coupling/dividing method
JP3722854B2 (en) Data editing device
JPH0566983A (en) File saving system
JP3557439B2 (en) Computer operation data search method and apparatus therefor
JPH02211557A (en) Data base saving system
JP2647044B2 (en) History management method
JPH05257775A (en) Data processor
JPH05250243A (en) Data processing system for extended storage device
JPH06175785A (en) Medium group management system in collective storage device
JPH01263843A (en) Message display
JPH04115332A (en) File managing device
JPH07160560A (en) System and method for managing data storage version
JPH03100744A (en) Data base control system
JPS6286445A (en) File assignment system
JPH0628107A (en) File movement system