JP2616425B2 - File allocate method - Google Patents
File allocate methodInfo
- Publication number
- JP2616425B2 JP2616425B2 JP5345003A JP34500393A JP2616425B2 JP 2616425 B2 JP2616425 B2 JP 2616425B2 JP 5345003 A JP5345003 A JP 5345003A JP 34500393 A JP34500393 A JP 34500393A JP 2616425 B2 JP2616425 B2 JP 2616425B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- allocating
- control language
- screen
- job control
- 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
Links
- 238000000034 method Methods 0.000 title claims description 19
- 230000002452 interceptive effect Effects 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000003213 activating effect Effects 0.000 claims description 3
- 230000008520 organization Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はファイルアロケート方式
に関し、特に情報処理システムにおいてファイルのアロ
ケートを行うファイルアロケート方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file allocation method, and more particularly to a file allocation method for allocating a file in an information processing system.
【0002】[0002]
【従来の技術】従来、情報処理システムでは、同一フォ
ーマットのファイルを複数アロケートする場合、ファイ
ル名を変えてファイルをアロケートするジョブ制御言語
を実行するか、あるいはファイルのアロケートに関する
記述をジョブ制御言語上に複数回記述してファイルをア
ロケートするジョブ制御言語を実行していた。2. Description of the Related Art Conventionally, when allocating a plurality of files of the same format in an information processing system, a job control language for allocating a file by changing a file name is executed, or a description about the allocation of a file is described in the job control language. Ran a job control language that allocates a file by describing it multiple times.
【0003】このような従来のファイルアロケート方式
では、同一フォーマットのファイルを複数アロケートす
る場合、ファイル名を変えてジョブ制御言語を実行する
か、あるいはファイルのアロケートに関する記述をジョ
ブ制御言語上に複数回記述していたので、アロケート終
了までに時間がかかるとともに、ジョブ制御言語の記述
が多いためにケアレスミスが発生しやすいという不具合
があった。In such a conventional file allocation method, when allocating a plurality of files of the same format, the job control language is executed by changing the file name, or a description about the file allocation is written in the job control language a plurality of times. Because of the description, it takes time to complete the allocation, and careless mistakes are likely to occur due to the large number of job control language descriptions.
【0004】そこで、画面対話式に設定されたファイル
のアロケートの元となる各種ファイル情報を記憶域に展
開し、ファイルを論理的にアロケートするために必要な
ブロック長およびファイル容量を算定し、算定したブロ
ック長およびファイル容量をアロケートするジョブ制御
言語を作成してファイルをアロケートするようにした画
面対話型ファイル論理設定方式がすでに提案されている
(特開平3−43845号公報参照)。[0004] Therefore, various types of file information that are the basis for allocating files set interactively on the screen are developed in a storage area, and the block length and file capacity required for logically allocating the files are calculated and calculated. A screen interactive file logic setting method for allocating files by creating a job control language for allocating the block length and file capacity described above has already been proposed (see Japanese Patent Application Laid-Open No. 3-43845).
【0005】[0005]
【発明が解決しようとする課題】上述した従来の画面対
話型ファイル論理設定方式では、画面対話式にファイル
情報を設定して自動的にファイルをアロケートできるよ
うになってはいるものの、同一フォーマットのファイル
を一括して複数アロケートする場合には、同一内容のフ
ァイル情報を繰り返し画面対応に設定しなければならな
いという問題点があった。In the above-described conventional screen interactive file logical setting method, file information can be set interactively on the screen and a file can be automatically allocated. When allocating a plurality of files in a lump, there is a problem in that file information having the same contents must be repeatedly set for the screen.
【0006】本発明の目的は、上述の点に鑑み、アロケ
ートに必要なファイル情報を画面対話式に入力する際に
アロケート数を設定できるようにして、同一フォーマッ
トのファイルを一括して複数アロケートできるようにし
たファイルアロケート方式を提供することにある。SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to set the number of allocations when inputting file information necessary for allocation in a screen interactive manner, so that a plurality of files of the same format can be allocated collectively. An object of the present invention is to provide a file allocation method as described above.
【0007】[0007]
【課題を解決するための手段】本発明のファイルアロケ
ート方式は、画面対話式にファイルのアロケートの元と
なるファイル情報およびアロケート数を入出力する画面
入出力手段と、この画面入出力手段により画面に入力さ
れたファイル情報をもとにファイルのアロケートに必要
なブロック長およびファイル容量を計算するファイル容
量計算手段と、このファイル容量計算手段により計算さ
れたブロック長およびファイル容量を用いてアロケート
数が複数の場合にはファイル名に自動的に通番を付与し
てファイルをアロケートするジョブ制御言語を作成する
ジョブ制御言語作成手段と、このジョブ制御言語作成手
段により作成されたジョブ制御言語を起動してファイル
のアロケートを実行するアロケート実行手段とを有す
る。According to the file allocating method of the present invention, screen input / output means for inputting / outputting file information and the number of allocations which are the basis of file allocation in a screen interactive manner; File capacity calculating means for calculating a block length and a file capacity required for allocating a file based on the file information input to the file, and the number of allocates is calculated using the block length and the file capacity calculated by the file capacity calculating means. A job control language creating means for automatically creating a job control language for allocating a file by automatically assigning a serial number to a file name in the case of a plurality of programs, and starting a job control language created by the job control language creating means Allocating means for allocating a file.
【0008】また、本発明のファイルアロケート方式
は、アロケートデータを管理するアロケートデータベー
スと、画面対話式にファイル名およびアロケート数が入
力されると前記アロケートデータベースを検索して同一
のファイル名を有するアロケートデータがあればアロケ
ートデータ中のファイル情報を画面に表示し該当するア
ロケートデータがなければ既定値を画面に表示する画面
入出力手段と、この画面入出力手段により画面に入力さ
れたファイル情報をもとにファイルのアロケートに必要
なブロック長およびファイル容量を計算するファイル容
量計算手段と、このファイル容量計算手段により計算さ
れたブロック長およびファイル容量を用いてアロケート
数が複数の場合にはファイル名に自動的に通番を付与し
てファイルをアロケートするジョブ制御言語を作成する
ジョブ制御言語作成手段と、このジョブ制御言語作成手
段により作成されたジョブ制御言語を起動してファイル
のアロケートを実行し実行後にアロケートデータを前記
アロケートデータベースに保存し前記既定値を設定する
アロケート実行手段とを有する。The file allocating method according to the present invention is characterized in that an allocating database which manages allocating data and an allocating database having the same file name by searching the allocating database when a file name and the number of allocating are inputted in a screen interactive manner. If there is data, the file information in the allocate data is displayed on the screen, and if there is no corresponding allocate data, the default value is displayed on the screen. File size calculating means for calculating a block length and a file capacity required for allocating a file, and using the block length and the file capacity calculated by the file capacity calculating means to assign a file name when the number of allocates is plural. Allocation of files by automatically assigning serial numbers A job control language creating means for creating a job control language to be executed, allocating a file by activating the job control language created by the job control language creating means, storing the allocate data in the allocate database after execution, Allocating means for setting a default value.
【0009】[0009]
【実施例】次に、本発明について図面を参照して詳細に
説明する。Next, the present invention will be described in detail with reference to the drawings.
【0010】図1は、本発明の一実施例に係るファイル
アロケート方式の構成を示すブロック図である。本実施
例のファイルアロケート方式は、ファイルアロケートツ
ール1と、アロケートデータベース2と、表示装置3
と、入力装置4と、アロケートされる複数のファイル5
とから、その主要部が構成されている。FIG. 1 is a block diagram showing a configuration of a file allocation system according to an embodiment of the present invention. The file allocating method according to the present embodiment includes a file allocating tool 1, an allocating database 2, and a display device 3.
And an input device 4 and a plurality of files 5 to be allocated
Thus, the main part is constituted.
【0011】ファイルアロケートツール1は、画面対話
式にファイル5のアロケートの元となるファイル情報を
入出力する画面入出力手段11と、画面入出力手段11
により入力されたファイル情報をもとにファイルのアロ
ケートに必要なブロック長およびファイル容量を計算す
るファイル容量計算手段12と、ファイル容量計算手段
12により計算されたブロック長およびファイル容量を
用いてアロケート数が複数の場合にはファイル名に自動
的に通番を付与してジョブ制御言語を作成するジョブ制
御言語作成手段13と、ジョブ制御言語作成手段13に
より作成されたジョブ制御言語を起動してファイル5の
アロケートを実行するファイルアロケート実行手段14
とを含んで構成されている。The file allocating tool 1 includes a screen input / output unit 11 for inputting / outputting file information serving as a source of the allocation of the file 5 in a screen interactive manner, and a screen input / output unit 11.
File capacity calculating means 12 for calculating a block length and a file capacity required for allocating a file based on the file information input by the user and the number of allocations using the block length and the file capacity calculated by the file capacity calculating means 12 When there are a plurality of files, a job control language creating means 13 for automatically assigning a serial number to a file name to create a job control language, and a job control language created by the job control language creating means 13 are activated to start the file 5 File allocating means 14 for allocating a file
It is comprised including.
【0012】図2を参照すると、ファイルアロケートツ
ール1の処理は、初期画面表示ステップS101と、フ
ァイル名およびアロケート数入力ステップS102と、
アロケートデータ検索ステップS103と、該当データ
有無判定ステップS104と、ファイル情報表示ステッ
プS105と、既定値表示ステップS106と、入力項
目値修正ステップS107と、入力項目値妥当性チェッ
クステップS108と、エラー有無判定ステップS10
9と、エラーメッセージ表示ステップS110と、ブロ
ック長およびファイル容量計算ステップS111と、ブ
ロック長およびファイル容量表示ステップS112と、
確認ステップS113と、アロケート数判定ステップS
114と、ジョブ制御言語作成ステップS115と、ア
ロケート実行ステップS116と、ステータス表示ステ
ップS117と、アロケートデータ保存ステップS11
8と、次回既定値設定ステップS119と、添字1設定
ステップS120と、ファイル名添字付加ジョブ制御言
語作成ステップS121と、アロケート実行ステップS
122と、ステータス表示ステップS123と、アロケ
ートデータ保存ステップS124と、アロケート数判定
ステップS125と、添字インクリメントステップS1
26とからなる。Referring to FIG. 2, the process of the file allocation tool 1 includes an initial screen display step S101, a file name and allocation number input step S102,
Allocate data search step S103, applicable data existence determination step S104, file information display step S105, default value display step S106, input item value correction step S107, input item value validity check step S108, error existence determination Step S10
9, an error message display step S110, a block length and file capacity calculation step S111, a block length and file capacity display step S112,
Confirmation step S113 and allocation number determination step S
114, a job control language creation step S115, an allocate execution step S116, a status display step S117, and an allocate data storage step S11.
8, a next default value setting step S119, a subscript 1 setting step S120, a file name subscript addition job control language creation step S121, and an allocate execution step S121.
122, status display step S123, allocate data storage step S124, allocate number determination step S125, and subscript increment step S1.
26.
【0013】図3は、表示装置3に表示される画面を例
示する図である。画面には、ファイル名と、アロケート
数と、ファイル編成と、レコード長と、キー長と、レコ
ード件数と、ブロック長と、アロケート単位と、ファイ
ル容量(データ部,キー部)とが表示される。なお、ア
ロケートデータファイル2には、図3に示す各データが
アロケートデータとして保存される。FIG. 3 is a diagram exemplifying a screen displayed on the display device 3. On the screen, the file name, the number of allocates, the file organization, the record length, the key length, the number of records, the block length, the allocate unit, and the file capacity (data part, key part) are displayed. . The data shown in FIG. 3 is stored in the allocate data file 2 as allocate data.
【0014】図4は、ファイル5をアロケートするジョ
ブ制御言語を例示する図である。図4中、LJSA.T
EST.WEJEBOO_INがファイル名を、FIL
EORG=SEQがファイル編成を、RECSIZE=
361(バイト)がレコード長を、BLOCKSZ=2
3465(バイト)がブロック長を、SIZE=1(ト
ラック)がファイル容量をそれぞれ示す。なお、図4中
には、ファイル編成が順編成であるので、キー長および
キー部は現れていない。FIG. 4 is a diagram illustrating a job control language for allocating the file 5. 4, LJSA. T
EST. WEJEBOO_IN indicates the file name and FIL
EORG = SEQ indicates file organization, RECSIZE =
361 (byte) is the record length, BLOCKSZ = 2
3465 (byte) indicates the block length, and SIZE = 1 (track) indicates the file capacity. In FIG. 4, since the file organization is the sequential organization, the key length and the key portion are not shown.
【0015】図5は、本実施例のファイルアロケート方
式の処理の流れを例示する図である。FIG. 5 is a diagram exemplifying a processing flow of the file allocation method of the embodiment.
【0016】次に、このように構成された本実施例のフ
ァイルアロケート方式の動作について説明する。Next, the operation of the file allocating method according to the present embodiment configured as described above will be described.
【0017】ファイルアロケートツール1を起動する
と、画面入出力手段11は、図3に例示するような初期
画面を表示装置3に表示する(図5参照)(ステップ
S101)。When the file allocating tool 1 is started, the screen input / output means 11 displays an initial screen as illustrated in FIG. 3 on the display device 3 (see FIG. 5) (step S101).
【0018】操作者が表示装置3に表示された初期画面
にファイル名およびアロケート数を入力すると(ステッ
プS102)、画面入出力手段11は、アロケートデー
タベース2中の同一ファイル名のアロケートデータを検
索し(ステップS103)、該当するアロケートデータ
があるか否かを判定する(ステップS104)。該当す
るアロケートデータがあれば、画面入出力手段11は、
アロケートデータ中のファイル情報(ファイル編成,レ
コード長,キー長,レコード件数およびアロケート単
位)を表示装置3に表示し(ステップS105)、該当
するアロケートデータがなければ、既定値(ファイル編
成およびアロケート単位)を表示装置3に表示する(ス
テップS106)。When the operator inputs a file name and the number of allocates on the initial screen displayed on the display device 3 (step S102), the screen input / output means 11 searches the allocate database 2 for allocate data of the same file name. (Step S103), it is determined whether there is the corresponding allocate data (Step S104). If there is the corresponding allocate data, the screen input / output means 11
The file information (file organization, record length, key length, number of records, and allocation unit) in the allocation data is displayed on the display device 3 (step S105), and if there is no corresponding allocation data, the default value (file organization and allocation unit) ) Is displayed on the display device 3 (step S106).
【0019】操作者が入力装置4から入力項目値(ファ
イル編成,レコード長,キー長等)を修正すると(図5
参照)(ステップS107)、画面入出力手段11
は、入力項目値の妥当性をチェックし(図5参照)
(ステップS108)、エラーがあれば(ステップS1
09でイエス)、エラーメッセージを表示して(図5
参照)(ステップS110)、ステップS107に制御
を戻す。When the operator corrects input item values (file organization, record length, key length, etc.) from the input device 4 (FIG. 5).
(Step S107), screen input / output means 11
Checks the validity of the input item value (see Figure 5)
(Step S108) If there is an error (Step S1)
09, and an error message is displayed (FIG. 5).
(Refer to step S110), and control is returned to step S107.
【0020】エラーがなければ(ステップS109でノ
ー)、画面入出力手段11は、ファイル容量計算手段1
2によりブロック長およびファイル容量を計算する(図
5参照)(ステップS111)。If there is no error (No in step S109), the screen input / output means 11
2, the block length and the file capacity are calculated (see FIG. 5) (step S111).
【0021】ここで、例えばファイル編成が順編成の場
合について、ブロック長およびファイル容量の計算を例
示する。Here, for example, when the file organization is the sequential organization, the calculation of the block length and the file capacity is exemplified.
【0022】いま、ファイル5に格納するレコードのレ
コード長をh(バイト)とすれば、ブロック長n(バイ
ト)は、次式で表される。 n=h×N(Nは自然数) ・・・(1)Assuming that the record length of the record stored in the file 5 is h (byte), the block length n (byte) is represented by the following equation. n = h × N (N is a natural number) (1)
【0023】また、1トラックの最大容量をm(バイ
ト)とすれば、1トラックに収容されるブロック数は
〔m/n〕となる。ただし、〔 〕は、ガウス記号であ
る(以下同様)。If the maximum capacity of one track is m (bytes), the number of blocks accommodated in one track is [m / n]. Here, [] is a Gaussian symbol (the same applies hereinafter).
【0024】したがって、1トラックに収容されるデー
タ量f(n)は、次式で表される。 f(n)=〔m/n〕×n ・・・(2)Therefore, the data amount f (n) accommodated in one track is represented by the following equation. f (n) = [m / n] × n (2)
【0025】(1)式を(2)式に代入し、変数をNと
すれば、次式のようになる。 f(N)=〔m/(h×N)〕×h×N≦m ・・・(3)If the equation (1) is substituted into the equation (2) and the variable is N, the following equation is obtained. f (N) = [m / (h × N)] × h × N ≦ m (3)
【0026】磁気ディスクのスペース効率が最も高くな
るのは、f(N)のNについての最大値を求めることと
なる。これに対応する値を、Nmax ,nmax およびf
max とすれば、以下のようになる。 fmax =f(Nmax )=f(nmax )≦m, h×Nmax =nmax The space efficiency of the magnetic disk becomes highest when the maximum value of f (N) for N is determined. The corresponding values are N max , n max and f
Assuming max , f max = f (N max ) = f (n max ) ≦ m, h × N max = n max
【0027】このときの1トラック当たりのレコード件
数は、下記の通りとなる。 fmax /h=〔m/(h×Nmax )〕×Nmax =〔m/nmax 〕×nmax /hThe number of records per track at this time is as follows. f max / h = [m / (h × N max )] × N max = [m / n max ] × n max / h
【0028】したがって、ファイル5がアロケートされ
るトラック数Tは、ファイル5に格納するレコード件数
をaとすると、ah/fmax が整数のときにはah/f
max、ah/fmax が整数でないときには〔ah/f
max 〕+1となる。Accordingly, when the number of records stored in the file 5 is a, the number of tracks T to which the file 5 is allocated is ah / f when ah / f max is an integer.
When max and ah / f max are not integers, [ah / f
max ] +1.
【0029】次に、ファイル5がアロケートされるファ
イル容量は、1シリンダを使用しないときにはTトラッ
クとなる。また、1シリンダ以上使用するときには、1
シリンダ当たりのトラック数をkとすると、使用シリン
ダ数Cは、ahk/fmax が整数のときにはahk/f
max 、ahk/fmax が整数でないときには〔ahk/
fmax 〕+1となる。Next, the file capacity in which the file 5 is allocated is T tracks when one cylinder is not used. When using more than one cylinder,
Assuming that the number of tracks per cylinder is k, the number of used cylinders C is ahk / f when ahk / f max is an integer.
When max and ahk / f max are not integers, [ahk /
f max ] +1.
【0030】したがって、(3)式からf(N)を最大
にするNmax を求め、これによりファイル容量T(トラ
ック)を算出する。Accordingly, Nmax that maximizes f (N) is obtained from the equation (3), and the file capacity T (track) is calculated from this.
【0031】なお、上記計算例は、ファイル編成が順編
成の場合であるが、他のファイル編成の場合にも公知の
計算手順でファイル容量(データ部,キー部)を計算す
ることができることはいうまでもない。Although the above calculation example is for a case where the file organization is a sequential organization, the file capacity (data part, key part) can be calculated by a well-known calculation procedure also for other file organization. Needless to say.
【0032】アロケートするファイル5のブロック長お
よびファイル容量が計算されると、画面入出力手段11
は、計算されたブロック長およびファイル容量を表示装
置3の画面に表示し(図5参照)(ステップS11
2)、操作者に確認を促す(ステップS113)。When the block length and file capacity of the file 5 to be allocated are calculated, the screen input / output means 11
Displays the calculated block length and file capacity on the screen of the display device 3 (see FIG. 5) (step S11).
2) Prompt the operator for confirmation (step S113).
【0033】操作者が入力装置4から確認した旨を入力
すると(図5参照)、ジョブ制御言語作成手段13
は、アロケート数が1であるか否かを判定し(ステップ
S114)、アロケート数が1である場合には、図4に
例示するようなジョブ制御言語を作成し(ステップS1
15)、アロケート実行手段14は、ファイル5のアロ
ケートを実行する(図5参照)(ステップS11
6)。When the operator inputs the confirmation from the input device 4 (see FIG. 5), the job control language creating means 13
Determines whether the number of allocates is 1 (step S114), and if the number of allocates is 1, creates a job control language as exemplified in FIG. 4 (step S1).
15), the allocating unit 14 allocates the file 5 (see FIG. 5) (step S11)
6).
【0034】ファイル5のアロケートが正常に終了する
と、アロケート実行手段14は、正常終了を示すステー
タスを表示装置3に表示し(図5参照)(ステップS
117)、アロケートデータをアロケートデータベース
2に保存して(ステップS118)、次回既定値(ファ
イル名,ファイル編成およびアロケート単位)を設定し
(ステップS119)、ステップS101に制御を戻
す。When the allocation of the file 5 ends normally, the allocation executing means 14 displays a status indicating the normal end on the display device 3 (see FIG. 5) (step S).
117), the allocate data is stored in the allocate database 2 (step S118), and the next default value (file name, file organization and allocate unit) is set (step S119), and the control returns to step S101.
【0035】ステップS114でアロケート数が1以上
であれば、ジョブ制御言語作成手段13は、添字を1と
し(ステップS120)、ファイル名に添字を付加して
ジョブ制御言語を作成し(ステップS121)、アロケ
ート実行手段14は、ファイル5のアロケートを実行す
る(図5参照)(ステップS122)。If the number of allocates is 1 or more at step S114, the job control language creating means 13 sets the subscript to 1 (step S120) and adds a subscript to the file name to create a job control language (step S121). The allocating unit 14 allocates the file 5 (see FIG. 5) (step S122).
【0036】ファイル5のアロケートが正常に終了する
と、アロケート実行手段14は、正常終了を示すステー
タスを表示装置3に表示し(図5参照)(ステップS
123)、アロケートデータをアロケートデータベース
2に保存して(ステップS124)、添字がアロケート
数と一致するか否かを判定する(ステップS125)。
添字がアロケート数と一致しなければ、アロケート実行
手段14は、添字を+1インクリメントして(ステップ
S126)、ステップS121に制御を戻してステップ
S121〜124を繰り返し、ステップS125で添字
がアロケート数と一致すれば、制御をステップS119
に渡す。When the allocation of the file 5 ends normally, the allocation executing means 14 displays a status indicating the normal end on the display device 3 (see FIG. 5) (Step S).
123), the allocate data is stored in the allocate database 2 (step S124), and it is determined whether or not the subscript matches the number of allocates (step S125).
If the subscript does not match the number of allocates, the allocation executing means 14 increments the subscript by +1 (step S126), returns control to step S121, repeats steps S121 to 124, and in step S125 the subscript matches the number of allocates. Then, control is passed to step S119.
Pass to.
【0037】[0037]
【発明の効果】以上説明したように本発明は、画面入出
力手段,ファイル容量計算手段,ジョブ制御言語作成手
段およびファイルアロケート実行手段を設け、画面対話
式に必要なファイル情報およびアロケート数を指定する
ようにしたことにより、同一フォーマットの複数のファ
イルを一括アロケートすることができ、ファイルのアロ
ケート作業の手間を省くことができるという効果があ
る。As described above, according to the present invention, the screen input / output means, the file capacity calculating means, the job control language creating means and the file allocating executing means are provided, and the necessary file information and the number of allocates are designated interactively on the screen. By doing so, it is possible to collectively allocate a plurality of files of the same format, so that there is an effect that labor for allocating the files can be saved.
【0038】また、アロケートデータベース,画面入出
力手段,ファイル容量計算手段,ジョブ制御言語作成手
段およびファイルアロケート実行手段を設け、画面対話
式に必要なファイル情報およびアロケート数を表示およ
び指定するようにしたことにより、同一フォーマットの
複数のファイルを一括アロケートすることができ、ファ
イルのアロケート作業の手間を省くことができるという
効果がある。Further, an allocate database, a screen input / output means, a file capacity calculating means, a job control language creating means and a file allocating means are provided to display and designate necessary file information and the number of allocates in a screen interactive manner. As a result, a plurality of files of the same format can be collectively allocated, and the effect of allocating files can be saved.
【図1】本発明の一実施例に係るファイルアロケート方
式の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a file allocation system according to an embodiment of the present invention.
【図2】図1中のファイルアロケートツールの処理を示
す流れ図である。FIG. 2 is a flowchart showing a process of a file allocation tool in FIG. 1;
【図3】図1中の表示装置に表示される画面例を示す図
である。FIG. 3 is a diagram showing an example of a screen displayed on the display device in FIG. 1;
【図4】図1中のジョブ制御言語作成手段により作成さ
れるジョブ制御言語を例示する図である。FIG. 4 is a diagram illustrating a job control language created by a job control language creating unit in FIG. 1;
【図5】本実施例のファイルアロケート方式の処理手順
を例示する図である。FIG. 5 is a diagram illustrating a processing procedure of a file allocation method according to the embodiment;
1 ファイルアロケートツール 2 データベース 3 入力装置 4 表示装置 5 ファイル 11 画面入出力手段 12 ファイル容量計算手段 13 ジョブ制御言語作成手段 14 ファイルアロケート実行手段 DESCRIPTION OF SYMBOLS 1 File allocation tool 2 Database 3 Input device 4 Display device 5 File 11 Screen input / output means 12 File capacity calculation means 13 Job control language creation means 14 File allocation execution means
Claims (2)
となるファイル情報およびアロケート数を入出力する画
面入出力手段と、 この画面入出力手段により画面に入力されたファイル情
報をもとにファイルのアロケートに必要なブロック長お
よびファイル容量を計算するファイル容量計算手段と、 このファイル容量計算手段により計算されたブロック長
およびファイル容量を用いてアロケート数が複数の場合
にはファイル名に自動的に通番を付与してファイルをア
ロケートするジョブ制御言語を作成するジョブ制御言語
作成手段と、 このジョブ制御言語作成手段により作成されたジョブ制
御言語を起動してファイルのアロケートを実行するアロ
ケート実行手段とを有することを特徴とするファイルア
ロケート方式。1. Screen input / output means for inputting / outputting file information and the number of allocations from which a file is to be allocated in a screen interactive manner; A file capacity calculation means for calculating a block length and a file capacity required for allocation, and a file number is automatically assigned to a file name when there are a plurality of allocations by using the block length and the file capacity calculated by the file capacity calculation means. Job control language creating means for creating a job control language for allocating a file by assigning a file, and allocating execution means for activating the job control language created by the job control language creating means and allocating the file. File allocating method characterized by that.
データベースと、 画面対話式にファイル名およびアロケート数が入力され
ると前記アロケートデータベースを検索して同一のファ
イル名を有するアロケートデータがあればアロケートデ
ータ中のファイル情報を画面に表示し該当するアロケー
トデータがなければ既定値を画面に表示する画面入出力
手段と、 この画面入出力手段により画面に入力されたファイル情
報をもとにファイルのアロケートに必要なブロック長お
よびファイル容量を計算するファイル容量計算手段と、 このファイル容量計算手段により計算されたブロック長
およびファイル容量を用いてアロケート数が複数の場合
にはファイル名に自動的に通番を付与してファイルをア
ロケートするジョブ制御言語を作成するジョブ制御言語
作成手段と、 このジョブ制御言語作成手段により作成されたジョブ制
御言語を起動してファイルのアロケートを実行し実行後
にアロケートデータを前記アロケートデータベースに保
存し前記既定値を設定するアロケート実行手段とを有す
ることを特徴とするファイルアロケート方式。2. An allocation database that manages allocation data, and when a file name and the number of allocations are input interactively on the screen, the allocation database is searched, and if there is allocation data having the same file name, the allocation data is stored in the allocation data. A screen input / output means for displaying file information on the screen and displaying a default value on the screen if there is no corresponding allocate data; and a file input / output means required for allocating a file based on the file information inputted to the screen by the screen input / output means. A file capacity calculating means for calculating a block length and a file capacity; and automatically assigning a serial number to a file name when the number of allocates is plural by using the block length and the file capacity calculated by the file capacity calculating means. A job to create a job control language to allocate files Control language creating means; allocating means for activating a job control language created by the job control language creating means, allocating a file, storing allocate data in the allocate database after execution, and setting the default value; File allocating method characterized by having:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5345003A JP2616425B2 (en) | 1993-12-20 | 1993-12-20 | File allocate method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5345003A JP2616425B2 (en) | 1993-12-20 | 1993-12-20 | File allocate method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07175693A JPH07175693A (en) | 1995-07-14 |
| JP2616425B2 true JP2616425B2 (en) | 1997-06-04 |
Family
ID=18373629
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5345003A Expired - Fee Related JP2616425B2 (en) | 1993-12-20 | 1993-12-20 | File allocate method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2616425B2 (en) |
-
1993
- 1993-12-20 JP JP5345003A patent/JP2616425B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07175693A (en) | 1995-07-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH1069408A (en) | Data storage method and data storage device at file system level using holes | |
| JPH04312141A (en) | How to update files for electronic printing systems | |
| JP2667352B2 (en) | Data retrieval apparatus and method | |
| CN109918346A (en) | A kind of creation method and device of file | |
| JP2616425B2 (en) | File allocate method | |
| JP4050390B2 (en) | Program correction extraction application system and storage medium storing correction extraction application program | |
| US5930505A (en) | Method for storing a program into an auxiliary memory | |
| EP0867811A1 (en) | Accounting-information outputting device | |
| JP2994138B2 (en) | Catalog Variable Management Method for Interactive Processing System | |
| JPH07152615A (en) | Data base reorganization system | |
| JP3557439B2 (en) | Computer operation data search method and apparatus therefor | |
| JP3047400B2 (en) | Data processing device | |
| JP3722854B2 (en) | Data editing device | |
| JP2720805B2 (en) | Program flow diagram reference method | |
| JPH0652020A (en) | File editing device | |
| JPH06242933A (en) | Program document maintenance device | |
| JPH10171999A (en) | Graph display device | |
| JP2834032B2 (en) | Individual output method of the same attribute form | |
| JPS6359091A (en) | Memory allocating information output system for telephone exchange system with accumulated program control system | |
| JPH0338739A (en) | Automatic reorganization executing system | |
| JPH07141395A (en) | Batch job multiprocessing control system | |
| JP2000035809A (en) | Programmable controller | |
| JPS63276569A (en) | Off-line printing apparatus | |
| JPH0644257B2 (en) | Buffering method for unspecified length continuous area | |
| JPS63104154A (en) | File shift system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |