JPH07200401A - Auxiliary storage capacity dynamic change method - Google Patents

Auxiliary storage capacity dynamic change method

Info

Publication number
JPH07200401A
JPH07200401A JP6000521A JP52194A JPH07200401A JP H07200401 A JPH07200401 A JP H07200401A JP 6000521 A JP6000521 A JP 6000521A JP 52194 A JP52194 A JP 52194A JP H07200401 A JPH07200401 A JP H07200401A
Authority
JP
Japan
Prior art keywords
auxiliary storage
data set
capacity
storage data
management table
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
JP6000521A
Other languages
Japanese (ja)
Inventor
Toru Okuda
徹 奥田
Takao Nakajima
隆夫 中島
Tatsumi Matsuda
竜美 松田
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP6000521A priority Critical patent/JPH07200401A/en
Publication of JPH07200401A publication Critical patent/JPH07200401A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

(57)【要約】 【目的】 外部記憶装置上に配置される使用中の補助記
憶用データセットの容量を、システムを停止させること
なく動的に変更可能とする。 【構成】 指定された補助記憶用データセットA5の容
量を大きくする場合、主記憶上2に設けられるデータセ
ット管理テーブルへのアクセスを一時的に禁止するフラ
グによりアクセスを禁止し、管理テーブル内のデータセ
ットA5に対する増分処理を行う。また、補助記憶用デ
ータセットA5の容量を小さくする場合、補助記憶用デ
ータセットB7に移行するだけの空き容量があるか否か
判断し、ある場合に、補助記憶用データセットB7の管
理テーブル内の増分処理を行う。これらの処理終了後、
前記フラグをアクセス可とする。これにより、計算機シ
ステムを停止させることなく、補助記憶用のデータセッ
トの容量を動的に変更することができ、計算機システム
使用中の補助記憶不足、補助記憶が配置される外部記憶
装置等の資源の無駄を防止して、システムを効率良く運
用することができる。
(57) [Summary] [Purpose] The capacity of the auxiliary storage data set in use which is arranged on the external storage device can be dynamically changed without stopping the system. [Structure] When the capacity of a designated auxiliary storage data set A5 is increased, access is prohibited by a flag that temporarily prohibits access to a data set management table provided in the main memory 2, and Incremental processing is performed on the data set A5. Further, when the capacity of the auxiliary storage data set A5 is reduced, it is determined whether or not there is a free capacity enough to be transferred to the auxiliary storage data set B7, and if there is, in the management table of the auxiliary storage data set B7. Incremental processing of. After completing these processes,
The flag is accessible. As a result, the capacity of the auxiliary storage data set can be dynamically changed without stopping the computer system, the auxiliary storage is in shortage while the computer system is in use, and resources such as an external storage device in which the auxiliary storage is arranged are allocated. It is possible to prevent waste of data and operate the system efficiently.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、補助記憶容量の動的変
更方式に係り、特に、外部記憶装置上に配置され補助記
憶用データセットによる補助記憶容量の動的変更方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for dynamically changing auxiliary storage capacity, and more particularly to a method for dynamically changing auxiliary storage capacity by an auxiliary storage data set arranged on an external storage device.

【0002】[0002]

【従来の技術】仮想記憶の概念を考える上で補助記憶は
必須のものである。一般に、補助記憶は、磁気ディスク
装置上、あるいは、拡張記憶装置上に配置され、システ
ムの運用上必要な大きさの補助記憶が予め割り当てられ
ている。そして、仮想記憶は、通常、実記憶と補助記憶
とに分けられて構成されており、使用頻度の高いものだ
けが実記憶に入れられ、その他のものは使用頻度の低い
ものほど補助記憶に入れられている確率が高くなる。
2. Description of the Related Art Auxiliary storage is essential in considering the concept of virtual storage. Generally, the auxiliary storage is arranged on the magnetic disk device or the expansion storage device, and the auxiliary storage of a size necessary for the operation of the system is pre-allocated. The virtual memory is usually configured by being divided into real memory and auxiliary memory. Only the frequently used ones are stored in the real memory, and the other ones are stored in the auxiliary memory as less frequently used. The probability of being

【0003】前述のような仮想記憶を持つ処理システム
は、仮想記憶として使用可能な実記憶容量が小さい場
合、多量のジョブを流すと、実記憶内にある必要でない
ものが補助記憶に追い出されるため、補助記憶の容量が
小さい場合、ジョブの実行時、補助記憶容量に不足を生
じ、このため、ジョブが実行できなくなるという問題点
を生じる。このような問題を無くすため、予め必要な補
助記憶の大きさを計算して充分な補助記憶容量を割り当
てることが行われている。しかし、この方法は、少量の
ジョブを流す場合等に、補助記憶の使用頻度の低い場合
には、補助記憶が割り当てられている外部記憶装置の資
源を無駄にするという問題を生じる。
In the processing system having the virtual memory as described above, when the real memory capacity that can be used as the virtual memory is small, when a large amount of jobs are sent, unnecessary items in the real memory are expelled to the auxiliary memory. When the capacity of the auxiliary storage is small, the auxiliary storage capacity is insufficient when the job is executed, which causes a problem that the job cannot be executed. In order to eliminate such a problem, a necessary auxiliary storage size is calculated in advance to allocate a sufficient auxiliary storage capacity. However, this method causes a problem that the resources of the external storage device to which the auxiliary storage is allocated are wasted when the auxiliary storage is used infrequently, for example, when a small number of jobs are sent.

【0004】このため、補助記憶の大きさを、ジョブの
大きさに応じて動的に変更できるようにし、システムを
効率良く運用することが必要となっている。現在知られ
ている補助記憶の大きさを変更可能な方法は、補助記憶
を割り当て直して、システムを再立ち上げする必要があ
るものであり、そのための手間がかかるという問題点を
有している。
For this reason, it is necessary to dynamically change the size of the auxiliary storage according to the size of the job and to operate the system efficiently. Currently known methods for changing the size of auxiliary storage require reallocation of auxiliary storage and restarting of the system, which has a problem that it takes time and effort. .

【0005】前述のような問題点を解決し、補助記憶の
大きさを、システムを停止させることなく動的に変更す
ることができる従来技術として、例えば、「日立製作所
HITACマニユアル、システム操作−JSS3編」第
203頁に「PAGEADDコマンド」として記載され
た技術が知られている。
As a conventional technique which can solve the above-mentioned problems and dynamically change the size of the auxiliary storage without stopping the system, for example, "Hitachi HITAC Manual, System Operation-JSS3" can be used. The technique described as "PAGEADD command" on page 203 of the volume is known.

【0006】この従来技術は、補助記憶用データセット
の負荷を小さくする手段として、補助記憶用データセッ
ト自体の数を増加させるというものである。すなわち、
この従来技術は、当該コマンドが、すでに割り当てられ
ている補助記憶用データセットをシステムで使用する場
合に、その割り当てられている補助記憶用データセット
をシステム稼動中に投入し、その補助記憶用データセッ
トを補助記憶として使用可能とするものである。
This prior art is to increase the number of auxiliary storage data sets themselves as a means for reducing the load on the auxiliary storage data sets. That is,
According to this conventional technique, when the command uses the already allocated auxiliary storage data set in the system, the allocated auxiliary storage data set is input during system operation, and the auxiliary storage data is set. The set can be used as an auxiliary memory.

【0007】しかし、この従来技術による方法は、補助
記憶用データセットの削除を行うことができないため、
一度増分した補助記憶用データセット数を、システム稼
動中に減少させることができないものである。
However, this prior art method cannot delete the auxiliary storage data set.
The number of auxiliary storage data sets once incremented cannot be decreased during system operation.

【0008】[0008]

【発明が解決しようとする課題】前記従来技術は、予め
補助記憶用データセットを割り当てておく必要があり、
また、補助記憶用データセットの数を増加させているの
で、システムにおけるデータセットの管理が複雑になる
という問題点を有している。
In the above-mentioned prior art, it is necessary to previously allocate the auxiliary storage data set,
Further, since the number of auxiliary storage data sets is increased, there is a problem that management of the data sets in the system becomes complicated.

【0009】本発明の目的は、前記従来技術の問題点を
解決し、すでに使用している補助記憶用データセット自
体の容量を、システムを停止させることなく動的に変更
することを可能にし、これによって、負荷が高い場合、
補助記憶用データセットの容量を大きくし、少量のジョ
ブを実行する場合すなわち負荷が低い場合、補助記憶用
データセットの容量を小さくすることにより、補助記憶
容量の不足によりシステムが処理を続行することが不能
となることを防止することができ、資源の無駄を防止し
てシステムを効率良く運用することを可能にする補助記
憶容量の動的変更方式を提供することにある。
The object of the present invention is to solve the above-mentioned problems of the prior art, and to make it possible to dynamically change the capacity of the auxiliary storage data set itself which is already used, without stopping the system, This ensures that when the load is high,
When the auxiliary storage data set has a large capacity and a small amount of jobs are executed, that is, when the load is low, the auxiliary storage data set has a small capacity so that the system can continue processing due to lack of auxiliary storage capacity. It is to provide a method of dynamically changing the auxiliary storage capacity, which can prevent the system from becoming unavailable and prevent the waste of resources to operate the system efficiently.

【0010】[0010]

【課題を解決するための手段】本発明によれば前記目的
は、補助記憶用データセットの容量の動的変更の指示を
外部から知らせる手段と、補助記憶用データセットへの
読み書き、すなわち、ぺージング処理を一時停止する手
段と、複数の補助記憶用データセットのそれぞれを管理
する補助記憶用データセット管理テーブルとを備え、該
補助記憶用データセット管理テーブルが、補助記憶用デ
ータセットを複数に分割した領域のそれぞれを管理する
複数の領域管理テーブルと、これらの領域管理テーブル
の使用状況を管理する使用状況管理テーブルとにより構
成され、前記領域管理テーブルを他の補助記憶用データ
セット管理テーブルに移すことにより、外部記憶上の補
助記憶用データセットの容量を変更するようにすること
により達成される。
According to the present invention, the above-mentioned object is to provide means for externally instructing an instruction to dynamically change the capacity of the auxiliary storage data set, and read / write to the auxiliary storage data set, that is, a page. The auxiliary storage data set management table for managing each of the plurality of auxiliary storage data sets, and the auxiliary storage data set management table includes a plurality of auxiliary storage data sets. It is composed of a plurality of area management tables that manage each of the divided areas and a usage status management table that manages the usage status of these area management tables. The area management table is used as another auxiliary storage data set management table. This is achieved by changing the capacity of the auxiliary storage data set on the external storage by the transfer.

【0011】[0011]

【作用】本発明は、システムが自動的に補助記憶容量を
変更することができ、また、外部からの変更指示を簡易
に行うことができるように構成されるので、複雑な環境
設定を行うことなく、より効率的に、補助記憶の容量を
動的に変更することができる。また、本発明は、補助記
憶用のデータセットに対するアクセスを一時的に停止す
るように制御しているので、オペレーテイングシステム
の管理テーブルの再作成を容易に行うことができる。
According to the present invention, the system is capable of automatically changing the auxiliary storage capacity and is capable of easily issuing a change instruction from the outside, so that complicated environment setting can be performed. The capacity of the auxiliary storage can be changed dynamically, more efficiently. Further, according to the present invention, since the access to the data set for auxiliary storage is controlled to be temporarily stopped, it is possible to easily recreate the management table of the operating system.

【0012】[0012]

【実施例】以下、本発明による補助記憶容量の動的変更
方式の一実施例を図面により詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a dynamic storage capacity changing system according to the present invention will be described in detail below with reference to the drawings.

【0013】図1は本発明が適用された計算機システム
の一実施例の構成を示すブロック図、図2は補助記憶用
データセットの管理テーブルの構成を説明する図、図3
は補助記憶容量を変更する処理を説明するフローチャー
ト、図4は補助記憶管理テーブルの内容を変更する処理
を説明するフローチャート、図5はシステムが自動的に
補助記憶の大きさを認識して、補助記憶を適度な大きさ
に変更する処理を説明するフローチャートである。図
1、図2において、1は中央処理装置、2は主記憶装
置、3は外部記憶装置群、4は外部記憶装置A、5は補
助記憶用データセットA、6は外部記憶装置B、7は補
助記憶用データセットB、8はオペレーテイングシステ
ム、20は補助記憶用データセット全体を管理する主テ
ーブル、21はデータセットAの管理テーブル、22は
データセットBの管理テーブル、23は使用状況管理テ
ーブル、24は区分け管理テーブル、25は書き込み禁
止フラグである。
FIG. 1 is a block diagram showing the configuration of an embodiment of a computer system to which the present invention is applied, FIG. 2 is a diagram for explaining the configuration of a management table for auxiliary storage data sets, and FIG.
4 is a flow chart for explaining the process for changing the auxiliary storage capacity, FIG. 4 is a flow chart for explaining the process for changing the contents of the auxiliary storage management table, and FIG. 5 is a system for automatically recognizing the size of the auxiliary storage. It is a flow chart explaining processing which changes memory to a suitable size. 1 and 2, 1 is a central processing unit, 2 is a main storage device, 3 is an external storage device group, 4 is an external storage device A, 5 is an auxiliary storage data set A, 6 is an external storage device B, 7 Is an auxiliary storage data set B, 8 is an operating system, 20 is a main table for managing the entire auxiliary storage data set, 21 is a data set A management table, 22 is a data set B management table, and 23 is a usage status. A management table, 24 is a classification management table, and 25 is a write prohibition flag.

【0014】本発明が適用された計算機システムの一実
施例は、図1に示すように、中央処理装置1、主記憶装
置2、外部記憶装置群3、外部記憶装置群3を構成する
外部記憶装置A4、B6、これらの外部記憶A4、B6
上に配置され計算機システムで使用される補助記憶用デ
ータセットA5、B7、及び、これらを制御するオペレ
ーテイングシステム8とにより構成されている。そし
て、図1には示していない補助記憶用データセットの管
理テーブルが、主記憶装置2上に設けられる。この管理
テーブルの作成、データの更新は、オペレーテイングシ
ステム8により制御される。
An embodiment of a computer system to which the present invention is applied is, as shown in FIG. 1, an external storage that constitutes a central processing unit 1, a main storage unit 2, an external storage unit group 3, and an external storage unit group 3. Devices A4 and B6 and their external storage A4 and B6
It is composed of auxiliary storage data sets A5 and B7 arranged above and used in the computer system, and an operating system 8 for controlling these. An auxiliary storage data set management table (not shown in FIG. 1) is provided on the main storage device 2. Creation of this management table and updating of data are controlled by the operating system 8.

【0015】前記管理テーブルは、図2に示すように、
外部記憶装置A4、B6上に配置される補助記憶用デー
タセットA5、B7全体を管理する主テーブル20と、
補助記憶用データセットA5の管理テーブル21、補助
記憶用データセットB7の管理テーブル22とにより構
成されている。主テーブル20は、各補助記憶用データ
セットの管理テーブル21、22をポイントしている。
そして、補助記憶用データセットの管理テーブル21、
22には、外部記憶装置A、Bの名称、補助記憶の容量
等、補助記憶に関する情報が格納されている。
The management table is, as shown in FIG.
A main table 20 for managing the entire auxiliary storage data sets A5, B7 arranged on the external storage devices A4, B6;
It is composed of a management table 21 of the auxiliary storage data set A5 and a management table 22 of the auxiliary storage data set B7. The main table 20 points to the management tables 21 and 22 of each auxiliary storage data set.
Then, the management table 21 of the auxiliary storage data set,
The information about the auxiliary storage, such as the names of the external storage devices A and B and the capacity of the auxiliary storage, is stored in 22.

【0016】これらの補助記憶用データセットの管理テ
ーブル21、22は、補助記憶の使用状況を管理する使
用状況管理テーブル23と、補助記憶をある一定単位毎
(例えば、1cyl、1MB単位)に区分けし、その単
位毎の補助記憶の領域に何があるかを管理するテーブル
24とにより構成されている、そして、区分けした領域
に何があるかを管理するテーブル24が使用されている
場合、そのテーブル24が、テーブル23からポイント
されている。
These auxiliary storage data set management tables 21 and 22 are divided into a usage status management table 23 for managing the usage status of the auxiliary storage and an auxiliary storage in a certain unit (for example, 1 cyl, 1 MB unit). If the table 24 for managing what is in the divided area is used, the table 24 for managing what is in the auxiliary storage area for each unit is used. Table 24 is pointed to from table 23.

【0017】次に、前述したように構成される本発明の
一実施例において、外部からのコマンド入力により補助
記憶容量を動的に変更する処理動作を図3に示すフロー
を参照して説明する。
Next, in one embodiment of the present invention configured as described above, the processing operation for dynamically changing the auxiliary storage capacity by command input from the outside will be described with reference to the flow shown in FIG. .

【0018】(1)まず、外部から入力されたコマンド
を解析し、オペランドのシンタックスについてチェック
を行い、その結果、エラーがあるか否かを判定する。エ
ラーがあった場合、エラーメッセージを出力してコマン
ドの処理を終了する(ステップ31、32)。
(1) First, the command input from the outside is analyzed, the syntax of the operand is checked, and as a result, it is determined whether or not there is an error. If there is an error, an error message is output and the command processing ends (steps 31, 32).

【0019】(2)ステップ32のチェックが正常の場
合、指定された補助記憶用データセット名が存在するか
否か検索し、その結果、指定されたデータセットが存在
しなければ、エラーメッセージを出力してコマンドの処
理を終了する(ステップ33、34)。
(2) If the check in step 32 is normal, it is searched whether or not the specified auxiliary storage data set name exists, and as a result, if the specified data set does not exist, an error message is displayed. The output is finished and the processing of the command is completed (steps 33 and 34).

【0020】(3)ステップ34のチェックで、指定さ
れたデータセットが存在し、かつ、それが補助記憶用の
ものであれば、指定された容量の妥当性のチェックをス
テップ35で行う。すなわち、指定された容量が外部記
憶装置の容量以上の値か否か、及び、指定された容量が
システムで必要な補助記憶容量を下回るか否かを判定す
る(ステップ350、351)。
(3) If the designated data set exists in the check in step 34 and it is for auxiliary storage, the validity of the designated capacity is checked in step 35. That is, it is determined whether the designated capacity is a value equal to or larger than the capacity of the external storage device, and whether the designated capacity is less than the auxiliary storage capacity required by the system (steps 350 and 351).

【0021】(4)ステップ35の指定された容量の妥
当性のチェックで、指定された容量が外部記憶装置の容
量以上の値であった場合、あるいは、指定された容量が
システムで必要な補助記憶容量を下回っていた場合、指
定された容量が妥当でないとしてエラーメッセージを出
力してコマンド処理を終了し、前記以外の指定された容
量が正常の場合、図2に示す補助記憶用データセット管
理テーブル21内の書き込み禁止フラグ25をオンにす
る(ステップ36)。
(4) If the specified capacity is greater than or equal to the capacity of the external storage device in the validity check of the specified capacity in step 35, or if the specified capacity is necessary for the system. If the storage capacity is less than the specified storage capacity, an error message is output indicating that the specified capacity is invalid, command processing is terminated, and if the specified capacity other than the above is normal, the auxiliary storage data set management shown in FIG. The write inhibit flag 25 in the table 21 is turned on (step 36).

【0022】オペレーテイングシステムは、フラグ25
をオンにすることにより、補助記憶用データセットへの
アクセスを停止させ、アクセスが停止されている間に、
補助記憶用データセット管理テーブル21を指定された
容量に対応するようにテーブル内の構成を変更する。
The operating system has a flag 25.
By turning on, the access to the auxiliary storage data set is stopped, and while the access is stopped,
The configuration of the auxiliary storage data set management table 21 is changed so as to correspond to the designated capacity.

【0023】(5)補助記憶容量の変更のため、まず、
現在の容量が指定容量より大きいか否かをチェックする
(ステップ37)。
(5) To change the auxiliary storage capacity, first,
It is checked whether the current capacity is larger than the designated capacity (step 37).

【0024】(6)ステップ37のチェックで、現在の
容量が指定容量より小さい場合、すなわち、容量を現在
のものより大きくする場合、管理テーブルの変更処理を
行い、書き込み禁止フラグ25をオフにしてコマンド処
理を終了する(ステップ39、3A)。
(6) If the current capacity is smaller than the specified capacity in the check in step 37, that is, if the capacity is larger than the current capacity, the management table is changed and the write-inhibit flag 25 is turned off. The command processing ends (steps 39 and 3A).

【0025】(7)ステップ37のチェックで、現在の
容量が指定容量より大きい場合、すなわち、容量を現在
のものより小さくする場合、データセット領域を解放
し、その部分を他の補助記憶用データセットに移す必要
がある。このため、他の補助記憶用データセットに充分
な容量、すなわち、空き領域があるか否かを判定する
(ステップ38)。
(7) If the current capacity is larger than the designated capacity in the check in step 37, that is, if the capacity is made smaller than the current capacity, the data set area is released and that portion is used for other auxiliary storage data. Need to move to set. Therefore, it is determined whether or not there is a sufficient capacity, that is, a free area in the other auxiliary storage data set (step 38).

【0026】(8)ステップ38のチェックで、他の補
助記憶用データセットに充分な空き領域がない場合、開
放するデータセット領域を移す補助記憶用データセット
がないため、エラーメッセージを出力して、書き込み禁
止フラグ25をオフ(リセット)にしてコマンド処理を
終了する(ステップ3A)。
(8) If the other auxiliary storage data set does not have a sufficient free space in the check in step 38, an error message is output because there is no auxiliary storage data set to which the data set area to be released is transferred. Then, the write prohibition flag 25 is turned off (reset) and the command processing is ended (step 3A).

【0027】(9)ステップ38のチェックで、他の補
助記憶用データセットに充分な空き領域がある場合、管
理テーブル変更処理を行い、書き込み禁止フラグ25を
オフ(リセット)にしてコマンド処理を終了する(ステ
ップ39、3A)。
(9) If it is checked in step 38 that the other auxiliary storage data set has a sufficient free space, the management table change processing is performed, the write prohibition flag 25 is turned off (reset), and the command processing is ended. (Steps 39 and 3A).

【0028】次に、前述したステップ39における補助
記憶管理テーブル内の変更処理手順を、図4を参照して
説明する。
Next, the procedure for changing the auxiliary storage management table in step 39 will be described with reference to FIG.

【0029】(1)まず、指定された容量が、現在の容
量よりも大きいか小さいかを判定する(ステップ4
0)。
(1) First, it is judged whether the designated capacity is larger or smaller than the current capacity (step 4).
0).

【0030】(2)ステップ40で、指定された容量が
現在の容量よりも大きいと判定された場合、指定された
データセットに対応するテーブル拡張処理により、管理
テーブルが指すビットマップテーブル自体を大きくする
(ステップ41)。
(2) If it is determined in step 40 that the designated capacity is larger than the current capacity, the bitmap table itself pointed to by the management table is enlarged by the table expansion processing corresponding to the designated data set. (Step 41).

【0031】(3)また、ステップ40で、指定された
容量が現在の容量よりも小さいと判定された場合、補助
記憶を現在の容量よりも小さくするため、解放する領域
に対応するテーブルを解放し、他の補助記憶用データセ
ット管理テーブルにこの開放した領域を移す処理を行
う。なお、この処理に入ってくるときには、他の補助記
憶用データセットに空き領域があることが、前述したス
テップ38の処理で判っている(ステップ42)。
(3) If it is determined in step 40 that the designated capacity is smaller than the current capacity, the table corresponding to the area to be released is released in order to make the auxiliary storage smaller than the current capacity. Then, the processing for transferring the released area to another auxiliary storage data set management table is performed. It should be noted that, when entering this processing, it is known from the processing of step 38 that there is a free area in the other auxiliary storage data set (step 42).

【0032】前述の処理は、図2により説明すると、補
助記憶用データセットAを小さくしたい場合に、現在の
補助記憶容量と小さくする分の差の容量が、補助記憶用
データセットBにあるかどうかをチェックし、ある場合
には、補助記憶用データセットBの増分処理を行うこと
である。これにより、補助記憶Aから補助記憶Bへ補助
記憶Aの余分な容量が移行されたことになる。
The above-mentioned processing will be described with reference to FIG. 2. If the auxiliary storage data set A is desired to be small, is there a difference in capacity between the current auxiliary storage capacity and the auxiliary storage data set B? If there is, it is to perform the incremental processing of the auxiliary storage data set B. As a result, the extra capacity of the auxiliary storage A is transferred from the auxiliary storage A to the auxiliary storage B.

【0033】次に、システムが自動的に補助記憶の容量
を変更する場合の処理動作を図5に示すフローを参照し
て説明する。
Next, the processing operation when the system automatically changes the capacity of the auxiliary storage will be described with reference to the flow shown in FIG.

【0034】(1)システムは、常に補助記憶管理テー
ブルの主テーブル20の使用状況を監視し、補助記憶の
容量が当該システムで不足か否か、すなわち、補助記憶
が満杯になっているか否かを判定する(ステップ5
0)。
(1) The system constantly monitors the usage status of the main table 20 of the auxiliary storage management table, and whether the auxiliary storage capacity is insufficient in the system, that is, whether the auxiliary storage is full or not. (Step 5
0).

【0035】(2)ステップ50で補助記憶の不足が判
定された場合、管理テーブルの拡張処理を行う。この処
理は、前述した図3の処理ステップ36、39、3Aと
同様な処理により行うことができる(ステップ51)。
(2) If it is determined in step 50 that the auxiliary memory is insufficient, the management table is expanded. This processing can be performed by the same processing as the processing steps 36, 39 and 3A of FIG. 3 described above (step 51).

【0036】(3)ステップ50で補助記憶が不足して
いない場合、補助記憶に余裕があるか否かを管理テーブ
ルの使用状況により判定する(ステップ52)。
(3) If the auxiliary storage is not insufficient in step 50, it is determined whether or not the auxiliary storage has a margin based on the usage status of the management table (step 52).

【0037】(4)ステップ52、補助記憶に余裕があ
るとシステムが判定すると、使用されていない領域を解
放する処理を行う。この処理は、前述した図3の処理ス
テップ36、38、39と同様な処理により行うことが
できる(ステップ53)。
(4) Step 52, when the system determines that the auxiliary storage has a margin, a process of releasing an unused area is performed. This processing can be performed by the same processing as the processing steps 36, 38 and 39 of FIG. 3 described above (step 53).

【0038】前述の図5に示す処理によるシステムによ
る自動的な補助記憶の容量変更は、システムが一定時間
毎に補助記憶の状態を監視してこの処理実行することに
より行うことができる。
The automatic capacity change of the auxiliary storage by the system by the processing shown in FIG. 5 can be performed by the system monitoring the state of the auxiliary storage at regular intervals and executing this processing.

【0039】前述した本発明の一実施例は、補助記憶用
データセットを2組設けたものとして説明したが、本発
明は、さらに多数の補助記憶用データセットを備えるシ
ステムにも適用することができる。
Although the above-described embodiment of the present invention has been described as having two sets of auxiliary storage data sets, the present invention can be applied to a system having a larger number of auxiliary storage data sets. it can.

【0040】[0040]

【発明の効果】以上説明したように本発明によれば、計
算機システムを停止させることなく、補助記憶用のデー
タセットの容量を動的に変更することが可能になり、補
助記憶不足によるシステムの使用不可、外部記憶装置等
の資源の無駄な使用を防止することができる。
As described above, according to the present invention, it is possible to dynamically change the capacity of a data set for auxiliary storage without stopping the computer system. It is possible to prevent unusable useless use of resources such as an external storage device.

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

【図1】本発明の実施例を示す計算機システムの構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a computer system showing an embodiment of the present invention.

【図2】補助記憶用データセットの管理テーブルの構成
を説明する図である。
FIG. 2 is a diagram illustrating a configuration of a management table of an auxiliary storage data set.

【図3】補助記憶容量を変更する処理を説明するフロー
チャートである。
FIG. 3 is a flowchart illustrating a process of changing an auxiliary storage capacity.

【図4】補助記憶管理テーブルの内容を変更する処理を
説明するフローチャートである。
FIG. 4 is a flowchart illustrating a process of changing the contents of an auxiliary storage management table.

【図5】システムが自動的に補助記憶の大きさを認識
し、補助記憶を適度な大きさに変更する処理を説明する
フローチャートである。
FIG. 5 is a flowchart illustrating a process in which the system automatically recognizes the size of the auxiliary storage and changes the auxiliary storage to an appropriate size.

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

1 中央処理装置 2 主記憶装置 3 外部記憶装置群 4 外部記憶装置A 5 補助記憶用データセットA 6 外部記憶装置B 7 補助記憶用データセットB 8 オペレーテイングシステム 20 補助記憶用データセット全体を管理する主テーブ
ル 21 補助記憶用データセットAの管理テーブル 22 補助記憶用データセットBの管理テーブル 23 使用状況管理テーブル 24 区分け管理テーブル
1 Central Processing Unit 2 Main Storage Device 3 External Storage Device Group 4 External Storage Device A 5 Auxiliary Storage Data Set A 6 External Storage Device B 7 Auxiliary Storage Data Set B 8 Operating System 20 Managing Auxiliary Storage Data Set Main table 21 Auxiliary storage data set A management table 22 Auxiliary storage data set B management table 23 Usage management table 24 Classification management table

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置上に複数の補助記憶用デー
タセットを配置して構成される計算機システムにおける
補助記憶容量の動的変更方式において、前記複数の補助
記憶用データセットのそれぞれを管理する補助記憶用デ
ータセット管理テーブルを備え、該補助記憶用データセ
ット管理テーブルが、補助記憶用データセットを複数に
分割した領域のそれぞれを管理する複数の領域管理テー
ブルと、これらの領域管理テーブルの使用状況を管理す
る使用状況管理テーブルとにより構成され、前記領域管
理テーブルを他の補助記憶用データセット管理テーブル
に移すことにより、外部記憶上の補助記憶用データセッ
トの容量を変更することを特徴とする補助記憶容量の動
的変更方式。
1. A dynamic change method of auxiliary storage capacity in a computer system configured by arranging a plurality of auxiliary storage data sets on an external storage device, wherein each of the plurality of auxiliary storage data sets is managed. An auxiliary storage data set management table is provided, and the auxiliary storage data set management table manages each of the areas obtained by dividing the auxiliary storage data set into a plurality of areas, and the use of these area management tables. And a usage status management table for managing the status. By moving the area management table to another auxiliary storage data set management table, the capacity of the auxiliary storage data set on the external storage is changed. A method of dynamically changing the auxiliary storage capacity.
【請求項2】 前記補助記憶用データセットの容量の変
更は、計算機システムからの指示により、あるいは、外
部からのコマンドにより行われることを特徴とする請求
項1記載の補助記憶容量の動的変更方式。
2. The dynamic change of the auxiliary storage capacity according to claim 1, wherein the change of the capacity of the auxiliary storage data set is performed by an instruction from a computer system or by an external command. method.
JP6000521A 1994-01-07 1994-01-07 Auxiliary storage capacity dynamic change method Pending JPH07200401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6000521A JPH07200401A (en) 1994-01-07 1994-01-07 Auxiliary storage capacity dynamic change method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6000521A JPH07200401A (en) 1994-01-07 1994-01-07 Auxiliary storage capacity dynamic change method

Publications (1)

Publication Number Publication Date
JPH07200401A true JPH07200401A (en) 1995-08-04

Family

ID=11476080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6000521A Pending JPH07200401A (en) 1994-01-07 1994-01-07 Auxiliary storage capacity dynamic change method

Country Status (1)

Country Link
JP (1) JPH07200401A (en)

Similar Documents

Publication Publication Date Title
EP0694831A2 (en) Computer system having storage unit provided with data compression function andmethod of management of storage area thereof
US7032085B2 (en) Storage system with a data sort function
JPH07200401A (en) Auxiliary storage capacity dynamic change method
JP2003263366A (en) Swapping control method, apparatus for implementing the method, and processing program therefor
JP2000222285A (en) Memory power management device
JP2006039942A (en) File management device in hierarchical storage system, and its file management method
JPH07182225A (en) Online resource increase / decrease method for OS resources
JP3022829B2 (en) Automatic storage device allocation device
JP3772003B2 (en) Memory management system and data management method
JPH09204326A (en) Image data storage controller
JPH0212339A (en) Table controller
JPH07152642A (en) Data area expansion method
JP2613931B2 (en) Buffer control method
JPH05108462A (en) Intermediate control system for dynamic memory in table system editor
JPS6327936A (en) File management method
JPH0869399A (en) File management device
JPH04350738A (en) Disk space management system
JPH0337748A (en) External storage accessing system utilizing main storage
JPS63109555A (en) Dynamic conversion system for virtual storage space size
CN118860292A (en) A storage pool space organization method, device, electronic equipment and medium
JPH05143438A (en) Extended memory managing system
JPH05100941A (en) Managing method for memory area
JPS58118081A (en) Virtual space sharing controlling system
JPH0495120A (en) Data storage device assigning system
JPS63172346A (en) Stack allocation method