JPS63145551A - Changing system for definition of file attribute - Google Patents

Changing system for definition of file attribute

Info

Publication number
JPS63145551A
JPS63145551A JP61293097A JP29309786A JPS63145551A JP S63145551 A JPS63145551 A JP S63145551A JP 61293097 A JP61293097 A JP 61293097A JP 29309786 A JP29309786 A JP 29309786A JP S63145551 A JPS63145551 A JP S63145551A
Authority
JP
Japan
Prior art keywords
file
information
attribute definition
file attribute
allocation
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
JP61293097A
Other languages
Japanese (ja)
Inventor
Fumiko Komatsu
文子 小松
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 JP61293097A priority Critical patent/JPS63145551A/en
Publication of JPS63145551A publication Critical patent/JPS63145551A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To change file attribute even after the file is allocated by providing a file attribute definition changing means and a specific file attribute information merging means. CONSTITUTION:A file attribute definition register means 4 adds and registers a file attribute definition name 5a to the file attribute definition information 5 which changes the file attribute used when a program 1 gives an access to a file 12. A file allocating means 6 produces the file allocation information 8 to designate the name 5a and allocates the file declared in a program to an actual file. A file attribute definition changing means 7 changes the information registered once. Then a file attribute information merging means 9 merges the information 5, the information 8 and the information 2 on the file declared in the program for production of the file access information 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はファイル属性定義変更方式に関し、特に対話情
報処理システムにおいてプログラムがファイルをアクセ
スするときに使用するファイル属性を変更するためのフ
ァイル属性定義変更方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a file attribute definition changing method, and particularly to a file attribute definition for changing file attributes used when a program accesses a file in an interactive information processing system. Concerning the change method.

〔従来の技術〕[Conventional technology]

従来、対話情報処理システムにおいては、ファイル割当
て時にファイル属性の変更が行われ、一旦フアイル割当
てを行った後はファイル属性の変更を行うことができな
かった。このため、ファイル割当て後にファイル属性を
変更するためには、一旦フアイル割当てを解放してから
あらためてファイル割当てを行わなければならなかった
Conventionally, in interactive information processing systems, file attributes are changed at the time of file allocation, and once a file has been allocated, file attributes cannot be changed. Therefore, in order to change file attributes after file allocation, it is necessary to once release the file allocation and then perform file allocation again.

ところで、一括処理では処理の順序を途中で変更するこ
とはないが、対話処理においては割当て後に自由に対話
情報処理システムと対話できるので、ファイル属性を容
易に変更できないことは情報処理システムの利用の仕方
が限定されるという結果を招いていた。
By the way, in batch processing, the order of processing is not changed midway through, but in interactive processing, after allocation, you can freely interact with the interactive information processing system, so not being able to easily change file attributes is a major impediment to the use of the information processing system. This resulted in limited options.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の対話情報処理システムでは、ファイル割
当て後にファイル属性を変更するには一旦フアイル割当
てを解放してからあらためてファイル割当てをしなおさ
なければならないので、端末利用者の操作手順が限定さ
れるという欠点がある。
In the conventional interactive information processing system described above, in order to change file attributes after file allocation, the file allocation must be released and then re-allocated, which limits the operating procedures for terminal users. There are drawbacks.

本薄明の目的は、上述の点に鑑み、ファイル割当て後に
もファイル属性を変更することができるようにしたファ
イル属性定義変更方式を提供することにある。
In view of the above-mentioned points, the purpose of the present invention is to provide a file attribute definition change method that allows file attributes to be changed even after file allocation.

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

本発明のファイル属性定義変更方式は、対話情報処理シ
ステムにおいて、プログラムがファイルをアクセスする
ときに使用するファイル属性を変更するためのファイル
属性定義情報にファイル属性定義名を付加して登録する
ファイル属性定義登、録手段と、前記ファイル属性定義
名を指定して前記プログラム内で宣言したファイルを実
際のファイルに割り当てるファイル割当て情報を作成す
るファイル割当て手段と、一旦登録された前記ファイル
属性定義情報を変更するファイル属性定義変更手段と、
ファイルアクセスの前準備を行うオープン処理時に前記
ファイル属性定義情報、前記ファイル割当て情報および
前記プログラム内で宣言したファイルに関する情報を合
併してファイルアクセス情報を作成するファイル属性情
報合併手段とを有する。
The file attribute definition changing method of the present invention is a file attribute definition information system in which a file attribute definition name is added to and registered in file attribute definition information for changing file attributes used when a program accesses a file in an interactive information processing system. a definition registration and recording means; a file allocation means for creating file allocation information for allocating a file declared in the program to an actual file by specifying the file attribute definition name; a means for changing file attribute definitions to be changed;
and file attribute information merging means for creating file access information by merging the file attribute definition information, the file allocation information, and the information regarding the file declared within the program during open processing to prepare for file access.

(作用〕 本発明のファイル属性定義変更方式では、ファイル属性
定義登録手段がプログラムがファイルをアクセスすると
きに使用するファイル属性を変更するためのファイル属
性定義情報にファイル属性定義名を付加して登録し、フ
ァイル割当て手段がファイル属性定義名を指定してプロ
グラム内で宣言したファイルを実際のファイルに割り当
てるファイル割当て情報を作成し、ファイル属性定義変
更手段が一旦登録されたファイル属性定義情報を変更し
、ファイル属性情報合併手段がファイルアクセスの前準
備を行うオープン処理時にファイル属性定義情報、ファ
イル割当て情報およびプログラム内で宣言したファイル
に関する情報を合併してファイルアクセス情報を作成す
る。
(Operation) In the file attribute definition changing method of the present invention, the file attribute definition registration means adds a file attribute definition name to file attribute definition information for changing the file attributes used when a program accesses a file, and registers the file attribute definition information. Then, the file allocation means specifies the file attribute definition name and creates file allocation information that allocates the file declared in the program to an actual file, and the file attribute definition change means changes the file attribute definition information that has been registered. The file attribute information merging means creates file access information by merging file attribute definition information, file allocation information, and information regarding the file declared within the program during open processing to prepare for file access.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

図は、本発明の一実施例の構成を示すブロック図である
0本実施例のファイル属性定義変更方式が適用された対
話情報処理システムは、利用者プログラムlと、ファイ
ル属性定義登録手段4と、ファイル属性定義情報5と、
ファイル割当て手段6と、ファイル属性定義変更手段7
と、ファイル割当て情報8と、ファイル属性情報合併手
段9と、ファイルアクセス情報10と、ファイルアクセ
ス処理装置11と、ファイル12とから構成されている
The figure is a block diagram showing the configuration of an embodiment of the present invention.The interactive information processing system to which the file attribute definition changing method of this embodiment is applied includes a user program l, a file attribute definition registration means 4, , file attribute definition information 5,
File allocation means 6 and file attribute definition change means 7
, file allocation information 8 , file attribute information merging means 9 , file access information 10 , file access processing device 11 , and file 12 .

利用者プログラム1は、rPUTJやrGET」などの
ファイルアクセス命令を含むプログラムで、これらファ
イルアクセス命令の前にあらかじめ利用者プログラム1
上のファイル名(以下、内部ファイル名と称する)2a
を含むファイルに関する情報2が宣言されているととも
に、ファイルアクセスの前準備を行うためのオープン処
理命令rOPENJが含まれている。
User program 1 is a program that includes file access commands such as rPUTJ and rGET.
Above file name (hereinafter referred to as internal file name) 2a
In addition to declaring information 2 regarding the file including file access information 2, an open processing command rOPENJ for making preparations for file access is included.

ファイル属性定義登録手段4は、利用者プログラムlで
宣言したファイルに関する情fl!2を実際のファイル
属性と一致させるためのファイル属性定義情報5にファ
イル属性定義名5aを付加して登録を行う手段である。
The file attribute definition registration means 4 stores information fl! about the file declared by the user program l! This is a means for registering by adding a file attribute definition name 5a to the file attribute definition information 5 for matching the file attribute 2 with the actual file attribute.

ファイル割当て手段6は、利用者プログラム1を動作さ
せる前にファイル属性定義名5aを指定してファイルに
関する情報2内で記述されている内部ファイル名2aの
ファイルに対して実際に入出力を行うファイル12のフ
ァイル名(以下、外部ファイル名と称する)12aを割
り当てるファイル割当て情報8を作成する手段である。
The file allocation means 6 specifies the file attribute definition name 5a before operating the user program 1, and performs input/output to the file with the internal file name 2a described in the file information 2. This is means for creating file allocation information 8 for allocating 12 file names (hereinafter referred to as external file names) 12a.

ファイル属性定義変更手段7は、ファイル属性定義登録
手段4により一旦登録されたファイル属性定義情報5を
ファイル割当て前およびファイル割当て後にかかわらず
変更する手段である。
The file attribute definition changing means 7 is a means for changing the file attribute definition information 5 once registered by the file attribute definition registration means 4, whether before or after file allocation.

ファイル属性情報合併手段9は、ファイルアクセスの前
準備を行うオーブン処理時にファイル属性定義情報5.
ファイル割当て情報8およびファイルに関する情報2を
合併してファイルアクセス情報IOを作成する手段であ
る。
The file attribute information merging means 9 stores file attribute definition information 5.
This is a means for creating file access information IO by merging file allocation information 8 and file related information 2.

ファイルアクセス処理装置11は、利用者プログラム1
のファイルアクセス命令に基づいてファイルアクセス情
報10を使用してファイル12をアクセスする装置であ
る。
The file access processing device 11 includes a user program 1
This device accesses a file 12 using file access information 10 based on a file access command.

ファイル12は、利用者プログラム1によりアクセスさ
れる外部ファイル名12aを有するファイルである。
The file 12 is a file accessed by the user program 1 and has an external file name 12a.

次に、このように構成された本実施例のファイル属性定
義変更方式の動作について説明する。
Next, the operation of the file attribute definition changing method of this embodiment configured as described above will be explained.

まず、端末利用者は、端末を操作しファイル属性定義基
5aを指定してファイル属性定義情報5の登録を行うよ
うにファイル属性定義登録手段4に要求する。
First, the terminal user operates the terminal to specify the file attribute definition base 5a and requests the file attribute definition registration means 4 to register the file attribute definition information 5.

ファイル属性定義登録手段4は、ファイル属性定義基5
aに対応させてファイル属性定義情報5を作成して登録
する。
The file attribute definition registration means 4 includes a file attribute definition base 5.
File attribute definition information 5 is created and registered in correspondence with a.

次に、端末利用者は、端末を操作し利用者プログラム1
内のファイルに関する情報2で宣言した内部ファイル名
2aおよびファイル属性定義登録手段4によりファイル
属性定義情報5に付加して登録したファイル属性定義基
5aを指定してファイルを割り当てるようにファイル割
当て手段3に要求する。
Next, the terminal user operates the terminal and executes user program 1.
The file allocation means 3 specifies the internal file name 2a declared in the information 2 regarding the file in the file and the file attribute definition base 5a registered by adding it to the file attribute definition information 5 by the file attribute definition registration means 4 to allocate the file. request.

ファイル割当て手段3は、利用者プログラムl内のファ
イルに関する情報2で宣言した内部ファイル名2aに対
して実際のファイル12を割り当てるための外部ファイ
ル名12aおよびファイル属性定義基5aが対応して含
まれるファイル割当て情報8を作成する。
The file allocation means 3 includes an external file name 12a and a file attribute definition base 5a for allocating the actual file 12 to the internal file name 2a declared in the file information 2 in the user program l. Create file allocation information 8.

ファイル割当て後の利用者プログラム1が起動される前
に、端末利用者が一旦登録したファイル属性定義情報5
を変更する場合には、端末利用者が端末を操作しファイ
ル属性定義基5aおよび変更情報を指定して登録済のフ
ァイル属性定義情報5を変更するようにファイル属性定
義変更手段7に要求する。
File attribute definition information 5 once registered by the terminal user before the user program 1 is started after file allocation
When changing the file attribute definition information 5, the terminal user operates the terminal, specifies the file attribute definition base 5a and the change information, and requests the file attribute definition changing means 7 to change the registered file attribute definition information 5.

ファイル属性定義変更手段7は、すでに登録されている
複数のファイル属性定義情報5の中から指定されたファ
イル属性定義基5aを付加されたファイル属性定義情報
5を検索し、検索されたファイル属性定義情報5に対し
て変更情報により指示された変更を加える。
The file attribute definition changing means 7 searches for the file attribute definition information 5 to which the specified file attribute definition base 5a has been added from among the plurality of file attribute definition information 5 that has already been registered, and searches for the file attribute definition information 5 that has been added with the specified file attribute definition base 5a. Changes specified by the change information are made to information 5.

端末利用者が端末を操作して利用者プログラムlに起動
をかけると、利用者プログラム1が動作し、オープン処
理命令1”0PENJに基づくファイルアクセスの前準
備でファイル属性情報合併手段9が起動される。
When the terminal user operates the terminal to start the user program 1, the user program 1 runs, and the file attribute information merging means 9 is started in preparation for file access based on the open processing command 1"0PENJ. Ru.

ファイル属性情報合併手段9は、利用者プログラム1内
のファイルに関する情報2に含まれた内部ファイル名2
aをキーとしてすでに作成されている複数のファイル割
当て悄fi!8の中から該当するファイル割当て情報8
を検索し、次に検索されたファイル割当て情報8中のフ
ァイル属性定義基5aを使用して同一のファイル属性定
義基5aを有するファイル属性定義情報5を取り出す。
The file attribute information merging means 9 stores the internal file name 2 included in the information 2 regarding the file within the user program 1.
Multiple file assignments that have already been created with a as a key! Applicable file allocation information 8 from 8
Then, using the file attribute definition group 5a in the searched file allocation information 8, the file attribute definition information 5 having the same file attribute definition group 5a is extracted.

そして、ファイルに関する情報2.検索されたファイル
割当て情報8および取り出されたファイル属性定義情報
5を合併して、ファイルアクセスに必要なファイルアク
セス情報10を作成する。
Information regarding the file 2. The searched file allocation information 8 and the retrieved file attribute definition information 5 are combined to create file access information 10 necessary for file access.

したがって、この後、利用者プログラム1の処理が進み
、rPUTJやrGETJなどのファイルアクセス命令
の実行に到ると、これらのファイルアクセス命令に基づ
いてファイルアクセス処理装置11がファイルアクセス
情報10を使用してファイル12のアクセスを行う。
Therefore, after this, when the processing of the user program 1 progresses and reaches the execution of file access commands such as rPUTJ and rGETJ, the file access processing device 11 uses the file access information 10 based on these file access commands. Then, the file 12 is accessed.

〔′発明の効果〕〔'Effect of the invention〕

以上説明したように本発明は、ファイル属性定義変更手
段を設けるとともにファイル属性情報合併手段がファイ
ルのオーブン処理時にファイル割当て情報中のファイル
属性定義基をキーとしてファイル属性定義情報を検索し
て取り出し利用者プログラム中のファイルに関する情報
と合併してファイルアクセス情報を作成するようにした
ことにより、ファイルの割当て以降においてもファイル
属性定義情報を変更することが可能となり、端末利用者
の操作手順が限定されることがないという効果がある。
As explained above, the present invention provides the file attribute definition changing means, and the file attribute information merging means retrieves and uses the file attribute definition information using the file attribute definition group in the file allocation information as a key during file oven processing. By creating file access information by merging it with the file information in the user program, file attribute definition information can be changed even after the file is allocated, and the operating procedures for terminal users are limited. The effect is that there is no problem.

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

図は本発明の一実施例の構成を示すブロック図である。 図において、 l・・・利用者プログラム、 2・・・ファイルに関する情報、 2a・・内部ファイル名、 4・・・ファイル属性定義登録手段、 5・・・ファイル属性定義情報、 5a・・ファイル属性定義基、 6・・・ファイル割当て手段、 7・・・ファイル属性定義変更手段、 8・・・ファイル割当て情報、 9・・・ファイル属性情報合併手段、 10・・・ファイルアクセス情報、 11・・・ファイルアクセス処理装置、12・・・ファ
イル、 12a・・外部ファイル名である。
The figure is a block diagram showing the configuration of an embodiment of the present invention. In the figure, l...user program, 2...information regarding the file, 2a...internal file name, 4...file attribute definition registration means, 5...file attribute definition information, 5a...file attribute Definition base, 6... File allocation means, 7... File attribute definition changing means, 8... File allocation information, 9... File attribute information merging means, 10... File access information, 11... -File access processing device, 12...File, 12a...External file name.

Claims (1)

【特許請求の範囲】 対話情報処理システムにおいて、 プログラムがファイルをアクセスするときに使用するフ
ァイル属性を変更するためのファイル属性定義情報にフ
ァイル属性定義名を付加して登録するファイル属性定義
登録手段と、 前記ファイル属性定義名を指定して前記プログラム内で
宣言したファイルを実際のファイルに割り当てるファイ
ル割当て情報を作成するファイル割当て手段と、 一旦登録された前記ファイル属性定義情報を変更するフ
ァイル属性定義変更手段と、 ファイルアクセスの前準備を行うオープン処理時に前記
ファイル属性定義情報、前記ファイル割当て情報および
前記プログラム内で宣言したファイルに関する情報を合
併してファイルアクセス情報を作成するファイル属性情
報合併手段と、を有することを特徴とするファイル属性
定義変更方式。
[Claims] In an interactive information processing system, a file attribute definition registration means for registering file attribute definition information with a file attribute definition name added thereto for changing file attributes used when a program accesses a file; , a file allocation means for creating file allocation information for allocating a file declared in the program to an actual file by specifying the file attribute definition name; and a file attribute definition change for changing the file attribute definition information once registered. and file attribute information merging means for creating file access information by merging the file attribute definition information, the file allocation information, and the information regarding the file declared within the program during open processing to prepare for file access; A file attribute definition change method characterized by having the following.
JP61293097A 1986-12-09 1986-12-09 Changing system for definition of file attribute Pending JPS63145551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61293097A JPS63145551A (en) 1986-12-09 1986-12-09 Changing system for definition of file attribute

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61293097A JPS63145551A (en) 1986-12-09 1986-12-09 Changing system for definition of file attribute

Publications (1)

Publication Number Publication Date
JPS63145551A true JPS63145551A (en) 1988-06-17

Family

ID=17790382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61293097A Pending JPS63145551A (en) 1986-12-09 1986-12-09 Changing system for definition of file attribute

Country Status (1)

Country Link
JP (1) JPS63145551A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253451A (en) * 1989-03-28 1990-10-12 Hitachi Inf Syst Ltd Data base managing system
US5628010A (en) * 1993-02-19 1997-05-06 Fujitsu Limited Method and device for accessing character files image data
US7035860B2 (en) 2003-01-17 2006-04-25 International Business Machines Corporation Trusted access by an extendible framework method, system, article of manufacture, and computer program product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253451A (en) * 1989-03-28 1990-10-12 Hitachi Inf Syst Ltd Data base managing system
US5628010A (en) * 1993-02-19 1997-05-06 Fujitsu Limited Method and device for accessing character files image data
US7035860B2 (en) 2003-01-17 2006-04-25 International Business Machines Corporation Trusted access by an extendible framework method, system, article of manufacture, and computer program product

Similar Documents

Publication Publication Date Title
US5717950A (en) Input/output device information management system for multi-computer system
JPH02188833A (en) Interface for computer system
JPH02165241A (en) File access system
JPH02201653A (en) Application program interface method
US7730093B2 (en) Method for controlling access to the resources of a data processing system, data processing system, and computer program
JPS63145551A (en) Changing system for definition of file attribute
JPH04107741A (en) Draw-out system for service procedure in rpc
JPH0414161A (en) Transaction processing system
JPH03294931A (en) Resources name managing system for information processing system
JPS6265137A (en) Control system for priority of user task
JPS6150356B2 (en)
Shub On the relative merits of two major methodologies for simulation model construction
JPH0652079A (en) Communication application program interface device
JPS63178329A (en) Resource managing system
JPH0658658B2 (en) Temporary data set management method in TSS processing system
JPH02294855A (en) Sub-file using right managing system
JPS58165157A (en) Test controlling system of program using data base
JPH05143410A (en) Access control method for distributed data base
JPH02122359A (en) Remote file access system
JPH0279121A (en) Source code management system
JPH04358225A (en) Divided file processing system
JPH0457126A (en) File accessing system
JPS6394344A (en) Filing managing system
JPH0689192A (en) Floating exclusive control system for online real time processing system
JPH03237528A (en) Parameter managing system