JPH07282162A - Data processor - Google Patents

Data processor

Info

Publication number
JPH07282162A
JPH07282162A JP6096983A JP9698394A JPH07282162A JP H07282162 A JPH07282162 A JP H07282162A JP 6096983 A JP6096983 A JP 6096983A JP 9698394 A JP9698394 A JP 9698394A JP H07282162 A JPH07282162 A JP H07282162A
Authority
JP
Japan
Prior art keywords
record
item
output
file
name
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
JP6096983A
Other languages
Japanese (ja)
Inventor
Yoko Hashimoto
陽子 橋本
Junji Mori
潤二 森
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP6096983A priority Critical patent/JPH07282162A/en
Publication of JPH07282162A publication Critical patent/JPH07282162A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To arrange only a record matched with the output purpose on a slip just as intended image and to output if without changing a slip processing program even in the case of a person in charge of a job who is a general user or the like. CONSTITUTION:Along with the record name of an output record and the item name, item contents as record extraction conditions, a processing object item and record output conditions are specified from an input part 1. Then, the record pertinent to the specified item contents is read from a prescribed file and an extension summing-up processing part 12 sums up the data of the specified processing object item for the respective record names of the output records. A calculation/output judgement part 14 selects only the record pertinent to the specified record output conditions from the summed-up records as an output object. The selected record is made to correspond to the specified record name and item name and outputted.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、オフィスコンピュー
タやパーソナルコンピュータ等において、会計ファイ
ル、人事ファイル等からレコードデータを読み出して処
理するデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for reading and processing record data from an accounting file, a personnel file, etc. in an office computer, a personal computer or the like.

【0002】[0002]

【従来の技術】従来、オフィスコンピュータや汎用コン
ピュータ等の事務処理装置においては、会計ファイル、
人事ファイル、売上伝票ファイル、在庫ファイル等、各
種多様のファイルを記憶管理しているが、各ファイルを
構成するレコード構造は、ファイル毎に異なっており、
同一レコード形態(レコードを構成する各項目が一致す
るレコード)毎にまとめて別ファイルとして記憶管理し
ている。ところで、所定のファイルからレコードを抽出
し、この抽出レコードの中から任意の項目データを読み
出してレコード集計を行い、この集計結果を帳票フォー
ムと共に出力させる帳票作成処理は、予めシステムエン
ジニア等の専門家が個々の帳票に1:1に対応させて設
計しておいた帳票処理プログラムにしたがって行われ
る。
2. Description of the Related Art Conventionally, in an office processing device such as an office computer or a general-purpose computer, an accounting file,
Various types of files such as personnel files, sales slip files, inventory files, etc. are stored and managed, but the record structure that constitutes each file is different for each file.
The same record form (records in which each item that constitutes a record matches) is collectively managed as a separate file. By the way, a record is extracted from a predetermined file, arbitrary item data is read out from the extracted record, the record is totaled, and the form creation process for outputting the totalized result together with the form form is performed in advance by an expert such as a system engineer. Is performed according to a form processing program designed to correspond to each form 1: 1.

【0003】[0003]

【発明が解決しようとする課題】このように従来におい
ては、個々の帳票に1:1に対応させた個別の帳票処理
プログラムを予め設定しておく必要があるが、実際の業
務は時の経過につれて変化してゆく為、帳票処理プログ
ラムが現実に適合しなくなり、そのままでは業務内容に
マッチした帳票を得ることができなくなることがある。
このような場合、従来においては、予め作成しておいた
帳票処理プログラムの一部を変更して対処するようにし
ているが、多少の変更を加える場合でも、プログラミン
グ等の専門的で高度の知識を必要とする為、一般ユーザ
の業務担当者にあってはその変更は極めて困難であり、
システムエンジニアにプログラムの変更を依頼しなけれ
ばならないのが現状であった。また、集計結果を無条件
に帳票出力すると、業務内容等によっては不必要なレコ
ードまでも帳票出力されることになり、帳票全体が見難
くなったり、誤認混同を起すおそれがあった。この発明
の課題は、帳票処理プログラムを変更することなしに、
一般ユーザである業務担当者が所望する帳票を得る為
に、出力レコードのレコード名およびその項目名と共
に、レコード抽出条件としての項目内容、処理対象項
目、レコード出力条件を単に指定しておくだけで、その
指定内容に基づいて出力目的に合ったレコードのみを意
図したイメージ通りに帳票上に配置して出力できるよう
にすることである。
As described above, in the conventional art, it is necessary to previously set an individual form processing program corresponding to each form in a one-to-one manner. As it changes with time, the form processing program may not fit in reality, and it may not be possible to obtain a form that matches the business content as it is.
In such a case, in the past, a part of the form processing program created in advance was changed to deal with it, but even if some changes are made, specialized and advanced knowledge such as programming is required. It is extremely difficult for general user business personnel to change the
In the current situation, it was necessary to ask the system engineer to change the program. In addition, if the tabulation result is output unconditionally, even unnecessary records may be output depending on the business content, etc., which may make the entire form difficult to see or may cause misunderstanding. An object of the present invention is to change the form processing program without changing
In order to obtain the form desired by the business person who is a general user, simply specify the record name of the output record and its item name, as well as the item contents as the record extraction condition, the processing target item, and the record output condition. That is, based on the specified contents, only the records suitable for the output purpose can be arranged and output on the form according to the intended image.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。 (1)、指定手段は出力レコードのレコード名を指定す
ると共に、レコード抽出条件としての項目内容を指定
し、かつ出力レコードの項目名を指定すると共に、抽出
されたレコードの中からどの項目データを処理対象とす
るかの処理対象項目を指定し、更に、出力レコードの任
意の項目名に対応付けてレコード出力条件を指定するキ
ー入力装置等である。 (2)、読出手段はこの指定手段で指定された項目内容
に該当するレコードを所定のファイルから読み出す。 (3)、処理手段はこの読出手段によって読み出された
レコードに基づいて、前記指定手段で指定された出力レ
コードのレコード名毎に、指定された処理対象項目のデ
ータを加工処理する。 (4)、選択手段はこの処理手段で加工処理された各出
力レコードのうち、前記指定手段で任意の項目に対応付
けて指定されたレコード出力条件に該当するレコードの
みを出力対象として選択する。 (5)、出力手段はこの選択手段で選択された出力レコ
ードを前記指定手段で指定されたレコード名および項目
名に対応付けて出力する。 なお、前記指定手段は出力レコードのレコード名に対応
付けて項目内容を指定すると共にレコード出力条件を指
定するようにしてもよい。また、前記指定手段は出力レ
コードの項目および論理演算子と定数を用いてレコード
出力条件を指定するようにしてもよい。
The means of the present invention are as follows. (1) The specifying means specifies the record name of the output record, specifies the item content as the record extraction condition, specifies the item name of the output record, and selects which item data from the extracted record. It is a key input device or the like that specifies a processing target item to be processed and further specifies a record output condition in association with an arbitrary item name of an output record. (2) The reading means reads a record corresponding to the item content designated by the designation means from a predetermined file. (3) The processing means processes the data of the designated processing target item for each record name of the output record designated by the designating means, based on the record read by the reading means. (4) In the output records processed by the processing means, the selecting means selects only those records that satisfy the record output condition designated by the designating means in association with any item, as output targets. (5) The output means outputs the output record selected by the selecting means in association with the record name and item name designated by the designating means. The specifying unit may specify the item content in association with the record name of the output record and the record output condition. Further, the designating means may designate the record output condition by using the items of the output record, the logical operator and the constant.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。い
ま、実際の業務を理解している業務担当者が所望する帳
票を得る為に、出力レコード(例えば集計レコード)の
レコード名およびその項目名、レコード抽出条件として
の項目内容、処理対象項目の他、出力レコードの任意の
項目に対応付けてレコード出力条件を指定しておく。こ
こで、例えば、その項目内容が正の値である場合をレコ
ード出力条件として指定するようにしてもよい。する
と、指定項目内容に合致するレコードが所定ファイルか
ら読み出されると共に、出力レコードのレコード名毎に
処理対象項目のデータに対して集計等の処理が行われ
る。これによって処理された出力レコードのうち出力条
件に合致するレコードのみが選択されて出力レコードの
レコード名および項目名に対応付けられて出力される。
したがって、帳票処理プログラムを変更することなし
に、一般ユーザである業務担当者が所望する帳票を得る
為に、出力レコードのレコード名およびその項目名と共
に、レコード抽出条件としての項目内容、処理対象項
目、レコード出力条件を単に指定しておくだけで、その
指定内容に基づいて出力目的に合ったレコードのみを意
図したイメージ通りに帳票上に配置して出力することが
できる。
The operation of the means of the present invention is as follows. Now, in order to obtain a form desired by a person in charge of business who understands the actual business, the record name of the output record (for example, the aggregated record) and its item name, the item content as the record extraction condition, the item to be processed, etc. , Specify the record output condition in association with any item of the output record. Here, for example, a case where the item content is a positive value may be designated as the record output condition. Then, a record that matches the contents of the designated item is read from the predetermined file, and processing such as tabulation is performed on the data of the processing target item for each record name of the output record. Among the output records processed in this way, only the records that meet the output conditions are selected and output in association with the record name and item name of the output record.
Therefore, in order to obtain a form desired by a business person who is a general user without changing the form processing program, the record name of the output record and its item name, as well as the item content as the record extraction condition and the processing target item By simply specifying the record output conditions, it is possible to arrange and output only the records suitable for the output purpose on the form according to the intended image based on the specified contents.

【0006】[0006]

【実施例】以下、図1〜図15を参照して一実施例を説
明する。図1は本実施例に係るデータ処理装置のブロッ
ク構成図である。このデータ処理装置はオフィスコンピ
ュータを構成するもので、専門的知識を有しない業務担
当者等が集計定義表を用いて集計レベル毎に集計対象等
を任意に指定しておくだけで、この集計定義表の定義内
容に該当するレコードを所定ファイルから読み出して集
計レベルに応じた階層構造でレコードを分類集計し、こ
の集計結果を帳票データとして印刷出力するものであ
る。入力部1は各種のデータやコマンド等を入力するキ
ー入力装置で、入力部1から入力されたデータはパラメ
ータ設定部2に取り込まれて処理されると共に表示部3
に表示出力される。なお、入力部1は所定のキー操作に
応答してパラメータ設定部2に対して起動命令を与え
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of the data processing apparatus according to this embodiment. This data processing device constitutes an office computer, and a person in charge of business who does not have specialized knowledge can simply specify the aggregation target etc. for each aggregation level using the aggregation definition table. The records corresponding to the definition contents of the table are read from a predetermined file, the records are classified and aggregated in a hierarchical structure according to the aggregation level, and the aggregation result is printed out as form data. The input unit 1 is a key input device for inputting various data and commands, and the data input from the input unit 1 is taken into a parameter setting unit 2 and processed, and a display unit 3 is provided.
Is displayed and output. The input unit 1 gives a start command to the parameter setting unit 2 in response to a predetermined key operation.

【0007】パラメータ設定部2は入力部1からの起動
命令に応答して動作し、業務担当者等が所望する任意の
レコード集計を指示する為に集計レコードのレコード名
や集計対象あるいは集計条件等を定義する定義表(本実
施例にあっては2種類のA表、B表)を入力部1から入
力されたデータにしたがって生成し、表示部3から表示
出力させると共に、パラメータファイル4に設定する。
なお、A表、B表については後で詳細に説明するので、
ここでは簡単に説明しておくものとする。例えば、所望
する帳票として図2に示す様な「経費実績表」を印刷出
力させる為に、この帳票の出力イメージにしたがった集
計定義表としてA表およびB表を生成しておく。ここ
で、図2に示す帳票は集計レコードのレコード名を行項
目に配置し、また集計レコードのデータ項目名を列項目
に配置したものであり、この帳票を得る為に定義された
A表は図3、B表は図4に示す様に構成されている。A
表は集計レベル毎に集計レコードのレコード名および集
計レコードとして抽出する抽出条件としての項目内容、
集計レコードの出力条件等を定義する定義表である。ま
た、B表は集計レコードのデータ項目として出力される
項目名およびその項目名に対応してる集計対象項目ある
いは帳票印刷時の書式や集計条件等を定義する定義表で
ある。
The parameter setting unit 2 operates in response to a start command from the input unit 1, and in order to instruct any record aggregation desired by a person in charge of business operation, the record name of the aggregation record, the aggregation target, the aggregation condition, etc. A definition table (in this embodiment, two types of A table and B table) that defines is generated according to the data input from the input unit 1, is displayed and output from the display unit 3, and is set in the parameter file 4. To do.
Note that Tables A and B will be described in detail later, so
A brief explanation will be given here. For example, in order to print out the “expense record table” as shown in FIG. 2 as a desired form, tables A and B are generated in advance as a summary definition table according to the output image of this form. Here, in the form shown in FIG. 2, the record name of the totalized record is arranged in the line item, and the data item name of the totalized record is arranged in the column item, and the table A defined for obtaining this form is The tables in FIGS. 3 and B are constructed as shown in FIG. A
The table shows the record name of the summary record and the item contents as the extraction conditions to be extracted as the summary record for each summary level.
It is a definition table that defines output conditions and the like of summary records. Further, the table B is a definition table that defines the item name output as the data item of the aggregate record and the item to be aggregated corresponding to the item name, the format at the time of printing the form, the aggregate condition, or the like.

【0008】パラメータファイル4にはA表、B表に対
応してその基本フォーマット(罫線データ等)が予めメ
ーカサイドによって固定的に格納されている他に、入力
部1から任意に入力された各種帳票のA表パラメータデ
ータ、B表パラメータデータおよび、入力部1から任意
に入力された各種の帳票名とA表パラメータデータ、B
表パラメータデータとを対応付ける対応テーブルが記憶
されている。
In the parameter file 4, the basic formats (ruled line data, etc.) corresponding to the tables A and B are fixedly stored in advance by the maker side, and various types are arbitrarily input from the input section 1. Table A parameter data and B table parameter data of the form, and various form names and A table parameter data arbitrarily input from the input unit 1 and B
A correspondence table that correlates with the table parameter data is stored.

【0009】表構造解析部5は帳票印刷時に入力部1か
ら入力された起動命令にしたがって動作し、出力対象と
して任意に指定された帳票名に対応するA表パラメータ
データ、B表パラメータデータを解析し、その解析結果
にしたがって各種のパラメータ解析テーブル6を作成す
る。この場合、本実施例においてはパラメータ解析テー
ブル6として図5(A)に示す様なA表結合テーブル、
図5(B)に示す様なB表結合テーブル、図5(C)に
示す様なB表条件テーブル、図5(D)に示す様なB表
集計項目テーブルの他、図6に示すB表計算式テーブル
を作成する。また、表構造解析部5はA表に定義されて
いる集計レベルに応じた階層構造等を解析し、その解析
結果に基づいて図7に示すような構成ファイル7を作成
する。なお、構成ファイル7は後で詳述するが、A表内
の集計対象項目とそれに対応する集計レコードとの対応
関係や集計レベルの階層構造における上下関係(親子関
係)等を表わす各種の構成レコードから成るものであ
り、この構成レコードにはA表に定義されているレコー
ド出力条件も必要に応じて含まれる。更に、表構造解析
部5はB表のヘッダー位置に定義されている各欄の項目
名、例えば“経費項目”、“期初計画”……等の名称を
読み出して印刷書式メモリ8に設定する他、B表の書式
の位置に定義されている各欄の印刷書式を読み出して印
刷書式メモリ8に設定する。その後、表構造解析部5は
展開ファイル作成部9に起動命令を与える。印刷書式メ
モリ8はB表に定義されている項目名、印刷書式の他
に、集計レベルに応じて帳票フォーマットを生成する為
のデータを記憶する。
The table structure analysis unit 5 operates according to a start command input from the input unit 1 when printing a form, and analyzes the A table parameter data and the B table parameter data corresponding to the form name arbitrarily designated as an output target. Then, various parameter analysis tables 6 are created according to the analysis results. In this case, in the present embodiment, as the parameter analysis table 6, the A table join table as shown in FIG.
B table combination table as shown in FIG. 5B, B table condition table as shown in FIG. 5C, B table total item table as shown in FIG. 5D, and B shown in FIG. Create a spreadsheet table. Further, the table structure analysis unit 5 analyzes the hierarchical structure or the like according to the aggregation level defined in the table A, and creates the configuration file 7 as shown in FIG. 7 based on the analysis result. The configuration file 7 will be described in detail later, but various configuration records representing the correspondence between the items to be aggregated in the table A and the corresponding aggregate records, the vertical relation (parent-child relation) in the hierarchical structure of the aggregation level, and the like. If necessary, the record output condition defined in the table A is also included in this configuration record. Further, the table structure analysis unit 5 reads out the item names of the respective fields defined in the header position of the table B, for example, "expense item", "initial plan" ..., and sets them in the print format memory 8. , B, the print format of each column defined in the format position of the table is read and set in the print format memory 8. After that, the table structure analysis unit 5 gives a start command to the expansion file creation unit 9. The print format memory 8 stores, in addition to the item names and print formats defined in the table B, data for generating a form format according to the aggregation level.

【0010】展開ファイル作成部9はパラメータ解析テ
ーブル6内の各種テーブル内容を参照し、データファイ
ル10を構成する各種のソースファイルの中から集計対
象ファイルを指定したり、この集計対象ファイルから抽
出したレコードに基づいて1レコードずつ展開レコード
を順次生成し、展開ファイル11に書き出す。これによ
って展開ファイル11を作成すると、展開ファイル作成
部9は展開集計処理部12に起動命令を与える。
The expansion file creating unit 9 refers to various table contents in the parameter analysis table 6 to specify a file to be totalized from various source files constituting the data file 10 or extract from the file to be totalized. The expansion record is sequentially generated one by one based on the record and is written in the expansion file 11. When the expansion file 11 is created in this way, the expansion file creation unit 9 gives a start command to the expansion aggregation processing unit 12.

【0011】展開集計処理部12は構成ファイル7を参
照しながら展開ファイル11の内容に基づいて1レコー
ドずつ集計レコードを順次作成し、集計ファイル13に
書き出す。これによって集計ファイル13を作成する
と、展開集計処理部12は計算/出力判定部14に起動
命令を与える。
The expansion totalization processing unit 12 refers to the configuration file 7 and sequentially creates an aggregate record for each record based on the contents of the expansion file 11 and writes it to the aggregate file 13. When the totalization file 13 is created in this way, the expansion totalization processing unit 12 gives a start command to the calculation / output determination unit 14.

【0012】計算/出力判定部14は集計ファイル13
内のレコードに対してB表計算式テーブルを参照し、そ
のレコード項目間で計算式テーブルにしたがった計算処
理を行う。そして計算/出力判定部14は、計算処理さ
れたレコードがA表に定義されている集計レコードの出
力条件に合致するか否かを構成ファイル7を参照するこ
とによって判定し、この出力条件に合致するレコードの
みを出力対象として出力ファイル15へ書き出す。この
ような処理を集計ファイル13内の全てのレコードに対
して行ったのち、計算/出力判定部14は印刷処理部1
6に起動命令を与える。印刷処理部16は出力ファイル
15の内容を印刷書式メモリ8に設定されている印刷書
式にしたがって1レコードずつ帳票フォーマットと共に
プリンタ17から印字出力させることにより、帳票作成
を行う。
The calculation / output determination unit 14 uses the totalization file 13
The table B calculation formula table is referred to for the records in the table, and the calculation processing according to the calculation formula table is performed between the record items. Then, the calculation / output determination unit 14 determines whether or not the calculated record matches the output condition of the aggregated record defined in the table A by referring to the configuration file 7, and matches the output condition. Only the record to be written is written to the output file 15 as an output target. After performing such processing on all the records in the totalization file 13, the calculation / output determination unit 14 sets the print processing unit 1
6 is given a start command. The print processing unit 16 creates a form by printing out the contents of the output file 15 from the printer 17 together with the form format record by record according to the print format set in the print format memory 8.

【0013】次に、本実施例の動作を説明する。先ず、
所望する帳票を得る為に入力部1からA表、B表の作成
を指示すると、パラメータ設定部2はこれに応答して動
作する。先ず、A表作成時にパラメータ設定部2はパラ
メータファイル4から読み出したA表の基本フォーマッ
トにしたがって表枠等を表示出力させる。ここで、図3
に示す如く、6段階の集計レベルを表わすアルファベッ
ト文字A、B、C、D、E、Fと、各集計レベルを区分
する括り用の罫線フォーマットが表示され、この括り用
の罫線は集計レベル毎に列方向に“ずれて”表示され、
この“ずれ”によって集計レベルの階層構造を表現して
いる。この場合の階層構造はA>B>C>D>E>Fの
関係にある。
Next, the operation of this embodiment will be described. First,
When the input unit 1 gives an instruction to create the tables A and B in order to obtain a desired form, the parameter setting unit 2 operates in response to this. First, when creating the A table, the parameter setting unit 2 displays and outputs a table frame and the like according to the basic format of the A table read from the parameter file 4. Here, FIG.
As shown in, the alphabet letters A, B, C, D, E, and F representing the 6 levels of aggregation and the ruled line format for grouping that separates each level of aggregation are displayed. Is displayed in the column direction "offset",
This "deviation" expresses the hierarchical structure of the aggregation level. The hierarchical structure in this case has a relationship of A>B>C>D>E> F.

【0014】いま、A表の基本フォーマットが表示出力
されている状態において、業務担当者は入力部1からA
表のパラメータデータを入力する。ここで、A表の行方
向の見出し部には、各集計レベルに対応して任意の名称
が集計レコードのレコード名として入力されている。例
えば、行No「01」には集計レベルAに対応してレコー
ド名「計」が入力され、また、行No「02」には集計レ
ベルBに対応してレコード名「固定費」、行No「03」
には集計レベルCに対応してレコード名「人件費」……
が入力されている。
Now, in the state where the basic format of the table A is displayed and output, the person in charge of business inputs from the input section 1 to A.
Enter the parameter data in the table. Here, in the row heading portion of the table A, an arbitrary name is input as the record name of the totalized record corresponding to each totaling level. For example, in row No. “01”, the record name “total” is input corresponding to the aggregation level A, and in row No. “02”, the record name “fixed cost” and row No. corresponding to the aggregation level B. "03"
The record name "personnel cost" corresponds to the aggregation level C ...
Has been entered.

【0015】また、A表の見出し部には、任意のファイ
ル名および項目名が入力されている。例えば、図3に示
すA表においては2種類のファイル名「計画FIL
E」、「会計FILE」が入力されており、これによっ
て集計レコードをどのファイルから抽出すべきかの対象
ファイル名が定義されている。また、ファイル名「計画
FILE」に対応してその項目名「予算項目」が入力さ
れ、また、ファイル名「会計FILE」に対応してその
項目名「勘定科目」が入力されており、これによってこ
のファイルから集計レコードとして抽出される対象項目
名が定義されている。更に、A表の行方向および列方向
の見出し部によって構成されるマトリックス状の各入力
エリアには、集計対象項目の具体的な項目内容(項目コ
ード)が入力されている。例えば、行No「03」、即
ち、集計レベルCに対応するレコード名「人件費」につ
いては、「計画FILE」の「予算項目」に対応して項
目コード「101」、「102」が入力され、また、
「会計FILE」の「勘定科目」に対応して項目コード
「2111」、「2112」、「2134」が入力され
ており、これによって計画ファイルを構成する予算項目
のうち、項目コード「101」、「102」に該当する
レコードを抽出すべきことが定義され、また、会計ファ
イルを構成する勘定項目のうち、項目コード「211
1」、「2112」、「2134」に該当するレコード
を抽出すべきことが定義されている。
Further, an arbitrary file name and item name are entered in the heading section of table A. For example, in the table A shown in FIG. 3, two types of file names “plan FIL
"E" and "accounting file" are entered, and the target file name from which the total record should be extracted is defined by this. Further, the item name "budget item" is entered corresponding to the file name "plan FILE", and the item name "account item" is entered corresponding to the file name "accounting file". Target item names extracted as summary records from this file are defined. Further, specific item contents (item codes) of the items to be totaled are entered in each matrix-shaped input area formed by the heading portions in the row direction and the column direction of the table A. For example, for line No. “03”, that is, for the record name “personnel cost” corresponding to the aggregation level C, the item codes “101” and “102” are input corresponding to the “budget item” of the “plan FILE”. ,Also,
Item codes “2111”, “2112”, and “2134” are entered corresponding to the “accounting item” of “accounting FILE”. With this, the item code “101” among the budget items constituting the plan file, It is defined that records corresponding to “102” should be extracted, and the item code “211” is included in the account items that make up the accounting file.
It is defined that records corresponding to "1", "2112", and "2134" should be extracted.

【0016】また、A表には各行Noに対応して条件エリ
アが設けられている。この条件エリアにはA表に定義し
た各集計レコードのレコード名のうち、最下位レコード
のレコード名に対応してレコード出力条件が入力され
る。このレコード出力条件は計算/出力判定部14が集
計ファイル13内の各レコードを選択的に出力ファイル
15に書き出す際に、どのような条件でレコードを選択
するかを指定するもので、その条件内容は集計レコード
のデータ項目位置を示すB表の欄名称(アルファベット
文字)と、比較、論理演算子、定数(数値、文字)とに
よって定義される。このB表の欄名称によって指定され
た集計レコードの項目データがレコード出力条件に合致
する場合に当該項目を含むレコードが出力対象となる。
ここで、A表に定義されたレコード出力条件「G>=
0」は、B表の欄名称Gによって示された集計レコード
のデータ項目の内容が「0」以上(正)の時、その項目
を含むレコードが出力対象となることを示している。
Further, in the table A, condition areas are provided corresponding to the respective row numbers. In this condition area, the record output condition is input corresponding to the record name of the lowest record among the record names of the totalized records defined in the table A. This record output condition specifies the condition under which the record is selected when the calculation / output determination unit 14 selectively writes each record in the totalization file 13 to the output file 15. Is defined by the column name (alphabetic character) of table B indicating the data item position of the totalized record, comparison, logical operator, and constant (numerical value, character). When the item data of the totalized record specified by the column name of the B table matches the record output condition, the record including the item is output.
Here, the record output condition “G> =” defined in the table A
"0" indicates that when the content of the data item of the totalized record indicated by the column name G of table B is "0" or more (positive), the record including the item is the output target.

【0017】また、A表には各行Noに対応して管理単位
エリアが設けられており、任意の行を指定してそれに対
応する位置に丸印を入力することにより当該行は項目コ
ードが入力されるエリアであることを示す。これはA表
の定義内容を行単位毎に解析する際に、当該丸印が付さ
れている行が解析対象となり、その他の行を対象から外
すことによって処理スピードの向上を図る為である。
このようにしてA表を作成すると、パラメータ設定部2
はそのパラメータデータをパラメータファイル4に設定
する。
Further, the table A has a management unit area corresponding to each row No. By designating an arbitrary row and inputting a circle mark at a position corresponding to the row, an item code is input to the row. Indicates that this is an area to be covered. This is because, when the definition contents of the table A are analyzed line by line, the line marked with the circle becomes the analysis target, and the other lines are excluded from the target to improve the processing speed.
When the table A is created in this way, the parameter setting unit 2
Sets the parameter data in the parameter file 4.

【0018】次に、パラメータ設定部2はパラメータフ
ァイル4からB表の基本フォーマットを読み出して表示
出力させる。ここで、図4に示す如く、この行方向の見
出し部にはその行項目のラベルとして「書式」、「対象
FILE」、「集計項目」、「計算式」、「条件項
目」、「条件値」が予め固定的に設定されており、ま
た、B表の列方向における見出し部の各列項目はその項
目位置を示す名称(欄名称)として「A」、「B」、
「C」、……「G」に対応付けられている。いま、B表
の基本フォーマットが表示出力されている状態におい
て、業務担当者は入力部1からB表のパラメータデータ
を入力する。ここで、B表の列方向における見出し部に
は集計レコードのデータ項目として印刷出力される項目
名が入力されている。例えば、項目位置「A」には「経
費項目」、項目位置「B」には「期初計画」、項目位置
「C」には「修正計画」、項目位置「D」、「E」には
その共有項目として「実積」およびその下位項目として
項目位置「D」には「部門経費」、項目位置「E」には
「付替経費」、更に項目位置「F」には「実積計」、項
目位置「G」には「計画差」が入力されている。
Next, the parameter setting section 2 reads out the basic format of the table B from the parameter file 4 and outputs it for display. Here, as shown in FIG. 4, in the heading portion in the row direction, as the label of the row item, “format”, “target FILE”, “total item”, “calculation formula”, “condition item”, “condition value” Is fixedly set in advance, and each column item in the heading section in the column direction of the table B has “A”, “B” as names (column names) indicating its item position,
It is associated with "C", ... "G". Now, in the state where the basic format of table B is displayed and output, the person in charge of business inputs the parameter data of table B from the input unit 1. Here, in the heading portion in the column direction of table B, the item name to be printed out as the data item of the total record is input. For example, the item position "A" is "expense item", the item position "B" is "initial plan", the item position "C" is "corrected plan", the item positions "D", "E" are As a shared item, “actual product” and its subordinate items are “department expense” at item position “D”, “replacement expense” at item position “E”, and “actual volume total” at item position “F”. , "Plan difference" is entered in the item position "G".

【0019】また、B表の行項目において、「書式」に
は項目データの印刷書式として列項目毎に欄幅、文字
種、文字サイズ等が入力されている。また、次の「対象
FILE」には列項目位置「B」、「C」に対応して
「計画FILE」が入力され、列項目位置「D」、
「E」に対応して「会計FILE」が入力されている。
更に、次の「集計項目」は集計対象として抽出されたレ
コードの中からどの項目データを集計すべきかを定義す
るもので、列項目位置「B」、「C」に対応して「予算
額+」が入力され、また、列項目位置「D」、「E」に
対応して「借方金額+」および「貸方金額−」が入力さ
れている。ここで、プラス/マイナスの符号はレコード
集計時の加算集計あるいは減算集計を定義するものであ
る。
Further, in the row item of the table B, the column width, the character type, the character size, etc. are input for each column item as the print format of the item data in "Format". Further, in the next "target FILE", "planned FILE" is input corresponding to the column item positions "B" and "C", and the column item position "D",
"Accounting FILE" is entered corresponding to "E".
Further, the next “total item” defines which item data should be totaled from the records extracted as the total target, and corresponds to the column item positions “B” and “C”, “budget amount + Is entered, and "debit amount +" and "credit amount-" are entered corresponding to the column item positions "D" and "E". Here, the plus / minus sign defines the addition total or the subtraction total when the records are totaled.

【0020】次に、B表の列項目位置B、C、D……に
対応する「計算式」の各欄には、出力される集計レコー
ドを加工する為の計算式が入力されている。ここで、あ
る項目データをそのまま出力すべきことを定義する場合
には、その項目位置に対応する欄内に計算式を記述する
必要はないが、ある項目データを加工すべきことを定義
する場合には、その項目位置に対応する欄内にその加工
内容を示す計算式を記述しておく。計算式は任意の欄位
置を変数とするもので、この欄位置と、定数と、簡単な
演算子を用いて記述するようにしている。欄位置はB表
の列項目位置によって表わされるが、他の計算式の結果
を参照すべき場合には、その計算式が入力されている行
Noが列項目位置に付加される。なお、計算式の記述とし
て図4に示す計算式「D+E」は列項目位置D、Eに対
応する集計レコード内の項目データを加算すべきことを
定義する。また、計算式「B/1000」は列項目位置
Bに対応する項目データを“1000”で割ってその値
を“千”の単位で出力すべきことを定義する。更に、計
算式「C−F」は列項目位置Cに対応する項目データか
ら欄位置F1に入力されている計算式「D+E」の結果
を減算すべきことを定義する。
Next, in each column of the "calculation formula" corresponding to the column item positions B, C, D, ... In the table B, the calculation formula for processing the output aggregate record is input. Here, when defining that certain item data should be output as it is, it is not necessary to describe the calculation formula in the column corresponding to that item position, but when defining that certain item data should be processed. In, a calculation formula indicating the processing content is described in the column corresponding to the item position. The calculation formula uses an arbitrary column position as a variable, and is described by using this column position, a constant, and a simple operator. The column position is represented by the column item position in Table B. If the result of another formula should be referred to, the line in which that formula is entered.
No is added to the column item position. As the description of the calculation formula, the calculation formula “D + E” shown in FIG. 4 defines that the item data in the aggregation record corresponding to the column item positions D and E should be added. Further, the calculation formula "B / 1000" defines that the item data corresponding to the column item position B should be divided by "1000" and the value should be output in the unit of "thousands". Further, the calculation formula "C-F" defines that the result of the calculation formula "D + E" input to the column position F1 should be subtracted from the item data corresponding to the column item position C.

【0021】一方、B表の列項目位置B、C、D……に
対応する複数の「条件項目」は、A表の定義内容によっ
て抽出されたレコードを更に絞り込む為の抽出条件項目
を定義するもので、各列項目毎に「条件項目」に対応し
てその項目名および条件値が定義される。例えば、図示
のB表において、列項目位置「B」、「C」には条件項
目名としてそれぞれ「計画種別」、この「計画種別」の
条件値として列項目位置「B」には「1」、列項目位置
「C」には「2」、「3」、「4」が入力されている。
同様に、列項目位置「D」、「E」には項目名として
「相手勘定」、この「相手勘定」の条件値として列項目
位置Dには「≠0011(0011を除く他の全てのコ
ードを有するレコードを抽出すべきことを示してい
る)」が入力され、列項目位置「E」には「=0011
(0011に該当するコードを有するレコードを抽出す
べきことを示している)」が入力されている。このよう
にしてB表を作成すると、パラメータ設定部2はそのパ
ラメータデータをパラメータファイル4に設定する。
On the other hand, the plurality of "condition items" corresponding to the column item positions B, C, D ... In the table B define extraction condition items for further narrowing down the records extracted according to the definition contents of the table A. For each column item, its item name and condition value are defined corresponding to the "condition item". For example, in the illustrated table B, the column item positions “B” and “C” are the condition item name “plan type”, and the condition value of this “plan type” is “1” in the column item position “B”. , "2", "3", and "4" are input in the column item position "C".
Similarly, the column item positions “D” and “E” have “counter account” as the item name, and the column item position D as the condition value of this “counter account” has “≠ 0011 (all other codes except 0011). Is input), and the column item position “E” is “= 0011”.
(Indicating that a record having a code corresponding to 0011 should be extracted) "is input. When the table B is created in this way, the parameter setting unit 2 sets the parameter data in the parameter file 4.

【0022】いま、A表、B表を作成した後、入力部1
から任意の帳票名を指定してその印刷指令を与えると、
先ず、表構造解析部5はパラメータファイル4から指定
帳票のA表パラメータデータを読み出してA表結合テー
ブルを作成すると共に、構成ファイルを作成する。次
に、表構造解析部5はパラメータファイル4から指定帳
票のB表パラメータデータを読み出してB表の結合テー
ブルを作成すると共に、条件テーブル、集計項目テーブ
ル、計算式テーブルをそれぞれ作成する。その後、B表
のパラメータデータから書式に関するデータを取り出し
て印刷書式メモリ8に書き込む。すなわち、表構造解析
部5はA表の列方向の見出し部を解析して図5(A)に
示す様なA表結合テーブルを作成する。ここで、A表結
合テーブルはA表に定義されているファイル名と項目名
とを対応付ける対応テーブルで、「ファイル名」、「シ
ークェンシャル番号SEQ」、「項目名」、「ファイル
記号」とから成る。ここで、シークェンシャル番号SE
Qは同一ファイル内に定義されている項目名を「01」
から連続番号で特定する為のコードであり、また、「フ
ァイル記号」はA表に定義されているファイルを「1」
から連続番号で特定する為のコードである。
Now, after creating the tables A and B, the input unit 1
If you specify an arbitrary form name from and give the print command,
First, the table structure analysis unit 5 reads the A table parameter data of the specified form from the parameter file 4 to create an A table connection table and a configuration file. Next, the table structure analysis unit 5 reads the B table parameter data of the specified form from the parameter file 4 to create a combined table of the B table, and also creates a condition table, a total item table, and a calculation formula table. Then, the format data is extracted from the parameter data in the table B and written in the print format memory 8. That is, the table structure analysis unit 5 analyzes the column heading portion of the A table and creates the A table join table as shown in FIG. Here, the A table connection table is a correspondence table that associates the file names defined in the A table with the item names, such as "file name", "sequential number SEQ", "item name", and "file symbol". Consists of. Where the sequential number SE
Q is "01" for the item name defined in the same file
It is a code to specify by serial number from, and "File symbol" is "1" for the file defined in Table A.
It is a code for specifying from the serial number.

【0023】次に、表構造解析部5はA表パラメータの
先頭行からその内容を解析して構成ファイル7を作成す
る。図7は構成ファイル7のレコード構造を示したもの
で、この構成レコードは「子コード」、「親コード」、
「終了フラグ」、「名称」、「条件」とから成る。「子
コード」および「親コード」はA表内の集計対象項目と
それに対応する集計レコードとの対応関係を表わした
り、集計レベルの階層構造における上下関係(親子関
係)を表わすレコードである。また、「終了フラグ」は
親コードに集計レベルAが含まれている場合に“1”と
なるフラグであり、終了フラグが“1”にセットされて
いる場合にはそれよりも上位レベルへのレコード集計を
行わないことを示している。「名称」はA表に定義され
ている集計レコードのレコード名である。また、「条
件」はA表に定義されているレコード出力条件の内容で
ある。
Next, the table structure analysis unit 5 analyzes the contents of the A table parameter from the first line and creates the configuration file 7. FIG. 7 shows the record structure of the configuration file 7. This configuration record includes "child code", "parent code",
It consists of "end flag", "name", and "condition". The “child code” and the “parent code” are records that represent the correspondence between the items to be totaled in the table A and the corresponding totalized records, or the vertical relationship (parent-child relationship) in the hierarchical structure of the totaling level. Further, the "end flag" is a flag that becomes "1" when the parent code includes the aggregation level A, and when the end flag is set to "1", it is set to a higher level than that. It indicates that record aggregation is not performed. “Name” is the record name of the totalized record defined in table A. The "condition" is the content of the record output condition defined in the table A.

【0024】表構造解析部5はA表パラメータの先頭行
からその内容を解析し、構成ファイル7を作成してゆく
が、その際、現在着目中のレベル(現在レベル)と現在
着目している行(現在行)の行Noとからレベル行データ
を生成する。例えば、図3に示すA表において、A表の
先頭行は集計レベルAであり、かつその行Noは「01」
であるので、この現在レベルと行Noとを組み合せたレベ
ル行データ「A01」を生成し、このレベル行データ
「A01」に記号「・」を結合し、この結合データを最
初の構成レコードの親コードとすると共に、現在行の名
称(集計レコードのレコード名「計」)を取り込んでお
く。ここで、記号「・」はA表のうち項目コードが入力
されていない行を着目行とした場合にセットされるもの
で、これによってソースファイルと対応関係が無いこと
を示している。そして、次行に着目し、それが下位レベ
ルであれば、レベル行データ「B02」に記号「・」を
結合し、これを最初の構成レコードの子コードとする。
このようにして1レコード分のデータとして子コード
「・B02」、親コード「A01」、終了フラグ
「1」、名称「計」が揃ると、この構成レコードは構成
ファイル7に書き出される。
The table structure analysis unit 5 analyzes the contents of the A table parameter from the first row and creates the configuration file 7, and at that time, the level currently being focused on (current level) and the current level of attention. Level line data is generated from the line No. of the line (current line). For example, in the table A shown in FIG. 3, the first row of the table A is the aggregation level A and the row number is “01”.
Therefore, the level row data “A01” that combines the current level and the row No is generated, the symbol “•” is combined with this level row data “A01”, and this combined data is the parent of the first component record. Along with the code, the name of the current line (record name “total” of totalized record) is imported. Here, the symbol “·” is set when the line in the table A in which the item code is not input is set as the line of interest, which indicates that there is no correspondence with the source file. Then, paying attention to the next line, if it is the lower level, the symbol "." Is combined with the level line data "B02", and this is used as the child code of the first component record.
In this way, when the child code “· B02”, the parent code “A01”, the end flag “1”, and the name “total” are prepared as data for one record, this configuration record is written to the configuration file 7.

【0025】また、A表の3行目のように管理単位エリ
アに丸印が付いているような場合には、現在行に入力さ
れている項目コードをその先頭から指定し、ファイル記
号と項目コードとを結合してこの結合コードを構成レコ
ードの子コードとする。この場合、ファイル記号「1」
と項目コード「101」とが結合されるため、子コード
は「1101」となる。また、この場合、子コード「1
101」、親コード「・C03」、名称「人件費」、条
件「G>=0」から成る構成レコードが構成ファイル7
に書き出される。次に、現在行に他の項目コードが有る
かをチェックし、有れば、次の項目コード「102」が
指定される。この場合の構成レコードは子コード「11
02」、親コード「・C03」、名称「人件費」、条件
「G>=0」となる。一方、現在行に他の項目コードが
無ければ、ファイル記号に「1」を加算してその値を更
新することによってファイル記号は「2」となる。そし
て、項目コードとして最初の「2111」が指定される
と、構成レコードの子コードは「22111」となり、
親コードは「・C03」、名称は「人件費」、条件は
「G>=0」となる。
When the management unit area is circled as in the third line of Table A, the item code entered in the current line is specified from the beginning, and the file symbol and item This code is combined with the code and is used as the child code of the configuration record. In this case, file symbol "1"
And the item code “101” are combined, the child code becomes “1101”. In this case, the child code "1
101 ”, parent code“ · C03 ”, name“ personnel cost ”, condition“ G> = 0 ”, and the configuration record is the configuration file 7
Written out. Next, it is checked whether or not there is another item code in the current line, and if there is, the next item code "102" is designated. The configuration record in this case is child code "11.
02 ”, parent code“ · C03 ”, name“ personnel cost ”, and condition“ G> = 0 ”. On the other hand, if there is no other item code in the current line, the file symbol becomes "2" by adding "1" to the file symbol and updating the value. When the first "2111" is specified as the item code, the child code of the configuration record becomes "22111",
The parent code is “· C03”, the name is “labor cost”, and the condition is “G> = 0”.

【0026】このようにして構成ファイル7を作成し終
ると、表構造解析部5はB表の結合テーブル、B表条件
テ−ブル、集計項目テ−ブルを作成する。ここで、B表
結合テ−ブル(図5(B)を参照)は「ファイル名」、
「シークェンシャル番号SEQ」、条件項目の「項目
名」、「ファイル記号」とから成る。また、B表条件テ
−ブル(図5(C)参照)は「ファイル名」、「B表の
列項目位置」、「条件値」、「否定フラグ」とから成
る。ここで、「否定フラグ」とは条件値として「≠(等
しくない)」が設定されていることを示すフラグであ
る。また、集計項目テ−ブル(図5(D)参照)は「フ
ァイル名」、「B表の列項目位置」、集計項目の「項目
名」、「マイナスサイン」とから成る。ここで、「マイ
ナスサイン」は例えば「貸方金額−」という様に集計項
目に項目名にマイナス符号が付いていることを示す。
When the construction file 7 has been created in this way, the table structure analysis unit 5 creates the join table of the B table, the B table condition table, and the total item table. Here, the B table connection table (see FIG. 5B) is the "file name",
It consists of "sequential number SEQ", "item name" of condition item, and "file symbol". The table B condition table (see FIG. 5 (C)) includes a "file name", "column position of table B", "condition value", and "negative flag". Here, the "negative flag" is a flag indicating that "≠ (not equal)" is set as the condition value. The total item table (see FIG. 5D) is composed of "file name", "column item position of table B", total item "item name", and "minus sign". Here, the "minus sign" indicates that the item name is attached with a minus sign in the total item, such as "credit amount-".

【0027】次に、表構造解析部5は計算式テーブルを
作成する。ここで、計算式テーブルは図6に示すように
「変数名」、「計算式」、「値」を1組とするデータを
複数組記憶するもので、B表の列項目位置が変数名とし
てセットされると共に、B表に定義されている計算式が
その実行順序にしたがってセットされる。ここで、変数
名はB表の列項目位置および計算式が定義されている計
算式入力エリアの行Noとを組み合せたものである。
Next, the table structure analysis section 5 creates a calculation formula table. Here, the calculation formula table stores a plurality of sets of data having one set of "variable name", "calculation formula", and "value" as shown in FIG. At the same time as being set, the calculation formulas defined in Table B are set according to the execution order. Here, the variable name is a combination of the column item position of table B and the row number of the calculation formula input area in which the calculation formula is defined.

【0028】このようなテーブル作成が終ると、表構造
解析部5は展開ファイル作成部9を起動させる。する
と、展開ファイル作成部9は展開ファイル作成処理を行
う。なお、展開ファイル11は帳票の出力データである
集計ファイル13を作成するまでに中間的に生成される
ファイルである。ここで、図8はソースファイルが計画
ファイルの場合にその1レコード目から4レコードまで
の内容にしたがって作成された展開レコードを示してい
る。また図9はこれによって作成された展開ファイル1
1の内容を示している。先ず、展開ファイル作成部9は
パラメータ解析テーブル6を参照し、A表結合テーブル
よりファイル名を取り出し、このファイル名に対応する
ソースファイル内の先頭レコードを指定する。次に、A
表結合テーブルから項目名(最初は1レコード目の項目
名)を取り出し、この項目名に対応する項目値を指定フ
ァイル内の指定レコード(最初は先頭レコード)から取
り出す。そして、この項目値と指定ファイル記号とを結
合し、この結合データを展開レコードの分類キーとして
セットする。いま、図8に示す様に計画ファイルの先頭
レコードから予算項目の項目値「101」が取り出さ
れ、この項目値「101」と指定ファイル記号「1」と
が結合され、この結合データ「1101」が展開レコー
ドの1レコード目における分類キーとなる。
Upon completion of such table creation, the table structure analysis unit 5 activates the expanded file creation unit 9. Then, the expansion file creation unit 9 performs the expansion file creation process. The expansion file 11 is a file that is intermediately generated until the total file 13 that is the output data of the form is created. Here, FIG. 8 shows expanded records created according to the contents of the first record to the fourth record when the source file is the plan file. Also, FIG. 9 shows the expanded file 1 created by this.
The contents of 1 are shown. First, the expansion file creation unit 9 refers to the parameter analysis table 6, retrieves the file name from the A table connection table, and specifies the first record in the source file corresponding to this file name. Next, A
The item name (first item name of the first record) is fetched from the table connection table, and the item value corresponding to this item name is fetched from the designated record (first record) in the designated file. Then, this item value and the designated file symbol are combined, and this combined data is set as the classification key of the expanded record. Now, as shown in FIG. 8, the item value “101” of the budget item is extracted from the first record of the plan file, the item value “101” and the designated file symbol “1” are combined, and the combined data “1101” is obtained. Is the classification key in the first record of the expanded record.

【0029】次に、B表結合テーブルの項目名に対応す
る項目値を指定レコードから取り出す。そして、この項
目値に対応する条件値をB表結合テーブルから検索して
一致する条件値が有るかをチェックする。この結果、一
致した条件値に対応する位置の値(この場合、B)をB
表条件テーブルから取り出し、これと一致する項目位置
の値を集計項目テーブル内で検索する。ここで、集計項
目テーブルにはその1レコード目に項目位置Bがセット
されているのでそれに対応する項目名「予算額」が取り
出され、この項目名に対応する項目値「800,00
0」を指定レコードから取り出し、展開レコードの対応
位置「B」に集計するが、この場合、マイナスサインフ
ラグがセットされるものについてはマイナス集計が行わ
れ、マイナスサインフラグがセットされていないものは
プラス集計される。これによって図8に示す様な1レコ
ード目の展開レコードが作成される。
Next, the item value corresponding to the item name of the B table connection table is extracted from the designated record. Then, the condition value corresponding to this item value is searched from the B table connection table to check whether there is a matching condition value. As a result, the position value (B in this case) corresponding to the matched condition value is set to B
The value is fetched from the table condition table, and the value of the item position matching this is searched for in the total item table. Here, since the item position B is set in the first record in the total item table, the item name “budget amount” corresponding to it is taken out, and the item value “800,00” corresponding to this item name is taken out.
"0" is taken out from the designated record, and is aggregated at the corresponding position "B" of the expansion record. In this case, if the minus sign flag is set, minus aggregation is performed, and if the minus sign flag is not set, It is added up. As a result, the first expanded record as shown in FIG. 8 is created.

【0030】次に、1レコード目と同様に2レコード目
の計画種別に対応する項目値も「1」で、この項目値
「1」に一致する条件値はB表条件テーブル内に存在す
るので、B表条件テーブルから項目位置「B」を取り出
し、この項目位置「B」に対応する項目名「予算額」の
値を計画ファイルの2レコード目から取り出す。この場
合、図8に示す様に、計画ファイルの2レコード目の予
算額の項目から「200,000」が取り出され、展開
レコード(2レコード目)の対応位置「B」にプラス集
計される。以下、同様に、計画ファイルを1レコードず
つ順次指定しながら、パラメータ解析テーブル6内のA
表結合テーブル、B表の結合テーブル、条件テーブル、
集計項目テーブルを参照し、計画ファイルの展開レコー
ドを1レコードずつ順次作成してゆく。次に、上述と同
様に会計ファイルに対応してその展開レコードを順次生
成する処理を行う。
Next, like the first record, the item value corresponding to the plan type of the second record is also "1", and the condition value matching this item value "1" exists in the B table condition table. , The item position “B” is fetched from the table B condition table, and the value of the item name “budget amount” corresponding to this item position “B” is fetched from the second record of the plan file. In this case, as shown in FIG. 8, “200,000” is extracted from the budget amount item of the second record of the plan file and added to the corresponding position “B” of the expanded record (second record). In the same manner, A in the parameter analysis table 6 is designated while sequentially designating the plan file record by record.
Table join table, B table join table, condition table,
The expansion record of the plan file is sequentially created one by one by referring to the tabulation item table. Next, similarly to the above, the process of sequentially generating the expansion records corresponding to the accounting file is performed.

【0031】このようにして展開ファイル作成部9は展
開ファイル11を作成したのち、展開集計処理部12を
起動させる。すると、展開集計処理部12は図10のフ
ローチャートにしたがって集計ファイル13を作成す
る。なお、図11は展開集計処理部12の動作内容を具
体的に説明する為の図である。展開ファイル作成部9は
展開ファイル11の内容と構成ファイル7の内容とに基
づいて集計ファイル13を部品展開手法にしたがって生
成する。先ず、展開集計処理部12は展開ファイル11
の先頭から1レコード分のデータを読み込む(ステップ
A1)。そして、次のステップA2ではデータ終了か、
つまり、展開ファイル11の先頭から全てのレコードを
読み出したか否かをチェックする。最初は展開ファイル
11の先頭から1レコード分のデータを読み込んだ場合
であるから、次のステップA3に進み、構成ファイル7
の内容をサーチし、その分類キーと一致する子コードを
持った構成レコードを構成ファイル7から検索する。い
ま、図11に示す様に展開ファイル11の先頭レコード
内の分類キーは「1101」であり、構成ファイル7に
は図7に示す様にこれと一致する子コードが存在する
為、ステップA3でそのことが検出されてステップA4
に進み、集計ファイル13のレコード(集計レコード)
を生成する。即ち、図11の具体例において、先ず、展
開集計処理部12はこの子コード「1101」に対応す
る親コードを構成ファイル7から読み出し、この親コー
ド「・C03」を集計ファイル13の1レコード目の先
頭項目に配置し、そしてこの子コードに対応する名称を
構成ファイル7から読み出し、集計レコードの次の項目
に配置する。これに続けて展開ファイル11のデータ項
目「1,000,000」を集計レコードの次項目以降
に順次配置する。この集計レコードはA表の行No「0
3」に定義されているレコード名「人件費」、集計レベ
ル「C」の集計レコードであり、このレコード名に対応
してA表に定義されている集計対象コードに該当するデ
ータを集計したものである。これによって集計ファイル
13の1レコード目のデータが生成されると、この生成
レコードを集計ファイル13に書き出すが、その際、集
計ファイル13内に既に同一分類キーを持つレコードが
存在していれば、それを1レコードに集計して集計ファ
イル13内に書き込み、また同一分類キーのレコードが
存在していなければ、今回生成したレコードを新たに集
計ファイル13に追加する(ステップA5)。
In this way, the expansion file creating section 9 creates the expansion file 11 and then activates the expansion aggregation processing section 12. Then, the development totalization processing unit 12 creates the totalization file 13 according to the flowchart of FIG. Note that FIG. 11 is a diagram for specifically explaining the operation content of the expansion totalization processing unit 12. The expansion file creation unit 9 generates the totalization file 13 according to the parts expansion method based on the contents of the expansion file 11 and the contents of the configuration file 7. First, the expansion totalization processing unit 12 uses the expansion file 11
The data for one record is read from the beginning of (step A1). Then, at the next step A2, is the data end?
That is, it is checked whether or not all the records have been read from the beginning of the expanded file 11. At first, since the data for one record is read from the beginning of the expansion file 11, the process proceeds to the next step A3, and the configuration file 7
Is searched, and a configuration record having a child code matching the classification key is retrieved from the configuration file 7. Now, as shown in FIG. 11, the classification key in the first record of the expanded file 11 is "1101", and since the configuration file 7 has a child code matching this as shown in FIG. 7, in step A3 When that is detected, step A4
Proceed to and the record of the total file 13 (total record)
To generate. That is, in the specific example of FIG. 11, first, the expansion aggregation processing unit 12 reads the parent code corresponding to the child code “1101” from the configuration file 7, and the parent code “· C03” is the first record of the aggregation file 13. Of the child code is read from the configuration file 7 and placed in the next item of the totalized record. Following this, the data item "1,000,000" of the expanded file 11 is sequentially arranged after the next item of the totalized record. This tabulation record is row No. "0" of table A.
It is an aggregated record with the record name "personnel cost" and aggregation level "C" defined in "3", and aggregates the data corresponding to the aggregation target code defined in table A corresponding to this record name. Is. When the data of the first record of the totalization file 13 is generated by this, the generated record is written to the totalization file 13, but at this time, if a record having the same classification key already exists in the totalization file 13, It is totalized into one record and written in the totalization file 13, and if there is no record with the same classification key, the record generated this time is newly added to the totalization file 13 (step A5).

【0032】次に、構成ファイル7内の該当レコード位
置に終了フラグがセットされているか否かをチェックす
る(ステップA6)。ここで、構成ファイル7内の終了
フラグは親コードの集計レベルが「A」のときに“1”
となるもので、終了フラグが“1”のときにはそのまま
ステップA3に戻るが、終了フラグが“1”でなければ
新たな展開レコードを生成して展開ファイル11への書
き出しを行う(ステップA7)。この場合、図11の
(B)に示す様なレコードを生成して展開ファイル11
へ戻す。即ち、今回生成した集計レコードよりも上位レ
ベルにあるレコード名がA表に定義されていれば、今回
生成した集計レコードの集計結果を上位レベルにあるレ
コード名の集計レコードへ集計させる為に、新たな展開
レコードを生成して展開ファイル11への書き出しを行
う。ここで、構成ファイル7内の該当する親コード「・
C03」を先頭項目に配置し、これに続いて展開ファイ
ル11から読み出したデータを順次配置して成るレコー
ドを展開ファイル11へ書き出す。なお、図9で示した
展開ファイル11において、図中二重線の下に配置した
レコードはこの戻されたレコードを示している。その
後、ステップA3に戻り、以下、構成ファイル7の内容
を全てサーチし、該当レコードが検出されなくなるまで
上述の動作を繰り返す。この結果、ステップA3で該当
レコード無しが検出されて不一致終了となると、ステッ
プA1に戻り、展開ファイル11から次のレコードを読
み出す。このような動作は展開ファイル11の全レコー
ドに対して行われる。これによって集計対象コードに該
当するデータがA表の対応するレコード名の集計レコー
ドに集計される他、この集計レコードよりも上位レベル
にあるレコード名がA表に定義されていれば、この集計
レコードの集計結果が上位レベルにあるレコード名の集
計レコードに集計される。
Next, it is checked whether the end flag is set at the corresponding record position in the configuration file 7 (step A6). Here, the end flag in the configuration file 7 is "1" when the aggregation level of the parent code is "A".
If the end flag is "1", the process directly returns to step A3. If the end flag is not "1", a new expansion record is generated and written in the expansion file 11 (step A7). In this case, a record as shown in FIG.
Return to. That is, if a record name at a higher level than the total record generated this time is defined in the table A, in order to aggregate the totalized result of the total record generated this time to the total record having the record name at the higher level, A new expansion record is generated and written to the expansion file 11. Here, the corresponding parent code “・ in the configuration file 7
C03 ”is arranged in the first item, and subsequently, a record formed by sequentially arranging the data read from the expansion file 11 is written to the expansion file 11. In the expanded file 11 shown in FIG. 9, the record arranged below the double line in the drawing shows the returned record. After that, the process returns to step A3, and thereafter, all the contents of the configuration file 7 are searched, and the above operation is repeated until the corresponding record is not detected. As a result, when no corresponding record is detected in step A3 and the mismatch ends, the process returns to step A1 to read the next record from the expanded file 11. Such an operation is performed for all the records of the expanded file 11. As a result, the data corresponding to the aggregation target code is aggregated in the aggregate record of the corresponding record name in table A, and if a record name at a higher level than this aggregate record is defined in table A, this aggregate record The aggregation result of is aggregated to the aggregation record of the record name at the higher level.

【0033】このようにして集計ファイル13が作成さ
れると、展開集計処理部12は計算/出力判定部14を
起動させる。計算/出力判定部14は図11に示すフロ
ーチャートにしたがって動作する。先ず、計算/出力判
定部14は集計ファイル13の先頭から1レコード分の
データを読み込んでそれを処理対象として指定するが
(ステップB1)、そのとき、集計レコードが無けれ
ば、つまり、全ての集計レコードを処理し終われば、ス
テップB2でそのことが検出され、計算/出力判定部1
4の動作はこの時点で終了する。いま、集計ファイル1
3から先頭レコードが読み出されるので、パラメータ解
析テーブル6内の計算式テーブルを参照し、そのレコー
ドの項目間で計算処理を行い、必要な項目値を補充した
新たなレコードを集計ファイル13に書き込む(ステッ
プB3)。
When the totalization file 13 is created in this way, the expansion totalization processing unit 12 activates the calculation / output determination unit 14. The calculation / output determination unit 14 operates according to the flowchart shown in FIG. First, the calculation / output determination unit 14 reads data for one record from the beginning of the totalization file 13 and designates it as a processing target (step B1). At that time, if there is no totalization record, that is, for all totalizations. When the processing of the record is completed, it is detected in step B2, and the calculation / output determination unit 1
The operation of 4 ends at this point. Now, aggregate file 1
Since the first record is read from No. 3, the calculation formula table in the parameter analysis table 6 is referenced, the calculation process is performed between the items of the record, and a new record supplemented with the necessary item values is written in the totalization file 13 ( Step B3).

【0034】ここで、図13は計算/出力判定部14が
起動される前の集計ファイル13の内容を示し、集計フ
ァイル13からその先頭レコードを読み出すと、計算/
出力判定部14はこの集計レコードの各フィールドにお
ける値を計算式テーブル(図6参照)内の対応する変数
名の値として計算式テーブルにセットする。これによっ
て図6に示す計算式テーブルには、集計レコードの各フ
ィールドB、C、D、Eの値が対応する変数名B、C、
D、Eとしてそれぞれセットされる。次に、計算式テー
ブル内の各計算式を順次実行してゆく。即ち、先ず、計
算式「D+E」にしたがって変数名D、Eに対応する値
を加算し、その結果を変数名F1として計算式テーブル
にセットする。次に、計算式「C−F1」にしたがって
変数名Cの値から変数名F1の値を減算し、その結果を
変数名G2の値として計算式テーブルにセットする。以
下、同様に各計算式にしたがった演算処理を実行してゆ
き、各変数名B3、C3……G3を求める。すると、計
算/出力判定部14はこの変数名B3、C3、D3、E
3、F3、G3に対応する値を集計レコードの対応する
フィールドB、C、D、E、F、Gに代入して新たなレ
コードを作成し、これを集計ファイル13内の元の位置
に書き込む。この結果、図12(1)に示す集計ファイ
ル13の内容(1レコード目)が計算処理後、図14に
示す如くとなる。
FIG. 13 shows the contents of the totalization file 13 before the calculation / output determination unit 14 is activated.
The output determination unit 14 sets the value in each field of this aggregate record in the calculation formula table as the value of the corresponding variable name in the calculation formula table (see FIG. 6). As a result, in the calculation formula table shown in FIG. 6, the variable names B, C, and
D and E are set respectively. Next, each calculation formula in the calculation formula table is sequentially executed. That is, first, the values corresponding to the variable names D and E are added according to the calculation formula “D + E”, and the result is set as the variable name F1 in the calculation formula table. Next, the value of the variable name F1 is subtracted from the value of the variable name C according to the formula "C-F1", and the result is set in the formula table as the value of the variable name G2. Hereinafter, similarly, the arithmetic processing according to each calculation formula is executed to obtain each variable name B3, C3 ... G3. Then, the calculation / output determination unit 14 uses the variable names B3, C3, D3, and E.
Substituting the values corresponding to 3, F3, G3 into the corresponding fields B, C, D, E, F, G of the aggregate record to create a new record, and write this at the original position in the aggregate file 13. . As a result, the contents (first record) of the totalization file 13 shown in FIG. 12 (1) become as shown in FIG. 14 after the calculation processing.

【0035】次に、いま計算処理した集計レコードから
その先頭項目に配置されているコード「・C03」をキ
ーとして取り出し(ステップB4)、これに該当する親
コードを持った構成レコードを構成ファイル7から検索
する(ステップB5)。この構成レコードには出力条件
が存在するため、その条件内容を取り出し(ステップB
6)、この条件内容を解析し(ステップB7)、当該集
計レコードを出力対象とするかの判定を行う(ステップ
B8)。具体的には逆ポーランド記法にしたがい条件式
に該当項目の値を代入することにより真偽の判定を行
う。この結果、「偽」ならばこの集計レコードを処理対
象外とするためにステップB1に戻り、次の集計レコー
ドを処理対象として指定するが、「真」ならば、この集
計レコードを出力ファイル15に出力対象レコードとし
て書き出す(ステップB9)。
Next, the code ".C03" placed in the first item of the totalized record just calculated is taken out as a key (step B4), and the constituent record having the corresponding parent code is constituted by the constituent file 7 To search (step B5). Since the output condition exists in this configuration record, the content of the condition is extracted (step B
6) The contents of the condition are analyzed (step B7), and it is determined whether the total record is to be output (step B8). Specifically, the true / false judgment is performed by substituting the value of the corresponding item into the conditional expression according to the reverse Polish notation. As a result, if it is "false", the process returns to step B1 to exclude this aggregated record as a processing target, and the next aggregated record is designated as a processing target. If "true", this aggregated record is output to the output file 15. It is written as an output target record (step B9).

【0036】このように計算/出力判定部14は集計フ
ァイル13から1レコードを順次読み出して計算処理お
よび出力判定処理を行い、A表に定義されているレコー
ド出力条件に該当するレコードのみを出力ファイル15
に書き込む。この場合、レコード出力条件は「B>=
0」であり、B表の列項目位置「G」に定義されている
集計レコードの項目名「計画差」において、その値が
「正」の集計レコードのみが選択されて出力ファイル1
5に書き込まれる。このような動作を集計ファイル13
の全レコードに対して行うと、ステップB2でデータ終
了が検出されるため計算/出力判定部14は出力ファイ
ル15内の各レコードをその先頭項目の内容にしたがっ
て昇順にソートする(ステップB10)。このようにし
てソートされた出力ファイル15の各レコードは、帳票
出力時の印刷順に並べ替えられる。そして、計算/出力
判定部14は印刷処理部16を起動させる。
As described above, the calculation / output determination unit 14 sequentially reads one record from the totalization file 13 and performs the calculation process and the output determination process, and outputs only the records that meet the record output conditions defined in the table A. 15
Write in. In this case, the record output condition is "B>="
0 ”, and only the aggregate record whose value is“ positive ”in the item name“ plan difference ”of the aggregate record defined in the column item position“ G ”of table B is selected and output file 1
Written to 5. This kind of operation is summarized file 13
When all the records are processed, the end of data is detected in step B2, and therefore the calculation / output determination unit 14 sorts each record in the output file 15 in ascending order according to the contents of the first item (step B10). The records of the output file 15 sorted in this way are rearranged in the print order when the form is output. Then, the calculation / output determination unit 14 activates the print processing unit 16.

【0037】すると、印刷処理部16は印刷書式メモリ
8の内容を取り込んでその印刷書式にしたがって出力フ
ァイル15の内容を帳票フォーマットと共にプリンタ1
7から印刷出力させることにより帳票作成を行う。この
場合、印刷処理部16は出力ファイル15の先頭から1
レコードずつ集計レコードを読み出し、この集計レコー
ド内に含まれている集計レベルを判別し、それに対応す
る括り用の罫線フォーマットと共に集計レコード内の名
称およびデータを1レコードずつ印字出力させると共
に、印刷書式メモリ8に記憶されている各項目名を順次
取り出して帳票フォーマットの対応位置に印刷出力させ
る。図2はこの場合の帳票印刷例で、その行方向には集
計レベルに応じた階層構造のフォーマットと共に集計レ
コードのレコード名が印刷されると共に、列方向には集
計レコードの項目名が印刷され、更に出力ファイル15
の内容が1レコード毎に印刷出力される。
Then, the print processing unit 16 takes in the contents of the print format memory 8 and, according to the print format, the contents of the output file 15 together with the form format to the printer 1.
The form is created by printing out from 7. In this case, the print processing unit 16 prints 1 from the beginning of the output file 15.
The total record is read for each record, the total level included in this total record is determined, and the name and data in the total record are printed out one by one together with the corresponding ruled line format for bundling, and the print format memory Each item name stored in 8 is sequentially taken out and printed out at the position corresponding to the form format. FIG. 2 shows an example of printing a form in this case. In the row direction, the record name of the total record is printed together with the hierarchical structure format according to the total level, and the item name of the total record is printed in the column direction. Further output file 15
The content of is printed out for each record.

【0038】以上の様に、本実施例においては業務担当
者が所望する帳票を得る為にその出力イメージにしたが
って集計定義表であるA表、B表を任意に定義しておく
と、その定義内容にしたがって任意のレコード項目の内
容が指定ファイルから読み出されて分類集計されると共
に、その集計結果が定義内容通りの並び順で、かつ集計
レベルに応じた階層構造で印刷されるので、業務担当者
であっても所望する帳票を容易に得ることができる。特
に、A表に定義したレコード出力条件に合致した集計レ
コードのみが帳票出力されるので、出力目的にあった帳
票を得ることが可能となる。この場合、レコード出力条
件をきめ細かに定義しておけば、出力レコードの絞り込
みもきめ細かなものとなる。
As described above, in the present embodiment, in order to obtain the form desired by the person in charge of business, the table A and the table B, which are the total definition tables, are arbitrarily defined according to the output image. The contents of any record item are read from the specified file according to the contents and classified and aggregated, and the aggregated results are printed in the order of the definition and in the hierarchical structure according to the aggregation level. Even the person in charge can easily obtain the desired form. In particular, since only the totalized records that match the record output conditions defined in the table A are output as the form, it is possible to obtain the form that is suitable for the output purpose. In this case, if the record output conditions are finely defined, the output records can be narrowed down finely.

【0039】なお、上記実施例は、レコード出力条件と
して「G>=0」を例に挙げたが、論理和や論理積ある
いは範囲指定等によってレコード出力条件を定義しても
よい。また、レコード出力条件を複数の項目に対応付け
て定義してもよい。一方、上記実施例はA表、B表を別
個独立に定義するようにしたが、A表、B表を同一画面
上において同時に定義するようにしてもよい。また、上
記実施例においては、A表の見出し部によって構成され
るマトリックス上の任意の交点位置に項目コードを入力
するようにしたが、項目名を入力するようにしてもよ
い。
In the above embodiment, "G> = 0" is taken as an example of the record output condition, but the record output condition may be defined by a logical sum, a logical product or a range specification. Further, the record output condition may be defined in association with a plurality of items. On the other hand, in the above embodiment, the tables A and B are defined separately and independently, but the tables A and B may be defined simultaneously on the same screen. Further, in the above embodiment, the item code is input at an arbitrary intersection position on the matrix constituted by the heading section of the table A, but the item name may be input.

【0040】[0040]

【発明の効果】この発明によれば、帳票処理プログラム
を変更することなしに、一般ユーザである業務担当者が
所望する帳票を得る為に、出力レコードのレコード名お
よびその項目名と共に、レコード抽出条件としての項目
内容、処理対象項目、レコード出力条件を単に指定して
おくだけで、その指定内容に基づいて出力目的に合った
レコードのみを意図したイメージ通りに帳票上に配置し
て出力することができるので、従来の様にシステムエン
ジニア等の専門家にプログラムの作成を依頼する必要は
なく、所望する帳票を誰でも簡単に得ることが可能とな
り、極めて実用性が高いものとなる。
According to the present invention, in order to obtain a form desired by a business person who is a general user without changing the form processing program, record extraction is performed together with the record name of the output record and its item name. By simply specifying the item contents as the condition, the process target item, and the record output condition, only the records that match the output purpose based on the specified contents are arranged and output on the form as intended image Therefore, it is not necessary to ask a specialist such as a system engineer to create a program as in the conventional case, and anyone can easily obtain a desired form, which is extremely practical.

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

【図1】実施例に係るデータ処理装置のブロック構成
図。
FIG. 1 is a block configuration diagram of a data processing device according to an embodiment.

【図2】帳票の印刷出力例を示した図。FIG. 2 is a diagram showing a printout example of a form.

【図3】A表に定義された内容を具体的に示した図。FIG. 3 is a diagram specifically showing the contents defined in table A.

【図4】B表に定義された内容を具体的に示した図。FIG. 4 is a diagram specifically showing the contents defined in table B.

【図5】図3、図4に示すA表、B表を解析することに
よって得られたA表結合テーブル、B表結合テーブル、
B表条件テーブル、B表集計項目テーブルの内容を具体
的に示したもので、(A)はA表結合テーブル、(B)
はB表結合テーブル、(C)はB表条件テーブル、
(D)はB表集計項目テーブルを示した図。
5 is a table A join table, a table B join table obtained by analyzing the tables A and B shown in FIG. 3 and FIG.
The contents of the B table condition table and the B table total item table are concretely shown. (A) is the A table join table, (B)
Is a B table join table, (C) is a B table condition table,
FIG. 6D is a diagram showing a B-table tabulation item table.

【図6】B表を解析することによって得られた計算式テ
ーブルを示した図。
FIG. 6 is a diagram showing a calculation formula table obtained by analyzing Table B.

【図7】集計ファイル13の具体的な内容を示した図。FIG. 7 is a diagram showing the specific contents of a summary file 13.

【図8】ソースファイルが計画ファイルの場合に、この
計画ファイルのレコード内容に基づいて作成された展開
レコードを示した図。
FIG. 8 is a diagram showing an expansion record created based on the record contents of the plan file when the source file is the plan file.

【図9】展開ファイル11の内容を具体的に示した図。FIG. 9 is a diagram concretely showing the contents of a development file 11.

【図10】展開集計処理部12による展開集計処理を示
したフローチャート。
FIG. 10 is a flowchart showing a deployment tabulation process by a deployment tabulation processing unit 12.

【図11】展開集計処理の動作内容を具体的に示した図
で、(A)は展開ファイル、構成ファイルから集計レコ
ードが生成される様子を示した図、(B)は新たに生成
される展開レコードを示した図。
11A and 11B are diagrams specifically showing the operation contents of the development and aggregation processing, in which FIG. 11A shows a development file, and a diagram showing how aggregation records are generated from a configuration file, and FIG. The figure which showed the expansion record.

【図12】計算/出力判定部14による計算/出力判定
処理を示したフローチャート。
FIG. 12 is a flowchart showing calculation / output determination processing by the calculation / output determination unit 14.

【図13】計算/出力判定部14が起動される前におけ
る集計ファイル13の内容を示した図。
FIG. 13 is a diagram showing the contents of a summary file 13 before the calculation / output determination unit 14 is activated.

【図14】計算/出力判定部14によって計算処理が行
われた後の集計ファイル13の内容を示した図。
FIG. 14 is a diagram showing the contents of a summary file 13 after calculation processing is performed by a calculation / output determination unit 14.

【図15】計算/出力判定部14によって作成された出
力ファイル15の内容を示した図。
FIG. 15 is a diagram showing the contents of an output file 15 created by a calculation / output determination unit 14.

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

1 入力部 2 パラメータ設定部 3 表示部 4 パラメータファイル 5 表構造解析部 6 パラメータ解析テーブル 7 構成ファイル 8 印刷書式メモリ 9 展開ファイル作成部 10 データファイル 11 展開ファイル 12 展開集計処理部 13 集計ファイル 14 計算/出力判定部 15 出力ファイル 16 印刷処理部 17 プリンタ 1 Input Section 2 Parameter Setting Section 3 Display Section 4 Parameter File 5 Table Structure Analysis Section 6 Parameter Analysis Table 7 Configuration File 8 Print Format Memory 9 Expanded File Creation Section 10 Data File 11 Expanded File 12 Expanded Aggregation Processing Section 13 Aggregated File 14 Calculation / Output determination unit 15 Output file 16 Print processing unit 17 Printer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】出力レコードのレコード名を指定すると共
に、レコード抽出条件としての項目内容を指定し、かつ
出力レコードの項目名を指定すると共に、抽出されたレ
コードの中からどの項目データを処理対象とするかの処
理対象項目を指定し、更に、出力レコードの任意の項目
名に対応付けてレコード出力条件を指定する指定手段
と、 この指定手段で指定された項目内容に該当するレコード
を所定のファイルから読み出す読出手段と、 この読出手段によって読み出されたレコードに基づい
て、前記指定手段で指定された出力レコードのレコード
名毎に、指定された処理対象項目のデータを加工処理す
る処理手段と、 この処理手段によって加工処理された各出力レコードの
うち、前記指定手段で任意の項目に対応付けて指定され
たレコード出力条件に該当するレコードのみを出力対象
として選択する選択手段と、 この選択手段で選択された出力レコードを前記指定手段
で指定されたレコード名および項目名に対応付けて出力
する出力手段と、 を具備したことを特徴とするデータ処理装置。
1. A record name of an output record is specified, an item content as a record extraction condition is specified, an item name of an output record is specified, and which item data is to be processed from the extracted record. Whether or not to specify the item to be processed, and further to specify a record output condition in association with an arbitrary item name of the output record, and a record corresponding to the item content specified by the specifying unit. Reading means for reading from the file; and processing means for processing the data of the designated processing target item for each record name of the output record designated by the designating means on the basis of the record read by the reading means. Of the output records processed by the processing means, the records designated by the designation means in association with any item Selecting means for selecting only records corresponding to the output condition as output targets, and outputting means for outputting the output record selected by the selecting means in association with the record name and item name designated by the designating means. A data processing device comprising:
JP6096983A 1994-04-12 1994-04-12 Data processor Pending JPH07282162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6096983A JPH07282162A (en) 1994-04-12 1994-04-12 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6096983A JPH07282162A (en) 1994-04-12 1994-04-12 Data processor

Publications (1)

Publication Number Publication Date
JPH07282162A true JPH07282162A (en) 1995-10-27

Family

ID=14179455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6096983A Pending JPH07282162A (en) 1994-04-12 1994-04-12 Data processor

Country Status (1)

Country Link
JP (1) JPH07282162A (en)

Similar Documents

Publication Publication Date Title
JP3108984B2 (en) Data processing device
US5870712A (en) Data processing method and its apparatus
US6108677A (en) Data processing apparatus
JP2001222613A (en) Method and device for displaying commercial area and medium
JP3109324B2 (en) Data aggregation device
JP3548866B2 (en) Data processing device
JPH07282162A (en) Data processor
JP4096319B2 (en) Electronic form management system, management method, and program therefor
JP3551445B2 (en) Form processing device
JPH04181372A (en) Table sheet totalization system for data
JPH07262165A (en) Aggregating method for two-dimensional data
JPH04137038A (en) Application software generation device
CA1321034C (en) Apparatus and method for processing data corresponding to word labels
JPH0740602A (en) Printing operation method of table type data
JP3109330B2 (en) Form output device
JP3554768B2 (en) Data aggregation device
JPH10254979A (en) Data processing system and data base design system
JP3482651B2 (en) Data processing device
JP3109331B2 (en) Form output device
JP2024068999A (en) Program for creating cash flow statements
JPH07141445A (en) Data processor
JPH0785176A (en) Data processing unit
JPH06309345A (en) Data output method
JP3309164B2 (en) Print processing device
JP2001167210A (en) Account system