JP2630215B2 - Method of deleting unnecessary file data while online - Google Patents

Method of deleting unnecessary file data while online

Info

Publication number
JP2630215B2
JP2630215B2 JP5234287A JP23428793A JP2630215B2 JP 2630215 B2 JP2630215 B2 JP 2630215B2 JP 5234287 A JP5234287 A JP 5234287A JP 23428793 A JP23428793 A JP 23428793A JP 2630215 B2 JP2630215 B2 JP 2630215B2
Authority
JP
Japan
Prior art keywords
file
record
unnecessary
business
online
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
Application number
JP5234287A
Other languages
Japanese (ja)
Other versions
JPH0764830A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5234287A priority Critical patent/JP2630215B2/en
Publication of JPH0764830A publication Critical patent/JPH0764830A/en
Application granted granted Critical
Publication of JP2630215B2 publication Critical patent/JP2630215B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、オンライン中のファイ
ル不要データ削除方式に関し、特に長時間連続してオン
ライン業務運転が行われる場合のファイル不要データの
削除に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for deleting unnecessary file data during online operation, and more particularly to a method for deleting unnecessary file data when online business operation is continuously performed for a long time.

【0002】[0002]

【従来の技術】オンライン業務運転が長時間連続して行
われている場合、不要となったオンラインファイルの削
除は、従来の方式ではトランザクション(transaction
)が直接削除する方式をとっていた。
2. Description of the Related Art When online business operations are continuously performed for a long time, unnecessary online files are deleted by a conventional method.
) Was directly deleted.

【0003】[0003]

【発明が解決しようとする課題】以上のような従来の方
式では、オンラインファイルの削除を開始してからそれ
が完了するまでに比較的長い時間を必要とする場合があ
り、その間オンライン業務が中断され、オンラインファ
イルが占有され、かつ削除業務のため一つの業務タスク
が占有されるという問題がある。また、あるデータがオ
ンライン業務で不要になったと判定されると、オペレー
タの判断が加えられない前に当該データが削除されるの
で、その削除されたデータを、他のバッチ業務で利用し
たい場合があっても利用できない等の問題点があった。
In the conventional method as described above, it may take a relatively long time from the start of online file deletion to the completion of the online file deletion. Therefore, there is a problem that the online file is occupied and one business task is occupied for the deletion business. Also, if it is determined that certain data is no longer needed for online work, the data is deleted before the operator's decision is made.Therefore, there is a case where the deleted data is used for another batch work. There was a problem that it could not be used even if there was.

【0004】本発明の目的は従来の方式における上述の
問題点を解決し、オンライン業務に支障をきたすことな
く、オンラインファイルの不要データを削除することが
できるオンライン中のファイル不要データ削除方式を提
供することを目的としている。
An object of the present invention is to solve the above-mentioned problems in the conventional method and to provide a method of deleting unnecessary data in an online file which can delete unnecessary data in an online file without hindering an online operation. It is intended to be.

【0005】[0005]

【課題を解決するための手段】本発明に係わるオンライ
ン中のファイル不要データ削除方式では、業務登録ファ
イルに、ファイル単位に削除業務の電文を登録してお
き、業務管理タスクがこれを読み出してファイル単位に
業務タスクに割り当て、割り当てられた業務タスクは不
要レコードの削除を実行し、この実行の時間が長くなる
と、実行を中断して中断した削除業務の電文を業務登録
ファイルに再登録するようにした。この再登録された電
文は後刻読み出されて業務タスクに割り当てられ、中断
時点の次のレコードから削除業務が実行される。このよ
うにすることにより連続長時間オンライン業務に支障を
生じることのないようにする。また、業務登録ファイル
に削除業務の電文を登録するのはオペレータからの入力
によるので、オペレータが削除ファイル中にバッチ業務
で利用したいデータがあれば、これを別のメモリに退避
させておくことができる。
According to the method of deleting unnecessary file data in online according to the present invention, a message of a deletion job is registered in a job registration file in file units, and the job management task reads out the message and reads the message. Assigned to business tasks in units, delete the unnecessary records for the assigned business tasks, and if this execution time becomes longer, suspend the execution and re-register the message of the suspended deleted business in the business registration file. did. The re-registered message is read out later and assigned to the task, and the deletion task is executed from the next record at the time of interruption. By doing so, it is possible to prevent the online business from being interrupted for a long time. Also, since the message of the deletion job is registered in the job registration file by input from the operator, if the operator wants to use the data for the batch job in the deletion file, it can be saved to another memory. it can.

【0006】[0006]

【実施例】以下、本発明の実施例を図面について説明す
る。図1は本発明の一実施例を示す説明図であって、図
において、コマンド受付業務1、業務管理タスク3、業
務タスク4はコンピュータによるプログラム制御で構成
される機能を表し、業務登録ファイル2とオンラインフ
ァイル5とは、コンピュータの外部メモリである磁気デ
ィスクなどに格納されている。コンピュータはRAMか
ら構成される主メモリ(図示せず)を備え、業務登録フ
ァイル2、オンラインファイル5は、それが使用される
期間は主メモリに読み出されて使用される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an explanatory diagram showing an embodiment of the present invention. In the drawing, a command receiving operation 1, a business management task 3, and a business task 4 represent functions configured by program control by a computer. And the online file 5 are stored in a magnetic disk or the like which is an external memory of the computer. The computer has a main memory (not shown) composed of a RAM, and the work registration file 2 and the online file 5 are read out to the main memory and used for a period in which they are used.

【0007】オンラインファイル5のうちのあるファイ
ルが主メモリに読み出され、ある業務タスク4によりオ
ンライン業務に使用されており、そのオンライン業務中
にそのファイルの内容が必要な場合に主メモリ上で書き
換えられてオンライン業務が終わると、もとのディスク
に格納される。この格納の前にオンライン業務において
不要となるレコードには、不要を示す標識が付けられ
る。また、オンラインファイルに新しいデータを書き込
む場合には、そのデータの作成日を付加しておく。
When a certain file of the online file 5 is read into the main memory and is used for an online task by a certain task task 4 and the contents of the file are required during the online task, the file is stored in the main memory. After rewriting and completing the online business, it is stored on the original disk. Prior to the storage, a record indicating that the record is unnecessary in the online business is tagged with the record indicating that the record is unnecessary. When writing new data in an online file, the date of creation of the data is added.

【0008】本発明では、オンラインファイルの不要デ
ータの削除はオペレータが入力するコマンドによって起
動される。たとえば、全オンラインファイルについて不
要データを削除しろというコマンドと、ファイル名を指
定して、その指定したファイルについて不要データを削
除しろというコマンドが入力される。オペレータがオン
ライン業務で不要になったファイルのうちのあるデータ
をバッチ業務で使用したいときは、不要データ削除のコ
マンドを入力する前にそのデータを他のメモリへ退避す
ることができる。
In the present invention, the deletion of unnecessary data in the online file is started by a command input by the operator. For example, a command to delete unnecessary data for all online files and a command to specify a file name and delete unnecessary data for the specified file are input. When the operator wants to use certain data in a file that has become unnecessary in the online job in a batch job, the operator can save the data to another memory before inputting a command for deleting unnecessary data.

【0009】コマンド受付業務1は、このようなコマン
ドを受けて対象ファイル単位に(ファイルの指定がない
ときは全ファイルにわたってファイル単位に)削除業務
の電文を編集して業務登録ファイル2に登録する。コマ
ンド受付業務1が受け付けて業務登録ファイル2に登録
する業務の電文は削除業務の電文ばかりではないが、他
の業務の電文は本発明と直接の関係はないのでその説明
は省略する。
The command accepting job 1 receives such a command, edits the message of the deleting job for each target file (or for all files when no file is specified), and registers it in the job registration file 2. . The message of the job that the command receiving job 1 receives and registers in the job registration file 2 is not limited to the message of the deletion job, but the messages of other jobs are not directly related to the present invention, and the description thereof will be omitted.

【0010】業務管理タスク3は、業務登録ファイル2
に登録されている業務の電文を読み出して関連する業務
タスク4へ送る。各業務タスク4は業務管理タスク3か
ら送られた電文で指定される業務を実行するが、削除業
務の電文を受けると、その電文で指定されたファイル名
のオンラインファイル5を主メモリ上に読み出し、各レ
コードについて削除すべきレコードであるか否かを判定
する。この判定には当該レコードに付加された不要の標
識や、当該データの作成日からの経過日数などを用いて
判定されるが、この判定により不要となったレコードは
削除される。
The business management task 3 is a business registration file 2
Is read and sent to the associated task 4. Each task task 4 executes the task specified by the message sent from the task management task 3, but upon receiving the message of the deletion task, reads the online file 5 having the file name specified by the message into the main memory. It is determined whether each record is a record to be deleted. This determination is made using an unnecessary marker added to the record, the number of days elapsed since the date of creating the data, and the like, but the record that is no longer required by this determination is deleted.

【0011】不要レコードの削除が完了したファイル
は、主メモリからもとのディスクに移される。また、当
該ディスク内のどの番地(物理的番地)が空きになった
かということをOS(オペレーティングシステム)に知
らせるために記憶される。不要データの削除業務のため
に、オンライン業務が長時間停止されたり、オンライン
ファイルが長時間占有されたり、業務タスクが長時間占
有されたりすることを防止するため、不要データの削除
業務を開始した業務タスク4は、開始から他のオンライ
ントランザクションの平均処理時間を勘案してあらかじ
め定められた所定時間経過すると削除業務を中断する。
この中断に際しては、当該ファイルの削除電文を業務登
録ファイル2に再登録する。この再登録に際には、次に
読み出して判定すべきレコードへアクセスするための情
報を付加して再登録される。そして、再登録された電文
は、業務管理タスク3で読み出されて業務タスク4で処
理される。
The file from which unnecessary records have been deleted is moved from the main memory to the original disk. The information is also stored in order to inform an OS (operating system) which address (physical address) in the disk has become free. Start of unnecessary data deletion work to prevent online business from being stopped for a long time, online files being occupied for a long time, and business tasks being occupied for a long time due to unnecessary data deletion work Business task 4 starts with other online
In consideration of the average transaction processing time
After a specified time elapses, the deletion operation is suspended.
Upon this interruption, the deletion message of the file is re-registered in the business registration file 2. At the time of this re-registration, information for accessing the record to be read and determined next is added and re-registered. Then, the reregistered message is read by the task management task 3 and processed by the task task 4.

【0012】[0012]

【発明の効果】以上説明したように本発明によれば、各
業務タスクでは、業務登録ファイルを利用して削除業務
を中断しながら順次実行して行くことができ、オンライ
ン業務に大きな支障をきたすことなく、オンラインファ
イルや業務タスクの長時間の占有を防止することができ
る。
As described above, according to the present invention, each task can be sequentially executed while interrupting the deletion task by using the task registration file, which greatly hinders the online task. Without long-term occupation of online files and business tasks can be prevented.

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

【図1】本発明の一実施例を示す説明図である。FIG. 1 is an explanatory diagram showing one embodiment of the present invention.

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

1 コマンド受付業務 2 業務登録ファイル 3 業務管理タスク 4 業務タスク 1 Command reception business 2 Business registration file 3 Business management task 4 Business task

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 業務登録ファイルに登録された電文の指
示する業務を同時並行的に処理する複数の業務タスクを
有するオンラインシステムにおいて、 オペレータが入力するコマンドにより削除対象ファイル
を識別し、対象ファイル単位に削除業務の電文を編集し
て業務登録ファイルに登録するコマンド受付業務、 前記業務登録ファイルに登録された電文を読み込んで、
削除業務の電文である場合には業務タスクに当該電文を
割り当てる業務管理タスク、 業務管理タスクから削除業務の電文を割り当てられた業
務タスクにおいて、当該電文の対象とするファイルを読
み込んで、読み込んだファイル中の各レコードについ
て、そのレコードが不要データであるか否かを判定する
不用レコード判定手段、 不要レコード判定手段で不要と判定したレコードを削除
する不要レコード削除手段、 前記業務タスクにおいて、前記不要レコード判定手段と
不要レコード削除手段とを所定時間実行した後中断し、
その中断時点における次のレコードにアクセスするため
の情報を付加して、当該ファイルに対する削除業務電文
を前記業務登録ファイルに再登録する中断手段、 を備えたオンライン中のファイル不要データ削除方式。
(1)Finger of the message registered in the business registration file
Multiple business tasks that process the tasks
In an online system that has  File to be deleted by command input by operator
Identify and edit the deletion business message for each target file.
Command reception task to register in the task registration file, read the message registered in the task registration file,
If the message is for a deletion job, the message is
Business management task to be assigned, the business to which the deletion business message was assigned from the business management task
Task to read the file targeted by the message.
Each record in the read file
To determine whether the record is unnecessary data
Delete records determined to be unnecessary by useless record determination means and unnecessary record determination means
Unnecessary record deletion means, and the unnecessary task determination means in the business task.
Unnecessary record deletion meansAfter running for a predetermined timeSuspend,
To access the next record at the time of the interruption
Information message and delete business message for the file
An online file unnecessary data deletion method, comprising: interruption means for re-registering in the business registration file.
【請求項2】 上記削除業務の電文は、オペレータのオ
ンラインファイル毎、もしくは一括の指定によって初め
て登録され、上記不要レコード判定手段は、オンライン
処理において当該レコードが不要となった時に当該レコ
ードに付加された不要を表示する標識または当該レコー
ドの作成日からの経過日数から、当該レコードが不要で
あるか否かを判定することを特徴とする請求項第1項記
載のオンライン中のファイル不要データ削除方式。
2. The message of the above-mentioned deletion work is transmitted by an operator.
Initially for each online file or collectively
Registered Te, the unnecessary record determination unit, the number of days from the date of creation of the label or the record to display an unnecessary the record is added to the record when it becomes unnecessary in the online processing, the record is not required 2. The online file unnecessary data deletion method according to claim 1, wherein it is determined whether or not there is a file.
【請求項3】 削除業務の開始後、上記中断手段が実行
されるまでの上記所定時間は、他のオンライン業務の単
位処理時間を考慮して定めることを特徴とする請求項第
1項記載のオンライン中のファイル不要データ削除方
式。
3. The predetermined time from the start of the deletion operation until the execution of the suspending means is the same as that of another online operation.
2. The online file unnecessary data deleting method according to claim 1, wherein the setting is made in consideration of the order processing time .
JP5234287A 1993-08-27 1993-08-27 Method of deleting unnecessary file data while online Expired - Fee Related JP2630215B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5234287A JP2630215B2 (en) 1993-08-27 1993-08-27 Method of deleting unnecessary file data while online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5234287A JP2630215B2 (en) 1993-08-27 1993-08-27 Method of deleting unnecessary file data while online

Publications (2)

Publication Number Publication Date
JPH0764830A JPH0764830A (en) 1995-03-10
JP2630215B2 true JP2630215B2 (en) 1997-07-16

Family

ID=16968624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5234287A Expired - Fee Related JP2630215B2 (en) 1993-08-27 1993-08-27 Method of deleting unnecessary file data while online

Country Status (1)

Country Link
JP (1) JP2630215B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4638424A (en) * 1984-01-12 1987-01-20 International Business Machines Corporation Managing data storage devices connected to a digital computer
JPH0355635A (en) * 1989-07-25 1991-03-11 Mitsubishi Electric Corp Batch processing system
JP3037375B2 (en) * 1990-08-09 2000-04-24 沖電気工業株式会社 File compression processing method

Also Published As

Publication number Publication date
JPH0764830A (en) 1995-03-10

Similar Documents

Publication Publication Date Title
US7330947B2 (en) Method and apparatus for backing up data in virtual storage medium
JPH0743676B2 (en) Back-up data dump control method and device
US5809542A (en) Dumping method for dumping data to a dump data storage device that manages the the dumping of data updated since a previous dump request
JP2630215B2 (en) Method of deleting unnecessary file data while online
JPH01204163A (en) File controller
JP3138575B2 (en) File copy transfer method
JPH06282386A (en) Disk storage device
JPH07334397A (en) Deleted file managing system
JPS62264329A (en) Screen text editor processing system
JP2641399B2 (en) File management device
JPH11212845A (en) Device and method for backup data management and recording medium
JP3022011B2 (en) Data backup system
JPH07129079A (en) Method for installing programming loader
JPH0581096A (en) Page deletion system for electronic filing device
JPS62237538A (en) File management system
JPH05151037A (en) Reorganization processing system for database in business processing
JPH0536196A (en) Control method for electronic filing device
JPH09244817A (en) Data transfer controller
JP2966431B2 (en) File area clear method in information processing device
JPH05233411A (en) Document processor
JP2000047917A (en) File managing method and filing system
JPH03278144A (en) Managing system for file in magnetic tape
JPH05324734A (en) Electronic filing device
JPH0659959A (en) File protection system
JPH04361338A (en) Transaction log data succeeding system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees