JP2003108410A - Method and device for processing computer operation, program, and recording medium - Google Patents

Method and device for processing computer operation, program, and recording medium

Info

Publication number
JP2003108410A
JP2003108410A JP2001299243A JP2001299243A JP2003108410A JP 2003108410 A JP2003108410 A JP 2003108410A JP 2001299243 A JP2001299243 A JP 2001299243A JP 2001299243 A JP2001299243 A JP 2001299243A JP 2003108410 A JP2003108410 A JP 2003108410A
Authority
JP
Japan
Prior art keywords
processing
data
file
input data
storage area
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
JP2001299243A
Other languages
Japanese (ja)
Inventor
Hidekuni Kurotobi
英邦 黒飛
Shunei Yoshino
俊英 吉野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001299243A priority Critical patent/JP2003108410A/en
Publication of JP2003108410A publication Critical patent/JP2003108410A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent an abnormal stop due to insufficient area of data-base and general files and presence of unauthorized input data. SOLUTION: Before an operation processing is executed, a storage capacity necessary for the operation processing of input data is obtained by a prior-check processing part 30 and compared with the present vacant storage capacity of the storage area corresponding to the operation processing of the input data, and a prior-check is performed to identify the presence or absence of the lack of capacity. At the same time, the unauthorized input data is identified and, discarded if any. When the capacity is insufficient, an automatic file set part 32 executes an expansion processing for expanding the storage area.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、データベースと一
般ファイルを使用して業務処理を実行する計算機業務処
理方法、装置、プログラム及び記録媒体に関し、特に突
発的な不正入力の発生やフローデータの増大に対して適
切に対応可能な計算機業務処理方法、装置、プログラム
及び記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer business processing method, apparatus, program and recording medium for executing business processing using a database and a general file, and particularly to the occurrence of sudden illegal input and increase of flow data. The present invention relates to a computer business processing method, a device, a program, and a recording medium that can appropriately deal with

【0002】[0002]

【従来技術】従来、膨大な量のファイルデータを入力し
て処理する計算機の業務処理システムにあっては、運用
中にデータベースや一般ファイルの記憶領域の不足を防
止するため、常時、人間系により監視やファイル拡張対
応等の細かなキャパシティ管理を実施するケースが殆ど
である。
2. Description of the Related Art Conventionally, in a business processing system of a computer that inputs and processes a huge amount of file data, in order to prevent a shortage of a database or a general file storage area during operation, a human system is always used. In most cases, detailed capacity management such as monitoring and file extension support is implemented.

【0003】しかしながら、万が一にも、業務処理シス
テムの運用中にデータベースや一般ファイルの領域不足
が発生すれば、即座に業務処理の続行不能となってシス
テム停止に至る。更に不正な入力データが存在した場合
にも、処理結果の誤り発生や処理続行が不可能となって
システム停止に至る原因となっている。
However, in the unlikely event that a database or general file area shortage occurs during operation of the business processing system, business processing cannot be continued immediately and the system is stopped. Further, even when there is illegal input data, it causes an error in the processing result or the processing cannot be continued, which causes the system to stop.

【0004】このように運用中にシステム停止が起きる
と、人間系によるデータベースの拡張やデータリカバリ
といった事後の緊急対応が必須であり、業務運用に多大
な支障と障害対応工数の増大を招いている。
[0004] When the system is stopped during the operation as described above, it is indispensable to take an emergency response such as database expansion and data recovery by a human system, resulting in a great obstacle to the business operation and an increase in the trouble handling man-hour. .

【0005】[0005]

【発明が解決しようとする課題】このように従来の計算
機の業務処理におけるデータベースや一般ファイルの領
域不足、更には不正な入力データの存在によるシステム
停止は、最も単純かつ昔から発生していた障害である。
As described above, the shortage of the area of the database and general files in the business processing of the conventional computer and the system stop due to the existence of the illegal input data are the simplest and oldest failures. Is.

【0006】しかしながら、未だこの障害を防止する効
果的な施策がなく、業務処理に使用するデータベース及
び一般ファイルの容量が飛躍的に増大し、かつ365日
24時間運用が可能なシステムの信頼性が要求される現
在では、データベース及び一般ファイル破壊後のデータ
復旧時間は業務運用に多大な支障を与える。
However, there are still no effective measures to prevent this failure, the capacity of the database and general files used for business processing increases dramatically, and the reliability of the system capable of operating 365 days a day, 24 hours a day is not high. Nowadays, the data recovery time after the destruction of the database and general files greatly hinders the business operation.

【0007】このため、いかに事前にデータベース及び
一般ファイルの領域不足による業務システム停止を防止
するか、また障害発生時に、業務運用及びデータを保証
していかに迅速にデータを復旧できるかが課題となる。
[0007] Therefore, how to prevent the business system from being stopped due to the lack of areas of the database and general files in advance, and how to guarantee the business operation and the data when the failure occurs, and how quickly the data can be recovered, are important issues. .

【0008】本発明は、このような問題を解決するもの
で、データベース及び一般ファイルの領域不足や入力不
正データの存在による業務処理の停止を未然に防止する
計算機業務処理方法、装置、プログラム及び記録媒体を
提供することを目的とする。
The present invention solves such a problem, and a computer work processing method, device, program and recording for preventing the work processing from being stopped due to the lack of areas of databases and general files and the presence of invalid input data. The purpose is to provide a medium.

【0009】[0009]

【課題を解決するための手段】図1は本発明の原理説明
図である。本発明は、データを入力して所定の業務処理
を実行する計算機業務処理方法であり、業務処理の実行
前に、入力データの業務処理に必要な記憶容量を求め、
この業務処理に対応した記憶領域の現在の空き記憶容量
と比較し、容量不足の有無を判別する事前チェックステ
ップ(事前チェック処理部30による処理)と、事前チ
ェックステップで容量不足が判別された場合に、記憶領
域に格納されているデータを別領域に退避した後に、記
憶領域を拡張する拡張処理を実行し、拡張処理の正常終
了後に退避したデータを拡張済みの記憶領域に復元する
記憶領域設定ステップ(ファイル自動設定処理部32に
よる処理)と、を備えたことを特徴とする。
FIG. 1 is a diagram for explaining the principle of the present invention. The present invention is a computer business processing method for inputting data and executing a predetermined business processing. Before executing business processing, the storage capacity required for business processing of input data is calculated,
A preliminary check step (processing by the preliminary check processing unit 30) for comparing the current free storage capacity of the storage area corresponding to this business process to determine whether there is a shortage of capacity, and a case where the shortage of capacity is determined in the preliminary check step In addition, after saving the data stored in the storage area to another area, execute the expansion process to expand the storage area, and restore the saved data to the expanded storage area after the expansion process ends normally. And a step (processing by the file automatic setting processing unit 32).

【0010】このように本発明は、業務処理開始前の準
備処理として、新たな入力データの業務処理でデータベ
ースや一般ファイルの記憶領域の容量が不足するか否か
事前チェックし、不足する場合には自動的に拡張処理を
行うことで、運用中でのデータベース及び一般ファイル
に領域不足によるシステム停止を確実に防止する。
As described above, according to the present invention, as a preparatory process before the start of business processing, it is preliminarily checked whether or not the capacity of the storage area of the database or the general file is short in the business processing of new input data, and when it is insufficient Automatically performs expansion processing to reliably prevent system stoppage due to lack of space in the database and general files during operation.

【0011】更に事前チェックステップは、入力データ
をチェックして不正入力データを判別し、判別した不正
入力データを業務処理の対象データ(属性やデータ範囲
の不一致)から除外して別の領域に格納する。このため
不正な入力データが存在しても、本発明にあっては、事
前チェックにより除外され、不正データの存在によるシ
ステム停止を確実に防止する。
Further, in the pre-check step, the input data is checked to discriminate the illegal input data, the discriminated illegal input data is excluded from the target data (attribute and data range mismatch) of the business process and stored in another area. To do. Therefore, even if there is illegal input data, in the present invention, it is excluded by the preliminary check, and the system stop due to the presence of illegal data is surely prevented.

【0012】ここで入力データはファイルデータであ
り、事前チェックステップは、現在のファイル格納件数
に入力したファイルデータの件数を加えた実ファイル件
数をカウントし、カウントした実ファイル件数と最大格
納件数を比較して、入力データの業務処理に必要な記憶
容量が不足するか否か判別する。
Here, the input data is file data, and the pre-check step counts the number of actual files obtained by adding the number of input file data to the current number of stored files, and counts the counted actual file number and the maximum number of stored items. By comparison, it is determined whether or not the storage capacity required for business processing of the input data is insufficient.

【0013】また記憶領域設定ステップは、記憶容量の
不足に対し記憶領域の拡張不可能な場合は、入力データ
を別の記憶領域に退避して保存した後に業務処理を停止
させる異常処理を実行させる。このように業務の停止が
避けられない場合においても、本発明にあっては、一度
入力したデータを退避して保存しておくことで、外部の
別システムからの入力データの再度の入力を不要とし、
業務運用及びデータを保証しつつ迅速かつ確実なシステ
ム及びデータ復旧が可能となる。
In the storage area setting step, if the storage area cannot be expanded due to a shortage of storage capacity, the input data is saved in another storage area and saved, and then an abnormal process for stopping the business process is executed. . Even in the case where the suspension of work is unavoidable as described above, according to the present invention, it is not necessary to re-input the input data from another external system by saving and storing the data once input. age,
It enables quick and reliable system and data recovery while guaranteeing business operations and data.

【0014】本発明は、データを入力して所定の業務処
理を実行する計算機業務処理装置を提供する。この計算
機業務処理装置は、業務処理の実行前に、入力データの
業務処理に必要な記憶容量を求め、この業務処理に対応
した記憶領域の現在の空き記憶容量と比較し、容量不足
の有無を判別すると共に、入力データをチェックして不
正入力データを判別し、判別した不正入力データを業務
処理の対象データから除外して別の領域に格納する事前
チェック処理部30と、事前チェック処理部30で容量
不足が判別された場合に、記憶領域に格納されているデ
ータを別領域に退避した後に、記憶領域を拡張する拡張
処理を実行し、拡張処理の正常終了後に退避したデータ
を拡張済みの記憶領域に復元する記憶領域設定部(ファ
イル自動設定処理部32)とを備えたことを特徴とす
る。
The present invention provides a computer work processing apparatus for inputting data and executing predetermined work processing. This computer business processing device determines the storage capacity required for business processing of input data before execution of business processing, compares it with the current free storage capacity of the storage area corresponding to this business processing, and checks whether there is sufficient capacity. Preliminary check processing unit 30 that determines the illegal input data by checking the input data and excludes the determined illegal input data from the target data of the business processing and stores the data in another area, and the preliminary check processing unit 30. If it is determined that the capacity is insufficient, the data stored in the storage area is saved to another area, then the expansion process to expand the storage area is executed, and the saved data is expanded after the expansion process ends normally. A storage area setting unit (file automatic setting processing unit 32) for restoring to the storage area is provided.

【0015】本発明は、計算機儀用務処理のプログラム
を提供するものであり、このプログラムは、コンピュー
タに、入力データの業務処理を実行する前に、入力デー
タの業務処理に必要な記憶容量を求め、この業務処理に
対応した記憶領域の現在の空き記憶容量と比較し、容量
不足の有無を判別すると共に、入力データをチェックし
て不正入力データを判別し、判別した不正入力データを
業務処理の対象データから除外して別の領域に格納する
事前チェックステップと、事前チェックステップで容量
不足が判別された場合に、記憶領域に格納されているデ
ータを別領域に退避した後に、記憶領域を拡張する拡張
処理を実行し、拡張処理の正常終了後に退避したデータ
を拡張済みの記憶領域に復元する記憶領域設定ステップ
と、を実行させることを特徴とする。
The present invention provides a program for computer servicing work, which requires a computer to determine a storage capacity required for business processing of input data before executing business processing of input data. , Compare with the current free storage capacity of the storage area corresponding to this business process, determine whether there is a capacity shortage, check the input data to determine the incorrect input data, and determine the incorrect input data of the business process. The pre-check step of excluding the data from the target data and storing it in another area, and if the pre-check step determines that the capacity is insufficient, save the data stored in the storage area to another area and then expand the storage area. Storage area setting step of executing the extension processing and restoring the saved data to the expanded storage area after the normal termination of the extension processing. And wherein the door.

【0016】本発明は、計算機業務処理のプログラムを
格納したコンピュータ読取可能な記録媒体を提供するも
のであり、この記録媒体に格納されたプログラムは、コ
ンピュータに、入力データの業務処理を実行する前に、
入力データの業務処理に必要な記憶容量を求め、この業
務処理に対応した記憶領域の現在の空き記憶容量と比較
し、容量不足の有無を判別すると共に、入力データをチ
ェックして不正入力データを判別し、判別した不正入力
データを業務処理の対象データから除外して別の領域に
格納する事前チェックステップと、事前チェックステッ
プで容量不足が判別された場合に、記憶領域に格納され
ているデータを別領域に退避した後に、記憶領域を拡張
する拡張処理を実行し、拡張処理の正常終了後に退避し
たデータを拡張済みの記憶領域に復元する記憶領域設定
ステップと、を実行させる。
The present invention provides a computer-readable recording medium in which a computer business processing program is stored. The program stored in this recording medium is stored in a computer before executing business processing of input data. To
Determine the storage capacity required for business processing of input data, compare it with the current free storage capacity of the storage area corresponding to this business processing, determine whether there is insufficient capacity, and check the input data to check for illegal input data. Preliminary check step that determines and stores the determined invalid input data in a different area by excluding it from the target data for business processing, and data stored in the storage area when insufficient capacity is determined in the preliminary check step Is saved to another area, an expansion process for expanding the storage area is executed, and a storage area setting step of restoring the saved data to the expanded storage area after the expansion processing ends normally is executed.

【0017】尚、計算機業務処理装置、プログラム及び
記録媒体の詳細は、計算機業務処理方法の場合と同じに
なる。
Details of the computer work processing apparatus, the program, and the recording medium are the same as those of the computer work processing method.

【0018】[0018]

【発明の実施の形態】図2は本発明の計算機業務処理が
実行される業務処理システムの機能構成であり、このシ
ステムの例にあってはクラスタ計算機システムを使用し
ている。
FIG. 2 shows a functional configuration of a business processing system for executing computer business processing according to the present invention. In this system example, a cluster computer system is used.

【0019】図2において、本発明の計算機業務処理シ
ステム10は、例えば3台のクラスタ12−1,12−
2,12−3を有し、クラスタ12−1〜12−3に対
してはシステム記憶装置(SSU)14を設けている。
また、この計算機業務処理システムにあっては、クラス
タ12−1,12−2に業務Aを割り当て、クラスタ1
2−3に業務Bを割り当てている。
In FIG. 2, a computer work processing system 10 according to the present invention comprises, for example, three clusters 12-1, 12-.
2, 12-3, and a system storage unit (SSU) 14 is provided for the clusters 12-1 to 12-3.
Further, in this computer work processing system, the work A is assigned to the clusters 12-1 and 12-2, and the cluster 1
Business B is assigned to 2-3.

【0020】このため、クラスタ12−1,12−2に
対しては業務A用のデータベース16−1が設けられ、
一方、クラスタ12−3に対しては業務B用のデータベ
ース16−2が設けられている。更にクラスタ12−1
〜12−3のそれぞれに対しては、システムボリューム
18が共通に設けられている。
Therefore, a database 16-1 for business A is provided for the clusters 12-1 and 12-2,
On the other hand, a database 16-2 for business B is provided for the cluster 12-3. Further cluster 12-1
The system volume 18 is provided in common for each of the data items 12 to 12-3.

【0021】この計算機業務処理システム10は図示し
ないフロントシステムからジョブ20を入力して、例え
ばクラスタ12−1,12−2により業務Aの処理を実
行するバッチ処理を行っている。
The computer work processing system 10 inputs a job 20 from a front system (not shown) and performs batch processing for executing work A processing by, for example, the clusters 12-1 and 12-2.

【0022】ジョブ20を入力してくるフロントシステ
ムとしては、例えば企業の業務管理システムであり、企
業の本社、支店、営業所、工場などから、例えば請求書
の発行に必要な請求書発行指示データを収集し、例えば
午後6時で締め切った請求書発行指示データをジョブ2
0として計算機業務処理システム10に入力する。
The front system for inputting the job 20 is, for example, a business management system of a company, and from the head office, branch, sales office, factory, etc. of the company, for example, bill issuing instruction data necessary for issuing a bill. Jobs, and collect the invoice instruction data that was closed at 6 pm
0 is input to the computer work processing system 10.

【0023】計算機業務処理システム10にあっては、
クラスタ12−1,12−2による業務Aの実行で例え
ばジョブ20としてフロントシステムから入力された請
求書発行指示データを基に、これに対応した請求書デー
タを翌朝例えば午前6時までに作成してフロントシステ
ムに引き渡すような処理を実行する。このような場合、
業務A用のデータベース16−1には請求書発行に伴う
請求原簿などの会計上のデータが作成されることにな
る。
In the computer work processing system 10,
Based on the bill issuance instruction data input from the front system as the job 20 when the job A is executed by the clusters 12-1 and 12-2, the bill data corresponding to this is created by the next morning, for example, by 6:00 am Process to deliver to the front system. In such cases,
In the database 16-1 for the work A, accounting data such as a billing original book accompanying the bill issuance will be created.

【0024】このような時間帯を区切って業務処理を実
行するバッチ処理の計算機業務処理システム10にあっ
ては、毎日決まった時間帯にフロントシステムからジョ
ブ20として引き渡される入力データの量は極めて流動
的であり、日によっては急激に入力データの増加が起き
る可能性がある。
In the batch processing computer business processing system 10 that executes business processing by dividing the time zone as described above, the amount of input data handed over from the front system as the job 20 at a fixed time zone every day is extremely variable. The input data may increase rapidly depending on the day.

【0025】図3は、図2の計算機業務処理システム1
0に対応したハードウェア構成の一例である。この計算
機業務処理システム10に対するハードウェア構成とし
ては、メモリ制御装置(MCU)1に対しクラスタに対
応して3台のCPU2を設けている。またメモリ制御装
置1には例えば2台の主記憶装置3が接続される。更
に、外部筐体などによってメモリ制御装置1に対しシス
テム記憶装置4が接続されている。
FIG. 3 shows the computer work processing system 1 of FIG.
It is an example of a hardware configuration corresponding to 0. As a hardware configuration for the computer work processing system 10, a memory control unit (MCU) 1 is provided with three CPUs 2 corresponding to clusters. Further, for example, two main storage devices 3 are connected to the memory control device 1. Further, the system storage device 4 is connected to the memory control device 1 by an external housing or the like.

【0026】またメモリ制御装置1にはチャネルプロセ
ッサ5が接続され、ここに入出力チャネル6を介して磁
気ディスク装置7が接続され、入出力サブシステムを構
成している。更にチャネルプロセッサ5はフロントシス
テム8に接続されて、業務処理に必要な入力データをや
り取りすることができる。
A channel processor 5 is connected to the memory control device 1, and a magnetic disk device 7 is connected thereto via an input / output channel 6 to form an input / output subsystem. Further, the channel processor 5 is connected to the front system 8 and can exchange input data necessary for business processing.

【0027】図4は、図2の計算機業務処理システム1
0のクラスタ12−1,12−2で実行される業務処理
の機能構成を示した説明図である。図4において、本発
明の業務処理にあっては、通常の業務処理実行部26に
加え、その前段に処理準備部22と実行制御文編集部2
4を設けている。
FIG. 4 shows the computer work processing system 1 of FIG.
It is explanatory drawing which showed the function structure of the business process performed in 0 cluster 12-1, 12-2. 4, in the business process of the present invention, in addition to the normal business process execution unit 26, the process preparation unit 22 and the execution control statement editing unit 2 are provided in the preceding stage.
4 is provided.

【0028】処理準備部22には、事前チェック処理部
30とファイル自動設定処理部32が設けられている。
事前チェック処理部30は、業務処理の実行前に入力フ
ァイルデータの業務処理に必要な記憶容量を求め、入力
データの業務処理で使用する記憶領域の現在の空き記憶
容量と比較し、容量が不足するか否か判別する。
The processing preparation unit 22 is provided with a preliminary check processing unit 30 and a file automatic setting processing unit 32.
The pre-check processing unit 30 obtains the storage capacity required for business processing of the input file data before executing the business processing, compares it with the current free storage capacity of the storage area used for the business processing of the input data, and the capacity is insufficient. It is determined whether or not to do.

【0029】もし入力データの業務処理に必要な記憶容
量が空き記憶容量を越えて不足する場合には、アラーム
フラグを1にセットし、ファイル自動設定処理部32に
より拡張対象となる記憶領域に格納されている既存のデ
ータを別領域に退避した後、対象記憶領域を拡張する拡
張処理を実行し、拡張処理が正常終了した後に、退避し
たデータを拡張済みの記憶領域に復元する処理を行う。
If the storage capacity required for processing the input data exceeds the free storage capacity and is insufficient, the alarm flag is set to 1 and stored in the storage area to be expanded by the file automatic setting processing unit 32. After saving the stored existing data to another area, an expansion process for expanding the target storage area is executed, and after the expansion processing ends normally, processing for restoring the saved data to the expanded storage area is performed.

【0030】また事前チェック処理部30は、入力デー
タの業務処理に必要な記憶領域が不足するか否かのチェ
ックと同時に、入力ファイルデータの内容をチェックし
て不正入力データが存在するか否か判別し、もし不正入
力データが存在した場合には、これを業務処理の対象デ
ータから除外して別の領域に格納する。
Further, the pre-check processing section 30 checks whether or not the storage area required for business processing of the input data is insufficient and, at the same time, checks the contents of the input file data to determine whether there is any illegal input data. If it is determined that the illegal input data is present, it is excluded from the target data for business processing and stored in another area.

【0031】このような事前チェック処理部30及びフ
ァイル自動設定処理部32の処理により、業務処理の対
象とする入力ファイルデータについての一般ファイル及
びデータベースの記憶容量の不足発生を処理準備の段階
で認識して、自動拡張により業務処理の実行中における
記憶領域の不足による異常停止を防ぐことができる。
By the processing of the pre-check processing unit 30 and the automatic file setting processing unit 32, it is recognized at the stage of processing preparation that the storage capacity of the general file and the database for the input file data to be processed is insufficient. Then, the automatic extension can prevent an abnormal stop due to the lack of the storage area during the execution of the business process.

【0032】また入力ファイルデータの中に不正入力デ
ータが存在している場合には、不正入力データを業務処
理の対象から除外することで、不正入力データの存在に
よる処理結果の誤り発生や処理続行が不可能となってシ
ステム停止に至ることを未然に防止している。
Further, when there is illegal input data in the input file data, by excluding the illegal input data from the target of business processing, an error occurs in the processing result due to the presence of the illegal input data or the processing is continued. It is possible to prevent the system from becoming unavailable and stopping the system.

【0033】処理準備部22に対して設けられた異常処
理部28は、事前チェック処理部30の処理で業務処理
が不可能な状態を判別した場合、あるいはファイル自動
設定処理部32における拡張処理で拡張ディスクなどの
不足などによる物理的要因で拡張不可能な場合に、処理
不可能フラグを1に更新した後、更に入力した入力ファ
イルデータを退避ファイルに退避して、蓄積追加により
保存させる処理を行う。
The abnormality processing section 28 provided for the processing preparation section 22 determines whether the business processing cannot be performed by the processing of the preliminary check processing section 30 or the extension processing of the automatic file setting processing section 32. If expansion is not possible due to physical factors such as lack of expansion disk, etc., after updating the unprocessable flag to 1, save the input file data that was input further to the save file and save it by adding the storage. To do.

【0034】処理準備部22による事前チェック処理部
30及びファイル自動設定処理部32による処理のた
め、監視用ファイルが使用される。この監視用ファイル
は、図4の実施形態に示す監視ファイル用ジョブ情報3
6a、監視ファイル用ファイル情報38a及び監視ファ
イル用プログラム情報40の3つで構成されている。
The monitoring file is used for the processing by the preliminary check processing unit 30 and the automatic file setting processing unit 32 by the processing preparation unit 22. This monitoring file is the monitoring file job information 3 shown in the embodiment of FIG.
6a, monitoring file file information 38a, and monitoring file program information 40.

【0035】ここで監視ファイル用ファイル情報38
a,38bは準備処理部22による処理前と処理後のフ
ァイルを表わしている。即ち、監視ファイル用ファイル
情報38aは、処理準備部22による処理を経て、その
内容が更新されることで、監視ファイル用ファイル情報
38bとなる。また監視ファイル用ジョブ情報36a、
36bも同様であり、処理準備部22及び異常処理部2
8による処理を経て、入力側の監視ファイル用ジョブ情
報36aは出力側に示す監視ファイル用ジョブ情報38
bに更新される。
Here, file information for monitoring file 38
Reference characters a and 38b represent files before and after processing by the preparation processing unit 22. That is, the monitoring file file information 38a becomes the monitoring file file information 38b by being updated by the processing through the process preparation unit 22. Also, the monitoring file job information 36a,
The same applies to 36b, which includes the processing preparation unit 22 and the abnormality processing unit 2.
After the processing by 8, the monitoring file job information 36a on the input side becomes the monitoring file job information 38 shown on the output side.
Updated to b.

【0036】実行制御文編集部24は、処理準備部22
の処理を経て生成された監視ファイル用ファイル情報3
8b、監視ファイル用プログラム情報40及び業務処理
実行制御文情報42aに基づき、ファイル自動設定処理
部32で拡張処理が行われたファイルレコードの実行制
御文を対象に拡張結果を反映させる実行制御文編集処理
を行って業務処理実行制御文情報42bを生成する。こ
のようにして編集された業務処理実行制御文情報42b
は業務処理実行部26に与えられ、入力ファイルデータ
に基づく例えば請求書データの作成処理を行う。
The execution control statement editing unit 24 includes the processing preparation unit 22.
File information 3 for monitoring file generated through the process
8b, execution control statement edit for reflecting the extension result on the execution control statement of the file record for which extension processing has been performed by the file automatic setting processing unit 32 based on the monitoring file program information 40 and the business process execution control statement information 42a Processing is performed to generate business process execution control statement information 42b. Business process execution control statement information 42b edited in this way
Is given to the business process execution unit 26 and performs, for example, bill data creation processing based on the input file data.

【0037】また処理準備部22に対しては、バッチ処
理で投入される入力ファイルデータに関する業務処理パ
ラメータ34が与えられる。この業務処理パラメータ3
4には入力ファイルデータに対応した業務処理名、具体
的にはジョブ名やファイル名を示すIDコードが格納さ
れている。
Further, to the processing preparation section 22, the business processing parameters 34 regarding the input file data input in the batch processing are given. This business processing parameter 3
4 stores a business process name corresponding to the input file data, specifically, an ID code indicating a job name or a file name.

【0038】したがって処理準備部22は、入力データ
に対応した業務処理パラメータ34として業務処理名を
取り込むことで、これに対応した監視ファイルの監視フ
ァイル用ジョブ情報36a、監視ファイル用ファイル情
報38aを読み込むことができる。
Therefore, the process preparation unit 22 reads the job file name as the job process parameter 34 corresponding to the input data, and reads the monitor file job information 36a and the monitor file file information 38a of the corresponding monitor file. be able to.

【0039】図5は、図4における監視ファイル用ジョ
ブ情報36の説明図である。監視ファイル用ジョブ情報
36は、キー部44とデータ部46から構成される。キ
ー部44にはJOB−ID48が格納され、導入された
業務処理名即ちジョブ名またはプロセス名に一致するも
のである。データ部46には処理状態50、ファイルI
DまたはDBスペース名(n個)が格納され、更にプロ
グラムIDn54には業務処理に必要なプログラムID
がn個格納されている。
FIG. 5 is an explanatory diagram of the monitoring file job information 36 in FIG. The monitoring file job information 36 includes a key section 44 and a data section 46. A JOB-ID 48 is stored in the key portion 44, which matches the introduced business process name, that is, the job name or the process name. In the data section 46, processing status 50, file I
The D or DB space name (n) is stored, and the program ID n54 is the program ID required for business processing.
N are stored.

【0040】図6は、図4で使用する監視ファイル用フ
ァイル情報38の説明図である。監視ファイル用ファイ
ル情報38はキー部56とデータ部58で構成される。
キー部56はファイルIDまたはDBスペース名60か
ら成り、業務処理内で使用するファイルIDまたはDB
スペース名と一致するものである。
FIG. 6 is an explanatory diagram of the monitoring file file information 38 used in FIG. The file information 38 for monitoring file includes a key section 56 and a data section 58.
The key part 56 is made up of a file ID or DB space name 60, and is used in business processing
It matches the space name.

【0041】データ部58には編成62、種別64、格
納件数66、最大格納件数68、レコード長70、アラ
ームフラグ72、拡張済フラグ74、格納Disk名7
6、拡張Disk名78、その他のDB属性80を含ん
でいる。
In the data section 58, the organization 62, type 64, number of stored items 66, maximum number of stored items 68, record length 70, alarm flag 72, expanded flag 74, stored disk name 7
6, an extended Disk name 78, and other DB attributes 80 are included.

【0042】ここで編成62はファイル編成情報、種別
64はファイル種別情報、格納件数66は現在のファイ
ルレコード件数、最大格納件数68は論理的なファイル
レコード最大格納件数、レコード長70はファイルレコ
ード長、アラームフラグ72は実ファイル件数が最大格
納件数以上となったファイル状態を識別フラグ及びファ
イルの排他宣言をするフラグである。
Here, the organization 62 is file organization information, the type 64 is file type information, the number of stored items 66 is the current number of file records, the maximum number of stored items 68 is the logical maximum number of stored file records, and the record length 70 is the file record length. The alarm flag 72 is a flag that identifies a file state in which the number of actual files exceeds the maximum number of stored items and a flag that declares exclusion of files.

【0043】また拡張済フラグ74はファイルが拡張さ
れたことを識別するフラグである。格納Disk名76
は現在ファイルが格納されているディスク名、拡張Di
sk名78はファイルを拡張するために必要となる拡張
ディスク名である。更に、その他のDB属性80にはデ
ータベースファイル領域を決定するために必要なページ
長及びキー長が格納され、更に入力データチェック内容
となる各ファイル項目の属性とデータの範囲が格納され
ている。
The expanded flag 74 is a flag for identifying that the file has been expanded. Storage Disk Name 76
Is the disk name where the file is currently stored, and the extended Di
The sk name 78 is an expanded disk name required to expand the file. Further, the other DB attribute 80 stores the page length and the key length necessary for determining the database file area, and further stores the attribute and data range of each file item which is the input data check content.

【0044】図7は、図4で使用する監視ファイル用プ
ログラム情報40の説明図である。この監視ファイル用
プログラム情報40は、キー部82とデータ部84から
構成される。キー部82はプログラムID86から成
り、業務処理内で使用するプログラムIDと一致するも
のである。データ部84には格納件数予測式88が設け
られる。この格納件数予測式は、データベース及び一般
ファイルのファイル容量を、ファイルレコード件数とレ
コード長から算出する式が準備されている。
FIG. 7 is an explanatory diagram of the monitoring file program information 40 used in FIG. The monitoring file program information 40 includes a key section 82 and a data section 84. The key portion 82 is composed of a program ID 86, which matches the program ID used in the business process. The data portion 84 is provided with a storage number prediction formula 88. The storage count prediction formula is prepared as a formula for calculating the file capacities of the database and the general file from the file record count and the record length.

【0045】ここで図4における本発明の計算機処理業
務の概略を説明する。フロントシステムから入力ファイ
ルデータの投入を受けた後に業務処理を開始すると、ま
ず処理準備部22が動作し、その事前チェック処理部3
0によって業務処理が実行可能か否かを判断する実ファ
イル状態チェックが行われる。
An outline of the computer processing work of the present invention in FIG. 4 will be described below. When the business process is started after receiving the input file data from the front system, the process preparation unit 22 operates first, and the pre-check processing unit 3 thereof is operated.
According to 0, a real file status check is performed to determine whether the business process can be executed.

【0046】この実ファイル状態チェックにあっては、
業務処理に必要なファイル容量が現在の空き容量に対し
不足するか否かチェックされ、不足する場合にはアラー
ムフラグ72が1に更新される。即ち実ファイルチェッ
クでカウントされた実ファイル件数が図6の監視ファイ
ル用ファイル情報38の最大格納件数68以上の場合
に、アラームフラグ72を1に更新する。
In this actual file status check,
It is checked whether or not the file capacity required for business processing is insufficient with respect to the current free capacity, and if insufficient, the alarm flag 72 is updated to 1. That is, the alarm flag 72 is updated to 1 when the number of actual files counted by the actual file check is equal to or greater than the maximum number of stored items 68 of the file information 38 for monitoring file in FIG.

【0047】この実ファイル状態チェックと同時に入力
ファイルデータのチェックが行われる。この入力ファイ
ルデータのチェックは、図6の監視ファイル用ファイル
情報のその他のDB属性80に格納しているファイル項
目の属性とデータ範囲に一致しない入力ファイルデータ
が存在した場合、この入力ファイルデータを不正入力デ
ータとして除外し、別ファイルに格納する。
At the same time as the actual file status check, the input file data is checked. This input file data check is performed when there is input file data that does not match the attribute of the file item stored in the other DB attribute 80 of the file information for monitoring file in FIG. 6 and the data range. Exclude it as invalid input data and store it in another file.

【0048】事前チェック処理部30による実ファイル
状態チェック及び不正入力データの除去が済むと、アラ
ームフラグが1となったデータファイルについてファイ
ル自動設定処理部32による自動設定処理が実行され
る。
When the pre-check processing unit 30 completes the actual file status check and the removal of the illegal input data, the automatic file setting process unit 32 executes the automatic setting process for the data file whose alarm flag is 1.

【0049】この自動設定処理は、アラームフラグが1
となったデータファイルについて、その拡張対象となる
領域に格納している既存のデータを他の領域に退避した
後に、拡張ディスクを使用したファイル領域の拡張が行
われる。
In this automatic setting process, the alarm flag is 1
The existing data stored in the area to be expanded is saved to another area, and then the file area is expanded using the expansion disk.

【0050】この自動設定処理により正常にファイル拡
張が実行されたファイルについては、図6の拡張済フラ
グ74が1に更新され、拡張ディスクを活用してもファ
イル拡張が正常に実施できない場合は、異常処理部28
による異常処理が実行される。この異常処理は対象とな
る入力ファイルデータを退避ファイルに累積追加した
後、監視ファイルの状態を示す処理不可能フラグを1に
更新して業務処理を停止することになる。
For files for which file extension has been normally performed by this automatic setting processing, the extended flag 74 in FIG. 6 is updated to 1, and if file extension cannot be performed normally even if an extended disk is used, Abnormality processing unit 28
The abnormal processing by is executed. In this abnormal processing, after the target input file data is cumulatively added to the save file, the unprocessable flag indicating the status of the monitoring file is updated to 1 and the business processing is stopped.

【0051】拡張処理が正常に実行されたファイルまた
は拡張処理が必要でなくなったファイルについては、監
視ファイル用ファイル情報38b、監視ファイル用プロ
グラム情報40及び業務処理実行制御文情報42aを基
に、実行制御文編集部24が編集処理を実行する。
For files for which extension processing has been normally executed or files for which extension processing is no longer necessary, execution is performed based on the monitoring file file information 38b, monitoring file program information 40, and business process execution control statement information 42a. The control statement editing unit 24 executes editing processing.

【0052】この実行制御文の編集処理は、拡張処理を
行ったストーク系ファイル情報及びフロー系ファイル情
報(一時ファイル)に対し、領域拡張によるパラメータ
が算出されて実行制御文に反映され、この領域拡張済み
の結果が反映された実行制御文に対し業務処理実行部2
6で業務処理が実行されることになる。
In the process of editing the execution control statement, parameters for area expansion are calculated for the stalk system file information and flow system file information (temporary file) subjected to the expansion process, and the parameters are reflected in the execution control statement. The business process execution unit 2 for the execution control statement in which the expanded result is reflected
In step 6, business processing is executed.

【0053】次に図4における本発明による業務処理の
詳細を図8から図14のフローチャートを参照して説明
する。
Next, details of the job processing according to the present invention in FIG. 4 will be described with reference to the flowcharts of FIGS. 8 to 14.

【0054】図8は、図4における本発明の業務処理の
基本的な処理手順のフローチャートである。まずステッ
プS1でフロントシステムからの処理データを入力し、
ステップS2で事前チェック処理を実行して実ファイル
の状態チェックが行われる。
FIG. 8 is a flowchart of the basic processing procedure of the business processing of the present invention in FIG. First, in step S1, input the processed data from the front system,
In step S2, a preliminary check process is executed to check the status of the actual file.

【0055】続いてステップS3で領域不足の有無がチ
ェックされ、領域不足であればアラームフラグ=1を判
別し、ステップS4で領域拡張を行うファイル自動設定
処理を行う。もちろん事前チェック処理部32にあって
は、不正入力データを除去して別領域に格納する処理も
行われる。
Then, in step S3, it is checked whether or not there is a region shortage. If the region is short, an alarm flag = 1 is discriminated, and in step S4 a file automatic setting process for expanding the region is performed. Of course, the pre-check processing unit 32 also performs processing for removing the illegal input data and storing it in another area.

【0056】ステップS3で不足領域がなければ、その
ファイルについてはステップS4のファイル自動設定処
理は行われない。次にステップS5で実行制御文編集処
理を行って、ファイルの拡張処理に対応した領域パラメ
ータを実行制御文に反映させる。そしてステップS6で
編集済みの実行制御文を対象に業務処理を実行し、ステ
ップS7で処理結果をフロントシステムに出力する。
If there is no insufficient area in step S3, the file automatic setting process of step S4 is not performed for the file. Next, in step S5, an execution control statement edit process is performed to reflect the area parameter corresponding to the file extension process in the execution control statement. Then, in step S6, the business process is executed for the edited execution control statement, and the process result is output to the front system in step S7.

【0057】図9は、図8におけるステップS2の事前
チェック処理の詳細を示したフローチャートである。こ
の事前チェック処理にあっては、まずステップS1で図
4のフロントシステムから投入されたジョブに対応する
業務処理パラメータ34に格納されている業務処理名を
基に、図5の内容を持つ監視ファイル用ジョブ情報36
aを取得する。
FIG. 9 is a flow chart showing the details of the preliminary check process of step S2 in FIG. In this pre-check process, first, a monitoring file having the contents of FIG. 5 based on the business process name stored in the business process parameter 34 corresponding to the job input from the front system of FIG. 4 in step S1. Job information 36
Get a.

【0058】この監視ファイル用ジョブ情報36aは図
5の内容を持ち、処理状態50から前回の業務処理結果
をチェックし、もし処理不可能フラグが1であれば実行
不可能としてステップS7に進み、異常処理を実行して
異常終了とする。
The monitoring file job information 36a has the contents shown in FIG. 5, checks the previous work processing result from the processing status 50, and if the processing impossible flag is 1, it is judged as unexecutable and proceeds to step S7. Execute abnormal processing and terminate abnormally.

【0059】このステップS7の異常処理は図12に示
す処理となる。即ちステップS1で監視ファイル用ファ
イル情報の処理状態50に格納している処理不可能フラ
グを1に更新した後、ステップS2で入力ファイルデー
タを退避ファイルに累積追加して保存した後、ステップ
S3で業務処理を停止する。
The abnormality processing in step S7 is the processing shown in FIG. That is, after the unprocessable flag stored in the processing status 50 of the file information for monitoring file is updated to 1 in step S1, the input file data is cumulatively added to the saved file and saved in step S2, and then in step S3. Stop business processing.

【0060】なお異常処理により業務処理を停止した場
合には、本発明の計算機業務処理システムが例えば夜間
に無人運転で業務処理を実行しているような運用形態に
あっては、業務処理を停止したことを自動的に担当者の
自宅などに自動通報することが望ましい。
When the business processing is stopped due to the abnormal processing, the business processing is stopped in the operation mode in which the computer business processing system of the present invention executes the business processing by unmanned operation at night, for example. It is desirable to automatically report what you have done to the person in charge's home.

【0061】再び図9を参照するに、ステップS2で処
理状態50が実行可能であれば、ステップS3に進み、
ステップS1で取得した監視ファイル用ジョブ情報36
aのレコード上に存在する全ファイルの監視ファイル用
ファイル情報38aを取得する。次にステップS4で、
ステップS3で取得した監視ファイル用ファイル情報の
ファイル情報レコードごとにアラームフラグ=1のレコ
ードが存在するか否か判定する。
Referring again to FIG. 9, if the processing state 50 is executable in step S2, the process proceeds to step S3,
Monitoring file job information 36 acquired in step S1
The file information 38a for monitoring files of all files existing on the record of a is acquired. Then in step S4,
It is determined whether or not there is a record of alarm flag = 1 for each file information record of the file information for monitoring file acquired in step S3.

【0062】アラームフラグ=1のレコードが存在する
と、ステップS7に進み、異常処理を実行する。即ち、
この段階でアラームフラグ=1のレコードが存在すると
いうことは前回の業務処理で領域不足に対する拡張処理
が失敗していることから、それ以上の処理を行わずに異
常処理を行って、入力データファイルを退避ファイルに
累積追加の形で格納して保存することで、業務処理を停
止する。
If there is a record with the alarm flag = 1, the process proceeds to step S7, and the abnormality process is executed. That is,
If there is a record with alarm flag = 1 at this stage, it means that the expansion processing for the area shortage has failed in the previous business processing, so abnormal processing is performed without further processing and the input data file is processed. The business process is stopped by storing and saving in the save file in the form of cumulative addition.

【0063】ステップS4でアラームフラグ=1のファ
イル情報レコードが存在しなければ、ステップS5に進
み、入力データファイルについて業務処理を実行したい
場合にデータベース及び一般ファイルの容量不足が起き
るか否かを判断する。
If the file information record having the alarm flag = 1 does not exist in step S4, the process proceeds to step S5, and it is determined whether or not the database and the general file have a shortage of capacity when it is desired to execute a business process on the input data file. To do.

【0064】即ち、入力ファイルデータを読み込んで対
象ファイルの入力ファイルレコード件数をカウントし、
これを図6の対応する監視ファイル用ファイル情報38
に格納している格納件数66の現在のファイルレコード
の件数に加算したカウント件数を求め、格納件数66を
更新する。
That is, the input file data is read and the number of input file records of the target file is counted,
This is the file information 38 for the corresponding monitoring file in FIG.
The storage count 66 is updated by obtaining the count count that is added to the count of the current file record of the storage count 66 stored in.

【0065】更に格納件数66の更新時に、更新したカ
ウント件数即ち現在のファイルレコード件数に入力ファ
イルレコード件数を加算したカウント件数と最大格納件
数68の値を比較し、カウント件数が大きければ容量不
足が発生するとしてアラームフラグを1に更新する。
Further, when the number of stored items 66 is updated, the number of updated file records, that is, the number of input file records added to the current number of file records, is compared with the maximum stored number 68, and if the number of stored items is large, there is insufficient capacity. The alarm flag is updated to 1 because it is generated.

【0066】更にステップS6で入力ファイルレコード
数のカウントに際し入力ファイルデータの内容をチェッ
クし、不正入力データが存在した場合には、この不正な
レコードを除外し、別ファイルに格納する。不正入力デ
ータかどうかの判定は、図6の監視ファイル用ファイル
情報38のその他DB属性80に格納されている入力デ
ータチェック用に設けられたファイル項目の属性とデー
タ範囲の情報が使用される。
Further, in step S6, when the number of input file records is counted, the contents of the input file data are checked. If there is illegal input data, this illegal record is excluded and stored in another file. To determine whether or not the input data is invalid, the attribute of the file item and the data range information provided for the input data check, which is stored in the other DB attribute 80 of the file information 38 for monitoring file of FIG. 6, is used.

【0067】この不正入力データの判別は、具体的には
フォーマットエラーをチェックするものであり、更には
数字とすべきところをテキストとしたようなエラーにつ
いても不正入力データとして除外する。
This discrimination of illegal input data is specifically to check a format error, and also excludes an error in which a place to be a number is a text as illegal input data.

【0068】図10及び図11は、容量不足を生じたフ
ァイルレコードを対象に行われる図8のステップS4の
ファイル自動設定処理の詳細を示したフローチャートで
ある。このファイル自動設定処理にあっては、ファイル
の容量不足が発生している場合、ファイル領域の自動拡
張を実施することになる。
10 and 11 are flowcharts showing the details of the automatic file setting process of step S4 of FIG. 8 which is performed for a file record having a shortage of space. In this file automatic setting processing, when the file capacity is insufficient, the file area is automatically expanded.

【0069】まずステップS1で事前チェック処理の結
果として得られた図6の監視ファイル用ファイル情報3
8を参照し、アラームフラグ=1で且つ拡張済みフラグ
=0のファイル情報レコードを取得する。次にステップ
S2でレコード件数及びレコード長によりデータベース
及びファイル容量を算出する。
First, the file information 3 for the monitoring file of FIG. 6 obtained as a result of the preliminary check processing in step S1.
8, the file information record with the alarm flag = 1 and the extended flag = 0 is acquired. Next, in step S2, the database and file capacity are calculated from the number of records and the record length.

【0070】このファイル容量の算出には図7の監視フ
ァイル用プログラム情報40に格納している格納件数予
測式88を使用する。次にステップS3で実ファイルの
格納ディスク及び拡張ディスクの空きディスク容量、フ
ァイル拡張可能容量及びテーブルスペース空き容量の3
つを取得する。この3つの空き容量を加算することでト
ータル的な空き容量が分かる。
For the calculation of the file capacity, the storage number prediction formula 88 stored in the monitoring file program information 40 of FIG. 7 is used. Next, in step S3, 3 of the free disk capacity of the storage disk of the actual file and the expansion disk, the file expandable capacity and the free space of the table space are set.
Get one. The total free space can be found by adding these three free spaces.

【0071】そしてステップS4で、ステップS2で求
めた必要とするファイル容量とステップS3で求めた空
き容量とを比較し、拡張対象ファイルの創成領域を確保
可能か否かをチェックする。
Then, in step S4, the required file capacity obtained in step S2 is compared with the free space obtained in step S3 to check whether or not the creation area of the expansion target file can be secured.

【0072】必要ファイル容量が空き容量より多ければ
領域確保ができないことから、ステップS11で異常処
理を行い、入力ファイルデータを退避ファイルに累積蓄
積で保存した後、業務処理を停止する。必要ファイル容
量が空き容量未満であれば拡張対象ファイルの創成領域
の確保が可能であることから、ステップS5に進み、デ
ータベース及び一般ファイルの領域拡張パラメータを編
集する。
Since the area cannot be secured if the required file capacity is larger than the free space, abnormal processing is performed in step S11, the input file data is accumulated and saved in the save file, and then the business processing is stopped. If the required file capacity is less than the free space, the creation area of the expansion target file can be secured, so the process proceeds to step S5, and the area expansion parameters of the database and general file are edited.

【0073】続いてステップS6で拡張対象ファイルの
現在の格納データを別領域に退避した後、ステップS7
で拡張対象ファイルの再創成を実行する。ステップS7
で拡張対象ファイルの再創成が済んだならば、ステップ
S8で退避データを再創成後の拡張対象ファイルに復元
する。
Subsequently, in step S6, the currently stored data of the extension target file is saved in another area, and then in step S7.
Re-create the extension target file with. Step S7
When the extension target file is recreated in step S8, the saved data is restored to the recreated extension target file in step S8.

【0074】続いて図11のステップS9に進み、拡張
の済んだ該当ファイルの監視ファイル用ファイル情報3
8の中の最大格納件数68、格納DisK名76を更新
し、更に拡張済フラグ74を1に更新する。このステッ
プS9による監視ファイル用ファイル情報の更新によ
り、図4における処理準備部22による処理前の監視フ
ァイル用ファイル情報38aは、その出力側に示す監視
ファイル用ファイル情報38bとなる。
Subsequently, the process proceeds to step S9 in FIG. 11, and the file information 3 for the monitoring file of the file that has been expanded.
The maximum number of stored items 68 and the stored DisK name 76 in 8 are updated, and the expanded flag 74 is updated to 1. By updating the file information for monitoring file in step S9, the file information 38a for monitoring file before processing by the process preparation unit 22 in FIG. 4 becomes the file information 38b for monitoring file shown on the output side.

【0075】以上のステップS5〜S9の処理を、ステ
ップS10でアラームフラグ=1で且つ拡張済フラグ=
0のファイルレコード情報がなくなるまで繰り返す。
The above steps S5 to S9 are performed by setting the alarm flag = 1 and the expanded flag = in step S10.
Repeat until there is no file record information of 0.

【0076】図13は、図8のステップS5における実
行制御文編集処理の詳細を示したフローチャートであ
る。この実行制御文編集処理にあっては、領域不足の発
生で拡張処理が行われたファイル情報レコードに対応す
る業務処理制御文を実行する上で必要な情報である監視
ファイルのファイル情報及びプログラム情報を編集する
処理である。
FIG. 13 is a flow chart showing details of the execution control statement editing process in step S5 of FIG. In this execution control statement editing process, the file information of the monitoring file and the program information, which is the information necessary to execute the business process control statement corresponding to the file information record that has been expanded due to the lack of space Is a process of editing.

【0077】まずステップS1で、図4の実行制御文編
集部24は監視ファイル用ファイル情報38bを読み込
み、アラームフラグ=1の全レコード情報をテーブル内
に取得する。次にステップS2でアラームフラグ=1の
レコードが存在するか否か判定し、存在しなければ図1
4を経て図8のメインルーチンにリターンし、ステップ
S6の業務処理を実行する。
First, in step S1, the execution control statement editor 24 of FIG. 4 reads the file information 38b for monitoring file, and acquires all record information of alarm flag = 1 in the table. Next, in step S2, it is determined whether or not a record having the alarm flag = 1 exists.
After that, the process returns to the main routine of FIG. 8 and executes the business process of step S6.

【0078】ステップS2でアラームフラグ=1のレコ
ードが存在する場合には、ステップS3に進み、業務処
理実行制御文レコードを監視ファイル用プログラム情報
40のプログラム単位に読み込む。続いてステップS4
で、読み込まれた業務処理用実行制御文レコードに記述
されているファイル名とステップS1で読み込んだテー
ブル内の監視用ファイル情報のファイル名を比較し、ス
テップS5でファイル名がマッチングするか否かの判定
を行う。
If there is a record of alarm flag = 1 in step S2, the process proceeds to step S3, and the business process execution control statement record is read in program units of the monitoring file program information 40. Then step S4
Then, the file name described in the read business process execution control statement record is compared with the file name of the monitoring file information in the table read in step S1, and it is determined in step S5 whether the file names match. Is determined.

【0079】ファイル名がマッチングしなければ、ステ
ップS7に進み、該当プログラム単位の複数の業務処理
実行制御文レコードを出力ファイルに書き込み、編集処
理は行わない。
If the file names do not match, the process proceeds to step S7, a plurality of business process execution control statement records of the corresponding program unit are written to the output file, and the editing process is not performed.

【0080】ステップS5でファイル名がマッチングす
れば、ステップS6に進み、該当プログラム名を基に監
視用プログラム情報を取得する。次にステップS8で監
視ファイル用ファイル情報の格納ディスク名及び監視フ
ァイル用プログラム情報の格納件数予測式を基に、スト
ック系ファイル情報の格納ディスク名及びフロー系ファ
イル(一時)の領域パラメータを算出して置き換える編
集処理を行い、編集の済んだプログラム単位の複数の該
当レコードを出力ファイルに書き込む。
If the file names match in step S5, the flow advances to step S6 to acquire the monitoring program information based on the program name. Then, in step S8, the storage disk name of the stock file information and the area parameter of the flow file (temporary) are calculated based on the storage disk name of the monitoring file file information and the storage item number prediction formula of the monitoring file program information. Performs the editing process to replace and writes a plurality of relevant records for each edited program to the output file.

【0081】このようなステップS3〜S8の処理を、
図14のステップS9で業務処理実行制御文レコードが
なくなるまで繰り返す。業務処理実行制御文レコードが
なくなれば、ステップS10に進み、テーブル内のファ
イル情報を基に監視ファイル用ファイル情報のアラーム
フラグ及び拡張済フラグを全て0に更新し、一連の実行
制御文編集処理を終了して図8のメインルーチンに戻
り、ステップS6の業務処理を実行することになる。
The processing of steps S3 to S8 is as follows.
This is repeated until there are no business process execution control statement records in step S9 in FIG. If there is no business process execution control statement record, the process proceeds to step S10, and based on the file information in the table, the alarm flag and the extended flag of the file information for the monitoring file are all updated to 0, and a series of execution control statement editing process is performed. Upon completion, the process returns to the main routine of FIG. 8 to execute the business process of step S6.

【0082】次に本発明の計算機業務処理システムにイ
ンストールされるプログラム、及びプログラムを格納し
た記録媒体について説明する。本発明の計算機業務処理
用プログラムはCD−ROMやフロッピィディスクなど
の可搬型記憶媒体に記憶され、例えば図3のハードウェ
ア構成を持つクラスタマシンのCD−ROMドライバや
フロッピィディスクドライバにセットされた状態でイン
ストールされて磁気ディスク装置7に記憶され、ここか
ら主記憶装置3に展開され、CPU2により実行される
ことで、図4の機能構成に示した処理機能を実現する。
Next, a program installed in the computer work processing system of the present invention and a recording medium storing the program will be described. The computer work processing program of the present invention is stored in a portable storage medium such as a CD-ROM or a floppy disk, and is set in a CD-ROM driver or a floppy disk driver of a cluster machine having the hardware configuration shown in FIG. 3, for example. Is installed and stored in the magnetic disk device 7, is loaded into the main storage device 3 from here, and is executed by the CPU 2 to realize the processing functions shown in the functional configuration of FIG.

【0083】また本発明の計算機業務処理プログラム
は、ネットワークを介して接続される他のシステムや装
置の記録媒体に記録され、通信制御装置を利用してダウ
ンロードして取得し、装置の補助記憶装置や主記憶装置
に格納してもよい。
Further, the computer work processing program of the present invention is recorded in the recording medium of another system or device connected via the network, downloaded by the communication control device to obtain the auxiliary work storage device of the device. Or may be stored in the main storage device.

【0084】このように記憶媒体に格納された計算機業
務処理プログラムは、図8から図14のフローチャート
に示した処理を実行する。
The computer work processing program thus stored in the storage medium executes the processing shown in the flowcharts of FIGS. 8 to 14.

【0085】なお上記の実施形態は計算機業務処理シス
テムとしてバッチ処理を行うクラスタ計算機システムを
例にとるものであったが、本発明はこれに限定されず、
適宜の計算機システムにそのまま適用することができ
る。また上記の実施形態は請求書発行指示を入力ファイ
ルデータとして請求書ファイルを作成する業務処理を例
にとっているが、これも一例に過ぎず、適宜の計算機業
務を含むことはもちろんである。
Although the above embodiment has been described by taking the cluster computer system which performs batch processing as the computer business processing system as an example, the present invention is not limited to this.
It can be directly applied to an appropriate computer system. Further, although the above-described embodiment exemplifies the business process of creating the invoice file using the invoice issuing instruction as the input file data, this is also only an example, and it goes without saying that it includes an appropriate computer task.

【0086】更に上記の実施形態の事前チェック処理に
あっては、入力データファイルの業務処理におけるファ
イルの領域不足を判断して領域拡張処理を自動的に行
い、更に入力ファイルデータをチェックして、不正入力
データが存在したときに、これを排除するようにしてい
るが、本発明の別の実施形態にあっては入力データファ
イルの領域不足を判定して拡張処理を行うだけの処理を
事前チェック処理及びファイル自動設定処理で行い、入
力ファイルデータの不正データのチェック処理を外すよ
うにしてもよい。
Further, in the pre-check process of the above-mentioned embodiment, the area shortage of the file in the business process of the input data file is judged and the area expansion process is automatically performed, and the input file data is checked, When there is illegal input data, it is eliminated. However, in another embodiment of the present invention, it is preliminarily checked to perform the extension process by determining the lack of the input data file area. The process and the file automatic setting process may be performed, and the check process for the invalid data of the input file data may be omitted.

【0087】更に本発明は、その目的と利点を損なわな
い適宜の変形を含み、更に上記の実施形態に示した数値
による限定は受けない。
Furthermore, the present invention includes appropriate modifications that do not impair the objects and advantages thereof, and is not limited by the numerical values shown in the above embodiments.

【0088】[0088]

【発明の効果】以上説明してきたように本発明によれ
ば、業務処理開始前の準備処理として、新たな入力デー
タの業務処理によってデータベースや一般ファイルの記
憶領域の容量不足が発生するか否かを事前にチェック
し、不足する場合には自動的に拡張処理を行うことで、
運用中にデータベース及び一般ファイルに領域不足が発
生してシステム停止に至ることを確実に防止できる。
As described above, according to the present invention, as a preparatory process before the start of business processing, whether or not the capacity of the storage area of the database or general file will be insufficient due to the business processing of new input data. Is checked in advance, and if there is a shortage, it is automatically expanded,
It is possible to reliably prevent the system from stopping due to the lack of space in the database and general files during operation.

【0089】また事前チェックの際に入力データの中に
不正入力データが存在するか否か判定し、不正入力デー
タが存在した場合には、この不正入力データを業務処理
の対象から除外して別のファイルに格納することで、入
力不正データの存在による業務処理中のシステム停止を
確実に防止することができる。
In addition, it is determined whether or not the illegal input data is present in the input data at the time of the preliminary check, and if the illegal input data is present, the illegal input data is excluded from the target of the business process and is separated. By storing it in the file, it is possible to reliably prevent the system from being stopped during business processing due to the presence of input illegal data.

【0090】更に本発明にあっては、事前チェックで処
理不可能な場合、またはファイルの領域不足に対し拡張
不可能な場合には、異常処理により業務処理を停止する
ことになるが、この業務処理の停止に際しフロントシス
テムから投入された入力データについて、退避ファイル
などの別ファイルに追加蓄積して保存した後に業務処理
を停止することで、一度フロントシステムから投入され
た入力データが業務処理を停止しても計算機内に退避さ
れて保存されており、異常停止に対するリカバリを行っ
て復旧した後にフロントシステム側に依存することな
く、蓄積保存している入力データを使用して正常な業務
処理を容易に再開することができる。
Further, according to the present invention, if it cannot be processed by the preliminary check, or if it cannot be expanded due to the lack of the file area, the job processing is stopped by the abnormal processing. Input data that was input from the front system when processing was stopped can be stored in another file such as a save file and saved, and then business processing can be stopped, so that input data once input from the front system can stop business processing. Even though it is saved and saved in the computer, normal business processing can be facilitated by using the input data that has been saved and saved, without relying on the front system side after recovery by recovery from an abnormal stop. Can be resumed.

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

【図1】本発明の原理説明図FIG. 1 is an explanatory view of the principle of the present invention.

【図2】本発明が適用されるクラスタ構成の計算機業務
処理システムのブロック図
FIG. 2 is a block diagram of a cluster-type computer task processing system to which the present invention is applied.

【図3】図2に対応したハードウェア構成のブロック図FIG. 3 is a block diagram of a hardware configuration corresponding to FIG.

【図4】本発明による計算機業務処理の機能構成を示し
たブロック図
FIG. 4 is a block diagram showing a functional configuration of computer business processing according to the present invention.

【図5】図4の監視ファイル用ジョブ情報の説明図FIG. 5 is an explanatory diagram of job information for monitoring file in FIG.

【図6】図4の監視ファイル用ファイル情報の説明図FIG. 6 is an explanatory diagram of file information for monitoring files in FIG.

【図7】図4の監視ファイル用プログラム情報の説明図FIG. 7 is an explanatory diagram of program information for monitoring file of FIG.

【図8】本発明による計算機業務処理の概略手順を示し
たフローチャート
FIG. 8 is a flowchart showing a schematic procedure of computer business processing according to the present invention.

【図9】図8の事前チェック処理の詳細を示したフロー
チャート
9 is a flowchart showing the details of the pre-check process of FIG.

【図10】図8のファイル自動設定処理の詳細を示した
フローチャート
FIG. 10 is a flowchart showing details of the automatic file setting process of FIG.

【図11】図10に続くファイル自動設定処理の詳細を
示したフローチャート
FIG. 11 is a flowchart showing details of automatic file setting processing following FIG.

【図12 】図9及び図10における異常処理の詳細を
示したフローチャート
FIG. 12 is a flowchart showing details of abnormality processing in FIGS. 9 and 10.

【図13】図8の実行制御文編集処理の詳細を示したフ
ローチャート
FIG. 13 is a flowchart showing details of the execution control statement editing process of FIG.

【図14】図13に続く実行制御文編集処理の詳細を示
したフローチャート
FIG. 14 is a flowchart showing the details of the execution control statement editing process following FIG.

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

10:計算機業務処理システム 12−1〜12−3:クラスタ 14:システム記憶装置 16−1,16−2:データベース 18:システムボリューム(システムストレージ) 22:処理準備部 24:実行制御文編集部 26:業務処理実行部 28:異常処理部 30:事前チェック処理部 32:ファイル自動設定処理部 34:業務処理パラメータ 36,36a,36b:監視ファイル用ジョブ情報 38,38a,38b:監視ファイル用ファイル情報 40:監視ファイル用プログラム情報 42a,42b:業務処理実行制御文情報 66:格納件数 68:最大格納件数 72:アラームフラグ 74:拡張済フラグ 10: Computer business processing system 12-1 to 12-3: Cluster 14: System storage device 16-1, 16-2: Database 18: System volume (system storage) 22: Processing preparation section 24: Execution control statement editor 26: Business process execution unit 28: Abnormality processing section 30: Pre-check processing section 32: File automatic setting processing section 34: Business process parameter 36, 36a, 36b: monitoring file job information 38, 38a, 38b: Monitoring file information 40: Monitoring file program information 42a, 42b: Business process execution control statement information 66: Number of items stored 68: Maximum number of items that can be stored 72: Alarm flag 74: Expanded flag

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】データを入力して所定の業務処理を実行す
る計算機業務処理方法に於いて、 前記業務処理の実行前に、入力データの業務処理に必要
な記憶容量を求め、前記業務処理に対応した記憶領域の
現在の空き記憶容量と比較し、容量不足の有無を判別す
る事前チェックステップと、 前記事前チェックステップで容量不足が判別された場合
に、前記記憶領域に格納されているデータを別領域に退
避した後に、前記記憶領域を拡張する拡張処理を実行
し、拡張処理の正常終了後に退避したデータを拡張済み
の記憶領域に復元する記憶領域設定ステップと、を備え
たことを特徴とする計算機業務処理方法。
1. A computer business processing method for inputting data to execute a predetermined business processing, wherein a storage capacity required for business processing of input data is obtained before execution of the business processing, A pre-check step of comparing the current free storage capacity of the corresponding storage area to determine whether there is a capacity shortage, and the data stored in the storage area when the capacity shortage is determined in the pre-check step. Storage area to a different area, the expansion processing for expanding the storage area is executed, and the storage area setting step of restoring the saved data to the expanded storage area after the normal completion of the expansion processing. Computer processing method.
【請求項2】請求項1記載の計算機業務処理方法に於い
て、前記事前チェックステップは、入力データをチェッ
クして不正入力データを判別し、判別した不正入力デー
タを業務処理の対象データから除外して別の領域に格納
することを特徴とする計算機業務処理方法。
2. The computer business processing method according to claim 1, wherein the pre-check step checks input data to discriminate illegal input data, and discriminates the determined illegal input data from target data for business processing. A computer business processing method characterized by excluding and storing in another area.
【請求項3】請求項1記載の計算機業務処理方法に於い
て、前記入力データはファイルデータであり、前記事前
チェックステップは、現在のファイル格納件数に入力し
たファイルデータの件数を加えた実ファイル件数をカウ
ントし、カウントした実ファイル件数と最大格納件数を
比較して、入力データの業務処理に必要な記憶容量が不
足するか否か判別することを特徴とする計算機業務処理
方法。
3. The computer work processing method according to claim 1, wherein the input data is file data, and the pre-check step is a step of adding the number of input file data to the current number of stored files. A computer job processing method characterized by counting the number of files and comparing the counted number of actual files with the maximum number of stored files to determine whether or not the storage capacity required for job processing of input data is insufficient.
【請求項4】請求項1記載の計算機業務処理方法に於い
て、前記記憶領域設定ステップは、記憶領域の拡張不可
能な場合は、前記入力データを別の記憶領域に退避して
保存した後に業務処理を停止させる異常処理を実行させ
ることを特徴とする計算機業務処理方法。
4. The computer work processing method according to claim 1, wherein said storage area setting step saves said input data in another storage area when said storage area cannot be expanded. A computer business processing method characterized by executing abnormal processing for stopping business processing.
【請求項5】データを入力して所定の業務処理を実行す
る計算機業務処理装置に於いて、 前記業務処理の実行前に、入力データの業務処理に必要
な記憶容量を求め、前記業務処理に対応した記憶領域の
現在の空き記憶容量と比較し、容量不足の有無を判別す
ると共に、入力データをチェックして不正入力データを
判別し、判別した不正入力データを業務処理の対象デー
タから除外して別の領域に格納する事前チェック処理部
と、 前記事前チェック処理部で容量不足が判別された場合
に、前記記憶領域に格納されているデータを別領域に退
避した後に、前記記憶領域を拡張する拡張処理を実行
し、拡張処理の正常終了後に退避したデータを拡張済み
の記憶領域に復元する記憶領域設定部と、を備えたこと
を特徴とする計算機業務処理装置。
5. In a computer business processing apparatus for inputting data and executing a predetermined business processing, a storage capacity required for business processing of input data is obtained before execution of the business processing to obtain the business processing. Compared with the current free storage capacity of the corresponding storage area, determine whether there is a capacity shortage, check the input data to determine illegal input data, and exclude the determined illegal input data from the target data for business processing. And a pre-check processing unit that stores the data in another area, and when the pre-check processing unit determines that the capacity is insufficient, the data stored in the storage area is saved in another area and then the storage area is saved. A computer task processing apparatus comprising: a storage area setting unit that executes expansion processing for expansion and restores the data saved after the expansion processing ends normally to an expanded storage area.
【請求項6】コンピュータに、 入力データの業務処理を実行する前に、入力データの業
務処理に必要な記憶容量を求め、前記業務処理に対応し
た記憶領域の現在の空き記憶容量と比較し、容量不足の
有無を判別すると共に、入力データをチェックして不正
入力データを判別し、判別した不正入力データを業務処
理の対象データから除外して別の領域に格納する事前チ
ェックステップと、 前記事前チェックステップで容量不足が判別された場合
に、前記記憶領域に格納されているデータを別領域に退
避した後に、前記記憶領域を拡張する拡張処理を実行
し、拡張処理の正常終了後に退避したデータを拡張済み
の記憶領域に復元する記憶領域設定ステップと、を実行
させることを特徴とするプログラム。
6. The computer calculates the storage capacity required for business processing of the input data before executing the business processing of the input data and compares it with the current free storage capacity of the storage area corresponding to the business processing. A pre-check step of determining whether there is a capacity shortage, checking the input data to determine the illegal input data, excluding the determined illegal input data from the target data for business processing, and storing it in another area, When it is determined that the capacity is insufficient in the previous check step, the data stored in the storage area is saved to another area, the expansion process for expanding the storage area is executed, and the save is performed after the expansion process ends normally. A storage area setting step of restoring data to an expanded storage area, the program being executed.
【請求項7】コンピュータに、 入力データの業務処理を実行する前に、入力データの業
務処理に必要な記憶容量を求め、前記業務処理に対応し
た記憶領域の現在の空き記憶容量と比較し、容量不足の
有無を判別すると共に、入力データをチェックして不正
入力データを判別し、判別した不正入力データを業務処
理の対象データから除外して別の領域に格納する事前チ
ェックステップと、 前記事前チェックステップで容量不足が判別された場合
に、前記記憶領域に格納されているデータを別領域に退
避した後に、前記記憶領域を拡張する拡張処理を実行
し、拡張処理の正常終了後に退避したデータを拡張済み
の記憶領域に復元する記憶領域設定ステップと、を実行
させるプログラムを格納したコンピュータ読取可能な記
録媒体。
7. The computer calculates the storage capacity required for the business processing of the input data before executing the business processing of the input data and compares it with the current free storage capacity of the storage area corresponding to the business processing. A pre-check step of determining whether there is a capacity shortage, checking the input data to determine the illegal input data, excluding the determined illegal input data from the target data for business processing, and storing it in another area, When it is determined that the capacity is insufficient in the previous check step, the data stored in the storage area is saved to another area, the expansion process for expanding the storage area is executed, and the save is performed after the expansion process ends normally. A computer-readable recording medium storing a program for executing a storage area setting step of restoring data to an expanded storage area.
JP2001299243A 2001-09-28 2001-09-28 Method and device for processing computer operation, program, and recording medium Pending JP2003108410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001299243A JP2003108410A (en) 2001-09-28 2001-09-28 Method and device for processing computer operation, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001299243A JP2003108410A (en) 2001-09-28 2001-09-28 Method and device for processing computer operation, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2003108410A true JP2003108410A (en) 2003-04-11

Family

ID=19120027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001299243A Pending JP2003108410A (en) 2001-09-28 2001-09-28 Method and device for processing computer operation, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2003108410A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007510231A (en) * 2003-10-29 2007-04-19 オラクル・インターナショナル・コーポレイション Tracking space usage in the database
JP2015230605A (en) * 2014-06-05 2015-12-21 東芝テック株式会社 Information processing device and information processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007510231A (en) * 2003-10-29 2007-04-19 オラクル・インターナショナル・コーポレイション Tracking space usage in the database
JP2015230605A (en) * 2014-06-05 2015-12-21 東芝テック株式会社 Information processing device and information processing program

Similar Documents

Publication Publication Date Title
US5704031A (en) Method of performing self-diagnosing hardware, software and firmware at a client node in a client/server system
EP0945801B1 (en) External storage device and method for data saving, data backup
US6557073B1 (en) Storage apparatus having a virtual storage area
JP3386823B2 (en) File management method and device
JP2005018738A (en) Method and apparatus for backup and recovery using storage based journaling
US8429359B1 (en) Method and apparatus for dynamically backing up database files
US6754842B2 (en) Facilitating a restart operation within a data processing system
JP2002182988A (en) Back-up controller for data processing system and its method
JP3136258B2 (en) Disk update log recording method
JPH11134235A (en) Method for supporting recovery from fault of external storage device
US6546500B1 (en) Computer, computer network system, and recording medium
JPH05120110A (en) Automatic backup system for file
JP2003108410A (en) Method and device for processing computer operation, program, and recording medium
CN116107807A (en) Method and device for acquiring global consistency point positions during data backup in database
CN114490543A (en) Transaction log implementation method, device, equipment and medium for memory multidimensional database
EP1349067A2 (en) Document management system and method with fault recovery
CN113656358A (en) Database log file processing method and system
JPH1027116A (en) Unnecesary file deleting device
JP2001188690A (en) Computer system and checkpoint information preserving method
JP2000322298A (en) Generation management system for backup file and recording medium stored with generation management program for backup file
JPH1040123A (en) System and method for job management
JP2004054816A (en) Database management method and apparatus
JP2008234142A (en) Batch processing restoration method and system, and program
JPH05143422A (en) Updated journal managing system
JP2000315190A (en) Job recovery system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071211

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080408