JPH04281537A - Work file size setting device - Google Patents

Work file size setting device

Info

Publication number
JPH04281537A
JPH04281537A JP3104964A JP10496491A JPH04281537A JP H04281537 A JPH04281537 A JP H04281537A JP 3104964 A JP3104964 A JP 3104964A JP 10496491 A JP10496491 A JP 10496491A JP H04281537 A JPH04281537 A JP H04281537A
Authority
JP
Japan
Prior art keywords
work file
file
work
file size
size
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
JP3104964A
Other languages
Japanese (ja)
Inventor
Hiroshi Ishikawa
浩 石川
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 JP3104964A priority Critical patent/JPH04281537A/en
Publication of JPH04281537A publication Critical patent/JPH04281537A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To automatically set a work file size to an optimal value, and to prevent the generation of a file over at the time of operating a device. CONSTITUTION:A work file size calculating means 30 reads the content of a work file defining master 40, controls a work information retrieving means 20 to retrieve a pertinent file from a storage means 10 in which a file group is stored based on the content, and searches the present real capacity. This searched present real capacity is multiplied by a free factor included in the read content in order to search the work file size, and the work file size is written in a work file size calculation list 50.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、電子計算機装置のワー
クファイルサイズ設定装置に利用する。ユーティリティ
プログラムの運用管理手段のワークファイルサイズ設定
装置に関するものである。
BACKGROUND OF THE INVENTION The present invention is applied to a work file size setting device for an electronic computer device. The present invention relates to a work file size setting device for utility program operation management means.

【0002】0002

【従来の技術】従来、ワークファイルサイズを計算する
装置はなく、電子計算機装置の運用管理者が経験により
ワークファイルのサイズを決めて運用していた。
BACKGROUND OF THE INVENTION Conventionally, there has been no device for calculating the size of a work file, and an administrator of a computer system determines the size of a work file based on experience.

【0003】0003

【発明が解決しようとする課題】しかし、従来のように
電子計算機装置の運用管理者置が経験により決めている
ために、ファイルサイズを誤りオーバフローなどでプロ
グラムが異常終了する問題点があった。
However, as in the past, the decision was made by the computer system administrator based on experience, and there was a problem in that the file size could be incorrectly determined and the program could end abnormally due to overflow or the like.

【0004】本発明は上記の問題点を解決するもので、
ワークファイルサイズを自動的に最適な値に設定でき、
かつ装置運用時のファイルオーバの発生を防止できるワ
ークファイルサイズ設定装置を提供することを目的とす
る。
[0004] The present invention solves the above problems.
The work file size can be automatically set to the optimal value,
Another object of the present invention is to provide a work file size setting device that can prevent file overs from occurring during device operation.

【0005】[0005]

【課題を解決するための手段】本発明は、ファイル群が
格納された格納手段と、この格納手段に格納されたファ
イル群の情報を検索するファイル情報検索手段と、ワー
クファイルを定義するワークファイル定義マスタと、ワ
ークファイルサイズを格納するワークファイルサイズ計
算リストと、このワークファイル定義マスタの内容に基
づき上記ファイル情報検索手段を制御して該当するファ
イルの情報を検索させ、その検索結果に基づきその該当
するファイルのワークファイルサイズを計算し、その計
算結果を上記ワークファイルサイズ計算リストに書込む
ワークファイルサイズ計算手段とを備えたことを特徴と
する。
[Means for Solving the Problems] The present invention provides a storage means in which a group of files is stored, a file information search means for searching information on the group of files stored in the storage means, and a work file that defines a work file. Based on the definition master, a work file size calculation list that stores the work file size, and the contents of this work file definition master, the file information search means is controlled to search for information on the corresponding file, and the file information is searched based on the search results. The present invention is characterized by comprising a work file size calculation means for calculating the work file size of the corresponding file and writing the calculation result in the work file size calculation list.

【0006】また、本発明は、上記ワークファイル定義
マスタは、ワークファイル名と、上記格納手段に格納さ
れたファイルのファイル名と、ワークファイルサイズの
余裕ファクタとを含むことができる。
Further, in the present invention, the work file definition master may include a work file name, a file name of a file stored in the storage means, and a work file size margin factor.

【0007】さらに、本発明は、上記ワークファイルサ
イズ計算リストは、ワークファイル名と、ワークファイ
ルのサイズとを含むことができる。
Further, in the present invention, the work file size calculation list may include a work file name and a size of the work file.

【0008】[0008]

【作用】ワークファイルを定義するワークファイル定義
マスタおよびワークファイルサイズを格納するワークフ
ァイルサイズ計算リストを設ける。ワークファイルサイ
ズ計算手段はワークファイル定義マスタの内容に基づき
上記ファイル情報検索手段を制御してファイル群が格納
された格納手段から該当するファイルの情報を検索させ
、その検索結果に基づきその該当するファイルのワーク
ファイルサイズを計算し、その計算結果をワークファイ
ルサイズ計算リストに書込む。
[Operation] A work file definition master that defines a work file and a work file size calculation list that stores the work file size are provided. The work file size calculation means controls the file information search means based on the contents of the work file definition master to search the information of the corresponding file from the storage means in which the file group is stored, and based on the search result, searches for the information of the corresponding file. Calculate the work file size of and write the calculation result to the work file size calculation list.

【0009】以上によりワークファイルサイズを自動的
に最適な値に設定でき、かつ装置運用時のファイルオー
バの発生を防止できる。
As described above, the work file size can be automatically set to an optimal value, and file overflow can be prevented from occurring during device operation.

【0010】0010

【実施例】本発明の実施例について図面を参照して説明
する。図1は本発明一実施例ワークファイルサイズ設定
装置のブロック構成図である。図1において、ワークフ
ァイルサイズ設定装置は、ファイル群が格納された格納
手段10と、格納手段10に格納されたファイル群の情
報を検索するファイル情報検索手段20と、ワークファ
イルを定義するワークファイル定義マスタ40と、ワー
クファイルサイズを格納するワークファイルサイズ計算
リスト50、ワークファイル定義マスタ40の内容に基
づきファイル情報検索手段20を制御して該当するファ
イルの情報を検索させ、その検索結果に基づきその該当
するファイルのワークファイルサイズを計算し、その計
算結果をワークファイルサイズ計算リスト50に書込む
ワークファイルサイズ計算手段30とを備えたことにあ
る。
Embodiments Examples of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a work file size setting device according to an embodiment of the present invention. In FIG. 1, the work file size setting device includes a storage means 10 in which a file group is stored, a file information search means 20 that searches for information on the file group stored in the storage means 10, and a work file that defines a work file. Controls the file information search means 20 to search for information on the corresponding file based on the contents of the definition master 40, the work file size calculation list 50 that stores the work file size, and the work file definition master 40, and based on the search results. The work file size calculation means 30 calculates the work file size of the corresponding file and writes the calculation result in the work file size calculation list 50.

【0011】また、ワークファイル定義マスタ40は、
ワークファイル名と、格納手段10に格納されたファイ
ルのファイル名と、ワークファイルサイズの余裕ファク
タとを含む。
[0011] Further, the work file definition master 40 is
It includes the work file name, the file name of the file stored in the storage means 10, and the margin factor of the work file size.

【0012】さらに、ワークファイルサイズ計算リスト
50は、ワークファイル名と、ワークファイルのサイズ
とを含む。
Further, the work file size calculation list 50 includes a work file name and a size of the work file.

【0013】このような構成のワークファイルサイズ設
定装置の動作について説明する。図2は本発明のワーク
ファイルサイズ設定装置のワークファイルサイズ計算手
段の処理を示すフローチャートである。
The operation of the work file size setting device having such a configuration will be explained. FIG. 2 is a flowchart showing the processing of the work file size calculation means of the work file size setting device of the present invention.

【0014】図1および図2において、ワークファイル
サイズ計算手段30は、まずワークファイル定義マスタ
40の内容を順に読出す(S1)。その内容に記述され
ているワークファイルのサイズを計算するに際して、そ
のワークファイルのサイズがどのファイルに依存してい
るかを見てそのファイルの現在の容量(格納手段10に
存在しているレコード数×1レコードの大きさ)を求め
る。そのために、ファイル情報検索手段20を用いて格
納手段10に格納された該当するファイルの情報を検索
する。(ファイル情報検索手段は通常の電子計算機装置
に標準で用意されている。)
In FIGS. 1 and 2, the work file size calculation means 30 first sequentially reads out the contents of the work file definition master 40 (S1). When calculating the size of the work file described in the contents, check which file the size of the work file depends on and check the current capacity of the file (number of records existing in the storage means 10 x Find the size of one record). For this purpose, the file information search means 20 is used to search for information on the corresponding file stored in the storage means 10. (File information search means is provided as standard in ordinary computer equipment.)

【0015】検索されたファイル情報に基づきファイル
中に存在しているレコード数と1レコードの大きさとを
求め、そのファイルの現在の実容量を求める(S2)。
Based on the retrieved file information, the number of records existing in the file and the size of one record are determined, and the current actual capacity of the file is determined (S2).

【0016】ファイルの現在の実容量に余裕ファクタを
乗算しワークファィルサイズを求める(S3)。
The current actual capacity of the file is multiplied by a margin factor to obtain the work file size (S3).

【0017】求められたワークファイルサイズをワーク
ファイルサイズ計算リストに書込む(S4)。
The obtained work file size is written into the work file size calculation list (S4).

【0018】[0018]

【発明の効果】以上説明したように、本発明は、ワーク
ファイルサイズを自動的に最適な値に設定でき、かつ装
置運用時のファイルオーバの発生を防止できる優れた効
果がある。
As described above, the present invention has the excellent effect of automatically setting the work file size to an optimal value and preventing the occurrence of file over during device operation.

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

【図1】  本発明一実施例ワークファイルサイズ設定
装置のブロック構成図。
FIG. 1 is a block diagram of a work file size setting device according to an embodiment of the present invention.

【図2】  本発明のワークファイルサイズ設定装置の
ワークファイルサイズ計算手段の処理を示すフローチャ
ート。
FIG. 2 is a flowchart showing the processing of the work file size calculation means of the work file size setting device of the present invention.

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

10  格納手段 20  ファイル情報検索手段 30  ワークファイルサイズ計算手段40  ワーク
ファイル定義マスタ
10 Storage means 20 File information search means 30 Work file size calculation means 40 Work file definition master

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  ファイル群が格納された格納手段と、
この格納手段に格納されたファイル群の情報を検索する
ファイル情報検索手段と、ワークファイルを定義するワ
ークファイル定義マスタと、ワークファイルサイズを格
納するワークファイルサイズ計算リストと、このワーク
ファイル定義マスタの内容に基づき上記ファイル情報検
索手段を制御して該当するファイルの情報を検索させ、
その検索結果に基づきその該当するファイルのワークフ
ァイルサイズを計算し、その計算結果を上記ワークファ
イルサイズ計算リストに書込むワークファイルサイズ計
算手段とを備えたことを特徴とするワークファイルサイ
ズ設定装置。
Claim 1: Storage means storing a group of files;
A file information search means for searching information on a group of files stored in this storage means, a work file definition master for defining a work file, a work file size calculation list for storing a work file size, and a work file definition master for storing a work file size. Control the file information search means based on the content to search for information on the corresponding file,
A work file size setting device comprising: work file size calculation means for calculating the work file size of the corresponding file based on the search result and writing the calculation result in the work file size calculation list.
【請求項2】  上記ワークファイル定義マスタは、ワ
ークファイル名と、上記格納手段に格納されたファイル
のファイル名と、ワークファイルサイズの余裕ファクタ
とを含む請求項1記載のワークファイルサイズ設定装置
2. The work file size setting device according to claim 1, wherein the work file definition master includes a work file name, a file name of a file stored in the storage means, and a work file size margin factor.
【請求項3】  上記ワークファイルサイズ計算リスト
は、ワークファイル名と、ワークファイルのサイズとを
含む請求項1記載のワークファイルサイズ設定装置。
3. The work file size setting device according to claim 1, wherein the work file size calculation list includes a work file name and a size of the work file.
JP3104964A 1991-03-08 1991-03-08 Work file size setting device Pending JPH04281537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3104964A JPH04281537A (en) 1991-03-08 1991-03-08 Work file size setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3104964A JPH04281537A (en) 1991-03-08 1991-03-08 Work file size setting device

Publications (1)

Publication Number Publication Date
JPH04281537A true JPH04281537A (en) 1992-10-07

Family

ID=14394790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3104964A Pending JPH04281537A (en) 1991-03-08 1991-03-08 Work file size setting device

Country Status (1)

Country Link
JP (1) JPH04281537A (en)

Similar Documents

Publication Publication Date Title
JP3178475B2 (en) Data processing device
US5740445A (en) Information processing apparatus for generating directory information to manage a file using directories
US6256644B1 (en) Control system for storing data in accordance with predefined characteristics thereof
EP0121072A3 (en) Method for accessing a data set in a word processing system
US5584015A (en) Buffer memory management method, recording medium, and computer system incorporating same
JPS59220853A (en) Disc cache system
JPH01204163A (en) File controller
JPH04281537A (en) Work file size setting device
JP2624170B2 (en) Logical deletion data physical deletion method
US5170479A (en) File block managing system using next record header position data and delete history data from block header and record headers to locate requested record block
JP2822869B2 (en) Library file management device
JP2741999B2 (en) Data storage management method
JPH0239225A (en) Filing system
JPS58114149A (en) Electronic filing system
JP2817911B2 (en) Access control method for keyed files
JP3439364B2 (en) Storage and retrieval methods for undefined length data
JPH0744426A (en) File management method for file system
JP2885625B2 (en) File system with index table
JPH08328929A (en) Database split management system
JPH08137933A (en) System and method for managing drawing data
JPH05274206A (en) Data managing device
GB2262370A (en) Database management.
JPS60178549A (en) Registration system for data to memory device
JPH04156626A (en) File entry generating system for vtoc
JPH05274199A (en) Record storing system in file system