JP2572032B2 - Area reservation method on direct access storage device - Google Patents

Area reservation method on direct access storage device

Info

Publication number
JP2572032B2
JP2572032B2 JP60207477A JP20747785A JP2572032B2 JP 2572032 B2 JP2572032 B2 JP 2572032B2 JP 60207477 A JP60207477 A JP 60207477A JP 20747785 A JP20747785 A JP 20747785A JP 2572032 B2 JP2572032 B2 JP 2572032B2
Authority
JP
Japan
Prior art keywords
area
storage device
direct access
access storage
securing
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 - Lifetime
Application number
JP60207477A
Other languages
Japanese (ja)
Other versions
JPS6266346A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60207477A priority Critical patent/JP2572032B2/en
Publication of JPS6266346A publication Critical patent/JPS6266346A/en
Application granted granted Critical
Publication of JP2572032B2 publication Critical patent/JP2572032B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔概 要〕 直接アクセス記憶装置(DASD)を分割手段によりジョ
ブ実行前に予め複数個の区域に分割すると共に、分割し
た複数個の区域の位置と大きさを区域の名称とともにテ
ーブルに格納し、ジョブ実行に必要な所望の領域を確保
するに際しては、所望の領域を設定すべき区域の名称と
区域内の所望の大きさとを指定することにより、テーブ
ルを参照して指定された位置に指定された大きさを有す
る領域を確保する。
DETAILED DESCRIPTION OF THE INVENTION [Overview] A direct access storage device (DASD) is divided into a plurality of areas in advance by a dividing means before executing a job, and the positions and sizes of the plurality of divided areas are designated by the names of the areas. When the desired area required for job execution is secured in the table, the name of the area in which the desired area is to be set and the desired size within the area are specified, and reference is made to the table to specify the area. An area having the designated size is secured at the designated position.

〔産業上の利用分野〕[Industrial applications]

本発明は直接アクセス記憶装置上における領域確保方
法に関する。
The present invention relates to a method for securing an area on a direct access storage device.

〔従来の技術〕 直接アクセス記憶装置に、業務処理プログラムを格納
する領域や、業務処理プログラムが使用する作業領域を
確保するために、従来2通りの方法が用いられていた。
これらはジョブ制御文により、 確保する領域の大きさのみを指定し、確保位置はOS
(オペレーティング・システム)に任せる方法と、 領域の位置と大きさを指定して、OSに依頼する方法
である。
[Prior Art] Conventionally, two methods have been used to secure an area for storing a business processing program and a work area used by the business processing program in a direct access storage device.
These specify only the size of the area to be allocated by the job control statement, and the allocation position is OS
(Operating system), and requesting the OS by specifying the location and size of the area.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記2つの方法のうち、DASDアクセス効率を向上させ
るためにはの方法が望ましい。即ちの方法によれ
ば、ヘッドの移動距離が短くなるように、業務処理プロ
グラムとその作業領域の位置を選択することができるか
らである。
Of the above two methods, the method for improving DASD access efficiency is preferable. That is, according to the method, the business processing program and the position of the work area can be selected so that the moving distance of the head becomes short.

しかしこの方法における位置指定には、DASD相対アド
レスを指定せねばならず、常にDASDの空き領域等を明確
に把握することが必要となる。これは使用者に煩雑な操
作を強いることとなり、DASDを使用しづらくしている。
However, in order to specify the position in this method, it is necessary to specify a DASD relative address, and it is necessary to always clearly grasp the free area of the DASD. This forces the user to perform complicated operations, making it difficult to use DASD.

またの方法は使用者の操作は簡単であるが、DASDの
アクセス効率が悪くなる。
In the other method, the operation of the user is simple, but the access efficiency of the DASD is deteriorated.

本発明の目的は、操作の容易な且つアクセス効率の良
いDASD上における領域の確保方法を提供することにあ
る。
An object of the present invention is to provide a method for securing an area on DASD that is easy to operate and has high access efficiency.

〔問題点を解決するための手段〕[Means for solving the problem]

第1図に示すように、データ管理部2に分割手段3と
テーブル4と領域確保手段5とを設ける。
As shown in FIG. 1, the data management unit 2 is provided with a dividing unit 3, a table 4, and an area securing unit 5.

使用者はDASD1にどのように区域を設定するかを定義
する。
The user defines how to set the area in DASD1.

分割手段3はDASD1を上記定義に従って分割し、その
各区域の名称とともに各区域の位置,即ちスタートアド
レスとエンドアドレスとをテーブル4に記録する。
The dividing means 3 divides the DASD 1 in accordance with the above definition, and records the name of each area and the position of each area, that is, the start address and the end address, in the table 4.

業務処理プログラムを格納する領域や、その作業領域
を確保するに際しては、確保する領域の位置及びその大
きさを、ジョブ制御文(JCL)7により領域確保手段5
に指令する。
When allocating the area for storing the business processing program and the work area, the position and the size of the area to be secured are determined by the job control statement (JCL) 7 in the area securing means 5.
Command.

領域確保手段5はテーブル4を参照して上記JCL7で指
定された区域の位置を読み出し、その区域の中に指定さ
れた大きさの領域を確保する。
The area securing means 5 reads the position of the area specified by the JCL 7 with reference to the table 4, and secures an area of the specified size in the area.

〔作 用〕(Operation)

領域を確保するに際し、使用者は単に区域名を指定す
るのみで位置の指定が可能となる。従って操作は簡単で
あるとともに、領域を任意の位置に設定できる。
In securing the area, the user can specify the position simply by specifying the area name. Therefore, the operation is simple and the area can be set at an arbitrary position.

〔実施例〕〔Example〕

DASD1は第2図(a),(b)に見られる如く、磁気
ディスク11を所定間隔を隔てて積層化したものである。
As shown in FIGS. 2 (a) and 2 (b), the DASD 1 is formed by laminating magnetic disks 11 at predetermined intervals.

このDASD1内で使用者が区域の名称とスタート位置及
びエンド位置を定義することにより、DASD1を任意の領
域に分割し、例えば同図(b)に見られる如く区域A,B,
C,Dを設定する。
The user defines the name of the area, the start position and the end position in the DASD1, and divides the DASD1 into arbitrary areas. For example, as shown in FIG.
Set C and D.

第3図はテーブル4の例で、上記区域A〜Dの設定状
態を示す。即ち本実施例では、区域Aはトラック‘0'〜
‘10000'の間に、区域Bはトラック‘10001'〜‘20000'
の間に設定されていることを示す。
FIG. 3 shows an example of the table 4 and shows a setting state of the sections A to D. That is, in this embodiment, the area A is the track '0' to
During '10000', area B is tracks '10001' to '20000'
Indicates that it is set between

第4図は領域確保のためのジョブ制御文の例であっ
て、本例は論理機番‘01',ボリューム通番‘000001'のD
ASDにファイルを定義するもので、区域‘A'に100トラッ
クの大きさの領域を確保することを指定している。
FIG. 4 shows an example of a job control statement for reserving an area. In this example, the logical unit number "01" and the volume serial number "000001"
Defines a file in ASD and specifies that an area of 100 tracks in area 'A' is to be secured.

領域確保手段5は、上記指定された区域内の未使用領
域の大きさが指定された領域の大きさ以上あれば、上記
指定に従って領域を確保し、未使用領域が不足する場合
には、領域を確保出来ない旨使用者に通知する。
If the size of the unused area in the designated area is equal to or larger than the size of the designated area, the area securing means 5 secures the area in accordance with the designation. Notify the user that it cannot be secured.

未使用領域の管理は、通常の情報処理システムに具備
されている管理手段により行われる。
The management of the unused area is performed by management means provided in a normal information processing system.

なお上記区域の設定例や確保する領域の指定方法等
は、本実施例に限定されるものではないことは勿論であ
る。
Of course, the setting example of the above-mentioned area and the method of designating the area to be secured are not limited to the present embodiment.

〔発明の効果〕〔The invention's effect〕

以上説明した如く本発明によれば、アクセス効率が良
く、且つ操作の簡単な、直接アクセス記憶装置上におけ
る領域確保方法が実現できる。
As described above, according to the present invention, a method for securing an area on a direct access storage device with good access efficiency and easy operation can be realized.

しかも領域の確保位置は任意であり、従って使用者の
運用に好適なデータ管理が実現する。
In addition, the position for securing the area is arbitrary, so that data management suitable for user operation is realized.

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

第1図は本発明の説明図、 第2図〜第4図は本発明の一実施例を示す図であって、 第2図(a),(b)は直接アクセス記憶装置を示す正
面図及び上面図、 第3図はテーブルの一例を示す図、 第4図は領域の指定方法の一例を示す図である。 図において、1は直接アクセス記憶装置、2はデータ管
理部、3は分割手段、4はテーブル、5は領域確保手段
を示す。
FIG. 1 is an explanatory view of the present invention, FIGS. 2 to 4 are views showing an embodiment of the present invention, and FIGS. 2 (a) and (b) are front views showing a direct access storage device; FIG. 3 is a diagram showing an example of a table, and FIG. 4 is a diagram showing an example of a method of specifying an area. In the figure, 1 is a direct access storage device, 2 is a data management unit, 3 is a dividing unit, 4 is a table, and 5 is an area securing unit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 江村潤郎著「オペレーティング・シス テムへの構造的アプローチ(上巻)」10 版(昭和47−7−1)日本コンピュータ 協会PP.283〜288「1)DASDスペ ースの割り当て要求」 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References Junro Emura, "Structural Approach to Operating Systems (Vol. 1)", 10th edition (Showa 47-7-1), Japan Computer Association PP. 283 to 288 “1) Request for DASD space allocation”

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データ管理部により直接アクセス記憶装置
に対してのデータの入出力制御が行なわれる情報処理装
置における記憶領域確保方法であって、 前記データ管理部において、分割手段によりジョブ実行
前に予め前記直接アクセス記憶装置を複数個の区域に分
割すると共に、前記分割した該複数個の区域の位置と大
きさを該区域の名称とともにテーブルに格納し、前記直
接アクセス記憶装置上に前記ジョブ実行に必要な所望の
領域を確保するに際しては、該所望の領域を設定すべき
前記区域の名称と区域内の所望の大きさとを指定するこ
とにより、前記データ管理部は、前記テーブルを参照し
て前記指定された名称を有する区域の位置を読み出し、
該位置に前記指定された大きさを有する領域を確保する
ことを特徴とする直接アクセス記憶装置上における領域
確保方法。
1. A method for securing a storage area in an information processing apparatus in which data input / output control to a direct access storage device is performed by a data management unit, wherein the data management unit preliminarily executes a job by a dividing unit before executing a job. The direct access storage device is divided into a plurality of sections, and the positions and sizes of the divided sections are stored in a table together with the names of the sections in a table. When securing a desired area, by specifying the name of the area in which the desired area is to be set and the desired size in the area, the data management unit refers to the table and the specified Read the location of the area with the name
A method for allocating an area on a direct access storage device, comprising: allocating an area having the designated size at the position.
JP60207477A 1985-09-18 1985-09-18 Area reservation method on direct access storage device Expired - Lifetime JP2572032B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60207477A JP2572032B2 (en) 1985-09-18 1985-09-18 Area reservation method on direct access storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60207477A JP2572032B2 (en) 1985-09-18 1985-09-18 Area reservation method on direct access storage device

Publications (2)

Publication Number Publication Date
JPS6266346A JPS6266346A (en) 1987-03-25
JP2572032B2 true JP2572032B2 (en) 1997-01-16

Family

ID=16540398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60207477A Expired - Lifetime JP2572032B2 (en) 1985-09-18 1985-09-18 Area reservation method on direct access storage device

Country Status (1)

Country Link
JP (1) JP2572032B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江村潤郎著「オペレーティング・システムへの構造的アプローチ(上巻)」10版(昭和47−7−1)日本コンピュータ協会PP.283〜288「1)DASDスペースの割り当て要求」

Also Published As

Publication number Publication date
JPS6266346A (en) 1987-03-25

Similar Documents

Publication Publication Date Title
JPS6243766A (en) Control system for state of shared resources
EP0367702A2 (en) Multiprocessing system and method for shared storage usage
JPS6367685B2 (en)
JP2572032B2 (en) Area reservation method on direct access storage device
US5918243A (en) Computer mechanism for reducing DASD arm contention during parallel processing
JPH0330034A (en) Optical disk file managing method
JPH06124239A (en) Resident data controller for cache memory
JPH04350738A (en) Disk space management system
JPH0115899B2 (en)
JPS62163154A (en) Virtual logic volume system
JP2009015924A (en) Magnetic tape device and logical volume allocating method thereof, magnetic tape cartridge, and computer system
JPS61648U (en) multi-access storage
JPS5987572A (en) Controlling system of disk storage device
JPH05108440A (en) Format structure of directory entry on recording medium
JPH04242843A (en) Subfile management system
JPH09293007A (en) Program install device
JPS6336448A (en) Transfer of basic cluster for virtual memory system
JPS62222341A (en) Control method for work area of secondary storage of electronic computer
JPS62287349A (en) Space allocation control method for mass memory device by logical sector bit map
JPH06161784A (en) Device selection system
JPH02299037A (en) File allocation processing system
JPH022175B2 (en)
JPH05100934A (en) Plural magnetic disk file managing functions
JPH028969A (en) Image memory allocation system
JPH02252035A (en) System for allocating file in area of magnetic disk

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term