JPS63233445A - Local addition system for internal file name - Google Patents

Local addition system for internal file name

Info

Publication number
JPS63233445A
JPS63233445A JP62067057A JP6705787A JPS63233445A JP S63233445 A JPS63233445 A JP S63233445A JP 62067057 A JP62067057 A JP 62067057A JP 6705787 A JP6705787 A JP 6705787A JP S63233445 A JPS63233445 A JP S63233445A
Authority
JP
Japan
Prior art keywords
file name
file
internal
name
internal file
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
JP62067057A
Other languages
Japanese (ja)
Inventor
Eiji Tsukada
塚田 英治
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 JP62067057A priority Critical patent/JPS63233445A/en
Publication of JPS63233445A publication Critical patent/JPS63233445A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To use an internal file name only in one TSS command execution program and to prevent an unnecessary internal file name from being left by locally adding a uniform internal file name necessary for file access to an external file name. CONSTITUTION:A TSS command execution program 1 is started by a command inputted by a user and outputs an internal file name adding request to a local addition declaring means 2 in order to a uniform internal filename to an external file name. Receiving the request, the declaring means 2 declares a local type and accesses in internal file name setting means 3. The means 3 executes two checks at the time of processing. In a 1st check, whether a file entry storing the external file name to which the internal file name is to be added is registered in a file managing table 7 or not is checked. When the entry is not registered, abnormality is decided because of the absence of the external file name.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はタイムシェアリングシステムのもとでTSSコ
マンドを用いてソフトウェアの開発や業務等を行う際に
、TSSコマンド実行プログラムからファイルをアクセ
スするために必要な内部ファイル名を、外部ファイル名
にローカルに付加することにより、1個のTSSコマン
ド実行プログラムの中だけで有効とすることを可能にす
る内部ファイル名のローカル付加方式に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention provides access to files from a TSS command execution program when developing software or conducting business using TSS commands under a time sharing system. The present invention relates to a method for locally adding an internal file name, which makes it possible to make the internal file name valid only within one TSS command execution program by locally adding the internal file name necessary for the external file name to the external file name.

(従来の技術) 一般に、ファイルの識別名には文字数の多い外部ファイ
ル名を用いるが、TSSコマンドによりTSSコマンド
実行プログラムからファイルのアクセスを行う場合には
、ファイルの識別名として文字数の少ないユーザー意な
内部ファイル名を用いる。従って、ユーザが外部ファイ
ル名に対して一意な内部ファイル名を付加することによ
り、TSSコマンド実行プログラムはファイルを識別し
てアクセスする。この内部ファイル名は、外部ファイル
名に対して一度付加されると、ファイルの割当てが解放
されるまで付加された状態となり、ファイル管理テーブ
ル内のファイルエントリに内部ファイル名が設定された
ままの状態となっている。従来の技術は上述のようなグ
ローバル付加方式を採用している。
(Prior art) Generally, an external file name with a large number of characters is used as a file identification name, but when a file is accessed from a TSS command execution program using a TSS command, a user-defined name with a small number of characters is used as a file identification name. Use a valid internal file name. Therefore, when the user adds a unique internal file name to the external file name, the TSS command execution program identifies and accesses the file. Once this internal file name is appended to the external file name, it remains appended until the file is allocated, and the internal file name remains set in the file entry in the file management table. It becomes. The conventional technology employs the global addition method as described above.

(発明が解決しようとする問題点) 従来の内部ファイル名のグローバル付加方式では、多く
の興なったTSSコマンド実行プログラムが連続的に使
用されるタイムシェアリングシステムにおいて、複数の
TSSコマンドを用いて一連の作業を行う場合に、TS
Sコマンド実行プログラムがアクセスするファイルの内
部ファイル名がファイル管理テーブル内のファイルエン
トリに残存するので、文字数の少ない内部ファイル名の
重複が発生し、外部ファイル名に対して一意な内部ファ
イル名を付加できなくなるという問題点がある。
(Problems to be Solved by the Invention) In the conventional global addition method of internal file names, in a time sharing system where many TSS command execution programs are used continuously, it is difficult to use multiple TSS commands. When performing a series of tasks, TS
Since the internal file name of the file accessed by the S command execution program remains in the file entry in the file management table, duplication of internal file names with a small number of characters occurs, and a unique internal file name is added to the external file name. The problem is that it cannot be done.

従って、1個のTSSコマンド実行プログラムの実行中
でのみ有効である内部ファイル名を付加する手段の出現
が要望される。
Therefore, there is a need for a means to add an internal file name that is valid only during execution of one TSS command execution program.

(問題点を解決するための手段) 本発明の内部ファイル名のローカル付加方式は、外部フ
ァイル名に対して付加する内部ファイル名をローカル型
と真言するローカル付加宣言手段と、内部フ7・イル名
をファイル管理テーブル内のファイルエントリに設定す
る内部ファイル名設定手段と、ローカル識別子を前記フ
ァイルエントリに設定するローカル識別子設定手段と、
TSSコマンド実行プログラム終了時に、前記ファイル
管理テーブルを検索してローカル識別子が設定されてい
るファイルエントリを検出するファイルエントリ検出手
段と、このファイルエントリ検出手段により検出された
ファイルエントリ内の内部ファイル名及びローカル識別
子を削除する内部ファイル名削除手段とを有している。
(Means for Solving the Problems) The local addition method for internal file names of the present invention includes a local addition declaration means that declares that an internal file name added to an external file name is a local type, and an internal file name 7. internal file name setting means for setting a name to a file entry in a file management table; and local identifier setting means for setting a local identifier to the file entry;
At the end of the TSS command execution program, a file entry detection means searches the file management table to detect a file entry in which a local identifier is set, and an internal file name and an internal file name in the file entry detected by the file entry detection means. and internal file name deletion means for deleting the local identifier.

(実施例) 以下に本発明の一実施例について図面を参照して詳細に
説明する。
(Example) An example of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、TSS
コマンド実行プログラム1.ローカル付加宣言手段2.
内部ファイル名設定手段3.ローカル識別子設定手段4
.ファイルエントリ検出手段5、内部ファイル名削除手
段6.ファイル管理テーブル7から構成される。
FIG. 1 is a block diagram of one embodiment of the present invention, in which the TSS
Command execution program 1. Local addition declaration means 2.
Internal file name setting means 3. Local identifier setting means 4
.. File entry detection means 5, internal file name deletion means 6. It consists of a file management table 7.

第2図はファイル管理テーブルの梢或図である。FIG. 2 is a top view of the file management table.

外部ファイル名及び内部ファイル名及びローカル識別子
を格納するファイルエントリが、ファイルを割当てる時
に作成され、ファイルが解放されると前記ファイルエン
トリは抹消される。
File entries storing external and internal file names and local identifiers are created when a file is allocated, and are deleted when the file is released.

TSSコマンド実行プログラム1は、ユーザが入力した
コマンドにより起動され、外部ファイル名に対して一意
的な内部ファイル名を付加するために、ローカル付加宣
言手段2に対して内部ファイル名付加要求を行う、ロー
カル付加宣言手段2はこの要求を受けると、ローカル型
と宣言して内部ファイル名設定手段3を呼び出す。
The TSS command execution program 1 is activated by a command input by the user, and requests the local addition declaration means 2 to add an internal file name in order to add a unique internal file name to the external file name. When the local addition declaration means 2 receives this request, it declares it as a local type and calls the internal file name setting means 3.

内部ファイル名設定手段3はその処理に際して、以下の
2チエツクを行う、第1のチェックでは、内部ファイル
名を付加すべき外部ファイル名を格納するファイルエン
トリがファイル管理テーブル7に登録されているか否か
を調べて、登録されていない場合は、外部ファイル名が
ないという理由で異常とする。第2のチェックでは、外
部ファイル名に付加しようとする内部ファイル名を格納
するファイルエントリがファイル管理テーブル7に登録
されているか否かを調べて、登録されている場合は、内
部ファイル名が重複するという理由で異常とする9以上
の2チエツクで異常が検出されなかった場合は、内部フ
ァイル名設定手段3により、ユーザにより指定された外
部ファイル名を格納するファイルエントリ内に、ユーザ
により指定された内部ファイル名を設定する。また、異
常が検出された場合は、処理を打ち切って異常となった
理由をTSSコマンド実行プログラム1に通知する。
During the process, the internal file name setting means 3 performs the following two checks.The first check is whether a file entry storing an external file name to which an internal file name is to be added is registered in the file management table 7. If it is not registered, it is treated as an error because there is no external file name. In the second check, it is checked whether a file entry storing the internal file name to be appended to the external file name is registered in the file management table 7, and if it is registered, the internal file name is duplicated. If no abnormality is detected in the two checks of 9 or more, the internal file name setting means 3 adds the external file name specified by the user to the file entry that stores the external file name specified by the user. Set the internal file name. Furthermore, if an abnormality is detected, the process is aborted and the reason for the abnormality is notified to the TSS command execution program 1.

ローカル識別子設定手段4は、内部ファイル名設定手段
により内部ファイル名が設定されたファイルエントリ内
に、ローカル識別子を設定し、内部ファイル名付加要求
に対する処理が正常に終了したことをTSSコマンド実
行プログラム1に通知する。
The local identifier setting means 4 sets a local identifier in the file entry for which the internal file name has been set by the internal file name setting means, and informs the TSS command execution program 1 that the process for the internal file name addition request has been successfully completed. Notify.

TSSコマンド実行プログラム1の終了時、ファイルエ
ントリ検出手段5は、ファイル管理テーブル7を検索し
て、ローカル識別子が設定されているファイルエントリ
が存在する場合は、内部ファイル名削除手段6を呼び出
し、存在しない場合は処理を終了する。
At the end of the TSS command execution program 1, the file entry detection means 5 searches the file management table 7, and if a file entry to which a local identifier is set exists, calls the internal file name deletion means 6 and deletes the existence. If not, the process ends.

内部ファイル名削除手段6は、ファイルエントリ検出手
段5により検出された前記ファイルエントリ内の内部フ
ァイル名及びローカル識別子を削除する。この時に外部
ファイル名は削除しないので、ファイルの割当て状態は
継続される。
The internal file name deletion means 6 deletes the internal file name and local identifier in the file entry detected by the file entry detection means 5. Since the external file name is not deleted at this time, the file allocation status continues.

上述したように本発明の内部ファイル名のローカル付加
方式を採用した実施例では、外部ファイル名に付加され
る内部ファイル名は、1個のTSSコマンド実行プログ
ラム1の中だけで有効となり、次に実行されるTSSコ
マンド実行プログラムには引き継がれないローカルなも
のとなる。
As described above, in the embodiment employing the local addition method of internal file names of the present invention, the internal file name added to the external file name is valid only within one TSS command execution program 1, and then It becomes a local item that is not inherited by the TSS command execution program that is executed.

(発明の効果) 以上に説明したように本発明は、ファイルアクセスのた
めに必要な一意な内部ファイル名を外部ファイル名にロ
ーカルに付加して、1個のTSSコマンド実行プログラ
ムの中でのみ使用することにより、不要な内部ファイル
名が残存することを防ぎ、内部ファイル名の重複による
一意な内部ファイル名付加の失敗がなくなるという効果
がある。
(Effects of the Invention) As explained above, the present invention adds a unique internal file name necessary for file access to an external file name locally, and uses it only within one TSS command execution program. This has the effect of preventing unnecessary internal file names from remaining and eliminating failures in adding unique internal file names due to duplication of internal file names.

また本発明を採用すれば、異なるTSSコマンド実行プ
ログラムが同名の内部ファイル名を使用することも可能
となり、他のTSSコマンド実行プログラムで使用する
内部ファイル名に影響されずに、TSSコマンド実行プ
ログラム毎に独立して一意な内部ファイル名を使用でき
る。
Furthermore, by adopting the present invention, it becomes possible for different TSS command execution programs to use the same internal file name, so that each TSS command execution program can can use independently unique internal file names.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のファイル管理テーブルの構成図である。 l・・・TSSコマンド実行プログラム、2・・・ロー
カル付加宣言手段、3・・・内部ファイル名設定手段、
4・・・ローカル識別子設定手段、5・・・ファイルエ
ントリ検出手段、6・・・内部ファイル名削除手段、7
・・・ファイル管理テーブル。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a configuration diagram of the file management table shown in FIG. 1... TSS command execution program, 2... Local addition declaration means, 3... Internal file name setting means,
4... Local identifier setting means, 5... File entry detection means, 6... Internal file name deletion means, 7
...File management table.

Claims (1)

【特許請求の範囲】 ユーザに割当てたファイルを管理するファイル管理テー
ブルを持ち、内部ファイル名をファイル識別名となる外
部ファイル名に対して付加することにより、TSSコマ
ンド実行プログラムからファイルをアクセスすることが
できるタイムシェアリングシステムにおいて、 外部ファイル名に対して付加する内部ファイル名をロー
カル型と宣言するローカル付加宣言手段と、 内部ファイル名を前記ファイル管理テーブル内のファイ
ルエントリに設定する内部ファイル名設定手段と、 ローカル識別子を前記ファイル管理テーブル内のファイ
ルエントリに設定するローカル識別子設定手段と、 TSSコマンド実行プログラム終了時に、前記ファイル
管理テーブルを検索してローカル識別子が設定されてい
るファイルエントリを検出するファイルエントリ検出手
段と、 このファイルエントリ検出手段により検出されたファイ
ルエントリ内の内部ファイル名及びローカル識別子を削
除する内部ファイル名削除手段とを含むことを特徴とす
る内部ファイル名のローカル付加方式。
[Claims] A file management table for managing files assigned to users is provided, and files can be accessed from a TSS command execution program by adding an internal file name to an external file name serving as a file identification name. In a time-sharing system that can perform the following steps, there is provided a local addition declaration means for declaring an internal file name to be added to an external file name as a local type, and an internal file name setting for setting the internal file name to a file entry in the file management table. means for setting a local identifier in a file entry in the file management table; and searching the file management table to detect a file entry to which a local identifier is set when the TSS command execution program ends. A method for locally adding an internal file name, comprising: a file entry detecting means; and an internal file name deleting means for deleting an internal file name and a local identifier in a file entry detected by the file entry detecting means.
JP62067057A 1987-03-20 1987-03-20 Local addition system for internal file name Pending JPS63233445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62067057A JPS63233445A (en) 1987-03-20 1987-03-20 Local addition system for internal file name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62067057A JPS63233445A (en) 1987-03-20 1987-03-20 Local addition system for internal file name

Publications (1)

Publication Number Publication Date
JPS63233445A true JPS63233445A (en) 1988-09-29

Family

ID=13333831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62067057A Pending JPS63233445A (en) 1987-03-20 1987-03-20 Local addition system for internal file name

Country Status (1)

Country Link
JP (1) JPS63233445A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128294A (en) * 1988-11-09 1990-05-16 Kyodo Printing Co Ltd Ic card
JP2004533668A (en) * 2000-12-30 2004-11-04 インテル・コーポレーション Method and apparatus for improving file management

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5971562A (en) * 1982-10-18 1984-04-23 Hitachi Ltd Control system of time division computer system
JPS61234443A (en) * 1985-04-11 1986-10-18 Nec Corp Controlling method for terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5971562A (en) * 1982-10-18 1984-04-23 Hitachi Ltd Control system of time division computer system
JPS61234443A (en) * 1985-04-11 1986-10-18 Nec Corp Controlling method for terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128294A (en) * 1988-11-09 1990-05-16 Kyodo Printing Co Ltd Ic card
JP2004533668A (en) * 2000-12-30 2004-11-04 インテル・コーポレーション Method and apparatus for improving file management

Similar Documents

Publication Publication Date Title
US10691433B2 (en) Split front end for flexible back end cluster processing
JP3270216B2 (en) File name detection method
EP0730766B1 (en) Computer method and apparatus for asynchronous ordered operations
US5485573A (en) Method and apparatus for assisting in the determination of the source of errors in a multi-host data base management system
KR100346667B1 (en) Method and apparatus for providing for notification of task termination
JPS63233445A (en) Local addition system for internal file name
JPH0981409A (en) Mutual hot standby system selecting system
JPH04177441A (en) System program loading system
JP3586943B2 (en) Program loading device and method
JP3196925B2 (en) Relational database delay constraint check method
JPH01112447A (en) Adding system for internal file name
JPH0736713A (en) Program execution management device
JPH06222916A (en) On-line real-time processor
JP2001134476A (en) Method for updating data base in a batch
JP2002215443A (en) Exclusion controlling method between plurality of operations
JP2740238B2 (en) File exclusive control unit
JPS63196956A (en) File exclusion system
JPH07114470A (en) Shared data managing system
JPH06139208A (en) Shared data control system
JPH04363721A (en) Program switching system
JP2968756B2 (en) Internal resource matching method and apparatus in multiprocessor system
JPH04282733A (en) Method for managing data base
JPH02187827A (en) Patch applying system for terminal program
JP2528882B2 (en) Fallback operation method in case of memory failure
JPH0293959A (en) File management system