[go: up one dir, main page]

JPH064167A - Restoring system for fault of disk medium - Google Patents

Restoring system for fault of disk medium

Info

Publication number
JPH064167A
JPH064167A JP4158421A JP15842192A JPH064167A JP H064167 A JPH064167 A JP H064167A JP 4158421 A JP4158421 A JP 4158421A JP 15842192 A JP15842192 A JP 15842192A JP H064167 A JPH064167 A JP H064167A
Authority
JP
Japan
Prior art keywords
medium
file
jcl
skeleton
character string
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
JP4158421A
Other languages
Japanese (ja)
Inventor
Shuji Ono
修司 大野
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 JP4158421A priority Critical patent/JPH064167A/en
Publication of JPH064167A publication Critical patent/JPH064167A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To automatically generate JCL skeleton description at every medium based on arbitrary medium JCL skeleton description and catalog information and to reduce burden on a system manager and an error when restoration JCL for the disk medium fault of a computer is generated. CONSTITUTION:The content of a file/DB user catalog 2 is inputted to a catalog information file 4, and the comprising file name and file constitution of a restoration targeted medium 9 are generated in a medium comprising file/DB summary list 15. The file name and the file constitution are registered on the arbitrary medium JCL skeleton file 11 as JCL variable-describing them for the restoration processing procedure of an arbitrary medium. The character string variable information of the file name and the file constitution are extracted from the arbitrary medium JCL skeleton file 11 by using a character string variable information extraction means 12, and a character string variable substitution/ developing means 13 retrieves the medium comprising file/DB summary list 15, and outputs a JCL skeleton library 5 at every medium.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータシステムの
ディスク媒体障害の復旧処理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for recovering from a disk medium failure in a computer system.

【0002】[0002]

【従来の技術】媒体障害の復旧手順は、従来、その媒体
がどのような用途の媒体であるか、等によって千差万別
であり、非二重化媒体障害か、二重化片系障害か、二重
化両系障害か、セーブMTはどれが最新なのか、代替と
すべき媒体はどれが適当か、更新後ジャーナルは必要
か、必要なら開始ボリュームシーケンス(以下:VS
Q)は何番か等々、様々な要因を管理者が検討して、復
旧作業を行う必要があった。
2. Description of the Related Art Conventionally, a procedure for recovering a medium failure varies according to what kind of application the medium is for, and the like. System failure, which is the latest save MT, which medium is suitable for replacement, whether a journal after update is required, and if necessary a start volume sequence (hereinafter: VS
In Q), it was necessary for the administrator to consider various factors such as the number and so on, and to perform the recovery work.

【0003】そこで通常は、媒体毎にJCLスケルトン
を事前準備する事とし、最新セーブ情報のような媒体復
旧処理実行時にしか決定できない変数要素についてのみ
システム定義情報記憶部を参照し、媒体毎スケルトンに
変数要素を埋め込み、実行型JCLを生成してジョブ起
動する方式で媒体障害に対処していた。
Therefore, normally, the JCL skeleton is prepared in advance for each medium, and the system definition information storage unit is referred to only for variable elements such as the latest save information that can be determined only when the medium restoration process is executed, and the skeleton for each medium is set. The medium failure is dealt with by the method of embedding the variable element, generating the execution type JCL and starting the job.

【0004】[0004]

【発明が解決しようとする課題】この従来のディスク媒
体障害の復旧方式では、まだ媒体障害の復旧準備に人間
の判断するべき要素が少なからず残る。このため以下に
示す欠点がある。
In this conventional disk medium failure recovery method, there are still a number of factors that must be judged by humans in preparation for recovery from a medium failure. Therefore, it has the following drawbacks.

【0005】(1)事前準備において管理者が管理台帳
を調べて復旧手順を確認し、外部ファイル名,カタログ
名を指定しておく必要があり、管理者が復旧手順毎にJ
CLを作成/投入する事に頼っていては、工数の増大,
指定漏れ,記述間違いが発生しやすい。
(1) In advance preparation, it is necessary for the administrator to check the management ledger to confirm the recovery procedure and to specify the external file name and the catalog name.
If you rely on creating / injecting CL, increase in man-hours,
Specification omissions and description errors are likely to occur.

【0006】(2)媒体復旧の手順を変えたい時、また
媒体構成を変えたため適応復旧手順を変更しなければな
らない時、その度に対象媒体数だけ媒体毎JCLスケル
トンを書き直すのは、工数の増大,変更漏れ,記述間違
いが発生しやすい。
(2) When it is desired to change the medium recovery procedure, or when the adaptive recovery procedure needs to be changed because the medium configuration is changed, it is not easy to rewrite the JCL skeleton for each medium by the number of target media each time. Increases, omissions of changes, and mistakes in descriptions are likely to occur.

【0007】(3)ファイルの割り当て媒体を変更する
時も、その度に対象媒体数だけ媒体毎JCLスケルトン
を書き直すのは、工数の増大,変更漏れ,記述間違いが
発生しやすい。
(3) When the file allocation medium is changed, rewriting the JCL skeleton for each medium by the number of target media each time is liable to increase man-hours, omission of change, and error in description.

【0008】[0008]

【課題を解決するための手段】本発明の方式は、コンピ
ュータシステムのディスク媒体障害発生に対して、障害
媒体の復旧手順を特定な媒体毎のジョブ制御記述媒体毎
JCLスケルトンとして事前準備しておくことにより、
復旧処理実行時には、復旧処理に必要な変数要素のみを
うめこむことによって、実行JCLに変換して出力し、
媒体復旧ジョブを起動する障害媒体復旧処理手段と、シ
ステム配下媒体のファイル/データベース情報を持つフ
ァイル/DBユーザーカタログよりカタログエントリ情
報を抽出してカタログ情報ファイルに格納するカタログ
情報抽出手段と、このカタログ情報抽出手段により出力
されるカタログ情報ファイルとを備えたコンピュータシ
ステムにおけるディスク媒体障害の復旧方式において、
特定な媒体に関するファイル/DBユーザーカタログ名
と、その媒体中に格納される障害発生時に復旧せんとし
て記述されたファイル名とを、変数によってJCLに記
述する事により、任意の媒体に対する媒体毎JCLスケ
ルトンを生成できるようにした任意媒体JCLスケルト
ンファイルと、前記任意媒体JCLスケルトンを解読
し、文字列変数を抽出する文字列変数情報抽出手段と、
前記カタログ情報ファイルより、復旧対象媒体の構成フ
ァイル/DB情報を分別抽出する媒体構成ファイル/D
B情報抽出手段と、前記文字列変数情報抽出手段により
得らえた文字列変数を、前記媒体構成ファイル/DB一
覧表より検索して、文字列変数を置換/展開することに
より、任意媒体JCLスケルトン記述を媒体毎JCLス
ケルトン記述に変換し、処理単位毎に媒体毎JCLスケ
ルトンライブラリに出力する文字列変数置換/展開手段
とを有することを特徴とする。
According to the method of the present invention, when a disk medium failure occurs in a computer system, a recovery procedure for the failed medium is prepared in advance as a job control description medium JCL skeleton for each specific medium. By
At the time of executing the recovery process, by embedding only the variable elements necessary for the recovery process, it is converted into the execution JCL and output,
Failure media recovery processing means for starting a media recovery job, catalog information extraction means for extracting catalog entry information from files / DB user catalogs of files under the system / database user catalog, and storing it in the catalog information file, and this catalog In a recovery method of a disk medium failure in a computer system including a catalog information file output by the information extraction means,
A JCL skeleton for each medium for any medium by describing the file / DB user catalog name relating to a specific medium and the file name stored in that medium that is described as a recovery file when a failure occurs in the JCL by a variable And an arbitrary medium JCL skeleton file capable of generating a character string variable information extracting means for decoding the arbitrary medium JCL skeleton and extracting a character string variable.
A media configuration file / D for separately extracting the configuration file / DB information of the recovery target medium from the catalog information file
B information extraction means and the character string variable obtained by the character string variable information extraction means are searched from the medium configuration file / DB list, and the character string variable is replaced / developed, thereby the arbitrary medium JCL skeleton It is characterized by having a character string variable substitution / expansion means for converting the description into a JCL skeleton description for each medium and outputting it to the JCL skeleton library for each medium for each processing unit.

【0009】[0009]

【実施例】以下、本発明の実施例につき図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例を示す構成図であ
り、媒体復旧JCLスケルトン事前生成手段1,ファイ
ル/DBユーザーカタログ2,カタログ情報抽出手段
3,カタログ情報ファイル4,媒体毎JCLスケルトン
ライブラリ5,障害媒体復旧処理手段6,システム定義
情報7,実行JCLライブラリ8および復旧対象媒体9
で構成される。媒体復旧JCLスケルトン事前生成手段
1は、さらに任意媒体JCLスケルトンファイル11,
文字列変数情報抽出手段12,文字列変数置換/展開手
段13,媒体構成ファイル/DB情報抽出手段14およ
び媒体構成ファイル/DB一覧表から成る。
FIG. 1 is a block diagram showing an embodiment of the present invention, which is a medium restoration JCL skeleton pre-generation means 1, a file / DB user catalog 2, a catalog information extraction means 3, a catalog information file 4, a JCL skeleton for each medium. Library 5, failure medium recovery processing means 6, system definition information 7, execution JCL library 8 and recovery target medium 9
Composed of. The medium restoration JCL skeleton pre-generation unit 1 further includes the arbitrary medium JCL skeleton file 11,
It comprises a character string variable information extraction means 12, a character string variable replacement / expansion means 13, a medium configuration file / DB information extraction means 14 and a medium configuration file / DB list.

【0011】ファイル/DBユーザーカタログ2は、シ
ステム管理下の復旧対象媒体9が属するファイル/デー
タベース情報を管理している。カタログ情報抽出手段3
(公知のカタログ印刷手段)は、ファイル/DBユーザ
ーカタログ2の構成媒体と構成ファイルの全情報をカタ
ログ一覧として、カタログ情報ファイル4に出力する機
能を持つ。
The file / DB user catalog 2 manages file / database information to which the recovery target medium 9 under system management belongs. Catalog information extraction means 3
The (publicly known catalog printing means) has a function of outputting to the catalog information file 4 a catalog list of all information of the constituent media and constituent files of the file / DB user catalog 2.

【0012】障害媒体復旧処理手段6は、システムに常
駐するジョブとして働き、ディスク媒体障害発生に対す
る復旧処理の実行制御を行う。障害媒体復旧処理手段6
は復旧対象媒体9と任意媒体とを認識し、文字列変数置
換/展開手段13により作成された媒体毎JCLスケル
トンライブラリ5より媒体毎JCLスケルトンを特定
し、システム定義情報7を参照し、最新セーブ世代,使
用可能な予備媒体を特定し、媒体毎JCLスケルトンラ
イブラリ5に記述された変数要素にうめ込み、実行可能
なJCLに変換して実行型JCLライブラリ8に出力
し、復旧対象媒体9に対する媒体復旧ジョブを起動す
る。
The failed medium recovery processing means 6 functions as a job resident in the system, and controls execution of recovery processing for the occurrence of a disk medium failure. Failure medium restoration processing means 6
Recognizes the recovery target medium 9 and the arbitrary medium, specifies the JCL skeleton for each medium from the JCL skeleton library for each medium 5 created by the character string variable replacement / expansion means 13, refers to the system definition information 7, and saves the latest. A medium for the recovery target medium 9 is specified by specifying a generation and a usable spare medium, filling in the variable elements described in the JCL skeleton library 5 for each medium, converting it into an executable JCL, and outputting it to the execution type JCL library 8. Launch a restore job.

【0013】媒体構成ファイル/DB情報抽出手段14
は、複数媒体のカタログ情報を含んだカタログ情報ファ
イル4より復旧対象媒体9について、その構成ファイル
名及びDB名と、ファイル構成によるエントリタイプと
を取得する。また取得した復旧対象媒体9の構成ファイ
ル名及びDB名と、ファイル構成によるエントリタイム
は、媒体に対する関連エントリファイル毎にまとまって
いないため、構成ファイル名と、エントリタイムとをキ
ーにしてソートし、関連エントリファイル毎にまとめ
て、媒体構成ファイル/DB一覧表15として主記憶
(図示せず)上に展開出力する。
Medium configuration file / DB information extraction means 14
Acquires the configuration file name and DB name of the recovery target medium 9 and the entry type according to the file configuration from the catalog information file 4 containing the catalog information of a plurality of media. Further, since the acquired configuration file name and DB name of the recovery target medium 9 and the entry time by the file configuration are not collected for each related entry file for the medium, the configuration file name and the entry time are used as keys for sorting, The relevant entry files are collected and expanded and output as a medium configuration file / DB list 15 on a main memory (not shown).

【0014】任意媒体JCLスケルトンファイル11
は、システム管理者が事前に準備しておく必要があり、
障害媒体復旧作業の不特定な変数要素を吸収するための
文法規則として、JCL記述パラメータに以下の文字列
変数を持つ。
Arbitrary medium JCL skeleton file 11
Must be prepared in advance by the system administrator,
The JCL description parameters have the following character string variables as grammatical rules for absorbing unspecified variable elements in the failure medium recovery work.

【0015】(1)単純置換変数 文字列変数置換/展開手段13の置換対象となるユーザ
ーカタログ名に対応させて記述した文字列変数で、先頭
文字が&で始まる文字列 (2)繰り返し置換変数 文字列変数置換/展開手段13の置換対象となる復旧対
象媒体構成ファイル名及びDB名を、複数回数繰り返し
て置換/展開するために設けた&GLOBから&END
GLOBで記述される繰り返し置換/展開領域(以下:
置換/展開領域)中に規則に則って記述した文字列変数
で、先頭が&で始まる文字列 (3)#文字列変数 障害媒体復旧処理手段5の置換対象となる先頭文字が#
で始まる文字列 文字列変数情報抽出手段12は、任意媒体JCLスケル
トンファイル11を読み込み、文字列変数置換/展開手
段13が対象とするJCL記述パラメータ中の文字列変
数を検索し、検索結果を文字列変数置換/展開手段13
へ渡す。詳しくは文字列変数情報抽出手段12は以下の
ように動作する。
(1) Simple replacement variable Character string variable A character string variable described in correspondence with the user catalog name to be replaced by the replacement / expansion means 13 and having a leading character starting with & (2) Repeated replacement variable & GLOB to & END provided to replace / expand the recovery target medium configuration file name and DB name to be replaced by the character string variable replacement / expansion means 13 a plurality of times.
Repeated replacement / expansion area described in GLOB (below:
(3) # Character string variable which is a character string variable described in the (replacement / expansion area) according to the rule and starts with & (3) # character string variable The first character to be replaced by the failure medium restoration processing means 5 is #
A character string character string variable information extraction means 12 that starts with reads the arbitrary medium JCL skeleton file 11, searches the character string variable in the JCL description parameter targeted by the character string variable replacement / expansion means 13, and returns the search result as a character. Column variable replacement / expansion means 13
Hand over to. Specifically, the character string variable information extraction means 12 operates as follows.

【0016】(11)端末より指定された任意媒体JC
Lスケルトンを任意媒体JCLスケルトンファイル11
より1行単位で読み込む。
(11) Arbitrary medium JC specified by the terminal
L skeleton is an arbitrary medium JCL skeleton file 11
Is read line by line.

【0017】(12)任意媒体JCLスケルトンファイ
ル11から入力した1行単位において、文字列変数置換
/展開手段13の対象とする文字列変数を検索する。
(12) The character string variable which is the target of the character string variable replacing / expanding means 13 is searched in a line unit input from the arbitrary medium JCL skeleton file 11.

【0018】(13)文字列変数置換/展開手段13の
対象とする文字列変数が1行の処理単位にない場合1行
単位で媒体毎JCLスケルトンライブラリ5に書き出
す。
(13) When the character string variable targeted by the character string variable replacement / expansion means 13 is not in the processing unit of one line, it is written in the JCL skeleton library 5 for each medium in the unit of one line.

【0019】(14)文字列変数置換/展開手段13の
対象とする&で始まる文字列変数があった場合は、単純
置換変数か、繰り返し置換変数が記述される置換/展開
領域かを判断し、文字列変数を文字列変数置換/展開手
段13へ渡す。
(14) If there is a character string variable that starts with & as the object of the character string variable replacement / expansion means 13, it is judged whether it is a simple replacement variable or a replacement / expansion area in which repeated replacement variables are described. , And passes the character string variable to the character string variable replacing / expanding means 13.

【0020】文字列変数置換/展開手段13は、文字列
変数情報抽出手段12より検出した文字列変数と、媒体
構成ファイル/DB一覧表15とにより、文字列変数を
置換/展開し、データ処理単位毎に媒体毎JCLスケル
トンライブラリ5に出力する。詳しくは文字列変数置換
/展開手段13は以下のように動作する。
The character string variable replacing / expanding means 13 replaces / expands the character string variable by the character string variable detected by the character string variable information extracting means 12 and the medium configuration file / DB list 15, and performs data processing. Output to the JCL skeleton library 5 for each medium for each unit. Specifically, the character string variable replacement / expansion means 13 operates as follows.

【0021】(21)文字列変数情報抽出手段12で検
出した文字列変数が単純置換変数であった場合は、端末
より指定されたユーザーカタログ名に置換し、媒体毎J
CLスケルトンライブラリ5へ1行単位で書き出す。
(21) If the character string variable detected by the character string variable information extracting means 12 is a simple substitution variable, the character string variable is replaced with the user catalog name designated by the terminal, and J for each medium is used.
Write to the CL skeleton library 5 line by line.

【0022】(22)文字列変数情報抽出手段12が置
換/展開領域を検出すると置換/展開領域の終端まで1
行単位で退避用のバッファメモリに書き出す。
(22) When the character string variable information extraction means 12 detects the replacement / expansion area, 1 is added to the end of the replacement / expansion area.
Writes to the buffer memory for saving line by line.

【0023】(23)媒体構成ファイル/DB一覧表1
5上のエントリを置換/展開対象のファイル名について
検索する。
(23) Media configuration file / DB list 1
The above entry is searched for the file name to be replaced / expanded.

【0024】(24)検索結果がファイル名に合致した
ら、退避用バッファメモリ中の繰り返し文字列変数を、
媒体構成ファイル/DB一覧表15上のエントリの内容
にしたがって、ファイル名に置換する。
(24) When the search result matches the file name, the repeated character string variable in the save buffer memory is set to
The file name is replaced according to the contents of the entry on the medium configuration file / DB list 15.

【0025】(25)文字列変数が置換された退避用バ
ッファメモリ中の1行を媒体毎JCLスケルトンライブ
ラリ5の媒体毎JCLスケルトンへ1行単位で書き出
す。
(25) One line in the save buffer memory in which the character string variables are replaced is written to the JCL skeleton for each medium of the JCL skeleton library for each medium 5 in units of one line.

【0026】(26)退避用のバッファメモリ全体を繰
り返しの置換単位として(23),(24)および(2
5)の処理を繰り返す。
(26) (23), (24) and (2) using the entire buffer memory for evacuation as a replacement unit for repetition.
The process of 5) is repeated.

【0027】(27)検索結果がファイル名に合致しな
かったら、何も処理を行わず退避用バッファメモリを初
期化する。
(27) If the search result does not match the file name, no processing is performed and the save buffer memory is initialized.

【0028】次に、媒体復旧JCLスケルトン事前生成
処理方式の動作を、ロールフォワード復旧のジャーナル
反映の場合について、図2を用いて以下に説明する。媒
体復旧JCLスケルトン事前生成処理の動作前に以下2
つの準備を行う。
Next, the operation of the medium restoration JCL skeleton pre-generation processing method will be described below with reference to FIG. Before the operation of the media restoration JCL skeleton pre-generation processing, the following 2
Make one preparation.

【0029】(31)障害媒体の復旧手順を媒体グルー
プ毎の任意媒体JCLスケルトンファイル11として準
備しておく(図2(A))。
(31) Prepare a recovery procedure for a failed medium as an arbitrary medium JCL skeleton file 11 for each medium group (FIG. 2 (A)).

【0030】(32)システム管理化の復旧対象媒体9
の属するファイル/データベース情報を管理しているフ
ァイル/DBユーザーカタログ2を指定し、カタログ情
報抽出手段3を用いて、ファイル/DBユーザーカタロ
グ2の構成媒体と構成ファイル情報をカタログ一覧とし
て、カタログ情報ファイル4に取得しておく。
(32) Recovery target medium 9 for system management
The file / DB user catalog 2 that manages the file / database information to which the file belongs is specified, and the catalog information extracting means 3 is used to create a catalog list of the medium / file information of the files / DB user catalog 2 and the catalog information. Get it in file 4.

【0031】先ず端末より、文字列変数置換/展開手段
13に、復旧対象媒体名と、復旧対象媒体9が所属する
ファイル/DBユーザーカタログ名(UCAT01)
と、カタログ情報ファイル4と、任意媒体JCLスケル
トン名とを起動パラメータとして指定することにより、
以下の手順を追って処理がなされる。
First, the recovery target medium name and the file / DB user catalog name (UCAT01) to which the recovery target medium 9 belongs from the terminal to the character string variable replacement / expansion means 13.
By specifying the catalog information file 4 and the arbitrary medium JCL skeleton name as the start parameters,
The processing is performed according to the following procedure.

【0032】(41)指定したカタログ情報ファイル4
より、媒体構成ファイル/DB情報抽出手段14を用い
て、復旧対象媒体名で指定された復旧対象媒体9の構成
ファイル名及びDB名を関連エントリタイプ毎にまとめ
て媒体構成ファイル/DB一覧表15(図2(C))に
作成する。
(41) Specified catalog information file 4
Thus, by using the medium configuration file / DB information extraction means 14, the configuration file name and the DB name of the recovery target medium 9 designated by the recovery target medium name are collected for each related entry type and the medium configuration file / DB list 15 is displayed. (Fig. 2 (C)).

【0033】(42)指定した任意媒体JCLスケルト
ン名より、任意媒体JCLスケルトン(図2(A))を
決定する。
(42) The arbitrary medium JCL skeleton (FIG. 2A) is determined from the designated arbitrary medium JCL skeleton name.

【0034】(43)任意媒体JCLスケルトンを任意
媒体JCLスケルトン11より1行単位で読み込む。例
えば図2(A)で21,22,23と1行単位で順次読
み込む。1行読む度に以下の(44),(45)および
(46)を実行する。
(43) The arbitrary medium JCL skeleton is read in line units from the arbitrary medium JCL skeleton 11. For example, in FIG. 2A, 21, 22, and 23 are sequentially read row by row. Every time one line is read, the following (44), (45) and (46) are executed.

【0035】(44)任意媒体JCLスケルトン11か
ら入力した1行単位において、文字列変数置換/展開手
段13の対象とする文字列変数を検索し、&で始まる文
字列変数を捜す。
(44) In the line unit input from the arbitrary medium JCL skeleton 11, the character string variable which is the target of the character string variable replacing / expanding means 13 is searched, and the character string variable starting with & is searched.

【0036】(45)文字列変数置換/展開手段13の
対象とする文字列変数が1行の処理単位にない場合1行
単位で媒体毎にJCLスケルトンライブラリ5に書き出
す。例えば図2(A)で21,22,23がそのまま図
2(B)の31,32,33へそれぞれ書き出される。
(45) When the character string variable targeted by the character string variable replacement / expansion means 13 is not in the processing unit of one line, it is written in the JCL skeleton library 5 for each medium line by line. For example, 21, 22 and 23 in FIG. 2A are directly written to 31, 32 and 33 in FIG. 2B.

【0037】(46)文字列変数置換/展開手段13の
対象とする&で始まる文字列変数があった場合は、単純
置換変数か,繰り返し置換変数が記述される置換/展開
領域かを判断し、(47)および(48)の処理へ振り
分ける。
(46) When there is a character string variable that starts with & as the object of the character string variable replacement / expansion means 13, it is judged whether it is a simple replacement variable or a replacement / expansion area in which repeated replacement variables are described. , (47) and (48).

【0038】(47)文字列変数情報抽出手段12で検
出した文字列変数が図2(A)の24の&UCATで示
される単純置換変数であった場合は、端末より指定され
たユーザーカタログ名(UCAT01)に置換し、媒体
毎JCLスケルトンライブラリ5へ(図2(B)の34
のように)1行単位で書き出す。
(47) If the character string variable detected by the character string variable information extracting means 12 is a simple substitution variable indicated by & UCAT in 24 of FIG. 2 (A), the user catalog name ( UCAT01) and replace it with the JCL skeleton library 5 for each medium (34 in FIG. 2B).
Write out line by line.

【0039】(48)文字列変数情報抽出手段12で検
出した文字列変数が図2(A)の25の&GLOBで示
される置換/展開領域であった場合は、置換/展開領域
の終端(図2(A)の25中の&ENDGLOB)まで
1行単位で退避用のバッファメモリに書き出し、(4
9)および(4A)の処理を実行する。
(48) If the character string variable detected by the character string variable information extraction means 12 is the replacement / expansion area indicated by & GLOB in FIG. 2A, the end of the replacement / expansion area (Fig. Write up to & ENDGLOB in 25 of 2 (A) to the save buffer memory in units of one line, and (4
9) and (4A) are executed.

【0040】(49)媒体構成ファイル/DB一覧表1
5上のエントリを展開/展開対象のファイル名について
検索し、検索結果に合致したファイルの数だけエントリ
の内容にしたがって、バッファメモリ中の繰り返し文字
列変数を媒体構成ファイル/DB一覧表15上のファイ
ル名に置換する。例えばファイル名検索で図2(C)の
VSAS01が最初に検索結果に合致し、図2(A)の
繰り返し文字列変数&DBVSASは図2(B)のVS
AS01に変換される。同じくVSAS04までが変換
された後、DBファイル名については、それぞれのファ
イル名のうち構成要素の最小単位であるAREA01,
SIDXA01,RANGE01,RANGE02,R
ANGE03に図2(A)の25の&DBVSASが変
換されていく。
(49) Media configuration file / DB list 1
5 is searched for the file name to be expanded / expanded, and the repeated character string variable in the buffer memory is set on the medium configuration file / DB list 15 according to the contents of the entry by the number of files matching the search result. Replace with the file name. For example, in the file name search, VSAS01 of FIG. 2 (C) first matches the search result, and the repeated character string variable & DBVSAS of FIG. 2 (A) is VS of FIG. 2 (B).
Converted to AS01. Similarly, after converting up to VSAS04, regarding the DB file name, AREA01, which is the minimum unit of the constituent elements of each file name,
SIDXA01, RANGE01, RANGE02, R
25 & DBVSAS of FIG. 2 (A) is converted into ANGE03.

【0041】(4A)置換された1行を媒体毎JCLス
ケルトンライブラリ5の媒体毎JCLスケルトンへ1行
単位で書き出す。こうして図2(A)の25は図2
(B)の35に置換/展開される。
(4A) The replaced one line is written line by line to the JCL skeleton for each medium of the JCL skeleton library for each medium 5. Thus, 25 in FIG. 2A is shown in FIG.
It is replaced / developed with 35 in (B).

【0042】以上により、管理者が事前登録しておく任
意媒体JCLスケルトン11について、カタログ情報フ
ァイル4を参照し、媒体構成ファイル/DB一覧表15
を作成すれば、図2(A)で示される任意媒体JCLス
ケルトンファイル11が、図2(B)で示される媒体毎
JCLスケルトンライブラリ5に格納される媒体毎JC
Lスケルトンに変換できることを述べた。
As described above, the catalog information file 4 is referred to for the arbitrary medium JCL skeleton 11 pre-registered by the administrator, and the medium configuration file / DB list 15
2A, the arbitrary medium JCL skeleton file 11 shown in FIG. 2A is stored in the medium-by-medium JCL skeleton library 5 shown in FIG.
It has been described that it can be converted into an L skeleton.

【0043】さて、この後この媒体毎JCLスケルトン
を用いて障害媒体の復旧を行う手順として、例えば復旧
対象媒体9に障害が発生した場合、障害媒体復旧処理手
段6は、復旧対象媒体9と任意媒体とを認識し、媒体毎
JCLスケルトンライブラリ5より媒体毎JCLスケル
トンを特定し、システム定義情報7を参照し、最新セー
ブ世代,使用可能な予備媒体を特定し、媒体毎JCLス
ケルトンライブラリ5に記述された変数要素にうめ込み
実行可能JCLに変換して実行型JCLライブラリ8に
出力し、復旧対象媒体9に対する媒体復旧ジョブを起動
する。
After this, as a procedure for recovering the faulty medium using this JCL skeleton for each medium, for example, when a fault occurs in the restoration target medium 9, the faulty medium restoration processing means 6 and the restoration target medium 9 arbitrarily Recognize the medium, identify the JCL skeleton for each medium from the JCL skeleton library 5 for each medium, refer to the system definition information 7, identify the latest save generation, the available spare medium, and describe in the JCL skeleton library 5 for each medium The embedded variable executable JCL is converted into the specified variable element and output to the execution type JCL library 8, and the medium recovery job for the recovery target medium 9 is started.

【0044】なお、上記実施例では1つの復旧対象媒体
を設定した場合について説明したが、同様な事が複数復
旧対象媒体を同時に設定した場合でも成り立つ事は言う
までもない。
In the above embodiment, the case where one recovery target medium is set has been described, but it goes without saying that the same thing holds true when a plurality of recovery target media are set at the same time.

【0045】[0045]

【発明の効果】以上説明したように本発明は、媒体復旧
ジョブスケルトン記述において以下の効果がある。
As described above, the present invention has the following effects in the description of the media restoration job skeleton.

【0046】(1)管理者が、復旧手順毎にJCLを作
成/投入する必要がなくなり、外部ファイル名,カタロ
グ名をすべて指定しておく必要もなくなり、管理者の負
担とミスが減少する。
(1) The administrator does not need to create / enter the JCL for each recovery procedure, and it is not necessary to specify all external file names and catalog names, which reduces the burden and mistakes on the administrator.

【0047】(2)復旧手順の変更,媒体構成の変更に
あっても媒体毎JCLスケルトンの変更を吸収する事が
でき、事前準備において管理者が対象媒体数だけ媒体毎
JCLスケルトンを書き直す必要がなくなり、管理者の
負担とミスが減少する。
(2) It is possible to absorb the change in the JCL skeleton for each medium even if the restoration procedure is changed or the medium configuration is changed, and it is necessary for the administrator to rewrite the JCL skeleton for each medium by the number of target media in advance preparation. It reduces the burden and mistakes on the administrator.

【0048】(3)ファイルの割り当て媒体の変更にあ
っても媒体毎JCLスケルトンの変更を吸収する事がで
き、事前に準備において管理者が管理台帳を調べて復旧
手順を確認し、体操媒体数だけ媒体毎JCLスケルトン
を書き直す必要がなくなり、管理者の負担とミスガ減少
する。
(3) Even if the file allocation medium is changed, the change in the JCL skeleton for each medium can be absorbed. In preparation, the administrator checks the management ledger and confirms the recovery procedure, and the number of gymnastics media It is not necessary to rewrite the JCL skeleton for each medium, which reduces the burden on the administrator and misleading.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】図1に示した実施例における任意媒体JCLス
ケルトンファイル,媒体毎JCLスケルトンライブラリ
および媒体構成ファイル/DB一覧表の内容を表すもの
である。
FIG. 2 shows contents of an arbitrary medium JCL skeleton file, a medium-by-medium JCL skeleton library, and a medium configuration file / DB list in the embodiment shown in FIG.

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

1 媒体復旧JCLスケルトン事前生成手段 2 ファイル/DBユーザーカタログ 3 カタログ情報抽出手段 4 カタログ情報ファイル 5 媒体毎JCLスケルトンライブラリ 6 障害媒体復旧処理手段 7 システム定義情報 8 実行型JCLライブラリ 9 復旧対象媒体 11 任意媒体JCLスケルトンファイル 12 文字列変数情報抽出手段 13 文字列変数置換/展開手段 14 媒体構成ファイル/DB情報抽出手段 15 媒体構成ファイル/DB一覧表 1 medium restoration JCL skeleton pre-generation means 2 file / DB user catalog 3 catalog information extraction means 4 catalog information file 5 JCL skeleton library for each medium 6 failure medium restoration processing means 7 system definition information 8 execution type JCL library 9 restoration target medium 11 arbitrary Medium JCL skeleton file 12 Character string variable information extracting means 13 Character string variable replacing / expanding means 14 Medium configuration file / DB information extracting means 15 Medium configuration file / DB list

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】コンピュータシステムのディスク媒体障害
発生に対して、障害媒体の復旧手順を特定な媒体毎のジ
ョブ制御記述媒体毎JCLスケルトンとして事前準備し
ておくことにより、復旧処理実行時には、復旧処理に必
要な変数要素のみをうめこむことによって、実行JCL
に変換して出力し、媒体復旧ジョブを起動する障害媒体
復旧処理手段と、 システム配下媒体のファイル/データベース情報を持つ
ファイル/DBユーザーカタログよりカタログエントリ
情報を抽出してカタログ情報ファイルに格納するカタロ
グ情報抽出手段と、 このカタログ情報抽出手段により出力されるカタログ情
報ファイルとを備えたコンピュータシステムにおけるデ
ィスク媒体障害の復旧方式において、 特定な媒体に関するファイル/DBユーザーカタログ名
と、その媒体中に格納される障害発生時に復旧せんとし
て記述されたファイル名とを、変数によってJCLに記
述する事により、任意の媒体に対する媒体毎JCLスケ
ルトンを生成できるようにした任意媒体JCLスケルト
ンファイルと、 前記任意媒体JCLスケルトンを解読し、文字列変数を
抽出する文字列変数情報抽出手段と、 前記カタログ情報ファイルより、復旧対象媒体の構成フ
ァイル/DB情報を分別抽出する媒体構成ファイル/D
B情報抽出手段と、 前記文字列変数情報抽出手段により得らえた文字列変数
を、前記媒体構成ファイル/DB一覧表より検索して、
文字列変数を置換/展開することにより、任意媒体JC
Lスケルトン記述を媒体毎JCLスケルトン記述に変換
し、処理単位毎に媒体毎JCLスケルトンライブラリに
出力する文字列変数置換/展開手段とを有することを特
徴とするディスク媒体障害の復旧方式。
1. When a disk medium failure occurs in a computer system, a recovery procedure for the failed medium is prepared in advance as a JCL skeleton for each job control description medium for each specific medium so that the recovery process can be performed when the recovery process is executed. JCL is executed by embedding only the variable elements required for
A failure media recovery processing means for converting and outputting to a media recovery job, and a catalog for extracting catalog entry information from a file / DB user catalog of a file / database information of a medium under the system and storing it in a catalog information file In a recovery method of a disk medium failure in a computer system including an information extracting unit and a catalog information file output by the catalog information extracting unit, a file / DB user catalog name relating to a specific medium and a file / DB user catalog name stored in the medium. A JCL skeleton file for an arbitrary medium, in which a JCL skeleton for each medium for an arbitrary medium can be generated by describing a file name described as a recovery file when a failure occurs in the JCL with a variable, and the JCL skeleton for the arbitrary medium. Solve A character string variable information extracting means for reading and extracting a character string variable; and a medium configuration file / D for separately extracting a configuration file / DB information of a recovery target medium from the catalog information file.
B information extraction means and the character string variable obtained by the character string variable information extraction means are searched from the medium configuration file / DB list,
By replacing / expanding character string variables, JC
A recovery method for a disk medium failure, comprising: a character string variable replacement / expansion means for converting an L skeleton description into a JCL skeleton description for each medium and outputting the JCL skeleton library for each medium for each processing unit.
JP4158421A 1992-06-18 1992-06-18 Restoring system for fault of disk medium Pending JPH064167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4158421A JPH064167A (en) 1992-06-18 1992-06-18 Restoring system for fault of disk medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4158421A JPH064167A (en) 1992-06-18 1992-06-18 Restoring system for fault of disk medium

Publications (1)

Publication Number Publication Date
JPH064167A true JPH064167A (en) 1994-01-14

Family

ID=15671393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4158421A Pending JPH064167A (en) 1992-06-18 1992-06-18 Restoring system for fault of disk medium

Country Status (1)

Country Link
JP (1) JPH064167A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100365458B1 (en) * 1999-10-01 2002-12-18 화이자 인코포레이티드 Acylation Process
JP2010108094A (en) * 2008-10-28 2010-05-13 Jfe Steel Corp Transmission control jcl automatic creating apparatus, transmission control jcl automatic creating method, and transmission control jcl automatic creating program
US8277975B2 (en) 2000-10-20 2012-10-02 Massachusetts Intitute Of Technology Reticulated and controlled porosity battery structures

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100365458B1 (en) * 1999-10-01 2002-12-18 화이자 인코포레이티드 Acylation Process
US8277975B2 (en) 2000-10-20 2012-10-02 Massachusetts Intitute Of Technology Reticulated and controlled porosity battery structures
JP2010108094A (en) * 2008-10-28 2010-05-13 Jfe Steel Corp Transmission control jcl automatic creating apparatus, transmission control jcl automatic creating method, and transmission control jcl automatic creating program

Similar Documents

Publication Publication Date Title
CN106933703B (en) Database data backup method and device and electronic equipment
JP3386232B2 (en) Test computer system
US11880284B2 (en) Storage restore system, storage restore method, and storage medium
JPH10124367A (en) Method for converting file and directory
JP4755244B2 (en) Information generation method, information generation program, and information generation apparatus
JP2008033527A (en) Storage device, disk device, and data restoration method
JPH064167A (en) Restoring system for fault of disk medium
JP2016143160A (en) Verification program, verification device and verification method
JP2925042B2 (en) Information link generation method
JPH04360246A (en) Device for compressing file
JP2016157245A (en) Information processing apparatus, system setting method, and computer program
JPH039426A (en) Software development environment storing system
JPH0512087A (en) System for outputting pre-updating journal
JPH0962554A (en) Quiescent point save generation system
JP2744247B2 (en) Data integrity processing method
KR20030075738A (en) Data recovering method for new technology file system
JP2972439B2 (en) Portable terminal backup method
JPH07200378A (en) Library file management equipment
JPH05241971A (en) Restoring method for data on memory
JPH01140353A (en) Database data preservation method
JPH0239252A (en) Back-up generating system
CN115599796A (en) Log stream processing method and device, electronic equipment and storage medium
CN113296830A (en) Parameter configuration and data synchronization method in time-frequency time system embedded application
JPH05173864A (en) File recovery system
JPH01119839A (en) File constitution control system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990706