JP2732948B2 - Magnetic tape volume mounting method and computer system - Google Patents

Magnetic tape volume mounting method and computer system

Info

Publication number
JP2732948B2
JP2732948B2 JP2414875A JP41487590A JP2732948B2 JP 2732948 B2 JP2732948 B2 JP 2732948B2 JP 2414875 A JP2414875 A JP 2414875A JP 41487590 A JP41487590 A JP 41487590A JP 2732948 B2 JP2732948 B2 JP 2732948B2
Authority
JP
Japan
Prior art keywords
job
magnetic tape
volume
file
information
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 - Fee Related
Application number
JP2414875A
Other languages
Japanese (ja)
Other versions
JPH04229319A (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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co 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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2414875A priority Critical patent/JP2732948B2/en
Publication of JPH04229319A publication Critical patent/JPH04229319A/en
Application granted granted Critical
Publication of JP2732948B2 publication Critical patent/JP2732948B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は磁気テープボリュームの
装着方法及びその機能を備えた計算機システムに係り、
特に、複数の磁気テープ装置、該磁気テープ装置へカー
トリッジタイプの磁気テープボリューム(カートリッジ
MT)を着脱する磁気テープボリューム着脱機構、カー
トリッジMTを自動搬送するカートリッジMT搬送機
構、及び、多数のカートリッジMTを格納したカートリ
ッジMT格納棚等からなるMTライブラリ装置を備えた
計算機システムにおいて、ジョブ起動前に、該ジョブで
使用予定の磁気テープボリュームを磁気テープ装置に装
着するのに好適な方法及びシステムに関する。
The present invention relates relates to a computer system having a mounting how and functions of the magnetic tape volume,
In particular, a plurality of magnetic tape devices, a magnetic tape volume attaching / detaching mechanism for attaching / detaching a cartridge type magnetic tape volume (cartridge MT) to / from the magnetic tape device, a cartridge MT transport mechanism for automatically transporting the cartridge MT, and a large number of cartridges MT are provided. The present invention relates to a method and system suitable for mounting a magnetic tape volume to be used in a job to a magnetic tape device before starting a job in a computer system provided with an MT library device including a cartridge MT storage shelf in which a cartridge is stored.

【0002】[0002]

【従来の技術】MTライブラリ装置を備えた計算機シス
テムにおいては、ジョブを効率的に実行する上で、磁気
テープボリューム着脱時間等の待ち時間を出来るだけ削
減する必要がある。
2. Description of the Related Art In a computer system equipped with an MT library device, it is necessary to reduce a waiting time such as a magnetic tape volume attaching / detaching time as much as possible in order to execute a job efficiently.

【0003】従来技術としては、例えば特開昭60−1
0329号公報に記載のように、実行中のジョブで使用
している磁気テープボリュームが次のジョブでも使用さ
れる場合に、該実行中ジョブのジョブ終了時にその終了
したジョブが使用していた磁気テープボリュームを取外
さないように制御することにより、磁気テープボリュー
ム交換の負荷軽減及び磁気テープボリューム着脱時間の
短縮を図る方法が知られている。さらには、例えば特開
平1−319163号公報に記載のように、カートリッ
ジ磁気テープ装置とカートリッジ選択搬送装置とこれら
の2装置を制御する制御装置とを有する自動磁気テープ
ライブラリシステムにおいて、カートリッジ磁気テープ
ボリュームの取外しのための巻戻し中またはカートリッ
ジ磁気テープボリュームの取外し中にカートリッジ選択
運搬装置を該カートリッジ磁気テープ装置の位置に移動
させて、取外し完了後に該カートリッジ磁気テープボリ
ュームを装着することにより、磁気テープボリュームの
装着時間または取外し時間を短縮する方法も知られてい
る。
The prior art is disclosed in, for example,
As described in Japanese Patent Application Laid-Open No. 0329, when a magnetic tape volume used in a running job is used also in the next job, when the job of the running job ends, the magnetic tape used by the finished job is used. There is known a method of controlling the tape volume so as not to be removed, thereby reducing the load of magnetic tape volume replacement and shortening the time required for attaching and detaching the magnetic tape volume. Further, in an automatic magnetic tape library system having a cartridge magnetic tape device, a cartridge selecting / conveying device, and a control device for controlling these two devices, as described in, for example, JP-A-1-319163, By moving the cartridge selection and transport device to the position of the cartridge magnetic tape device during rewinding for removal of the cartridge or during removal of the cartridge magnetic tape volume, and mounting the cartridge magnetic tape volume after the removal is completed, It is also known to reduce the time for mounting or removing the volume.

【0004】[0004]

【発明が解決しようとする課題】特開昭60−1032
9号公報で知られている方法では、同一磁気テープ装置
において実行中のジョブで使用中の磁気テープボリュー
ムと次に開始されるジョブで使用される磁気テープボリ
ュームとが異なる場合は、磁気テープボリュームの着脱
が発生することになり、着脱動作が完了するまで次に開
始されるジョブの実行は待たされるという問題がある。
また、特開平1−319163号公報で知られる方法で
は、カートリッジ選択運搬装置の移動時間は短縮される
が、次のジョブで使用する磁気テープボリュームのカー
トリッジ磁気テープ装置への装着が完了するまで次に開
始されるジョブの実行は待たされるという問題がある。
Problems to be Solved by the Invention Japanese Patent Application Laid-Open No. 60-1032
According to the method disclosed in Japanese Patent Application Laid-Open No. 9-209, when a magnetic tape volume used in a job being executed in the same magnetic tape device is different from a magnetic tape volume used in a job started next, a magnetic tape volume is used. This causes a problem that the job to be started next is waited until the detachment operation is completed.
Further, in the method disclosed in Japanese Patent Application Laid-Open No. 1-319163, the moving time of the cartridge selecting / conveying device is reduced, but the magnetic tape volume to be used in the next job is continuously mounted on the cartridge magnetic tape device. There is a problem that the execution of a job that is started is waited for.

【0005】本発明の目的は、MTライブラリ装置を備
えた計算機システムにおいて、磁気テープボリュームを
磁気テープ装置に装着あるいは磁気テープ装置から取外
す磁気テープ着脱機構を制御して、現在実行中のジョブ
の後に実行される未実行ジョブで使用する磁気テープボ
リュームを事前に所望の磁気テープ装置に装着すること
により、当該ジョブの実行開始時の磁気テープボリュー
ムの装着完了待ち時間をなくすことにある。
An object of the present invention is to control a magnetic tape attaching / detaching mechanism for attaching or detaching a magnetic tape volume to or from a magnetic tape device in a computer system having an MT library device so that a magnetic tape volume can be added after a currently executing job. By mounting a magnetic tape volume to be used for an unexecuted job to be executed on a desired magnetic tape device in advance, the waiting time for mounting the magnetic tape volume at the start of execution of the job is eliminated.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、磁気テープライブラリ装置を備えた計算
機システムにおいて、ジョブの実行順序情報を格納する
ジョブスケジュール情報ファイルと、ジョブの実行を制
御する情報であるジョブ制御文(JCL)を格納するJ
CLファイルと、ジョブで使用する記録媒体の情報を格
納するジョブ媒体マスタファイルとを有し、前記ジョブ
スケジュール情報ファイルにより未実行のジョブを確認
し、当該ショブのJCLを前記JCLファイルから読み
出して、処理対象のデータセットのファイル名とその世
代番号及び使用する磁気テープ装置を得、前記ファイル
名と世代番号とを持つレコードを前記ジョブ媒体マスタ
ファイルから読み出してボリューム通し番号を得、該ボ
リューム通し番号に対応する磁気テープボリュームを前
記JCLから得られた磁気テープ装置に装着することを
主たる特徴とする。
In order to achieve the above object, the present invention provides a computer system having a magnetic tape library device, comprising: a job schedule information file for storing job execution order information; J that stores job control statements (JCL) that are information to be controlled
A CL file and a job medium master file for storing information on a recording medium used in the job. The job schedule information file confirms an unexecuted job, and reads the job's JCL from the JCL file. Obtain the file name of the data set to be processed, its generation number, and the magnetic tape device to be used, read the record having the file name and the generation number from the job medium master file to obtain the volume serial number, and correspond to the volume serial number. The main feature is that the magnetic tape volume to be mounted is mounted on the magnetic tape device obtained from the JCL.

【0007】[0007]

【作用】計算機システムは、MTライブラリ装置を制御
するオペレーティングシステム(OS)とジョブスケジ
ュール情報ファイルのジョブスケジュール情報をもとに
ジョブを実行させるモニタプログラムとを有している。
例えばコンソール装置のディスプレイを監視しながらオ
ペレータが現在実行中のジョブの後に実行するジョブ名
を指定した磁気テープボリューム事前装着コマンドを入
力すると、モニタプログラムは、該指定のあったジョブ
が現在実行中の後に実行される未実行ジョブであるか否
かジョブスケジュール情報ファイルにより確認し、未実
行ジョブであることが分かると、前記指定のあったジョ
ブのJCLをJCLファイルから読み出して、指定され
たジョブで使用する磁気テープ装置を得、さらに該JC
Lに指定されているファイルの世代番号を持つレコード
をジョブ媒体マスタファイルから読み出して、指定され
たジョブで使用する磁気テープボリュームのボリューム
通し番号を得る。このようにして、得られたボリューム
通し番号と磁気テープ装置とを装着指示情報としてオペ
レーティングシステムに磁気テープボリュームの装着指
示をすることにより、オペレーティングシステムの制御
下でジョブの実行開始前に該ジョブで使用する磁気テー
プボリュームの磁気テープ装置への装着を完了しておく
ことができる。
The computer system has an operating system (OS) for controlling the MT library device and a monitor program for executing a job based on the job schedule information in the job schedule information file.
For example, if the operator inputs a magnetic tape volume pre-mounting command specifying a job name to be executed after the currently executing job while monitoring the display of the console device, the monitor program will execute The job schedule information file is used to check whether the job is an unexecuted job to be executed later. If it is determined that the job is an unexecuted job, the JCL of the specified job is read from the JCL file, and Obtain a magnetic tape device to be used,
The record having the generation number of the file specified in L is read from the job medium master file, and the volume serial number of the magnetic tape volume used in the specified job is obtained. By instructing the operating system to mount the magnetic tape volume using the obtained volume serial number and the magnetic tape device as mounting instruction information in this way, the operating system can use the tape before starting execution of the job under the control of the operating system. The mounting of the magnetic tape volume to the magnetic tape device can be completed.

【0008】[0008]

【実施例】図1は本発明の一実施例の電子計算機システ
ムの構成図で、中央処理装置1、入出力装置2、直接ア
クセス記憶装置3、磁気テープ制御装置4、及びMTラ
イブラリ装置5からなる。
FIG. 1 is a block diagram of a computer system according to an embodiment of the present invention, which comprises a central processing unit 1, an input / output unit 2, a direct access storage unit 3, a magnetic tape control unit 4, and an MT library unit 5. .

【0009】直接アクセス記憶装置3は、ジョブの実行
順序情報(スケジュール情報)を格納するジョブスケジ
ュール情報ファイル(ジョブモニタファイル)31、ジ
ョブの実行を制御する情報であるJCL(ジョブ制御
文)を格納するJCLファイル32、及び、ジョブで使
用する記録媒体の情報を格納するジョブ媒体マスタファ
イル33とを有している。
The direct access storage device 3 stores a job schedule information file (job monitor file) 31 for storing job execution order information (schedule information) and a JCL (job control statement) for controlling job execution. It has a JCL file 32 and a job medium master file 33 for storing information of a recording medium used in a job.

【0010】MTライブラリ装置5は、複数の磁気テー
プ装置51、該磁気テープ装置51の任意のものに対し
て磁気テープボリューム(カートリッジMT)を着脱す
る磁気テープ着脱機構52、カートリッジMTを自動搬
送するカートリッジMT搬送機構53、及び、多数のカ
ートリッジMTを格納しているカートリッジMT格納棚
54からなる。この種のMTライブラリ装置自体は周知
であるので、詳細構成は省略する。
The MT library device 5 automatically transports a plurality of magnetic tape devices 51, a magnetic tape attaching / detaching mechanism 52 for attaching and detaching a magnetic tape volume (cartridge MT) to and from any of the magnetic tape devices 51, and a cartridge MT. It comprises a cartridge MT transport mechanism 53 and a cartridge MT storage shelf 54 that stores a large number of cartridges MT. Since this type of MT library device itself is well known, the detailed configuration is omitted.

【0011】中央処理装置1は主記憶装置10を含み、
該主記憶装置10上に、本発明に関連するプログラムと
してモニタプログラム11とオペレーティングシステム
(OS)12が置かれる。モニタプログラム11はジョ
ブを実行させるプログラムである。本実施例では、入出
力装置2を使用してオペレータから磁気テープボリュー
ムを事前装着するジョブの指示があると、このモニタプ
ログラム11において、ジョブスケジュール情報ファイ
ル31のジョブのスケジュール情報をもとに、該指示の
あったジョブが未実行ジョブか否か確認する。そして、
未実行ジョブであることが確認されると、JCLファイ
ル32から該指示のあったジョブのJCLを読出して、
該ジョブで使用する磁気テープ装置を得、さらにJCL
で指定されている処理対象データセットのファイル名と
世代番号とでジョブ媒体マスタファイル33を検索して
ボリューム通し番号を得、この磁気テープ装置とボリュ
ーム通し番号を装着指示情報としてOS12へ装着指示
を出す。OS12は、このモニタプログラムから連絡を
受けた情報指示をもとに、磁気テープ制御装置4を介し
てMTライブラリ装置5を制御し、指示されたボリュー
ム通し番号の磁気テープボリュームを指示された磁気テ
ープに装着する。
The central processing unit 1 includes a main storage device 10,
A monitor program 11 and an operating system (OS) 12 are placed on the main storage device 10 as programs related to the present invention. The monitor program 11 is a program for executing a job. In this embodiment, when an operator gives an instruction for a job for mounting a magnetic tape volume in advance by using the input / output device 2, the monitor program 11 uses the job schedule information file 31 based on the job schedule information. It is determined whether or not the specified job is an unexecuted job. And
When it is confirmed that the job is an unexecuted job, the JCL of the designated job is read from the JCL file 32 and
Obtain a magnetic tape device to be used in the job, and
Then, the job medium master file 33 is searched by using the file name and the generation number of the processing target data set specified in (1) to obtain a volume serial number, and a mounting instruction is issued to the OS 12 using the magnetic tape device and the volume serial number as mounting instruction information. The OS 12 controls the MT library device 5 via the magnetic tape control device 4 based on the information instruction received from the monitor program, and transfers the magnetic tape volume of the specified volume serial number to the specified magnetic tape. Mounting.

【0012】図5及び図6は、モニタプログラム11の
処理フローを示したもので、これについては後で詳述す
る。
FIGS. 5 and 6 show a processing flow of the monitor program 11, which will be described in detail later.

【0013】図2はジョブスケジュール情報ファイル3
1の内容を示す図である。ジョブスケジュール情報ファ
イル31はスケジュールクラスレコード311と各クラ
ス毎にチェイン構造をとる複数のジョブレコード312
からなる。スケジュールクラスレコード311は各ジョ
ブ実行クラス毎のジョブレコード312群の先頭レコー
ドの位置を知ることのできる先頭レコード位置情報31
1をフィールドとしてもつ。各ジョブレコード312は
一つのジョブに対応するものであり、該ジョブのジョブ
名313、該ジョブの実行の直前に実行される一つある
いは複数のジョブのジョブ名(先行ジョブ名)314、
該ジョブの状態(正常終了、異常終了、未実行、実行中
等の状態)を示すジョブ状態フラグ315、及び、該ジ
ョブの次に実行されるジョブに対応するジョブレコード
の位置を知ることのできる後行ジョブチェイン316と
をフィールドとしてもつ。ジョブが新しく追加された場
合には、該追加されたジョブのジョブ実行クラスのショ
ブレコード群のチェインの最終レコード312の後に、
該追加されたジョブに対応するジョブレコードがチェイ
ンされる。
FIG. 2 shows a job schedule information file 3
FIG. 3 is a diagram showing the content of No. 1. The job schedule information file 31 includes a schedule class record 311 and a plurality of job records 312 having a chain structure for each class.
Consists of The schedule class record 311 is the first record position information 31 that can know the position of the first record of the group of job records 312 for each job execution class.
It has 1 as a field. Each job record 312 corresponds to one job, and includes a job name 313 of the job, a job name (preceding job name) 314 of one or more jobs to be executed immediately before the execution of the job,
A job status flag 315 indicating the status of the job (normal termination, abnormal termination, unexecuted, running, etc.) and the position of the job record corresponding to the job executed next to the job can be known. A row job chain 316 is provided as a field. When a job is newly added, after the last record 312 of the chain of the job record group of the job execution class of the added job,
A job record corresponding to the added job is chained.

【0014】図3はJCLファイル32の内容を示す図
である。JCLファイル32はディレクトリレコード3
20とJCL情報323とからなる。ディレクトリレコ
ード320は、各ジョブのジョブ名321と該ジョブ名
321のJCL情報の位置を知ることのできるJCL位
置情報322とをフィールドとしてもつ。JCL情報3
23は各ジョブの制御文を示している。例えばジョブ名
1のJCL情報について云えば、EXEC欄のPGM=
×××は、実行(EXEC)するプログラム名は「××
×」であることを示す。また、DD欄のDSN=A(+
1)は、処理の対象となるデータセット(DSN)は、
ファイル名が「A」で世代番号が「1」のものであると
を示し、UNIT=MTLは、使用する装置タイプ(U
NIT)はMTライブラリ装置(MTL)であることを
示す。
FIG. 3 shows the contents of the JCL file 32. JCL file 32 is directory record 3
20 and JCL information 323. The directory record 320 has, as fields, a job name 321 of each job and JCL position information 322 from which the position of the JCL information of the job name 321 can be known. JCL information 3
Reference numeral 23 denotes a control statement of each job. For example, regarding the JCL information of job name 1, PGM =
"Xxx" means that the name of the program to be executed (EXEC) is "xx
× ”. Also, DSN = A (+
1) The data set (DSN) to be processed is
The file name is “A” and the generation number is “1”, and UNIT = MTL indicates the device type (U
(NIT) indicates an MT library device (MTL).

【0015】図4はジョブ媒体マスタファイル33の内
容を示す図である。ジョブ媒体マスタファイル33はフ
ァイル情報レコード330と複数の世代情報レコード3
35からなる。ファイル情報レコード330は、当該フ
ァイルのファイル名を示すファイル名331とファイル
名331で示されるファイルの最新の世代番号を示す最
新世代番号332と世代情報レコード335群の先頭レ
コードの位置を知ることのできる世代情報レコードチェ
イン333とMTTライブラリ装置などであることを示
す装置タイプ334とをフィールドとしてもつ。各世代
情報レコード335は、該世代情報レコード335より
1世代古い世代の世代情報レコードの位置を知ることの
できる世代情報レコードチェイン336と世代を示す世
代番号337と該世代番号337で示される世代番号を
もつ1つまたは2以上のボリューム通し番号338とを
フィールドとしてもつ。
FIG. 4 is a diagram showing the contents of the job medium master file 33. The job medium master file 33 includes a file information record 330 and a plurality of generation information records 3
It consists of 35. The file information record 330 includes a file name 331 indicating the file name of the file, a latest generation number 332 indicating the latest generation number of the file indicated by the file name 331, and the position of the first record of the group of generation information records 335. A generation information record chain 333 and a device type 334 indicating an MTT library device or the like are provided as fields. Each generation information record 335 includes a generation information record chain 336 capable of knowing the position of a generation information record of a generation one generation older than the generation information record 335, a generation number 337 indicating a generation, and a generation number indicated by the generation number 337. And one or more volume serial numbers 338 having the following fields as fields.

【0016】以下、図5及び図6のフローチャートに従
い、モニタプログラム11での本発明にかかわる処理手
順の一例を説明する。
An example of the processing procedure of the monitor program 11 according to the present invention will be described below with reference to the flowcharts of FIGS.

【0017】まず、オペレータが入出力装置2から入力
した磁気テープボリュームを事前装着するジョブのジョ
ブ実行クラス」と「ジョブ名」とを受け取る(ステップ
101)。次に、この受け取った「ジョブ実行クラス」
と「ジョブ名」との形式の形式チェックを行い(ステッ
プ102)、その結果、形式が正しくなかったらステッ
プ113へ分岐して、入出力装置2へエラーメッセージ
を出力する。形式が正しかったら、指定された「ジョブ
実行クラス」の中の指定された「ジョブ名」を持つ「ジ
ョブレコード」をスケジュール情報ファイル31(図
2)から検索する(ステップ103)。そして、指定さ
れた「ジョブ実行クラス」の中に指定された「ジョブ
名」の「ジョブレコード」があるかをチェックする(ス
テップ104)。チェクの結果、該当する「ジョブレコ
ード」が存在しない場合はステップ113へ分岐する。
First, the operator receives a "job execution class of a job to which a magnetic tape volume is pre-mounted" and a "job name" input from the input / output device 2 (step 101). Next, this received "job execution class"
Then, a format check of the format of the job and the "job name" is performed (step 102). If the format is correct, a “job record” having the specified “job name” in the specified “job execution class” is searched from the schedule information file 31 (FIG. 2) (step 103). Then, it is checked whether there is a “job record” of the specified “job name” in the specified “job execution class” (step 104). As a result of the check, if there is no corresponding “job record”, the flow branches to step 113.

【0018】スケジュール情報ファイル31に該当する
「ジョブレコード」が存在する場合は、該ジョブレコー
ドの状態フラグ(図2の315)を用いて、指定された
ジョブ名のジョブが未実行か否かをチェックする(ステ
ップ105)。チェックの結果、未実行でない場合(実
行済、実行中等)はステップ113へ分岐する。指定さ
れたジョブ名のジョブが未実行の場合(即ち、指定され
たジョブ名のジョブが少なくとも現在実行中のジョブの
後に実行されるものであることが確認された場合)は、
該指定された「ジョブ名」に対応するJCLをJCLフ
ァイル32(図3)から読み込み(ステップ106)、
該読み込んだJCLから「磁気テープ装置タイプ(UN
ITオペランド情報)」と「ファイル名(DSNオペラ
ンド情報)」と「世代番号」とを得る(ステップ10
7)。そして、このJCLから得られた磁気テープ装置
タイプと同じタイプの磁気テープ装置の磁気テープボリ
ューム装着状況を連絡するようにOS12に指示し、O
S12から該磁気テープボリューム装着状況のリストを
受け取る(ステップ108)。いまの場合、装置タイプ
としてMTライブラリ装置5が指定され、OS12から
は、MTライブラリ装置5の磁気テープ装置51群の装
着状況リストが通知されてくる。このOS12からの磁
気テープボリューム装着状況リストにより、JCLで指
定されている「磁気テープ装置タイプ」と同じタイプの
磁気テープ装置で、磁気テープボリュームが装着されて
いない装置があるかチェックする(ステップ109)。
チェックの結果、同しタイプの磁気テープ装置すべてに
磁気テープボリュームが装着されている場合は、ステッ
プ113へ分岐する。
If a corresponding "job record" exists in the schedule information file 31, it is determined whether or not the job of the designated job name has not been executed by using the status flag (315 in FIG. 2) of the job record. Check (step 105). As a result of the check, if not executed (executed, executing, etc.), the process branches to step 113. If the job with the specified job name has not been executed (that is, if it is confirmed that the job with the specified job name is to be executed at least after the currently executing job),
The JCL corresponding to the designated “job name” is read from the JCL file 32 (FIG. 3) (step 106),
From the read JCL, “Magnetic tape device type (UN
"IT operand information)", "file name (DSN operand information)", and "generation number" (step 10).
7). Then, the OS 12 is instructed to notify the mounting status of the magnetic tape volume of the magnetic tape device of the same type as the magnetic tape device type obtained from the JCL.
A list of the magnetic tape volume mounting status is received from S12 (step 108). In this case, the MT library device 5 is designated as the device type, and the OS 12 notifies the mounting status list of the group of magnetic tape devices 51 of the MT library device 5. Based on the magnetic tape volume mounting status list from the OS 12, it is checked whether there is a magnetic tape device of the same type as the "magnetic tape device type" specified by the JCL, and to which no magnetic tape volume is mounted (step 109). ).
As a result of the check, if the magnetic tape volume is mounted on all the magnetic tape devices of the same type, the process branches to step 113.

【0019】チェックの結果、磁気テープボリュームが
装着されていない同じタイプの磁気テープ装置がある場
合(ここでは、MTライブラリ装置5に磁気テープボリ
ュームの装着されていない磁気テープ装置51がある場
合)は、JCLで指定された該当ファイルの「世代番
号」を持つレコードをジョブ媒体マスタファイル33
(図4)から読み込む(ステップ110)。次に、読み
込んだレコードから該「世代番号」に対応するボリュー
ムの「ボリューム通し番号」を得る(ステップ11
1)。そして、この「ボリューム通し番号」とJCL中
の「磁気テープ装置タイプ」とを装着指示情報として、
OS12に対して磁気テープボリュームの装着指示を行
う(ステップ112)。
As a result of the check, if there is a magnetic tape device of the same type in which no magnetic tape volume is mounted (here, if there is a magnetic tape device 51 in which no magnetic tape volume is mounted in the MT library device 5). , The record having the “generation number” of the file specified by the JCL is stored in the job medium master file 33.
It is read from (FIG. 4) (step 110). Next, the "volume serial number" of the volume corresponding to the "generation number" is obtained from the read record (step 11).
1). Then, the “volume serial number” and the “magnetic tape device type” in the JCL are used as mounting instruction information.
A command to mount the magnetic tape volume is issued to the OS 12 (step 112).

【0020】以上でモニタプログラム11の処理が終了
する。OS12はモニタプログラム11から装着指示の
あった「ボリューム通し番号」と「磁気テープ装置タイ
プ」(MTライブラリ装置5)を磁気テータ制御装置4
に渡す。磁気テープ制御装置4はMTライブラリ装置5
のカートリッジMT搬送機構53と磁気テープ着脱機構
52を制御し、指示のあったボリューム通し番号のカー
トリッジMTをカートリッジMT格納棚54から取り出
して磁気テープ装置51群中の未装着磁気テープ装置に
装着する。
Thus, the processing of the monitor program 11 is completed. The OS 12 transmits the “volume serial number” and the “magnetic tape device type” (MT library device 5) for which the mounting instruction is given from the monitor program 11, to the magnetic data controller 4.
Pass to. The magnetic tape control device 4 is an MT library device 5
The cartridge MT transport mechanism 53 and the magnetic tape attaching / detaching mechanism 52 are controlled to take out the cartridge MT of the specified volume serial number from the cartridge MT storage shelf 54 and mount it on the unmounted magnetic tape unit in the magnetic tape unit 51 group.

【0021】以上、本発明の一実施例について説明し
た。本実施例では、オペレータが磁気テープボリューム
を事前装着するショブを指示するとしたが、例えばモニ
タプログラム11が所定の時間毎にジョブスケジュール
情報ファイル31を検索して、自動的に次に磁気テープ
ボリュームを事前装着する必要のあるジョブを決定する
ようにしてもよい。
The embodiment of the present invention has been described above. In the present embodiment, the operator instructs a job to mount the magnetic tape volume in advance. For example, the monitor program 11 searches the job schedule information file 31 at predetermined time intervals and automatically sets the next magnetic tape volume. A job that needs to be mounted in advance may be determined.

【0022】また、実施例では、JCLで指定の「磁気
テープ装置タイプ」と同じタイプの磁気テープ装置に磁
気テープボリュームの装着されていないものがない場合
は、一義的にエラーメッセージを出力するとしたが、指
示のあったジョブより後で実行されるジョブで使用する
磁気テープボリュームが該磁気テープ装置に装着されて
いる場合、該装着されている磁気テープボリュームのボ
リューム通し番号と該ボリュームが装着されている磁気
テープ装置とを取外し情報としてOSに取外し指示を
し、さらに、指示のあったジョブで使用する磁気テープ
ボリュームについて装着指示をするようにしてもよい。
In the embodiment, if there is no magnetic tape device of the same type as the "magnetic tape device type" designated by the JCL and no magnetic tape volume is mounted, an error message is output uniquely. However, when a magnetic tape volume used in a job executed after the instructed job is mounted on the magnetic tape device, the volume serial number of the mounted magnetic tape volume and the volume It is also possible to instruct the OS to remove the magnetic tape device as the detach information from the OS, and further instruct the magnetic tape volume to be used in the job for which the instruction has been issued.

【0023】さらに、指示のあったジョブについて、装
着する磁気テープボリュームが装着されていない磁気テ
ープ装置より多い場合、該装着されていない磁気テープ
装置の数に等しい数の磁気テープボリュームを当該磁気
テープ装置に装着するようにしてもよい。
Further, when the number of magnetic tape volumes to be mounted is larger than the number of unmounted magnetic tape devices for the specified job, the number of magnetic tape volumes equal to the number of unmounted magnetic tape devices is changed to the number of the magnetic tape volumes. You may make it attach to an apparatus.

【0024】[0024]

【発明の効果】以上の説明から明らかなように、本発明
によれば、オペレータなどよりショブ名とそのジョブの
実行クラスを指定することで、指定したジョブで使用す
る磁気テープボリュームの装着が該ジョブの実行開始前
に可能となり、ジョブ実行時における磁気テープボリュ
ームの装着完了待ちによる待ち時間がなくなる。
As is apparent from the above description, according to the present invention, by specifying the job name and the execution class of the job by the operator or the like, the mounting of the magnetic tape volume used in the specified job can be performed. This becomes possible before the execution of the job starts, and the waiting time due to the completion of mounting the magnetic tape volume at the time of executing the job is eliminated.

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

【図1】本発明の一実施例の電子計算機システムの構成
図である。
FIG. 1 is a configuration diagram of an electronic computer system according to an embodiment of the present invention.

【図2】ジョブスケジュール情報ファイルのレコード内
容を示す。
FIG. 2 shows record contents of a job schedule information file.

【図3】JCLファイルのレコード内容を示す。FIG. 3 shows the record contents of a JCL file.

【図4】ジョブ媒体マスタファイルのレコード内容を示
す。
FIG. 4 shows the record contents of a job medium master file.

【図5】モニタプログラムの本発明に関連する処理のフ
ローチャートである。
FIG. 5 is a flowchart of a process related to the present invention of the monitor program.

【図6】図5のフローチャートの続きである。FIG. 6 is a continuation of the flowchart in FIG. 5;

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

1 中央処理装置 11 モニタプログラム 12 オペレーティングシステム 31 ジョブスケジュール情報ファイル 32 JCLファイル 33 ジョブ媒体マスタファイル 5 MTライブラリ装置 51 磁気テープ装置 52 磁気テープ着適機構 53 カートリッジMT搬送機構 54 カートリッジMT格納棚 DESCRIPTION OF SYMBOLS 1 Central processing unit 11 Monitor program 12 Operating system 31 Job schedule information file 32 JCL file 33 Job medium master file 5 MT library device 51 Magnetic tape device 52 Magnetic tape fitting mechanism 53 Cartridge MT transport mechanism 54 Cartridge MT storage shelf

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 磁気テープライブラリ装置を備えた計算
機システムにおける磁気テープボリュームの装着方法で
あってジョブの実行順序情報を格納する ジョブスケジュール情
報ファイルにより未実行のジョブを確認するステップ
ジョブの実行を制御する情報であるジョブ制御文(JC
L)を格納する JCLファイルから、前記未実行のショ
ブのJCLを読み出して、処理対象のデータセットのフ
ァイル名とその世代番号及び使用する磁気テープ装置を
得るステップとジョブで使用する記録媒体の情報を格納するジョブ媒体
マスタファイルから、前記処理対象のデータセットの
ァイル名と世代番号とを持つレコードを読み出してボリ
ューム通し番号を得るステップと前記 ボリューム通し番号に対応する磁気テープボリュー
ムを、前記得られた磁気テープ装置に装着するステップ
を有する ことを特徴とする磁気テープボリュームの装着
方法
1. A method for mounting a magnetic tape volume in a computer system having a magnetic tape library device.
Steps there are, check the job unexecuted by the job scheduling information file for storing execution order information of the job
And a job control statement (JC
From the JCL file storing L), sucrose of the unexecuted
The JCL of the data set is read, and the file name of the data set to be processed, its generation number, and the magnetic tape device to be used are read.
Obtaining a job medium for storing information of a recording medium used in a job
Mounting the master file, and obtaining a volume serial number reading records with the file name and generation number of the data set of the processing target, the magnetic tape volume corresponding to the volume serial number, the obtained magnetic tape apparatus Step to do
And mounting of a magnetic tape volume characterized by having
How .
【請求項2】 前記ジョブスケジュール情報ファイルに
よる未実行ジョブの確認は、オペレータから磁気テープ
ボリュームの装着指示のあったジョブについて行うこと
を特徴とする請求項1記載の磁気テープボリュームの装
方法
2. The magnetic tape volume mounting method according to claim 1, wherein the confirmation of the unexecuted job based on the job schedule information file is performed for a job for which a magnetic tape volume mounting instruction has been issued by an operator.
【請求項3】 磁気テープライブラリ装置を備えた計算
機システムにおいて、 ジョブの実行順序情報を格納するジョブスケジュール情
報ファイルと、ジョブの実行を制御する情報であるジョ
ブ制御文(JCL)を格納するJCLファイルと、ジョ
ブで使用する記録媒体の情報を格納するジョブ媒体マス
タファイルとを保持する記憶装置と、 オペレータがジョブ名を指定して磁気テープボリューム
事前装着コマンドを入力する入力装置と、 前記コマンドで磁気テープボリュームの装着指示のあっ
たジョブについて、前記ジョブスケジュール情報ファイ
ルにより未実行のジョブであることを確認し、当該ショ
ブのJCLを前記JCLファイルから読み出して、処理
対象のデータセ ットのファイル名とその世代番号及び使
用する磁気テープ装置を得、前記ファイル名と世代番号
とを持つレコードを前記ジョブ媒体マスタファイルから
読み出してボリューム通し番号を得る中央処理装置と、 前記中央処理装置からボリューム通し番号と磁気テープ
装置情報を渡されて磁気テープライブラリ装置を制御
し、前記ボリューム通し番号に対応する磁気テープボリ
ュームを前記磁気テープ装置に装着せしめる磁気テープ
制御装置と、 を具備することを特徴とする計算機システム
3. A computer equipped with a magnetic tape library device.
In machine systems, job scheduling information for storing execution order information of the job
Information file and the job information that controls job execution.
JCL file that stores the control statements (JCL)
Media area that stores information on the recording media used in the job
And a magnetic tape volume specified by the operator by specifying a job name.
An input device for inputting pre-mounting command, a mounting instruction in the magnetic tape volume by the command
The job schedule information file
Confirm that the job has not been executed by the
Read the JCL of the job from the JCL file and process
File name of Detase Tsu capital of the subject and its generation number and use
Obtain the magnetic tape device to be used, the file name and
From the job media master file
A central processing unit that obtains a volume serial number by reading, and a volume serial number and a magnetic tape from the central processing unit.
Device information passed to control magnetic tape library device
And a magnetic tape volume corresponding to the volume serial number.
Magnetic tape for mounting a volume on the magnetic tape device
A computer system comprising: a control device .
JP2414875A 1990-12-27 1990-12-27 Magnetic tape volume mounting method and computer system Expired - Fee Related JP2732948B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2414875A JP2732948B2 (en) 1990-12-27 1990-12-27 Magnetic tape volume mounting method and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2414875A JP2732948B2 (en) 1990-12-27 1990-12-27 Magnetic tape volume mounting method and computer system

Publications (2)

Publication Number Publication Date
JPH04229319A JPH04229319A (en) 1992-08-18
JP2732948B2 true JP2732948B2 (en) 1998-03-30

Family

ID=18523306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2414875A Expired - Fee Related JP2732948B2 (en) 1990-12-27 1990-12-27 Magnetic tape volume mounting method and computer system

Country Status (1)

Country Link
JP (1) JP2732948B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4624702B2 (en) * 2004-03-22 2011-02-02 日本ユニシス株式会社 Virtual tape device control system and control program

Also Published As

Publication number Publication date
JPH04229319A (en) 1992-08-18

Similar Documents

Publication Publication Date Title
JPH06236608A (en) Library system and control method thereof
CN1193281C (en) Automation device and updating method
JP2732948B2 (en) Magnetic tape volume mounting method and computer system
CN110471753B (en) Control method and device of batch scheduling system
JPS61114345A (en) Diagnosis system of information processor
JP3185954B2 (en) How to archive and recall files
JPH07105065A (en) Back-up method for data
JPH0863205A (en) Programmable controller
EP0738969B1 (en) System starter unit and method
JPH03252818A (en) Down load control system
JPH103380A (en) Computer system and file managing system for the same
JPH04175830A (en) Rerun control system
JP2633679B2 (en) Automatic file mounting method
JPS59180646A (en) Reconnecting method of magnetic tape device
JPH06290051A (en) Automatic maintenance system for work station system
JPH06274443A (en) Information processing system provided with peripheral equipment interface
JPS62163142A (en) Apparatus for correcting computer program
JPH11265264A (en) Backup storage system and method therefor
JP2988427B2 (en) Recording medium recording job operation method, job operation method, and job operation program
JPH0546455A (en) File recovery interrupting system
JPS6019528B2 (en) Automatic volume recognition processing method
JPH0762830B2 (en) Remote maintenance control method
JPS6010329A (en) Loading control system of magnetic tape
JPS6194137A (en) Terminal equipment of computer
JPH04138522A (en) System for initializing system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees