JPH03225449A - Data processor - Google Patents

Data processor

Info

Publication number
JPH03225449A
JPH03225449A JP2021713A JP2171390A JPH03225449A JP H03225449 A JPH03225449 A JP H03225449A JP 2021713 A JP2021713 A JP 2021713A JP 2171390 A JP2171390 A JP 2171390A JP H03225449 A JPH03225449 A JP H03225449A
Authority
JP
Japan
Prior art keywords
item
record
key
file
assembly
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
JP2021713A
Other languages
Japanese (ja)
Inventor
Katsuhiro Nagata
永田 勝裕
Kazuhiko Shiono
塩野 一彦
Hirotaka Kubo
久保 寛高
Takashi Okubo
大久保 隆司
Akira Noguchi
明 野口
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2021713A priority Critical patent/JPH03225449A/en
Publication of JPH03225449A publication Critical patent/JPH03225449A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To transcribe plural groups of items without transcribing items, one by one, and to process a data file optionally by composing a decomposed file into a composed file consisting of plural sets of item group for each a 1st item group. CONSTITUTION:When a 2nd data file where item groups are transcribed like a bill is generated from a 1st data file consisting of records including an item group of a 1st item as a key and a set of 2nd plural items like a sales slip, the item group of records of the 1st data file is specified. Then plural decomposed records where the 1st item and a specified set of group of items are made to correspond to each other are generated and composed records having plural sets of item group for each 1st item are generated from the decomposed record. Consequently, plural sets of item group are made to correspond to the 1st item and transcribed without complicate processing when necessary, and an optional record can be processed at need.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はルコードに複数の項目を含むデータベース化さ
れたデータファイルを処理するデータ処理装置に関し、
特にルコード中に複数項目が複数組存在するレコードの
分解/組立処理を行うデータ処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data processing device for processing a database data file containing a plurality of items in a code.
In particular, the present invention relates to a data processing device that performs disassembly/assembly processing of records in which multiple sets of multiple items exist in a record code.

〔従来の技術〕[Conventional technology]

データ処理業務を行う場合、データベース機能を使用す
るときがある。その−例として売上伝票から請求書を作
成するデータ処理業務について説明する。売上伝票には
、顧客名1日付等のキーとなる欄及び販売した商品に関
する欄、即ち商品の名前、商品コード、単価1個数、金
額などの欄がある。そして、売上伝票には販売商品に関
する名前、商品コード、単価2個数、金額等の複数の欄
を1組にしたものを繰り返された表が存在する。
When performing data processing operations, database functions are sometimes used. As an example, a data processing operation for creating an invoice from a sales slip will be explained. The sales slip has key columns such as customer name and date, and columns related to sold products, such as product name, product code, unit price, quantity, and amount. The sales slip includes a table that repeats a set of multiple columns such as name, product code, unit price, quantity, and amount related to sold products.

また請求書も同様に販売商品に関する複数の欄を1組に
したものが繰り返された表が存在する。実際に業務にお
いては、1ケ月ごとに各顧客に対して売上伝票の販売商
品データを請求書に転記して、最後に1ケ月間の販売金
額の合計を記入し請求書を発行している。
Similarly, invoices have a table in which a set of multiple columns related to sold products is repeated. In actual business, the sales item data from the sales slip is transferred to an invoice for each customer every month, and finally the total sales amount for the month is entered and the invoice is issued.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

売上伝票を従来のデータベース処理ソフトウェアで整理
する場合、1件の伝票がルコードに対応し、また1つの
欄が1項目に対応する。このため、売上伝票の販売商品
名の欄が5行存在していても、それらは従来のデータベ
ース処理ソフトウェアでは関連性がなく、全く独立した
項目になる売上伝票に基づき、各顧客毎に請求書を発行
する場合、売上伝票の販売商品に関する項目を請求書に
転記するという加工が必要となるが、この場合は販売商
品の欄の関連性が不明であり、販売商品欄の繰返しの転
記処理ができず、1行ずつの転記処理を繰返すという非
常に複雑な手順を行わなければいけないという問題があ
った。
When organizing sales slips using conventional database processing software, one slip corresponds to a rule code, and one column corresponds to one item. For this reason, even if there are five rows of sales product name columns on a sales slip, they are not related to conventional database processing software and become completely independent items. When issuing a sales slip, it is necessary to post the items related to the sold products in the sales slip to the invoice, but in this case, the relevance of the sold products column is unknown, and the repeated posting process of the sold products column is necessary. However, there was a problem in that a very complicated procedure of repeating the transcription process line by line had to be performed.

本発明は斯かる事情に鑑みなされたものでありルコード
中にキーとなる項目と、複数の項目を1組とした項目群
、複数組とを持つデータファイルの項目群の範囲を指定
し、キーとなる第1の項目と1組の項目群とからなる分
解ファイルに分解し、分解された分解ファイルを第1の
項目毎に項目群複数組からなる組立ファイルに組立てる
ことにより、複数の項目群を1つずつ転記するという複
雑な処理を行うことなく、項目の転記処理を可能とし、
データファイルの加工を任意に行えるデータ処理装置を
提供することを目的にする。
The present invention was made in view of the above circumstances, and it specifies the range of the item group of a data file that has a key item in the code, an item group consisting of a plurality of items, and a plurality of sets, and By decomposing the decomposed files into decomposed files consisting of a first item and a set of item groups, and assembling the decomposed decomposed files into an assembly file consisting of multiple sets of item groups for each first item, multiple item groups can be created. It enables the posting process of items without the complicated process of posting them one by one.
The purpose of the present invention is to provide a data processing device that can arbitrarily process data files.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係るデータ処理装置は、キーとなる第1の項目
と、それに関連する第2の項目複数を1組とする項目群
複数組とを含むレコードを有するデータファイルを処理
するデータ処理装置において、前記レコードにおける前
記項目群を指定する手段と、前記レコードから第1の項
目と、指定された項目群の1組とを対応させた複数の分
解レコードを生成する分解レコード生成手段と、生成さ
れた複数の分解レコードがら第1の項目ごとに前記項目
群複数組を有する組立レコードを生成する組立レコード
生成手段とを備えることを特徴とする。
A data processing device according to the present invention is a data processing device that processes a data file having a record including a plurality of item groups each including a first item serving as a key and a plurality of second items related to the first item. , means for specifying the item group in the record, decomposed record generating means for generating a plurality of decomposed records in which a first item from the record corresponds to one set of the specified item group; and assembly record generation means for generating an assembly record having the plurality of item groups for each first item from the plurality of disassembly records.

〔作用〕[Effect]

本発明においては、例えば売上伝票の如く、キーとなる
第1の項目と、第2の項目複数を1mとする項目群とを
含むレコードで構成される第1のデータファイルから、
請求書の如く前記項目群を転記した第2のデータファイ
ルを作成する場合、第1のデータファイルのレコードに
おける項目群を指定し、前記レコードから、第1の項目
と指定された項目群の1組とを対応させた複数の分解レ
コードを生成し、分解レコードから第1の項目ごとに項
目群複数組を有する組立レコードを生成する。これによ
り第1のデータファイルの第1の項目及び複数組の項目
群が第2のデータファイルに自動的に転記されることに
なる。
In the present invention, from a first data file consisting of records including a first item serving as a key and a group of items with a plurality of second items equal to 1m, such as a sales slip, for example,
When creating a second data file such as an invoice in which the item group is transferred, specify the item group in the record of the first data file, and from the record, one of the item group specified as the first item. A plurality of disassembly records are generated in which the sets are associated with each other, and an assembly record having a plurality of sets of item groups is generated for each first item from the disassembly records. As a result, the first item and the plurality of item groups of the first data file are automatically transferred to the second data file.

〔実施例〕〔Example〕

以下、本発明をその実施例を示す図面に従い説明する。 Hereinafter, the present invention will be explained with reference to the drawings showing embodiments thereof.

本発明に係るデータ処理装置(以下本発明装置という)
はワードプロセッサの機能をなす文書処理モードと、カ
ード表示形式等でレコードデータを入力し、ソート、セ
レクト等の種々データ処理をなし、カード形式等で処理
結果を出力するデータ処理モードとを切換えてなし得る
ものである。第1図は本発明装置のハード構成を示すブ
ロック図であり、第2図はキーボードの構造を示す平面
図である。第1図において1はマイクロプロセッサより
なる中央処理袋W(以下CPIJという)であり、各種
の入出力装置の制御、文書処理、データ処理等を行う。
Data processing device according to the present invention (hereinafter referred to as the device of the present invention)
can switch between a document processing mode that functions as a word processor, and a data processing mode that inputs record data in card display format, performs various data processing such as sorting and selecting, and outputs the processing results in card format, etc. It's something you get. FIG. 1 is a block diagram showing the hardware configuration of the device of the present invention, and FIG. 2 is a plan view showing the structure of the keyboard. In FIG. 1, reference numeral 1 denotes a central processing unit W (hereinafter referred to as CPIJ) consisting of a microprocessor, which controls various input/output devices, processes documents, processes data, and the like.

CPU 1には以下の各素子がハス5を介して接続され
ている。2はダイナミックRAMからなる主メモリ (
以下RAMという)であり、種々プログラムや文書処理
モードで作成された文書ファイル及びデータ処理モード
で作成したデータ処理ファイルが一時的に記憶される。
The following elements are connected to the CPU 1 via a lotus 5. 2 is the main memory consisting of dynamic RAM (
The RAM (hereinafter referred to as RAM) temporarily stores various programs, document files created in a document processing mode, and data processing files created in a data processing mode.

3はハードディスクI10インクフェイス(以下)ID
DT/Fという)4を介してバス5に接続されたハード
ディスクよりなる第1補助メモリ (以下1(Dという
)である。f(001/F 4はハードディスク制御部
を含みCPU1からの起動命令によりDMAコントロー
ラ60制御下に、RAM 2とHD3との間の高速デー
タ転送を制御する。7は表示手段としてのCRTであり
、C1?Tインタフエイス(以下CRTI/Fという)
8を介してバス5に接続されている。CRTI/F 8
はCRT画面を制御する回路を含み、CPU 1の制御
のもと表示用コードデータをキャラクタジェネレータR
OM (以下CGROMという)9でパターンに変更し
てビデオRAMを用いた表示用バッファメモリ (以下
VRAMという)10に展開してCRT 7に表示する
3 is hard disk I10 ink face (below) ID
A first auxiliary memory (hereinafter referred to as 1 (hereinafter referred to as D)) consisting of a hard disk connected to a bus 5 via a bus 5 (hereinafter referred to as DT/F) 4 (hereinafter referred to as 1 (D)). Under the control of the DMA controller 60, it controls high-speed data transfer between the RAM 2 and the HD 3. 7 is a CRT as a display means, and a C1?T interface (hereinafter referred to as CRTI/F)
8 to the bus 5. CRTI/F 8
includes a circuit for controlling the CRT screen, and sends display code data to the character generator R under the control of the CPU 1.
The pattern is changed in an OM (hereinafter referred to as CGROM) 9, expanded to a display buffer memory (hereinafter referred to as VRAM) 10 using a video RAM, and displayed on a CRT 7.

11はデータ、テキスト等の入力や種々の機能の選択等
をなす入力手段としてのキーボードであり、キーボード
制御回路用の回路を含むキーボードインタフェイス (
以下キーボードI/F という)12を介してバス5に
接続される。前記キーボード11は基本的には市販のワ
ードプロセッサのキー配列をなしていて第2図にその要
部の配列を示す如く、機能モードによって変わるファン
クションキーF1〜FIO及び固定の機能指定用ファン
クションキーFil〜F18を有している。その他キー
ボード11は実行キーSWI及びカーソルキーSW2並
びに文字入カキ−群を有している。キーボードI/F 
12は押されたキーを判別して制御信号及びデータ信号
に変換してCPU 1に送る。CPU 1はこの制御信
号を受けて種々の機能を実行する。
Reference numeral 11 denotes a keyboard as an input means for inputting data, text, etc. and selecting various functions, and includes a keyboard interface (including a circuit for a keyboard control circuit).
It is connected to the bus 5 via a keyboard I/F (hereinafter referred to as a keyboard I/F) 12. The keyboard 11 basically has the key layout of a commercially available word processor, and as shown in FIG. 2, the keyboard 11 has function keys F1 to FIO, which change depending on the function mode, and fixed function keys FIL to FIO, which change depending on the function mode. It has F18. In addition, the keyboard 11 has an execution key SWI, a cursor key SW2, and a group of character entry keys. Keyboard I/F
12 determines the pressed key, converts it into a control signal and a data signal, and sends the signal to the CPU 1. The CPU 1 receives this control signal and executes various functions.

一方23はイメージリーダ(以下IRという)であり、
写真や画像を読取り、イメージリーダインタフェイス(
以下イメージリーダI/Fという)24を通じそこで読
取ったイメージはRAM 3に書込まれ、その制御はC
PU 1で行う。
On the other hand, 23 is an image reader (hereinafter referred to as IR),
Read photos and images using the image reader interface (
The image read there through the image reader I/F (hereinafter referred to as image reader I/F) 24 is written to the RAM 3, which is controlled by the C
Perform with PU 1.

13は水平プリンタ、レーザビームプリンタ、ワイヤド
ツトプリンタ等のプリンタであり、例えば48 X 4
Bドツトマトリックス文字を印字する印字データの授受
をRAM 3とプリンタ13の印字バッファ(図示せず
)との間で行うプリンタインクフェイス(以下プリンタ
I/Pという)14を介してバス5に接続され、印字制
御はCPU  1で行う。
13 is a printer such as a horizontal printer, a laser beam printer, a wire dot printer, etc., for example, a 48 x 4
It is connected to the bus 5 via a printer ink face (hereinafter referred to as printer I/P) 14 that exchanges print data for printing B dot matrix characters between the RAM 3 and a print buffer (not shown) of the printer 13. , printing control is performed by CPU 1.

15はフロッピーディスクインタフェイス(以下FDD
I/Fという)16を介してバス5に接続されるフロッ
ピーディスクよりなる可搬式の第2補助メモリ (以下
FDという)であり、本発明装置で作成の文書ファイル
及びデータファイルを1(D3から転送して蓄えたり、
他の文書ファイル作成装置等にて作成の文書ファイル等
を蓄える。FDDI/F16はフロッピーディスク制御
部を含み、CPU 1からの起動命令によりDMAコン
トローラ6の制御下に、RAM2とFD15間の高速デ
ータ転送を制御する。
15 is a floppy disk interface (hereinafter referred to as FDD)
A portable second auxiliary memory (hereinafter referred to as FD) consisting of a floppy disk connected to bus 5 via I/F 16, which stores document files and data files created by the device of the present invention from 1 (D3 to Transfer and store,
Store document files created using other document file creation devices. The FDDI/F 16 includes a floppy disk control section, and controls high-speed data transfer between the RAM 2 and the FD 15 under the control of the DMA controller 6 in response to a startup command from the CPU 1.

上記のハード構成の本発明装置を機能ブロック的に図示
すると第3図の如くなる。即ち、制御手段17はCPU
 1とRAM 2又はHO2に貯蔵のCPU  1の制
御手順を示す種々プログラムに対応し、主記憶手段18
はRAM 2に対応し、補助記憶手段19はHO2及び
HDDI/F 4 、FD15及びFDDI/F16に
対応し、表示手段20はCRT 7及びCRTI/F 
B等に対応し 入力手段21はキーボード11及びキー
ボードI/F 12に、印字手段22はプリンタ13及
びプリンタI/F 14に、イメージ読取手段25はl
R23及びイメージリーダI/F24にそれぞれ対応す
る。
The apparatus of the present invention having the above-mentioned hardware configuration is illustrated in a functional block diagram as shown in FIG. 3. That is, the control means 17 is the CPU
1 and RAM 2 or HO2, the main storage means 18 corresponds to various programs indicating control procedures of the CPU 1.
corresponds to RAM 2, auxiliary storage means 19 corresponds to HO2 and HDDI/F 4 , FD15 and FDDI/F 16, display means 20 corresponds to CRT 7 and CRTI/F
Corresponding to B, etc., the input means 21 is connected to the keyboard 11 and the keyboard I/F 12, the printing means 22 is connected to the printer 13 and the printer I/F 14, and the image reading means 25 is connected to the l
They correspond to R23 and image reader I/F24, respectively.

前記制御手段17は主記憶手段18上に種々のバッファ
メモリMl、M2・・・及びテーブルTl、T2・・・
を形成し、前記種々のプログラム(ソフトウェア)によ
って実現される制御手段P2〜P5により、前記バッフ
ァメモリMl、M2・・・及びテーブルTI、T2・・
・を用いて文書ファイル機能やデータ処理機能を実行す
る。
The control means 17 has various buffer memories Ml, M2, . . . and tables Tl, T2, . . . on the main storage means 18.
The buffer memories Ml, M2... and the tables TI, T2... are controlled by the control means P2 to P5 realized by the various programs (software).
・Use to execute document file functions and data processing functions.

次にバッファメモリMl、M2・・・及びテーブルTl
、T2・・・について説明する。
Next, buffer memories Ml, M2... and table Tl
, T2... will be explained.

Mlは文書処理モードで作成したテキストやデータ処理
モードで作成したカードのイメージデータ(テキストデ
ータ)を蓄えるテキストメモリ1、T1はテキストメモ
リIMIにおけるテキストデータを管理するための真数
、ライン数やアクセス中の頁、ライン番号等が記憶され
るテキスト管理テーブル1、M2はデータ処理モードに
て入力した複数の項目(フィールド)からなるレコード
を複数性蓄えるレコードメモリ1、T2はレコードメモ
リM2におけるレコードを管理するためのレコード数、
項目数、アクセス中のレコード及び項目番号等を管理す
るレコード管理テーブル1、T3はデータ処理モードに
おいてデータが入力される項目を管理するためのデータ
が記憶される項目管理テーブル1、旧は種々の処理特使
用される種々ワークバッファ及び種々レジスタ、旧は種
々プログラムを記憶するプログラムメモリ、T4はHO
2上での文書ファイル及びデータ処理ファイル、並びに
種々プログラムの読出し及び書込みに必要なデータを記
憶したディレクトリテーブルである。
Ml is text memory 1 that stores text created in document processing mode and card image data (text data) created in data processing mode, and T1 is a true number, line number, and access for managing text data in text memory IMI. Text management table 1 stores internal pages, line numbers, etc. M2 is a record memory 1 that stores records consisting of multiple items (fields) input in data processing mode, and T2 stores records in record memory M2. number of records to manage,
The record management table 1 that manages the number of items, records being accessed, item numbers, etc. T3 is the item management table 1 that stores data for managing items into which data is input in the data processing mode. Various work buffers and various registers used specifically for processing, former program memory for storing various programs, T4 is HO
This is a directory table that stores document files, data processing files, and data necessary for reading and writing various programs on the 2.

またレコード分解/組立時に用いるバッツァメモリ及び
テーブルも同様に、テキスト管理テーブル2T5、テキ
ストメモリ2M5、項目管理テーブル2T7、レコード
管理テーブル2T6、レコードメモリ2M6及び後述す
るリピート処理に用いるリピートテーブルT8から構成
されている。
Similarly, the batza memory and tables used during record disassembly/assembly are composed of a text management table 2T5, a text memory 2M5, an item management table 2T7, a record management table 2T6, a record memory 2M6, and a repeat table T8 used for repeat processing to be described later. There is.

次に制御手段17について説明する。Next, the control means 17 will be explained.

Plは制御手段の基本的な機能を果たす主制御手段で、
入出力制御手段P2、ファイル管理手段P3、文書処理
手段P4、データ処理手段P5を管理制御する。
Pl is the main control means that performs the basic functions of the control means,
It manages and controls input/output control means P2, file management means P3, document processing means P4, and data processing means P5.

入出力制御手段P2は入力手段21、表示手段20、印
字手段22、イメージ読取手段25の制御を司り、これ
らと主記憶手段18との間で制御データの授受を行うと
共に、これらと主記憶手段18との間で文字データ及び
イメージデータの転送を行う。
The input/output control means P2 controls the input means 21, the display means 20, the printing means 22, and the image reading means 25, and exchanges control data between these and the main storage means 18. Character data and image data are transferred to and from 18.

ファイル管理手段P3は補助記憶手段19に記憶される
各種ファイル(文書ファイル、データファイル、辞書フ
ァイル、フォントファイル、プログラムファイル)のア
クセスを行うためにディレクトリテーブルT4のデータ
を用いて、ファイルの論理的な管理を行う。ディレクト
リテーブルT4には文書選択画面で(例えば第5−1図
)で表示する際、必要なデータ及び文書に対して構成さ
れているファイルのFD15上での位置情報、構成ファ
イル数情報、各テーブルの使用状況フラグを含んでいる
The file management means P3 uses the data of the directory table T4 to access various files (document files, data files, dictionary files, font files, program files) stored in the auxiliary storage means 19, Perform proper management. The directory table T4 includes information on the location on the FD 15 of files configured for necessary data and documents, information on the number of configured files, and each table when displayed on the document selection screen (for example, Figure 5-1). Contains usage flags.

文書処理手段P4は日本語ワードプロセッサの機能を実
行するもので、入力手段2工から入力された文字を漢字
かな混じり文へ変換するかな漢字変換機能、種々の文書
編集機能及び、この編集作業を容易にするために作成中
の文書を表示手段20に表示させる文書表示機能等をな
す文書作成手段P41、編集された文書を印字手段22
にて印刷する文書印刷手段Pd2等の機能制御手段から
なる。
The document processing means P4 executes the functions of a Japanese word processor, and has a kana-kanji conversion function that converts characters input from the input means 2 into sentences containing kanji and kana, various document editing functions, and facilitates this editing work. Document creation means P41 has a document display function, etc. to display the document being created on the display means 20 in order to display the document being created, and the printing means 22 displays the edited document.
It consists of function control means such as document printing means Pd2 for printing.

データ処理手段P5はカード作成手段P51、文書作成
手段P52、レコード作成手段P53、表示形式管理手
段P54、レコード処理手段P55、レコード分解/m
立処理手段P56、伝票印刷処理手段P57等の手段か
らなる。文書作成手段P52は前述した文書処理手段P
4の文書作成手段P41と同様な機能を有し、カード作
成手段P51は新規カード作成時には例えば第5−7図
の如きカードイメージ(カード様式)を文書作成手段P
52の機能を用いて作成する機能と、データが入力され
る項目(フィールド)について項目名、型等の定義を行
い、この定義データを項目管理テーブルT3にセフ)す
る機能等とを有する。前記カードイメージ及び管理デー
タはテキストメモリIMI、テキスト管理テーブルIT
Iに夫々格納される。そしてテキストメモリIMIへの
リード(以下Rという)/ライト (以下Wという)で
きる行、桁を示すアクセス行ポインタとアクセス桁ポイ
ンタとを有する文書作成手段P52により、同ポインタ
と、テキスト管理テーブルITIの情報とを用いてテキ
ストメモリIMIのR/Wを行う。カード作成手段P5
1は新規カード作成でないとき、選択されデータファイ
ルの作成済みカードを表示させる機能を有する。
The data processing means P5 includes a card creation means P51, a document creation means P52, a record creation means P53, a display format management means P54, a record processing means P55, and a record decomposition/m
It consists of means such as a processing means P56 and a slip printing processing means P57. The document creation means P52 is the aforementioned document processing means P.
The card creating means P51 has the same function as the document creating means P41 of No. 4, and when creating a new card, the card creating means P51 creates a card image (card format) as shown in FIGS. 5-7, for example.
52 functions, and a function to define item names, types, etc. for items (fields) into which data is input, and to store this definition data in the item management table T3. The card image and management data are stored in the text memory IMI and text management table IT.
They are respectively stored in I. Then, the document creation means P52, which has an access line pointer and an access column pointer indicating the lines and columns that can be read (hereinafter referred to as R)/written (hereinafter referred to as W) to the text memory IMI, uses the same pointer and the text management table ITI. R/W of the text memory IMI is performed using the information. Card creation means P5
1 has a function of displaying a selected card created in a data file when a new card is not created.

前記レコード作成手段P53は、入力手段21から入力
された入力データをカード作成手段P51にて作成のカ
ードの項目入力領域(定義範囲)に表示させると共に、
レコードメモリIM2に格納し、レコードを管理するた
めのデータをレコード管理テーブルIT2に格納するW
機能と、指定のレコードをレコードメモリIM2から読
出し、カードイメージと合成させて表示させるR機能を
有する。このレコード作成手段P53はR/Wできるレ
コードを指定するアクセスポインタを有する。
The record creation means P53 displays the input data input from the input means 21 in the item input area (definition range) of the card created by the card creation means P51, and
W to store data in record memory IM2 and to manage records in record management table IT2
and an R function that reads a designated record from the record memory IM2, combines it with the card image, and displays it. This record creation means P53 has an access pointer that designates a record that can be read/written.

表示形式管理手段P54はレコードを1件1葉のカード
形式(例えば第5−11図参照)で表示するか、又は複
数のレコードをまとめた一覧表形式(例えは第5−12
図参照)で表示するかの切替を行う機能を有する。
The display format management means P54 displays each record in the form of a single card (for example, see Figure 5-11) or in the form of a list of multiple records (for example, in Figure 5-12).
(see figure) has a function to switch the display.

レコード処理手段P55はレコードのセレクトやソート
等の種々レコード処理(データ処理)機能をなし、例え
ばセレクト処理であればセレクト指定条件に合わないレ
コードに対し、処理対象から外す処理を行うとともに、
セレクトを解除すると全レコードを処理対象に戻す。
The record processing means P55 performs various record processing (data processing) functions such as selecting and sorting records. For example, in the case of select processing, records that do not meet the select specification conditions are removed from the processing target, and
When the selection is canceled, all records are returned to the processing target.

本発明の要旨たるレコード分解/組立処理手段P56は
1件のレコードを複数のレコードに分解し、別のファイ
ルに保存したり、複数のレコードを1件のレコードに合
成し保存する機能である。
The record disassembly/assembly processing means P56, which is the gist of the present invention, has a function of disassembling one record into a plurality of records and saving them in separate files, or combining a plurality of records into one record and saving it.

伝票印刷処理手段P57は、予め印刷出力する伝票のサ
イズや項目の印字位置を指定しておき、指定したレコー
ドの項目データを伝票に印字する機能である。
The slip printing processing means P57 has a function of specifying in advance the size of the slip to be printed out and the printing position of the items, and printing the item data of the specified record on the slip.

以上、制御手段17の各機能制御手段PL、P2・・・
について説明したが、これらはハード的に抽出分離可能
に存在するものではなく、ソフト的、機能的に存在する
ものであることは前述した如くであり、例えば第4図、
第10図、第13図に示すフローチャー ト(CPU 
1のなす処理手順の概略を示す)によって実現される。
As described above, each function control means PL, P2... of the control means 17
However, as mentioned above, these do not exist in a hardware manner that can be extracted and separated, but rather exist in a software and functional manner. For example, in Figure 4,
The flowchart shown in Figures 10 and 13 (CPU
1).

なお、各機能制御手段PI、P2・・・は必要に応じて
ロジック回路に置換可能である。
Note that each function control means PI, P2, . . . can be replaced with a logic circuit if necessary.

次に本発明装置の基本的動作及び機能を主に第4図に示
す制御手段17のなすフローチャート及び第5図に示す
表示画面図に従い説明する。
Next, the basic operations and functions of the apparatus of the present invention will be explained mainly with reference to the flowchart of the control means 17 shown in FIG. 4 and the display screen diagram shown in FIG.

(A)装置起動及び文書選択 先ず装置の電源を投入すると、文書作成用のプログラム
がロードされ、第5−1図に示す初期画面が表示手段2
0に表示される。同表示例では左端にナンバリングされ
た如く隘1〜5の5つのファイルが既に作成され補助記
憶手段19に蓄えられている。5つのファイルのうち用
紙の欄が黒反転(網かけ修飾で示す)しているNll、
2.4のファイルはデータ処理モードで作成されたデー
タ処理ファイルであり、反転していない隘3,5のファ
イルは文書作成モードで作成されたファイルであること
を示している。また、画面の最下段にはキーボード11
の最上段のファンクションキーF1〜FIOに対応する
ファンクションキーが表示されていて、例えばファンク
ションキーF1が編集(文書作成)に、またファンクシ
ョンキーF6がデータ処理に対応している。
(A) Device startup and document selection When the device is powered on, the document creation program is loaded and the initial screen shown in Figure 5-1 appears on the display means 2.
Displayed as 0. In the display example, five files numbered 1 to 5 have already been created and stored in the auxiliary storage means 19 as numbered at the left end. Among the five files, Nll has the paper column inverted black (indicated by shading),
The file 2.4 is a data processing file created in the data processing mode, and the files in boxes 3 and 5, which are not reversed, are files created in the document creation mode. In addition, the keyboard 11 is located at the bottom of the screen.
Function keys corresponding to function keys F1 to FIO at the top of the screen are displayed, and, for example, function key F1 corresponds to editing (document creation), and function key F6 corresponds to data processing.

CB)データ処理モード起動 上述の如く、装置が起動せしめられると、第51図の初
期画面が表示され、その初期状態では横1行のカーソル
C1はl1kLOの文書新規作成を受付は可状態である
ことを報知すべく、当該隘Oの行を黒反転させている。
CB) Starting the data processing mode As mentioned above, when the device is started, the initial screen shown in Fig. 51 is displayed, and in the initial state, the horizontal 1-line cursor C1 is in a state where it is possible to accept the creation of a new document of l1kLO. In order to notify the user of this fact, the row corresponding to the column O is inverted in black.

この状態で、第4図のステップS1に基づく文書選択を
行う。本文書はデータ処理モードにより作成されるよう
に、表示画面下段のメニュー項目からデータ処理を選択
するファンクションキーF6が押下されると、ステップ
S2でそのことが判断され、データ処理モードに入る。
In this state, document selection based on step S1 in FIG. 4 is performed. Since this document is created in the data processing mode, when the function key F6 for selecting data processing from the menu items at the bottom of the display screen is pressed, this is determined in step S2 and the data processing mode is entered.

ステップS3で新規作成が判断されると、表示画面は第
5−2図に変わり右下枠内に文書名、日付等の入力を求
めるウィンドウが表示される。このように、マルチウィ
ンドウ表示された画面右下枠内に、文書名、日付等を入
力した後(ステップS4)、実行キーSWIを押すと、
これまでロードされていた文書作成プログラムが無効に
され、替わってデータ処理プログラムがロードされる。
When it is determined in step S3 that a new document is to be created, the display screen changes to that shown in FIG. 5-2, and a window is displayed in the lower right frame requesting input of the document name, date, etc. In this way, after entering the document name, date, etc. in the lower right frame of the multi-window screen (step S4), press the execution key SWI.
The previously loaded document creation program is disabled and a data processing program is loaded in its place.

その結果データ処理モードが起動して、表示画面は第5
−3図に変わり、ステップS5以降のカード作成ルーチ
ンに移行する。
As a result, the data processing mode is activated and the display screen is
-3, and the process moves to the card creation routine from step S5 onwards.

(C)カード作成 第5−3図の画面は文書作成モードの空白1ページに相
当する画面であり、左上に表示されたカーソルC2は空
白1ページ内を自由に移動可能で、入力手段21からの
文字入力、ケイ線描画により自由な入力画面が文書作成
手段P52の機能を用い文書作成モード時と同様な操作
で設計可能となる。
(C) Card Creation The screen in Figure 5-3 corresponds to one blank page in document creation mode, and the cursor C2 displayed at the top left can be moved freely within one blank page. By inputting characters and drawing lines, a free input screen can be designed using the functions of the document creation means P52 and the same operations as in the document creation mode.

同表示画面の最下段には入力したい項目のデータの型(
文字又は数値等)を指定するためのファンクションキー
の表示がなされる。今、第5−4図に従い名前、住所、
電話、年令、生年月日の5項目からなる住所録カードの
設計を例に説明する。
At the bottom of the display screen is the data type (
Function keys for specifying characters (characters, numbers, etc.) are displayed. Now, according to Figure 5-4, name, address,
The design of an address book card consisting of five items: telephone, age, and date of birth will be explained as an example.

第5−3図は第4図のステップS5のカード設定ルーチ
ンにおいて、カーソルを今月にセットし、セットされた
サイズでカーソルを表示した状態を表示している。そし
て第5−4図はカナキー及びケイ線キー等の入力により
文書作成手段P52の機能によって“名前”、“住所”
、“電話”の項目名からなるカードイメージを作成する
と共に、“名前”、“住所”の項目位置定義を終え、“
電話”の項目位置定義の途中を示している。この“電話
”項目の定義について説明すると、先ずカーソルC2を
例えば“電話”項目の項目定義開始位置に位置させてお
いて、カード定義:文字のファンクションキーF1を押
し、カーソルキーSW2を用いてカーソルを移動させる
操作をすると、第54図の“電話”項目の欄の如く文字
データ入力範囲Rがカーソルの長さで示されると共に、
画面下に入力(定義)範囲が“文字項目位置定義二叉字
数半角30文字”の如<30文字分(半角で計算)、こ
の場合カーソルサイズが全角にセントされているので全
角15文字分であることを表示する。この表示はカーソ
ルサイズが半角にセットされている場合、半角30文字
と表示することもできる。
FIG. 5-3 shows a state in which the cursor is set to this month in the card setting routine of step S5 in FIG. 4, and the cursor is displayed at the set size. FIG. 5-4 shows "name" and "address" created by the function of the document creation means P52 by inputting keys such as Kana keys and K-line keys.
, create a card image consisting of the item name “Telephone”, finish defining the item positions of “Name” and “Address”, and create “
This shows the middle of the definition of the item position of "Telephone". To explain the definition of this "Telephone" item, first place the cursor C2 at the start position of the item definition of the "Telephone" item, and then select the card definition: character. When the function key F1 is pressed and the cursor is moved using the cursor key SW2, the character data input range R is indicated by the length of the cursor as shown in the "Telephone" item field in FIG.
The input (definition) range at the bottom of the screen is "Character item position definition number of forked characters 30 half-width characters"< 30 characters (calculated in half-width), in this case the cursor size is full-width cents, so it is 15 full-width characters. Display something. This display can also be displayed as 30 half-width characters when the cursor size is set to half-width.

電話に関する項目位置定義、即ちカーソルによって示さ
れるデータ入力範囲及び文字数がこれで良い場合、実行
キーSWIを押すとカーソルサイズレジスタにカーソル
サイズをセットし、設定範囲Rがmmz付であって、カ
ーソルレジスタに設定したサイズの文字“X”に変わる
(第5−5図)。
If the item position definition related to the telephone, that is, the data input range and number of characters indicated by the cursor, is acceptable, press the execution key SWI to set the cursor size in the cursor size register, and set the cursor size in the cursor size register if the setting range R is with mmz. It changes to the character "X" of the size set (Figure 5-5).

この状態では文字データであることを示す“X”が15
文字表示され各“X”の下に輝vAZが付されているが
、テキストメモリ肘におけるデータの持ち方は@X”等
の文字が3ワード(16ビツト/1ワードで、文字サイ
ズ等の属性部と、JTSコード部と、輝度ビットや文字
修飾情報を含む拡張部が各1ワードずつ)からなる文字
コードデータであり、そのうち輝度ビット(1ビツト)
を“1”に設定している。同ビットは“1″であると表
示時文字に輝線Zが付され、“0”であると輝vAZが
消される。こうして、項目名“電話”についての項目位
置定義が仮登録される。次に取消キーが押されるとカー
ソル表示に戻り、他のキーが押されるとこの状態にとど
まる。
In this state, the “X” indicating character data is 15
Characters such as "@X" are stored in 3 words (16 bits/1 word), and attributes such as font size etc. are stored in the text memory. This is character code data consisting of one word each of the JTS code part, the JTS code part, and the extension part containing brightness bits and character modification information, of which the brightness bit (1 bit)
is set to “1”. When this bit is "1", a bright line Z is added to the character when displayed, and when this bit is "0", the bright line VAZ is erased. In this way, the item position definition for the item name "telephone" is provisionally registered. The next time the Cancel key is pressed it returns to the cursor display and remains in this state when another key is pressed.

これらの処理を終えると入力待ち状態となり、カーソル
キーSW2を操作してカーソルを所定位置に移動させる
とともに、次の処理で“年令”“才”のカードイメージ
部分を文書作成手段の機能を用いて作成した後、“年令
”項目の定義開始位置にカーソルC2を位置させた後カ
ード定義二数値のファンクションキーF2を選択すると
同様に数値項目の仮定着が実行される。ここで前述の説
明と異なるのは表示の文字が文字項目であることを示す
“X”に代わり、数値項目であることを示す“N”とな
る点である。
When these processes are completed, the input waiting state is entered, and the cursor is moved to a predetermined position by operating the cursor key SW2, and in the next process, the card image portions of "age" and "talent" are created using the function of the document creation means. After creating this, when the cursor C2 is positioned at the definition start position of the "age" item and the card definition two-value function key F2 is selected, the hypothetical arrival of the numerical value item is executed in the same way. Here, the difference from the above explanation is that the displayed characters are "N" indicating that it is a numerical item instead of "X" indicating that it is a character item.

次に日時項目の指定について説明する。生年月日の横に
カーソルを移動し、設定したい日時の実際的なデータを
入力する。そしてその値の開始位置にカーソルを移動し
く第5−6図)、“カード定義:日時”のファンクショ
ンキーF3を選択する。
Next, the specification of date and time items will be explained. Move your cursor next to your date of birth and enter the actual date and time you want to set. Then, move the cursor to the starting position of that value (Figs. 5-6) and select the function key F3 for "Card Definition: Date and Time."

カーソル位置が反転するので、日時データを反転させ実
行キーswiを押す(第5−7図)。制御手段17は反
転領域の漢字部から予め用意されである日時のパターン
を自動的に確認する。そして数字部を夫々の型を表現す
る英文字に置き替える。そして反転されていた文字列か
ら反転を取り除き、輝線Zを付加してテキストメモリI
M1へ書込み、再表示する(第5−8図)。日時と文字
及び数値との項目の指示の仕方が異なるのは、日時は西
暦表記、元号表記等の種々のパターンが存在し、本発明
装置が一意的にパターンを決定すれば操作者の意図に反
することがあるため、操作者が希望するパターンを入力
してからでないと日時項目は定義できないようになって
いる。
Since the cursor position is reversed, the date and time data is reversed and the execution key swi is pressed (Fig. 5-7). The control means 17 automatically confirms a previously prepared date and time pattern from the Chinese character part of the inverted area. Then, replace the numeric parts with alphabetic characters that represent each type. Then, remove the inversion from the inverted character string, add a bright line Z, and save it to the text memory I.
Write to M1 and redisplay (Figure 5-8). The reason for the difference in how to indicate the date and time as well as characters and numbers is that there are various patterns for date and time, such as Western calendar notation, era name notation, etc., and if the device of the present invention uniquely determines the pattern, Therefore, date and time items can only be defined after the operator inputs the desired pattern.

こうして、各項目の設定を終え、入力手段21の終了キ
ーFilを押すと、第5−9図の画面の如く画面下に左
右に大きい網かけ人文表記の2つのファンクションキー
が表示され、入力手段21のキーのうち左半分F1〜F
5のうちどれかを押すと、第4図のステップS6でカー
ド設計の終了が判断され、ステップS7の項目管理テー
ブルセントルーチンに移行する。第6図は項目管理テー
ブルの内容を示す図であり、ここでは各項目についての
定義情報が第6図の如き項目管理テーブルIT3にセッ
トされ、そこで項目定義がなされていない場合、ステッ
プS8でテーブルセットエラーが判断され、エラーが無
ければステップS9に移行する。ここで項目管理テーブ
ルlT3はデータのタイプ、データ長、行位置、桁開始
位置、項目名等が記憶されている。
In this way, when each item is set and the end key Fil of the input means 21 is pressed, two function keys with large shading human characters are displayed on the left and right at the bottom of the screen as shown in the screen of Fig. 5-9, and the input means Left half of 21 keys F1-F
When one of 5 is pressed, it is determined in step S6 of FIG. 4 that the card design is completed, and the process moves to the item management table entry routine in step S7. FIG. 6 is a diagram showing the contents of the item management table. Here, definition information for each item is set in the item management table IT3 as shown in FIG. A set error is determined, and if there is no error, the process moves to step S9. Here, the item management table 1T3 stores data type, data length, line position, column start position, item name, etc.

ステップS8でエラー有が判断されるとステップS5に
戻る。ステップS6でファンクションキー16〜FIO
のうちどれかを押すとカード定義を中止してステップS
1に戻る。
If it is determined in step S8 that there is an error, the process returns to step S5. In step S6, function keys 16 to FIO are pressed.
If you press any of these, the card definition will be canceled and step S will proceed.
Return to 1.

CD)レコード作成 ステップS9では第5−9図の表示画面において輝線付
文字“X”や“N”のみを消し、ステップ510で項目
名のみの空白カード表示させる。ステップS11で最初
の入力項目領域の先頭にカーソルC2を位置させる。ま
た画面上右端にはカーソルの位置表示のみならず入力中
のカードが何枚目に当たるかが表示される(第5−10
図)。データ入力とき、カーソルC2はカード設計で設
定した項目領域(X又はNのあった領域)しか移動でき
ず、カーソルサイズも定義した文字の大きさに自動的に
変更設定される。また、文字項目ではかな漢字変換によ
り自由な漢字、かな文字、数字等が入力でき、入力文字
は16ビツトのJISコードで記憶されるが、数値項目
では入力手段21の数字キーのみしか受けつけず、数字
列のみの入力が可能となり、人力データは16ビソトの
JISコードと異なるコード体系の4ビツトのBCDコ
ードで記憶される。
CD) In the record creation step S9, only the characters "X" and "N" with bright lines are erased on the display screen shown in FIGS. 5-9, and in step 510, a blank card with only the item name is displayed. In step S11, the cursor C2 is positioned at the beginning of the first input item area. In addition, at the right end of the screen, not only the cursor position but also the number of cards being input is displayed (5-10).
figure). When inputting data, the cursor C2 can only move in the item area set in the card design (the area where X or N was located), and the cursor size is automatically changed to the defined character size. In addition, in character items, you can input any kanji, kana characters, numbers, etc. through kana-kanji conversion, and the input characters are stored as 16-bit JIS codes, but in numeric items, only the numeric keys of the input means 21 are accepted; Only columns can be entered, and human data is stored in 4-bit BCD code, which has a different code system from the 16-bit JIS code.

ステップ513で各項目の入力が終了すると第511図
の如き表示画面となり、入力手段21の次ページキーF
12を押すと、画面は改ページされ第5−12図の如く
、ステップS14に基づき空白の新しいカードとなり、
カードとしては2枚目の表示がなされ、ステップSll
、S12に戻って第5−13図のように2枚目のカード
形式での項目データ入力がなされる。このようにステッ
プ312〜513〜312〜514〜S12〜513の
ループを循環することによって、1件1葉のカード型住
所録データが任意の件数(枚数)作成される。この実施
例では第514図の“122枚目に示す如<12件のカ
ードが作成された。
When the input of each item is completed in step 513, the display screen as shown in FIG. 511 appears, and the next page key F of the input means 21 is displayed.
When 12 is pressed, the screen changes to a new page and a new blank card is displayed based on step S14, as shown in Figure 5-12.
The second card is displayed, and step Sll
, the process returns to S12 and item data is input in the form of a second card as shown in Figures 5-13. By repeating the loop of steps 312-513-312-514-S12-513 in this manner, an arbitrary number of card-type address book data (number of sheets) is created, one sheet per item. In this example, <12 cards were created as shown in the 122nd card in FIG. 514.

ステップS12で表示切替キーF13を押すとデータ表
示形式管理手段13は第5−15図の如くこれまでのカ
ード形式画面から一覧表の表示に自動的に切替える。(
ステップ521)。第5−16図は一覧表の表示項目の
解除、変更が可能であることを示している。
When the display switching key F13 is pressed in step S12, the data display format management means 13 automatically switches from the previous card format screen to the list display as shown in FIG. 5-15. (
Step 521). FIG. 5-16 shows that display items in the list can be canceled or changed.

次に一覧表表示において、項目データの入力又は修正は
第4図(b)のステップ318で受付けられ、修正の場
合、第5−17図の如く、カーソルC2を項目データの
欄に移動させると、画面下に文字入力aL1が表示され
、修正したい項目まで移動させて当該文字人力iL1に
正しい項目データを入力手段21によりワープロタッチ
で人力すれば良い。このようにして修正された項目は、
−覧表表示であるにも拘らずカード形式において項目デ
ータを修正したことと同じとなる。即ち、ステップS1
9で表示切替キーF13を押すと第5−18図の如く修
正した内容のカード表示形式の画面に戻る(ステップ5
22)。
Next, in the list display, input or modification of item data is accepted in step 318 of FIG. 4(b), and in the case of modification, as shown in FIG. , a character input aL1 is displayed at the bottom of the screen, and the user simply moves to the item to be corrected and manually enters the correct item data into the character input iL1 using the word processor touch using the input means 21. Items modified in this way are
-Even though it is a list display, it is the same as modifying the item data in card format. That is, step S1
When the display switching key F13 is pressed at step 9, the screen returns to the card display format screen with the modified contents as shown in Figure 5-18 (step 5).
22).

また、ステップS19で次ページキーF12を押すとス
テップS20において図示しないカード隘13の欄が自
動的に追加表示されここで、項目データを入力すること
で、−覧表表示状態で新レコード(カード)の追加作成
が実行される。
Further, when the next page key F12 is pressed in step S19, a column of card space 13 (not shown) is automatically added and displayed in step S20. By inputting item data here, a new record (card ) is additionally created.

(E)  レコード処理 次に、入力された12件のレコードからなるデータ処理
ファイルにおけるレコード処理の一例としてセレクト処
理について説明する。
(E) Record Processing Next, select processing will be described as an example of record processing in a data processing file consisting of 12 input records.

ステップ512で、セレクトキーF15を押すと画面は
第5−19図に変わり、セレクト条件を受付けるステッ
プS15のレコード処理に移行する。するとカード表示
画面の下に条件入力画面が表示され、条件人力jML2
に住所が大阪であるレコードを検索すべく“大阪*”を
入力手段21によりワープロタッチで入力する。“*”
は大阪の後の文字は何で良いことを示す前方一致の演算
子である。条件の入力が終わると実行キーSWIを押す
ことでセレクト処理が実行される。
In step 512, when the select key F15 is pressed, the screen changes to that shown in FIG. 5-19, and the process proceeds to step S15, where the selection condition is accepted. Then, the condition input screen will be displayed below the card display screen, and the condition human power jML2
In order to search for a record whose address is Osaka, "Osaka*" is input using the input means 21 using a word processor touch. “*”
is a prefix match operator that indicates what the character after Osaka is. When the input of the conditions is completed, the selection process is executed by pressing the execution key SWI.

上記のセレクト条件に合致するレコードは本実施例では
5件あり、これを−覧表で見るにはステップS12で表
示切替キーF13を押すことで、第520図の如く表示
されるし、表示切替キーF13を押さなければカード形
式で1枚ずつ見ることが可能である。
In this embodiment, there are five records that meet the above selection conditions.To view them in a list, press the display switching key F13 in step S12, and the display will be displayed as shown in Fig. 520. If you do not press the key F13, you can view the cards one by one in card format.

こうした、セレクト処理の結果が必要でなく、入力レコ
ード12件を全て保存したい場合はセレクト解除キーF
16を押すことでセレクトが解除される。次いでステッ
プ512で終了キーFilを押すことで、第5−21図
の画面が表示され、ステップ515で再度文書名、著者
名、日付がウィンドウに表示される。表示内容で良けれ
ば実行キーSWIを押下し、またそれらを修正したい文
書名、日付等の項目を修正入力した(ステップ517)
後、実行キーSWIを押すことで、“住所録”のデータ
処理ファイルがクローズされ、ステップS1に戻る。勿
論、セレクト解除キーF16を押すことなくセレクトさ
れたレコードのみで新しいデータ処理ファイルを別個作
成可能である。このようにしたセレクトの他にデータ処
理としてはソート及びそれ以外にもAND、OR等の論
理演算子を用いた条件式検索も可能である。例えば、条
件式[住所−大阪府*]AN[l[年令〉30才]によ
る検索である。
If you do not need the results of such select processing and want to save all 12 input records, press the select release key F.
Pressing 16 cancels the selection. Next, by pressing the end key Fil in step 512, the screen shown in FIG. 5-21 is displayed, and in step 515, the document name, author name, and date are displayed in the window again. If the displayed content is acceptable, the user presses the execution key SWI and inputs the corrected items such as the document name, date, etc. to be corrected (step 517).
Thereafter, by pressing the execution key SWI, the "address book" data processing file is closed and the process returns to step S1. Of course, a new data processing file can be created separately using only the selected records without pressing the selection release key F16. In addition to such selection, data processing may include sorting and conditional search using logical operators such as AND and OR. For example, a search is performed using the conditional expression [address - Osaka prefecture *] AN [l [age] 30 years old].

CF)データ処理ファイルの構成 こうして、作成された1つのデータ処理ファイルは“住
所録”のカードイメージが文字データの連続として1行
ずつテキストメモリIMIに蓄えられる。第7図はレコ
ードメモリIM2の格納状態を示す図であり、複数のレ
コードデータ(各レコードは複数の項目データからなる
)は第7図に示す如く項目順にレコードメモリIM2に
蓄えられる。
CF) Structure of Data Processing File In one data processing file created in this way, the card image of the "address book" is stored line by line in the text memory IMI as a series of character data. FIG. 7 is a diagram showing the storage state of the record memory IM2, and a plurality of record data (each record consists of a plurality of item data) are stored in the record memory IM2 in the order of items as shown in FIG.

レコードの各項目をカードイメージのどこに埋込むかの
情報及びその他の定義情報は前述した第6図に示す項目
管理テーブルIT3に蓄えられる。
Information on where each item of the record is embedded in the card image and other definition information are stored in the item management table IT3 shown in FIG. 6 mentioned above.

[G)異なった種類のカードによる実施例詳細説明 (1)カードの作成 第5−22図、第5−23図は売上伝票のカードイメー
ジを第4図のステップS5のカード設計ルーチンにおい
て、各項目の項目位置定義が第5−1図〜第5−5図で
説明したのと同様な手順で作成した状態の表示画面及び
その表示例を示しており、第5−22図は定義画面を、
また第5−23図は表示例を夫々示している。表の中の
見出し欄の下方には商品名、単価、数量、金額について
同様な定義が3行存在する。同一定義の繰り返しを定め
る手順について説明する。図のように繰り返し定義の開
始で表指定キーF4を押し、範囲を反転させる(第5−
24図)。次に範囲指定を実行キーSWIを押す。制御
手段17は第5−25図に示す如く繰り返し開始の左上
隅位置(図では“ビ部)には繰り返しスタートマークが
、そして繰り返し終了の右下隅位置(図では“」”部)
には繰り返しエンドマーク△を書込む。カード定義終了
を示す実行キーSWIが押されると制御手段17はまず
項目位置を、作成したカードより読出し、項目管理テー
ブル2T7に順次値をセットする。次に制御手段17は
リピートスタート及びエンドマークを読出し、夫々の位
置をリピートスタート行、リピートスタート桁、リピー
トエンド行、リピートエンド桁にセットする。
[G) Detailed explanation of embodiments using different types of cards (1) Creation of cards Figures 5-22 and 5-23 show how the card image of a sales slip is created in the card design routine of step S5 in Figure 4. The display screen and its display example are shown when the item position definition of the item is created using the same procedure as explained in Figures 5-1 to 5-5, and Figure 5-22 shows the definition screen. ,
Moreover, FIGS. 5-23 each show display examples. Below the heading column in the table, there are three lines with similar definitions for product name, unit price, quantity, and amount. The procedure for determining repetition of the same definition will be explained. As shown in the figure, press the table specification key F4 at the start of the repeat definition to invert the range (5th -
Figure 24). Next, press the range specification execution key SWI. As shown in Fig. 5-25, the control means 17 has a repetition start mark at the upper left corner position of the repetition start (in the figure, the "bi" part), and a repetition start mark at the lower right corner position (in the figure, the "" part) of the repetition end.
Repeatedly write the end mark △. When the execution key SWI indicating the end of card definition is pressed, the control means 17 first reads out the item positions from the created card and sequentially sets the values in the item management table 2T7. Next, the control means 17 reads out the repeat start and end marks, and sets their respective positions to the repeat start line, repeat start digit, repeat end line, and repeat end digit.

第8図はリピート定義処理に用いるテーブル及びカウン
タの内容を示す図であり、両マークが存在する場合は、
リピート定義処理が起動される。
FIG. 8 is a diagram showing the contents of the table and counter used for repeat definition processing, and when both marks exist,
Repeat definition processing is started.

リピート定義処理はリピート開始行以降であり、リピー
ト開始桁〜リピート終了桁区間に存在する繰り返し定義
を探し出し、見つかれば第8図(a)に示すように1行
単位を1組としてリピートテーブルT8に項目番号を登
録する。そしてリピートされる項目の組数及び1組中の
項目数を夫々第8図(b)に示すリピート組数カウンタ
、第8図(C)に示すリピート項目数カウンタに夫々登
録する。次に、制御手段17は輝線付き文字(久はか)
を空白文字に置き替え、ステップSIOで第5−26図
の如くカード画面を表示する。この場合カード定義直後
であるので空白のカードを表示する。日時項目の場合に
は数字部が空白で単位部(年、分など)の文字が表示さ
れる。ステップS3で、データ処理ファイルが新規作成
でない場合はステップ510でカーソルが表示され入力
待ちになる。
The repeat definition process starts from the repeat start line and searches for repeat definitions existing in the repeat start digit to repeat end digit section, and if found, one line is set as one set and stored in the repeat table T8 as shown in FIG. 8(a). Register the item number. The number of sets of repeated items and the number of items in one set are then registered in the repeat set number counter shown in FIG. 8(b) and the repeat item number counter shown in FIG. 8(C), respectively. Next, the control means 17 controls characters with bright lines (kuhaka).
is replaced with a blank character, and a card screen is displayed as shown in FIG. 5-26 in step SIO. In this case, since the card has just been defined, a blank card is displayed. In the case of a date and time item, the number part is blank and the unit part (year, minute, etc.) is displayed. In step S3, if the data processing file is not newly created, a cursor is displayed in step 510 and the process waits for input.

次に売上げ伝票による請求書発行を例に本発明の要旨た
るレコードの分解及び組立て手順について説明する。第
10図はレコード分解処理の内容を示すフローチャート
、第13図はレコード組立処理の内容を示すフローチャ
ートである。
Next, the procedure for disassembling and assembling records, which is the gist of the present invention, will be explained using an example of issuing a bill using a sales slip. FIG. 10 is a flowchart showing the details of the record disassembly process, and FIG. 13 is a flowchart showing the details of the record assembly process.

(2)  レコード分解 第10−1図はレコード分解処理のメインルーチンのフ
ローチャートであり、操作者による後述する転記先ファ
イルの指示(ステップ530)、レコード分解条件の設
定(ステップ540)及びレコード分解処理(ステップ
580)がここで行われる。
(2) Record decomposition Figure 10-1 is a flowchart of the main routine of the record decomposition process, in which the operator instructs the transfer destination file (step 530), which will be described later, sets record decomposition conditions (step 540), and records decomposition process. (Step 580) is performed here.

上記のようにリピート定義がされているデータ処理ファ
イルにおいてデータを入力し、第4図のステップS12
でレコード分解キーF5を押すと制御手段17は制御を
ステップS16のレコード分解/組立処理に移す。制御
手段17はディレクトリテーブルT4より補助記憶手段
19に登録されているファイルの一覧表を画面右下の2
ウインドウに表示する(第5−27図)。
Input the data in the data processing file in which the repeat definition is made as described above, and step S12 in FIG.
When the record disassembly key F5 is pressed, the control means 17 shifts control to the record disassembly/assembly process of step S16. The control means 17 displays a list of files registered in the auxiliary storage means 19 from the directory table T4 at 2 at the bottom right of the screen.
Display in a window (Figure 5-27).

次に操作者はレコードを分解したものを転記するデータ
処理ファイル(以下転記先ファイルという)を指示する
(ステップ530)。転記先ファイルが指示されると、
第10−2図に示すように制御手段17はレコード分解
の条件設定を行う。レコード分解条件の設定においては
、まず補助記憶手段19内の指定された転記先ファイル
のデータを読出し、主記憶手段18内の項目管理テーブ
ル2T7、レコードメモリ2M6、テキストメモリ2M
5、テキスト管理テーブル2T5、リピート項目テーブ
ル2T9に格納する (ステップ541)。次に第9図
に示すレコード分解条件テーブルの内容をすべてクリア
する(ステップ542)。レコード分解条件テーブルは
分解項目カウンタ及び分解項目テーブルと、転記項目カ
ウンタ及び転記項目テーブルと、保存タイプレジスタ及
び別文書保存テーブルとから構成される。
Next, the operator specifies a data processing file (hereinafter referred to as a transcription destination file) to which the disassembled records are to be transcribed (step 530). When the destination file is specified,
As shown in FIG. 10-2, the control means 17 sets conditions for record decomposition. In setting the record decomposition conditions, first read the data of the specified transfer destination file in the auxiliary storage means 19, and then read the data of the specified transcription destination file in the auxiliary storage means 19, and read the data from the item management table 2T7, record memory 2M6, and text memory 2M in the main storage means 18.
5. Store in text management table 2T5 and repeat item table 2T9 (step 541). Next, all contents of the record decomposition condition table shown in FIG. 9 are cleared (step 542). The record decomposition condition table is composed of a decomposition item counter and a decomposition item table, a transcription item counter and a transcription item table, a storage type register and a separate document storage table.

そして第5−28図に示すように画面を3分割し、左上
画面にはレコード分解される売上伝票を示すデータ処理
ファイル(以下分解ファイルという)のカード、右上に
は転記先ファイルのカード、下画面にはレコード分解条
件を表示する(ステップ543)。次にステップS44
で制御手段17は分解条件ステータスを判断する。ここ
で分解条件ステータスはステップS50の“分解項目指
定モード” (第10−3図)、ステップS60の“転
記項目指定モード” (第10−4図)、ステップS7
0の“保存タイプ指定モード” (第10−5図)、“
完了”の4つの状態をとる。第10−3図に示す“分解
項目指定モードでは制御手段17は下画面のタイトル“
分解項目”を反転させ(ステップ5501)、キー人力
待ちになる(ステップ5502)。条件変更キー(カー
ソルキー舗2の→キー)が押されると、分解項目の指示
処理が起動される。制御手段17は第5−28図に示す
ように分解ファイルのカードの項目のうちリピートテー
ブルの第1組に登録されている項目の中で最も小さい項
目番号の項目位置にカーソルを表示する(ステップ55
03)。
Then, as shown in Figure 5-28, the screen is divided into three parts: the upper left screen is a card for the data processing file (hereinafter referred to as the decomposed file) that shows the sales slip to be decomposed, the upper right is the card for the posting destination file, and the lower The record decomposition conditions are displayed on the screen (step 543). Next step S44
Then, the control means 17 determines the decomposition condition status. Here, the decomposition condition status is "decomposition item specification mode" in step S50 (Figure 10-3), "posting item specification mode" in step S60 (Figure 10-4), and step S7.
0 “Save type specification mode” (Figure 10-5), “
In the disassembly item specification mode shown in FIG. 10-3, the control means 17 takes the title of the lower screen.
"Disassembly item" is highlighted (step 5501), and the key waits for human power (step 5502). When the condition change key (→ key of cursor key 2) is pressed, instruction processing for the disassembly item is started. Control means Step 17 displays the cursor at the position of the item with the smallest item number among the items registered in the first set of the repeat table among the items of the card of the disassembly file (step 55).
03).

次にカーソル位置の項目が分解項目を登録するレコード
分解条件テーブル内の分解項目テーブルに登録されてい
るか否かを判定しくステップ5504)登録されていな
ければ“項目指定 項目終了”が(ステップ5505)
 、また登録済みなら“項目削除指定終了”が夫々表示
され(ステップ5506)、キー人力待ちとなる(ステ
ップ5507)。キー人力待ちにおいて、カーソルキー
5−2(→ −↑、↓キー)が押されると、制御手段1
7はリピートテーブルT8の第1組に登録されている項
目からカーソル移動の方向に存在する項目を捜し、カー
ソルを移動させる(ステップ5508)。項目指定キー
F1〜F5が押されると制御手段17はカーソル位置の
項目名が既に分解項目テーブルに登録されているか否か
を判定しくステップ5509)、登録されていないとき
は、項目番号を仮決定項目レジスタに登録しくステップ
5510) 、その項目名をカーソル位置に書込む(ス
テップ5511)。そのときカード中の文字列と区別す
るため分解項目の場合、二重線が付加されテキストへ書
込まれる (第5−29図)。
Next, it is determined whether or not the item at the cursor position is registered in the decomposition item table in the record decomposition condition table in which decomposition items are registered (step 5504). If not, "item specification item end" is executed (step 5505).
, and if the registration has been completed, "Item deletion designation completed" is displayed (step 5506), and the system waits for key input (step 5507). When the cursor key 5-2 (→ -↑, ↓ key) is pressed while the key is waiting for human power, the control means 1
Step 7 searches for an item existing in the direction of cursor movement from the items registered in the first set of repeat table T8, and moves the cursor (step 5508). When the item designation keys F1 to F5 are pressed, the control means 17 determines whether the item name at the cursor position is already registered in the decomposition item table (step 5509), and if it is not registered, tentatively determines the item number. The item name is registered in the item register (step 5510) and written at the cursor position (step 5511). At that time, if the item is a decomposition item, a double line is added and written to the text to distinguish it from the character string in the card (Figure 5-29).

そしてカーソルを転記先ファイルのカード側へ表示しく
ステップ5512) 、キー人力待ちになる(ステップ
5513)。転記先ファイルにカーソルが表示された場
合はカーソル移動キー(−−丁、↓キー)が押されると
、転記先ファイルに存在する項目すべてからカーソル移
動の方向に存在する項目を捜し、カーソルを移動させる
 (ステップ5514)操作者が転記したい項目へカー
ソルを移動し、指定キー(実行キー5111)を押すと
、カーソル位置の項目番号と前記仮決定項目レジスタに
登録された分解ファイル側の項目番号とを1組にしてそ
れらが分解カウンタの指す分解項目テーブルにセットさ
れる (ステップ5515)(第5−30図)。
Then, the cursor is displayed on the card side of the transfer destination file (step 5512), and the process waits for key input (step 5513). If the cursor is displayed in the destination file and the cursor movement key (--D, ↓ key) is pressed, the cursor will be moved by searching all the items in the destination file for the item in the direction of the cursor movement. (Step 5514) When the operator moves the cursor to the item to be transcribed and presses the specified key (execute key 5111), the item number at the cursor position and the item number on the decomposition file side registered in the tentatively determined item register are combined. are combined into a set and set in the decomposition item table pointed to by the decomposition counter (step 5515) (Figure 5-30).

そして分解項目カウンタを“十ビしくステッブ5516
) 、制御手段17は分解ファイル側へカーソルを表示
する。上記操作を繰り返し分解項目対応付けを行う。分
解ファイル側でカーソル位置の項目番号が分解項目テー
ブルに登録済みなら“項目削除 指定終了”が表示され
る(ステップ5506)(第5−31図)。そしてキー
人力待ちとなり (ステップ5507)、項目指定キー
F1〜F5が押される、カーソル位置の項目が既に分解
項目テーブルに登録済みのときは、制御手段17は分解
項目テーブルよりカーソル位置の項目番号が登録されて
いる位置を捜し出しくステップ5517) 、分解ファ
イルのテキスト及び転記先ファイルのテキストから夫々
の項目番号に対応し書込まれた項目名を取り除き再表示
する(ステップ5518)。そして分解項目テーブルか
ら指定された組合わせを削除し、テーブルを詰め上げ、
分解カウンタを“−1″しくステップ5519) 、ス
テップ504に戻る。指定終了キーF6〜FIOが押さ
れると(ステップ5521) 、制御手段17はステッ
プ5501に制御を戻し、下画面の“分解項目”を反転
し、キー人力待ちになる(ステップ5502)。ステッ
プ5502のキー人力待ちでカーソルキーSW2の↓キ
ーが押されると制御手段17は分解条件ステータスを“
転記項目指定モード”にしくステップ5520) 、第
10−4図に示す転記項目指定処理では第5−32図に
示すように画面下“転記項目”を反転し、キー人力待ち
になる(ステップ5601 、5602)。操作者が変
更キー(−キー)を押すと、制御手段17は転記項目指
定処理を起動し、第5−33図に示すように左上画面の
分解ファイル側のカードの中の項目のうち、リピート項
目テーブルに登録されていない項目のうち項目番号が最
小のものにカーソルを表示する(ステップ5603)。
Then set the decomposition item counter to
), the control means 17 displays a cursor on the decomposed file side. The above operation is repeated to map decomposition items. If the item number at the cursor position has been registered in the decomposition item table on the decomposition file side, "Item deletion specification complete" is displayed (step 5506) (Figure 5-31). Then, the key waits for human input (step 5507), and when the item designation keys F1 to F5 are pressed and the item at the cursor position has already been registered in the decomposition item table, the control means 17 selects the item number at the cursor position from the decomposition item table. The registered position is searched (step 5517), and the item name written corresponding to each item number is removed from the text of the decomposition file and the text of the transcription destination file and redisplayed (step 5518). Then, delete the specified combination from the decomposition item table, pack up the table,
The decomposition counter is incremented by "-1" (step 5519), and the process returns to step 504. When the specification end keys F6 to FIO are pressed (step 5521), the control means 17 returns control to step 5501, inverts the "disassembly item" on the lower screen, and waits for key input (step 5502). When the ↓ key of cursor key SW2 is pressed while waiting for key human power in step 5502, the control means 17 changes the disassembly condition status to “
In the transcription item designation process shown in FIG. 10-4, the "transcription item" at the bottom of the screen is reversed as shown in FIG. 5-32, and the key waits for human input (step 5601) , 5602).When the operator presses the change key (- key), the control means 17 starts the transcription item designation process, and changes the items in the card on the decomposition file side of the upper left screen as shown in Figure 5-33. A cursor is displayed on the item with the smallest item number among the items that are not registered in the repeat item table (step 5603).

転記項目指定は前述のステップ5504移行の“分解項
目の対応付け”同様の操作を行い指示する(ステップ5
604〜5619)。但し、分解ファイル側のカードで
はカーソルがリピートテーブルT8に登録されていない
項目のみ移動する。また、転記項目の状況を示すために
項目名を表示する際、二重線ではなく破線が付加される
(第5−34図、第5−35図)。対応付けが終われば
指示終了キーF6〜FIOを押す(ステップ5621)
。制御手段17は制御をステップ5601に戻し、下画
面の“転記項目1を反転し、キー人力待ちになる(ステ
ップ5602)。操作者は次にファイルを閉じる方法に
関する指示を行うためカーソルキーSW2の↓キーを押
す。↓キーが押されると、制御手段17は第5−36図
に示すように分解条件ステータスを“保存タイプ処理指
定モード゛にしくステップ5620)、制御をレコード
分解条件設定処理に戻し、ステップS70の保存タイプ
指定処理を行う。ここで↑キーを押せば、分解条件ステ
ータスは再度ステップS50の“分解項目指定モード°
になる(ステップ5622)。第105図に示す保存タ
イプ指定処理では下画面の“終了処理”を反転しくステ
ップ5701) 、キー人力待ちとなる(ステップ57
02)。ここで−キーを押すと、第5−37図に示すよ
うな保存タイプ指定の画面になる。具体的には“変換キ
ーを押せば変更できます”を下欄に表示し、そして下画
面の“終了処理”の右側の保存タイプを反転しくステッ
プ5703)キー人力待ちになる(ステップ5704)
。またステップ5702で↑キーを押すと分解条件ステ
ータスは再度ステップ560の“転記項目指定モード”
になる (ステップ5711)。ステップ5704で変
換キーが押されれば制御手段17は保存タイプレジスタ
の値を0 (“保存する”)−1(“別文書保存”)−
〇−1・・・と変更しくステップ5705)、画面上も
タイプを再表示する(ステップ5706)。保存タイプ
が“保存する”の場合は指定した転記先ファイルを更新
し保存するという処理を行い、保存タイプが“別文書保
存”の場合は更新した転記先ファイルを別ファイルとし
て保存し、元のファイルの状態を変えないという処理を
行う。保存タイプ指示が完了すれば−キーを押す。制御
手段17は保存タイプレジスタの内容を判定しくステッ
プ5707)、それが1 (“別文書保存”)なら、第
5−38図に示すように保存するキャビネット名、文書
名、著書名、日付を操作者に入力させ、ステップ570
1に戻り、その値を別文書保存テーブルに登録しくステ
ップ5708) 、第5−39図に示すようにレコード
分解条件を再表示する(ステップ5709)。そしてス
テップ5701に戻り、“終了処理”を反転しキー人力
待ちになる。操作者は指示が完了したので、ステップ5
702で分解条件設定終了キー(実行キー5−1)を押
し、分解条件ステータスを“完了”にする(ステップ5
710)。制御手段17はステップS80のレコード分
解処理に制御を進め、レコード分解の実処理をスタート
する。第10−6図に示すレコード分解処理ではまず、
保存タイプレジスタの内容が“別文書保存”かどうか判
定する(ステップ5801)。
To specify posting items, perform the same operation as "Associating decomposed items" in step 5504 described above (step 5).
604-5619). However, on the disassembled file side card, the cursor moves only to items that are not registered in the repeat table T8. Furthermore, when displaying the item name to indicate the status of the posted item, a broken line is added instead of a double line (Figures 5-34 and 5-35). When the association is completed, press the instruction end key F6 to FIO (step 5621)
. The control means 17 returns the control to step 5601, inverts "transcription item 1" on the lower screen, and waits for key input (step 5602).The operator then presses the cursor key SW2 to issue instructions regarding how to close the file. Press the ↓ key. When the ↓ key is pressed, the control means 17 changes the decomposition condition status to "save type processing designation mode" (step 5620) and controls the record decomposition condition setting process, as shown in Figure 5-36. Then, the storage type designation process of step S70 is performed. If you press the ↑ key here, the disassembly condition status will be changed again to the "disassembly item specification mode" in step S50.
becomes (step 5622). In the save type designation process shown in FIG. 105, the "end process" on the lower screen is reversed (step 5701), and the process waits for key human power (step 57).
02). If the - key is pressed here, a save type designation screen as shown in Figure 5-37 will appear. Specifically, "Press the conversion key to change" is displayed in the lower column, and the save type on the right side of "End processing" on the lower screen is reversed (Step 5703) The key waits for human power (Step 5704)
. Also, if you press the ↑ key in step 5702, the decomposition condition status will change to "posting item specification mode" in step 560 again.
becomes (step 5711). If the conversion key is pressed in step 5704, the control means 17 sets the value of the save type register to 0 (“save”) - 1 (“save separate document”) -
(step 5705), and the type is redisplayed on the screen (step 5706). If the save type is "Save", the specified posting destination file is updated and saved, and if the saving type is "Save as separate document", the updated posting destination file is saved as a separate file and the original Performs processing that does not change the state of the file. When the save type instruction is completed, press the - key. The control means 17 determines the contents of the storage type register (step 5707), and if it is 1 (“save as separate document”), it inputs the cabinet name, document name, book name, and date to be stored as shown in Figure 5-38. prompt the operator to input, step 570
1, the value is registered in the separate document storage table (step 5708), and the record decomposition conditions are redisplayed as shown in FIG. 5-39 (step 5709). Then, the process returns to step 5701, where the "termination process" is reversed and the process waits for key human power. Since the operator has completed the instructions, proceed to step 5.
At step 702, press the decomposition condition setting end key (execute key 5-1) to set the decomposition condition status to "completed" (step 5).
710). The control means 17 advances the control to the record disassembly process in step S80, and starts the actual process of record disassembly. In the record decomposition process shown in Figure 10-6, first,
It is determined whether the contents of the save type register are "separate document save" (step 5801).

“別文書保存”の場合、もとのファイルを残す必要があ
るので転記先ファイルを“保存キャビネット名”が指す
キャビネットへ“保存文書名”“保存著者名”保存日付
”で複写し、以降の処理は複写したファイルに対して行
う (ステップ5802)。保存タイプレジスタの内容
が“保存する”の場合はステップ5802をスキップし
、転記先ファイルに対して直接処理が行われる。ここで
は転記先ファイルに対して直接処理を行う場合について
説明する。制御手段17は分解ファイルのアクセスポイ
ンタを先頭レコードに移動し、転記先ファイルのアクセ
スポインタを最終レコードに移動する(ステップ580
3)。またリピートテーブル組ポインタ (以降8組ポ
インタという)の初期値として“0”を書込み、初期設
定を完了する(ステップ5804)。次に制御手段17
は、分解ファイルのアクセスポインタが指すレコードに
おいて8組ポインタが指すリピートチーフルの1組の項
目全てが未入力項目かどうか判定する(ステップ580
5)。もし全て未入力なら8組ポインタを進める処理に
移る(ステップ5815)。判定の結果1項目でも入力
済み項目があれば転記処理が行われる。制御手段17は
転記先ファイルのアクセスポインタの指す位置の次に新
しいレコードを追加し、アクセスポインタを追加したレ
コードに移動する (ステップ5806)分解項目の転
記は以下の処理に従って行われる。
In the case of "Save Separate Document", it is necessary to leave the original file, so copy the destination file to the cabinet pointed to by "Save Cabinet Name" with "Save Document Name", "Save Author Name", and "Save Date", and then use The process is performed on the copied file (step 5802).If the content of the save type register is "save", step 5802 is skipped and the process is performed directly on the transcription destination file.Here, the transcription destination file is A case will be described in which the control means 17 moves the access pointer of the decomposed file to the first record, and moves the access pointer of the transcription destination file to the last record (step 580).
3). Also, "0" is written as the initial value of the repeat table set pointer (hereinafter referred to as the 8 set pointer) to complete the initial setting (step 5804). Next, the control means 17
determines whether or not all items in the set of repeat tickles pointed to by the 8-set pointer in the record pointed to by the access pointer of the decomposition file are uninput items (step 580
5). If none have been input, the process moves to advance the 8-set pointer (step 5815). As a result of the determination, if at least one item has been input, transcription processing is performed. The control means 17 adds a new record next to the position pointed to by the access pointer in the transcription destination file, and moves the access pointer to the added record (step 5806).Transferring the decomposition item is performed according to the following process.

まず処理ポインタを0に初期化する(ステ・7プ580
7)次に制御手段17は処理ポインタが指す分解項目テ
ーブルの転記の組合わせにおいて、分解ファイル側の項
目番号がリピートテーブルの第1粗目の何番目にあるか
検索し、その結果Nをリピート列ポインタに記録する。
First, initialize the processing pointer to 0 (Step 7 580
7) Next, the control means 17 searches for the number of the item number on the decomposition file side in the first row of the repeat table in the combination of transcriptions in the decomposition item table pointed to by the processing pointer, and sets the result N to the repeat column. Record in pointer.

そして8組ポインタが指すリピートテーブルの組におい
てN番目(リピート列ポインタに保持されている値)に
登録されている項目番号を読出す。
Then, the item number registered in the Nth position (the value held in the repeat column pointer) in the set of repeat tables pointed to by the 8-set pointer is read out.

そしてその項目番号が指す分解ファイルのデータを、分
解項目テーブルの転記先ファイル側の項目番号へ転記す
る(ステップ580B)。そして処理ポインタを”+1
”する (ステップ5809)。これら処理は、処理ポ
インタの値が分解項目カウンタに保持されている値に一
致するまで行われる(ステップ5810)。次に転記項
目テーブルに登録された指示に従い分解ファイルの項目
データを転記先ファイルに書込んでいく。転記項目の処
理は以下の手順で行われる。まず処理ポインタを0に初
期化する(ステップ5811)。次に制御手段エフは処
理ポインタが指す転記項目テーブルの転記の組合わせに
おいて、分解ファイル側の項目番号のデータを転記先フ
ァイル側の項目番号へ転記する(ステップ5812)。
Then, the data of the decomposition file pointed to by the item number is transferred to the item number on the destination file side of the decomposition item table (step 580B). Then set the processing pointer to "+1"
” (Step 5809). These processes are performed until the value of the processing pointer matches the value held in the decomposition item counter (Step 5810). Next, the decomposition file is processed according to the instructions registered in the posting item table. The item data is written to the posting destination file.The processing of the posting item is performed in the following steps.First, the processing pointer is initialized to 0 (step 5811).Next, the control means F writes the posting item pointed to by the processing pointer. In the table transcription combination, the data of the item number on the decomposition file side is transferred to the item number on the transcription destination file side (step 5812).

そして処理ポインタを“+1”する(ステップ5813
)。これら処理は、処理ポインタの値が転記項目カウン
タに保持されている値に一致するまで行われる(ステッ
プ5814)。
Then, the processing pointer is incremented by “+1” (step 5813
). These processes are performed until the value of the process pointer matches the value held in the posting item counter (step 5814).

これらの処理が完了すると、ix?II手段17は8組
ポインタの値を“+1”する(ステップ5815) 。
When these processes are completed, ix? The II means 17 increments the value of the 8-set pointer by "+1" (step 5815).

次にRiポインタの値がリピート項目数カウンタに一致
したかを判定しくステップ5816) 、一致しないと
きはステップ5805に戻り、8組ポインタの値がリピ
ート項目数カウンタに一致すれば、分解ファイルのルコ
ードに対する処理が完了したことになり、分解ファイル
のアクセスポインタを次のレコードへ進める(ステップ
5817)。次にアクセスポインタを進められるか否か
を判定しくステップ5818)、進められる場合はステ
ップ5804に戻り、進められない場合は、全てのレコ
ードに対して処理が完了したことになり、転記先ファイ
ルを閉じる処理が行われる。制御手段17は、テキスト
メモ91M1.テキストメモリ2M5において項目名が
書込まれている部分を空白に置き替える(ステップ58
19) 、項目管理テーブル2T7、レコードメモリ2
M6、テキストメモリ2M5、テキスト管理テーブル2
T5のデータを補助記憶手段19へ書込み、レコード分
解の処理を終了する(ステップ5820)。
Next, it is determined whether the value of the Ri pointer matches the number of repeat items counter (step 5816), and if they do not match, the process returns to step 5805. If the value of the 8-set pointer matches the number of repeat items counter, the code of the decomposition file is The processing for the decomposed file is completed, and the access pointer of the decomposed file is advanced to the next record (step 5817). Next, it is determined whether or not the access pointer can be advanced (step 5818), and if it can be advanced, the process returns to step 5804; if it cannot be advanced, it means that processing has been completed for all records, and the destination file is Close processing is performed. The control means 17 controls the text memo 91M1. The part where the item name is written in the text memory 2M5 is replaced with a blank (step 58).
19), item management table 2T7, record memory 2
M6, text memory 2M5, text management table 2
The data of T5 is written to the auxiliary storage means 19, and the record decomposition processing is completed (step 5820).

処理が完了すると、転記先ファイルには第5−40図に
示すようにデータが転記される。
When the processing is completed, data is transferred to the destination file as shown in FIG. 5-40.

(3)  レコード組立て 以上のような処理で、分解されたデータ処理ファイルに
対しレコード組立処理を行う場合の説明を行う。第11
図は組立処理時に用いるリピートテーブルT8、リピー
ト組数カウンタ、リピート項目数カウンタ、グループ項
目中間テーブル及びグループ階カウンタを説明する図で
あり、第111図はレコード組立処理のメインルーチン
のフローチャートである。メインルーチンでは操作者に
よる後述する組立用の転記先ファイルの指示(ステップ
590)、レコード組立条件の設定(ステップ5100
)及びレコード組立処理(ステップ5170)が行われ
る。まず分解されたデータ処理ファイルを開く。
(3) Record assembly A case in which record assembly processing is performed on the disassembled data processing file using the processing described above will be explained. 11th
The figure is a diagram for explaining the repeat table T8, repeat set number counter, repeat item number counter, group item intermediate table, and group floor counter used during the assembly process, and FIG. 111 is a flowchart of the main routine of the record assembly process. In the main routine, the operator instructs the transcription destination file for assembly (step 590), which will be described later, and sets record assembly conditions (step 5100).
) and record assembly processing (step 5170) are performed. First, open the decomposed data processing file.

次に第4図のステップS12でレコード組立てキーF6
が押されると、レコード分解/組立処理の組立処理に進
み、制御手段17はディレクトリテーブルT4より補助
記憶手段19に登録されているファイルの一覧表を画面
右下のAウィンドウに表示する。
Next, in step S12 of FIG. 4, the record assembly key F6 is pressed.
When is pressed, the process proceeds to the assembly process of the record disassembly/assembly process, and the control means 17 displays a list of files registered in the auxiliary storage means 19 from the directory table T4 in the A window at the lower right of the screen.

次に操作者は、リピート定義されているレコードを組立
てたものを転記するデータ処理ファイル(以下転記先フ
ァイルという)を指示する(ステップ590) (第5
−42図)。転記先ファイルが指示されると、第13−
2図に示すように制御手段17はつぎにレコード組立条
件を設定を行う。まず指定された転記先ファイルからデ
ータを続出、主記憶手段18内の項目管理テーブル2T
7、レコードメモIJ2M6、テキストメモリ2M5、
テキスト管理テーブル2T5、リピート項目テーブル2
T9に格納する。
Next, the operator instructs the data processing file (hereinafter referred to as the transcription destination file) to which the assembled records defined as repeat are to be transcribed (step 590) (fifth
-42 figure). When the destination file is specified, the 13th-
As shown in FIG. 2, the control means 17 then sets the record assembly conditions. First, data is successively transferred from the specified transfer destination file, and the item management table 2T in the main storage means 18
7, record memo IJ2M6, text memory 2M5,
Text management table 2T5, repeat item table 2
Store in T9.

次に第12図に示すレコード組立条件テーブルをすべて
クリアする。レコード組立条件テーブルは第12図に示
す如くグループ項目カウンタ及びグループ項目テーブル
と、組立項目カウンタ及び組立項目テーブルと、転記項
目カウンタ及び転記項目テーブルと、組立ファイル及び
転記先ファイルの夫々の合計項目と、保存タイプレジス
タ及び別文書保存テーブルとから構成される。制御手段
I7は組立条件ステータスを“グループ項目指定モード
”に初期化する (ステップ5lot)。
Next, all the record assembly condition tables shown in FIG. 12 are cleared. As shown in FIG. 12, the record assembly condition table includes a group item counter and a group item table, an assembly item counter and an assembly item table, a posting item counter and a posting item table, and total items for each of the assembly file and the posting destination file. , a storage type register, and a separate document storage table. The control means I7 initializes the assembly condition status to "group item designation mode" (step 5lot).

そして第5−43図に示すように画面を3分割し。The screen is then divided into three parts as shown in Figure 5-43.

左上画面にはレコード組立てされるデータ処理ファイル
(以下組立ファイルという)のカード、右上には転記先
ファイルのカード、下画面にはレコード組立条件を表示
する(ステップ5102)。次にステップ5103で制
御手段17は組立条件ステータスを判断する。組立条件
スタータスとしてはステップ5110の“グループ項目
指定モード” (第13−3図)、ステップ5120の
“組立項目指定モード”(第13−4図)、ステップ5
130の“転記項目指定モード” (第13−5図)、
ステップ5140の“合計項目指定モード” (第13
−6図)、ステップ5150の“グループ隘指定モード
1 (第13−7図)、ステップ5160の“保存タイ
プ指定モード” (第13−8図)に変化する。第13
−3図に示すステップ5110の“グループ項目指定処
理”では、制御手段17は下画面のタイトル“グループ
項目”を反転させ(ステップ51101)、キー人力待
ちになる(ステップ51102)。条件変更キー(カー
ソルキーSW2の一キー)が押されるとグループ項目指
定処理が起動される。制御手段17は組立ファイルのカ
ードの項目の先頭にカーソルを表示する (ステップ5
ilo)。
The upper left screen displays a card for a data processing file to be assembled into a record (hereinafter referred to as an assembly file), the upper right displays a card for a transfer destination file, and the lower screen displays record assembly conditions (step 5102). Next, in step 5103, the control means 17 determines the assembly condition status. The assembly condition status includes "group item designation mode" in step 5110 (Figure 13-3), "assembly item designation mode" in step 5120 (Figure 13-4), and step 5.
130 “Posting item specification mode” (Figure 13-5),
“Total item specification mode” in step 5140 (13th
(Fig. 13-6), "Group specification mode 1" (Fig. 13-7) in step 5150, and "Save type specification mode" (Fig. 13-8) in step 5160.
In the "group item designation process" of step 5110 shown in FIG. When the condition change key (one of the cursor keys SW2) is pressed, group item designation processing is started. The control means 17 displays a cursor at the beginning of the card item of the assembly file (step 5
ilo).

次にカーソル位置の項目が既に第12図に示すグループ
項目テーブルに登録されているかを判定しくステップ5
1104)、カーソル位置の項目がグループ項目テーブ
ルに登録されていなければ、“項目指定 指定終了”が
(ステップ51105)、また登録済みなら“項目削除
 指定終了”が夫々表示され(ステ、7ブ51106)
、キー人力待ちとなる(第544図)(ステップ511
07)、ここでカーソルキー(←−i、↓キー)が押さ
れると、制御手段17はカーソル移動の方向に存在する
項目を捜し、カーソルを移動させる (ステップ511
08)。ファンクションキーF1〜F5が押されると制
御手段17はカーソル位置の項目がグループ項目テーブ
ルに登録されているかどうか調べる(ステップ5110
9)。登録されていなければ、その項目をグループ項目
テーフ゛ルに登録しくステップ5ilo) 、グループ
項目カウンタを“+1”しくステップ5llll)、そ
の項目名に斜線を付加したものをカーソル“1”に書込
む(第5−45図)(ステップ51112)。またステ
ップ51109でグループ項目テーブルに登録済みの場
合はグループ項目テーブルの登録位置を捜し、カードか
ら斜線付き項目名を空白に書き替え表示しくステップ5
1113)、グループ項目テーブルから削除し、グルー
プ そして制御手段17は制御をステップS1104に戻し
、組立ファイルのカード側へカーソルを表示する。
Next, in step 5, it is determined whether the item at the cursor position is already registered in the group item table shown in FIG.
1104), if the item at the cursor position is not registered in the group item table, "Item specification - end of specification" is displayed (step 51105), and if it has been registered, "Delete item - end of specification" is displayed (Step 7, step 51106). )
, the key waits for human power (Fig. 544) (step 511).
07), when the cursor key (←-i, ↓ key) is pressed, the control means 17 searches for an item existing in the direction of cursor movement and moves the cursor (step 511).
08). When the function keys F1 to F5 are pressed, the control means 17 checks whether the item at the cursor position is registered in the group item table (step 5110).
9). If it is not registered, register the item in the group item table (step 5ilo), set the group item counter to "+1" (step 5llll), and write the item name with a diagonal line added to the cursor "1" (step 5illl)). 5-45) (step 51112). Also, if it has already been registered in the group item table in step 51109, search for the registered position in the group item table, and rewrite the diagonally shaded item name to blank from the card and display it.Step 5
1113) is deleted from the group item table, and the control means 17 returns control to step S1104 and displays the cursor on the card side of the assembly file.

ステップ51107で指定終了キーF6〜FIOが押さ
れると、ステップS1101に戻り、カード中のカーソ
ルを消し、キー人力待ちになる。ここで“組立項目”を
指定するために↓キーを押すと、制御手段17は組立条
件ステータスを“組立項目指定モード”にする (ステ
ップS1115)。
When the specification end keys F6 to FIO are pressed in step 51107, the process returns to step S1101, the cursor on the card is erased, and the process waits for key input. Here, when the ↓ key is pressed to designate the "assembly item", the control means 17 sets the assembly condition status to "assembly item designation mode" (step S1115).

第13−4図に示すステップS120の“組立項目指定
モード”では制御手段17は下画面のタイトル“組立項
目°を反転させ(ステップ1201) 、キー入力待ち
になる(第5−46図)(ステップ51202)。
In the "assembly item designation mode" of step S120 shown in FIG. 13-4, the control means 17 inverts the title "assembly item °" on the lower screen (step 1201) and waits for key input (FIG. 5-46). Step 51202).

ここで条件変更キー(カーソルキーSW2の→キー)が
押されると、カーソル位置の項目が組立項目テーブルに
登録済みか否かを判断しくステップS1204)、登録
済みのときはステップS1206で組立項目の欄に“項
目指定 指定終了”を、また未登録のときはステップS
1205で組立項目の欄に“項目削除指定終了”を夫々
表示し、第5−47図に示すように左側の組立ファンク
ションにカーソルが表示され、組立項目の指示処理が起
動され、キー人力待ちとなる (ステップS1207)
。ここで→ − ↑、↓キーが押されるとキ一方向にあ
る項目にカーソルが移動しくステップ51222)、カ
ーソル位置の項目がグループ項目テーブルに登録されて
いるかどうか調べる (ステップ51208)。登録さ
れていないときは、制御手段17はカーソル位置の項目
番号を仮決定項目レジスタに登録しくステップ5120
9)、その項目名に2重線を付加しカーソル位置に書込
み表示する(ステップ51210)。そして転記先ファ
イルのカードにカーソルを表示しくステップS1211
)、キー人力待ちになる (第5−48図)(ステップ
S1212)。
When the condition change key (→ key of cursor key SW2) is pressed here, it is determined whether the item at the cursor position has been registered in the assembly item table (step S1204), and if it has been registered, the assembly item is changed in step S1206. Enter “Item specification, specification completed” in the field, and if it is not registered, proceed to step S.
At step 1205, "Item deletion designation completed" is displayed in each column of assembly items, a cursor is displayed on the assembly function on the left side as shown in Figure 5-47, instruction processing for assembly items is started, and the key waits for human power. Becomes (Step S1207)
. Here, when the → - ↑ or ↓ keys are pressed, the cursor moves to the item in one direction (step 51222), and it is checked whether the item at the cursor position is registered in the group item table (step 51208). If the item number at the cursor position is not registered, the control means 17 registers the item number at the cursor position in the provisionally determined item register (step 5120).
9) Add a double line to the item name and write and display it at the cursor position (step 51210). Then, display the cursor on the card of the transcription destination file in step S1211.
), the key waits for human power (Figure 5-48) (step S1212).

また組立項目テーブルに登録済みの場合は組立項目テー
ブルの登録位置を捜しくステップS1213)、カード
から斜線付き項目名を空白に書き替え表示しくステップ
S1214)、組立項目テーブルから削除し、組立項目
カウンタを“−1”しくステップ51215)、ステッ
プS1204に戻る。ステップS1212のキー人力待
ちで転記先ファイルの場合はカーソル移動キ(− − 
↑、↓キー)が押されると、リピートテーブルT8の第
1組に登録されている項目からカーソル移動の方向に存
在する項目を捜し、カーソルを移動させる(ステップS
1216)。操作者が書込みしたい項目へカーソルを移
動し、指定キー(実行キー)を押すとカーソル位置へ二
重線付き項目名を書込み表示した後、カーソル位置の項
目番号と前記仮決定項目に登録された組立ファイル側の
項目番号とを1組にして組立項目カウンタの指す組立項
目テーブルにセットする(ステップS1217)。
In addition, if it has already been registered in the assembly item table, search for the registered position in the assembly item table (step S1213), rewrite the diagonal lined item name to blank and display it from the card (step S1214), delete it from the assembly item table, and display it on the assembly item counter. is set to "-1" (step 51215), and the process returns to step S1204. If the key in step S1212 is waiting for human power and the destination file is the cursor movement key (- -
When the ↑, ↓ key) is pressed, the item existing in the direction of cursor movement is searched from the items registered in the first set of repeat table T8, and the cursor is moved (step S
1216). When the operator moves the cursor to the item he wants to write and presses the specified key (execute key), the item name with a double line is written and displayed at the cursor position, and then the item number at the cursor position and the item registered in the tentatively decided item are displayed. The item number on the assembly file side is combined into a set and set in the assembly item table pointed to by the assembly item counter (step S1217).

そして組立項目カウンタを“+1″する (ステップS
1218)。そして制御手段17は組立ファイル側へカ
ーソルを表示しく第5−49図)、ステップS1204
に制御を戻し、上記操作を繰り返し組立項目の対応付け
を行う (第5−50図)。ステップS1207で指定
終了キーF6〜FIOが押されると制御手段17はステ
ップ51201に制御を戻し、下画面の“組立項目”に
カーソルを表示し、キー人力町になる(ステップS12
02)。
Then, add 1 to the assembly item counter (Step S
1218). Then, the control means 17 displays the cursor on the assembly file side (Fig. 5-49), step S1204.
Control is returned to , and the above operations are repeated to associate the assembly items (Figure 5-50). When the specification end keys F6 to FIO are pressed in step S1207, the control means 17 returns the control to step 51201, displays the cursor on "assembly item" on the lower screen, and becomes the key "Jinryoku Town" (step S12
02).

ステップS1202で↓キーが押されると制御手段17
は組立条件ステータスを“転記項目指定モード”にしく
ステップS1219)、制御を第13−5図に示すステ
ップS130の転記項目指定処理に移行する。また↑キ
ーが押されると組立条件ステータスを再度“グールブ項
目指定モード”にしくステップS1220)、終了キー
Filが押されると組立条件ステータスを“完了”にし
くステップ51221)、レコード組立条件設定処理に
リターンする。ステップ3130の転記項目指定処理で
は画面下“転記項目”を反転しくステップS1301)
、キー人力待ちになる(第551図) (ステップ51
302)。操作者が変更キー(カーソルキーSW2の一
キー)を押すと、制御手段17は転記項目指定処理を起
動し、組立ファイルのカードにカーソルを表示する (
ステップ51303)。転記項目指定は前述の“組立項
目の対応付け”同様の操作を行い(ステップ51304
〜51322)、指示する(第5−52図、第5−53
図(a))。但し、転記先ファイル側のカードではカー
ソルがリピートテーブルT8に登録されていない項目の
み移動する。また、転記項目の状況を示すために二重線
ではなく波線が付加された項目名が書込まれ表示される
(ステップ51310)。対応付けが終われば指示終了
キーF6〜FIOを押す。制御手段17は下画面の“転
記項目”にカーソルを表示しくステップ51301)、
キー人力待ちになる (第5−53図fb))(ステッ
プ51302)。
When the ↓ key is pressed in step S1202, the control means 17
sets the assembly condition status to "posting item designation mode" (step S1219), and shifts the control to the posting item designation process of step S130 shown in FIG. 13-5. Also, when the ↑ key is pressed, the assembly condition status is changed to "group item specification mode" again in step S1220), and when the end key Fil is pressed, the assembly condition status is changed to "completed" in step 51221), and the record assembly condition setting process is started. Return. In the posting item specification process in step 3130, the "posting item" at the bottom of the screen is highlighted (step S1301).
, the key is waiting for human power (Figure 551) (Step 51)
302). When the operator presses the change key (one of the cursor keys SW2), the control means 17 starts the transcription item designation process and displays the cursor on the card of the assembly file (
Step 51303). To specify posting items, perform the same operation as the above-mentioned “assembly item mapping” (step 51304).
~51322), instruct (Figures 5-52, 5-53)
Figure (a)). However, on the card on the transfer destination file side, the cursor moves only to items that are not registered in the repeat table T8. Further, to indicate the status of the posted item, the item name with a wavy line added instead of a double line is written and displayed (step 51310). When the association is completed, the instruction end key F6 to FIO is pressed. The control means 17 displays the cursor on the "posting item" on the lower screen (step 51301),
The key is waiting for human power (Figure 5-53 fb)) (Step 51302).

ステップ51302で↓キーが押されると制御手段17
は組立条件ステータスを“合計項目指定モード”にしく
ステップ51319)、制御を第13−6図に示すステ
ップ5140の合計項目指定処理に移行する。また↑キ
ーが押されると組立条件ステータスを再度“組立項目指
定モード”にしくステップ51320)、終了キーFi
lが押されると組立条件ステータスを“完了”にしくス
テップ51321)、レコード組立条件設計処理にリタ
ーンする。ステップ5140の合計項目指定処理では画
面下“合計項目”を反転しくステップ51401)、キ
ー人力待ちになる(第554図)(ステップ51402
)。操作者が変更キー(−キー)を押すと、制御手段1
7は合計項目指定処理を起動し、組立ファイルのカード
にカーソルを表示する (ステップ51403)。合計
項目指定は前述の“組立項目の対応付け”同様の操作を
行い(ステップ51404〜51422)指示する(第
5−55図、第556図)。但し、組立ファイルのカー
ドにおけるカーソルはすべての項目へ移動でき、転記先
ファイルのカードにおけるカーソルはリピートテーブル
T8に登録されていない項目のみ移動する。また、合計
項目の対応状況を示すために下線が付加された項目名が
書込まれ表示される(ステップ51410)。
When the ↓ key is pressed in step 51302, the control means 17
sets the assembly condition status to "total item designation mode" (step 51319), and shifts the control to total item designation processing in step 5140 shown in FIG. 13-6. Also, when the ↑ key is pressed, the assembly condition status is changed to "assembly item specification mode" again (step 51320), and the end key is pressed.
When l is pressed, the assembly condition status is set to "completed" (step 51321), and the process returns to the record assembly condition design process. In the total item designation processing in step 5140, the "total item" at the bottom of the screen is highlighted (step 51401), and the key waits for human input (Fig. 554) (step 51402).
). When the operator presses the change key (- key), control means 1
Step 7 starts the total item specification process and displays the cursor on the card of the assembly file (step 51403). To designate the total items, the same operation as the above-mentioned "association of assembly items" is performed (steps 51404 to 51422) and instructions are given (Figures 5-55 and 556). However, the cursor on the assembly file card can be moved to all items, and the cursor on the transcription destination file card can only be moved to items that are not registered in the repeat table T8. In addition, underlined item names are written and displayed to indicate the correspondence status of the total items (step 51410).

対応付けが終わればステップ51407で指示終了キー
F6〜FIOを押す。
When the association is completed, the instruction end keys F6 to FIO are pressed in step 51407.

制御手段17は合計項目テーブルをクリアし、下画面の
条件を再表示しくステップ5141B)、ステップ51
401に制御を戻し、下画面の“合計項目”にカーソル
を表示し、キー人力待ちになる(第557図)(ステッ
プ51402)。
The control means 17 clears the total item table and redisplays the conditions on the lower screen (Step 5141B), Step 51
The control is returned to step 401, the cursor is displayed on the "total item" on the lower screen, and the system waits for key input (FIG. 557) (step 51402).

ステ・ノブ51402で↓キーが押されると制御手段1
7は組立条件ステータスを“グールプ内隘指定モード”
にしくステップ51419)、制御を第13−7図に示
すステップ5150のグールブ内患指定処理に移行する
。また↑キーが押されると組立条件ステータスを再度“
転記項目指定モード”にしくステ・ノブ51420)、
終了キーが押されると組立条件ステータスを“完了”に
しくステップ51421)、レコード組立条件設定処理
にリターンする。ステップ5150のグールブ内寛指定
処理では画面下“グループ内階゛を反転しくステップ5
1501)、キー人力待ちになる(第5−58図)(ス
テップ51502)。操作者が変更キー(−キー)を押
すと、制御手段17はグールプ内患指定処理を起動し、
転記先カードのリピートテーブルT8に登録されていな
い項目にカーソルを表示する(ステップ51503)。
When the ↓ key is pressed on Ste Knob 51402, control means 1
7 sets the assembly condition status to “group specification mode”
Next, in step 51419), control is transferred to the in-group disease designation process in step 5150 shown in FIG. 13-7. Also, if the ↑ key is pressed, the assembly condition status will be changed again.
Posting item specification mode "Nishuku Ste Knob 51420),
When the end key is pressed, the assembly condition status is set to "completed" (step 51421), and the process returns to the record assembly condition setting process. In step 5150, in the group interior designation process, the bottom of the screen "group floor" is inverted, and step 5
1501), the key is waiting for human power (Figure 5-58) (step 51502). When the operator presses the change key (- key), the control means 17 starts the in-group patient designation process,
A cursor is displayed on an item that is not registered in the repeat table T8 of the transfer destination card (step 51503).

そして第5−59図に示すように下欄に“項目を指定し
て実行を押して下さい”を表示して(ステップ5i50
4)、キー人力待ちとなる (ステップ51505)。
Then, as shown in Figure 5-59, "Please specify the item and press execute" is displayed in the lower column (step 5i50).
4) Waiting for key personnel (step 51505).

カーソルはカード内を自由に移動できる。操作者がグー
ルプ内陽を記入したい項目へカーソルキーSW2の操作
によりカーソルを移動しくステップ51506)、実行
キーSWIを押すと(ステップ51507)、制御手段
17はカーソル位置へ下線付項目名を書込み表示した後
(ステップ51507)、カーソル位置の項目番号をグ
ールプ内患レジスタに登録する(ステップ31508)
The cursor can be moved freely within the card. When the operator moves the cursor to the item in which he wants to enter the group name by operating the cursor key SW2 (step 51506) and presses the execution key SWI (step 51507), the control means 17 writes and displays the underlined item name at the cursor position. After that (step 51507), the item number at the cursor position is registered in the group register (step 31508).
.

そして制御手段17は制御をステップS1に戻し、下画
面の“グールブ内患”にカーソルを表示し、キー人力待
ちになる(第5−60図)(ステップ51502)。
Then, the control means 17 returns the control to step S1, displays the cursor on "Group Infection" on the lower screen, and waits for key input (Figure 5-60) (Step 51502).

操作者は次にファイルの保存方法に関する指示を行うた
めステップ51502のキー人力待ちで↓キーを押す。
The operator then presses the ↓ key while waiting for key input in step 51502 to issue an instruction regarding how to save the file.

制御手段17は組立条件ステータスを“保存タイプ指定
モード”にしくステップ51509)、制御を第13−
8図に示すステップ5160の保存タイプ指定処理に移
行する。また丁キーが押されると組立条件ステータスを
再度“合計項目指定モード”にしくステップ51510
)、終了キーが押されると組立条件ステータスを“完了
”にしくステップ51511)、レコード組立条件設定
処理にリターンする。ステップ5160の保存タイプ指
定処理では“終了処理”を反転しくステップ51601
)、キー人力待ちとなる(ステップ51602)。ここ
で−キーを押すと、保存タイプ指定の画面になる。具体
的には“変換キーを押せば変更できます”を表示し、そ
して下画面の“終了処理”の右側にカーソルを表示しく
ステップ51603)、キー人力待ちになる(第5−6
1図)(ステップ51606)。ここで変換キーが押さ
れれば制御手段17は保存タイプレジスタの値をO(“
保存する”)−1(“別文書保存”)−0−1・・・と
変更しくステップ51605)、画面上もタイプを再表
示しくステップ51606)、ステップ51604に制
御を戻しキー人力待ちとなる。保存タイプ処理において
“保存する”は指定した転記先ファイルを更新し保存す
るという処理で、“別文書保存”は更新した転記先ファ
イルを別ファイルとして保存し、元のファイルの状態を
変えないという処理である。
The control means 17 sets the assembly condition status to "save type specification mode" (step 51509), and switches the control to the 13th-
The process moves to the storage type designation process of step 5160 shown in FIG. Also, when the D key is pressed, the assembly condition status is changed to "total item specification mode" again in step 51510.
), when the end key is pressed, the assembly condition status is set to "complete" (step 51511), and the process returns to the record assembly condition setting process. In the save type specification process in step 5160, the "end process" is reversed and step 51601
), the system waits for key personnel (step 51602). If you press the - key here, a screen for specifying the save type will appear. Specifically, it displays "Press the conversion key to change" and displays the cursor on the right side of "End processing" on the bottom screen (step 51603), and waits for key input (step 5-6).
1) (step 51606). If the conversion key is pressed here, the control means 17 changes the value of the save type register to O(“
"Save") -1 ("Save Separate Document") -0-1... Step 51605), the type is displayed again on the screen Step 51606), and control returns to Step 51604, waiting for key input. .In save type processing, "Save" is a process that updates and saves the specified transcription destination file, and "Save as separate document" saves the updated transcription destination file as a separate file without changing the state of the original file. This is the process.

保存タイプ指示が完了すれば−キーを押す。制御手段1
7は保存タイプレジスタの内容を判断して(ステップ5
1607)、それが1 (“別文書保存”)なら、保存
するキャビネット名、文書名、著者名、日付を操作者に
入力させ(第5−62図)、その値を別文書保存テーブ
ルに登録する(ステップ51608)。
When the save type instruction is completed, press the - key. Control means 1
7 determines the contents of the save type register (step 5)
1607), and if it is 1 (“save as separate document”), the operator inputs the cabinet name, document name, author name, and date to be saved (Figure 5-62), and registers the values in the separate document save table. (Step 51608).

そして入力された組立条件を再表示しくステップ516
09)、ステップ51601に戻り“終了処理”を反転
し、キー人力待ちになる(第5−63図)(ステップ5
1602)。操作者は指示が完了したので、組立条件設
定終了キー(実行キー)を押しくステップ31608)
、組立条件ステータスを“完了”にし、制御をレコード
組立条件設定処理に戻す。
Then, the input assembly conditions are displayed again in step 516.
09), returns to step 51601, reverses "end processing", and waits for key human power (Figure 5-63) (step 5
1602). Since the instructions have been completed, the operator presses the assembly condition setting end key (execute key) (step 31608).
, set the assembly condition status to "completed" and return control to the record assembly condition setting process.

制御手段17はレコード組立条件設定処理が終了すると
第13−9図に示すステップ5170のレコード組立の
実処理をスタートする。ここではまず、保存タイプレジ
スタの内容が“別文書保存”かどうか判定する(ステッ
プ51701)。“別文書保存”の場合もとのファイル
を残す必要があるので転記先ファイルを“保存キャビネ
ット名”が指すキャビネットへ“保存文書名”保存著者
名”保存日付”で複写しくステップ51702)、以降
の処理は複写したファイルに対して行う。保存タイプレ
ジスタの内容が“保存する”の場合は転記先ファイルに
対して直接処理が行われる。ここでは転記先ファイルに
対して直接処理を行う場合について説明する。
Upon completion of the record assembly condition setting process, the control means 17 starts the actual record assembly process of step 5170 shown in FIG. 13-9. Here, first, it is determined whether the contents of the save type register are "separate document save" (step 51701). In the case of "Save Separate Document", it is necessary to leave the original file, so copy the destination file to the cabinet pointed to by "Save Cabinet Name" with "Save Document Name", Save Author Name, and Save Date" (Step 51702), and onwards. This process is performed on the copied file. If the content of the save type register is "save", processing is performed directly on the destination file. Here, we will explain the case where processing is performed directly on the transcription destination file.

制御手段17は組立ファイルのアクセスポインタを先頭
レコードに移動し、転記先ファイルのアクセスポインタ
を最終レコードに移動する(ステップ51703)。
The control means 17 moves the access pointer of the assembly file to the first record, and moves the access pointer of the transcription destination file to the last record (step 51703).

次にグールブ内隘カウントに“1“をセットする (ス
テップ51704)。そして組立ファイルのアクセスポ
インタが指すレコードでグールプ項目に指定されている
項目の内容をグールプ項目中間テーブルにセントする 
(ステップ51705)。転記先ファイルのアクセスポ
インタが指すレコードの次に新しいレコードを追加し、
アクセスポインタをそのレコードに移動する。そしてリ
ピートテーブル組ポインタ (以下R組ポインタという
)の初期値として“0”を書込み、合計値計算レジスタ
に“O”を書込み、グールプ先頭しコード隘レジスタに
転記先ファイルのアクセスポインタが指すレコード番号
を記録する。
Next, the group internal count is set to "1" (step 51704). Then, the contents of the item specified as the group item in the record pointed to by the access pointer of the assembly file are sent to the group item intermediate table.
(Step 51705). Adds a new record after the record pointed to by the access pointer of the destination file,
Move the access pointer to that record. Then, write “0” as the initial value of the repeat table group pointer (hereinafter referred to as R group pointer), write “O” to the total value calculation register, set the group to the beginning, and write the record number pointed to by the access pointer of the transfer destination file to the code limit register. Record.

次に制御手段17は転記先ファイルに転記項目を書込む
。まず処理ポインタを“0”にセットする(ステップ5
1706)。そして転記テーブルに登録されている項目
の組合わせを順次処理してゆく (ステップ1707)
。1Mlの転記処理が済むごとに処理ポインタを“+1
”してゆき (ステップ51708)、転記項目カウン
タの値と処理ポインタの値とが一致するまで処理を続け
る (ステップ51709)。
Next, the control means 17 writes the transcription item to the transcription destination file. First, set the processing pointer to “0” (step 5
1706). Then, the combinations of items registered in the posting table are sequentially processed (step 1707).
. Each time 1Ml of transcription processing is completed, the processing pointer is set to “+1”.
” (Step 51708), and the process continues until the value of the posting item counter and the value of the processing pointer match (Step 51709).

次に制御手段17は組立ファイルのアクセスポインタが
指すレコードにおいて、合計項目に指定されている項目
の値を合計値計算レジスタに足し込み、グールプ内嵐レ
ジスタに登録されている項目にグールプ内階カウントの
値を書込む(ステップ51710)。
Next, the control means 17 adds the value of the item specified as the total item to the total value calculation register in the record pointed to by the access pointer of the assembly file, and adds the group internal floor count to the item registered in the group internal storm register. The value of is written (step 51710).

次に制御手段17は、転記先ファイルのリピート項目に
対する処理を行う。最初に処理ポインタを“0”にする
 (ステップ51711)。そして組立項目テーブルに
登録されている項目の組合わせを順次処理してゆく。1
粗目の組立項目テーブルに登録されている転記先ファイ
ルの項目がまずリピートテーブルの第1粗目の存在列位
置くN列)を調べる。つぎに8組ポインタが指すリピー
トテーブルの組におけるN列目にある項目番号Kを取出
す。
Next, the control means 17 performs processing on the repeat item of the transcription destination file. First, the processing pointer is set to "0" (step 51711). Then, the combinations of items registered in the assembly item table are sequentially processed. 1
The item of the transfer destination file registered in the coarse assembly item table is first checked in the first coarse existence column (column N) of the repeat table. Next, the item number K in the Nth column of the set of repeat tables pointed to by the 8-set pointer is retrieved.

そして■粗目の組立項目テーブルに登録されている組立
ファイルの項目番号に従い組立ファイルのデータを読出
し、転記先ファイルの項目番号にへ書込む(ステップ5
1712)。1組の転記処理が済むごとに処理ポインタ
を“+1”してゆき(ステップ51713)、組立項目
カウンタの値と処理ポインタの値とが一致するまで処理
を続ける(ステップ51714)。
Then, ■ Read the data of the assembly file according to the item number of the assembly file registered in the coarse assembly item table, and write it to the item number of the destination file (Step 5
1712). Each time one set of transcription processing is completed, the processing pointer is incremented by "+1" (step 51713), and processing is continued until the value of the assembly item counter and the processing pointer match (step 51714).

制御手段17は組立ファイルのルコードに対する処理が
終了したので、組立ファイルのアクセスポインタを次の
レコードへ進める(ステップ51715)。
Since the control means 17 has finished processing the code of the assembly file, it advances the access pointer of the assembly file to the next record (step 51715).

次にステップ51716で次のレコードへ進めたか否か
を判定し、次のレコードへ進めたときはアクセスポイン
タが指すレコードでのグールプ項目テーブルに指定され
ている項目の内容とグールプ項目中間テーブルにセット
されている値とを比較する(ステップ51717)。比
較の結果一致すれば、グールプは同一と見なし処理を続
け、8組ポインタを“+1”する(ステップ51718
)。ステップ51717で比較の結果が一致しないとき
は、ステップ51721で合計項目の書込みを行い、ス
テップ51704に戻る。
Next, in step 51716, it is determined whether or not the process has proceeded to the next record, and when it has proceeded to the next record, the contents of the item specified in the group item table in the record pointed to by the access pointer and the group item intermediate table are set. (step 51717). If they match as a result of the comparison, the groups consider them to be the same and continue processing, adding "+1" to the 8-set pointer (step 51718).
). If the comparison result does not match in step 51717, the total item is written in step 51721, and the process returns to step 51704.

この結果、8組ポインタの値がリピート組数カウンタに
一致するか否かを判定しくステップ51719)、一致
する場合はグールプ内隘カウントを“1”しくステップ
51720)、転記先ファイルに新しいレコードを追加
するステップ51706の処理へ戻り、処理を繰り返す
。R)Jlポインタの値がリピート組数カウンタに一致
しなかった場合は処理ポインタに“0“をセットするス
テップ51711の組立項目処理へ戻り、処理を繰り返
す。
As a result, it is determined whether the value of the 8-set pointer matches the repeat set number counter (step 51719), and if they match, the in-group count is set to "1" (step 51720), and a new record is written to the destination file. Returning to the process of adding step 51706, the process is repeated. R) If the value of the Jl pointer does not match the repeat set number counter, return to the assembly item processing of step 51711 in which the processing pointer is set to "0" and the processing is repeated.

前述においてグールプに変化が起こった場合について説
明する。この場合、制御手段17は転記先ファイルのア
クセスポインタをグールプ先頭しコード隘レジスタに記
録されているレコード番号へ移動する。そして、合計値
計算レジスタに保持されている合計結果の値を転記先フ
ァイルの合計項目へ書込む。そして、制御手段17は転
記先ファイルのアクセスポインタを最終レコードへ移動
し処理を続ける。
The case where a change occurs in the group described above will be explained. In this case, the control means 17 moves the access pointer of the transfer destination file to the head of the group and to the record number recorded in the code number register. Then, the value of the total result held in the total value calculation register is written to the total item of the posting destination file. Then, the control means 17 moves the access pointer of the transcription destination file to the last record and continues processing.

前述の組立ファイルのアクセスポインタを次のレコード
へ進めるときにステップ51716で進めなければ、全
てのレコードを処理したことになるので処理を終了する
。まず、グールプに変化が起こった場合に合計項目を書
込んだときと同様に、合計項目の処理を行う (ステッ
プ51722)。最後に、制御手段17はテキストメモ
リIM1、テキストメモリ2M5において項目名が書込
まれている部分を空白に置き替える(ステップ5172
3)。項目管理テーブル2T7、レコードメモリ2肚、
テキストメモリ2M5、テキスト管理テーブル2T5の
データを補助記憶手段19へ書込み(ステップ5172
4)、レコード組立の処理を終了する。処理が完了する
と、転記先ファイルは第5−64図、第5−65図に示
すように組立てられたデータが転記される。
If the access pointer of the assembly file described above is not advanced to the next record in step 51716, all records have been processed and the process ends. First, the total item is processed in the same way as when the total item is written when a change occurs in the group (step 51722). Finally, the control means 17 replaces the portions where the item names are written in the text memory IM1 and the text memory 2M5 with blanks (step 5172).
3). Item management table 2T7, record memory 2,
Write data of text memory 2M5 and text management table 2T5 to auxiliary storage means 19 (step 5172
4) Finish the record assembly process. When the processing is completed, the data assembled as shown in FIGS. 5-64 and 5-65 is transferred to the destination file.

〔効果〕〔effect〕

以上説明したとおり、本発明においては、キーとなる第
1の項目と第2の項目複数を1組とする項目群複数組と
を含むレコードにおける項目群を指定し、第1の項目と
指定された項目群1組とを対応させた分解レコードを生
成し、分解レコードを第1の項目ごとに対応させて項目
群複数組からなる組立レコードを生成するので、複数組
の項目群を第1の項目に対応づけて必要に応じて複雑な
処理を行うことなく転記でき、必要に応じて任意にレコ
ードの加工ができる等価れた効果を奏する。
As explained above, in the present invention, an item group in a record including a plurality of item groups including a first item serving as a key and a plurality of second items is specified, and the item group specified as the first item is specified. A disassembly record is generated that corresponds to one set of item groups, and an assembly record consisting of multiple sets of item groups is generated by associating the disassembly record for each first item. The record can be transcribed in association with the item without performing complicated processing as needed, and records can be arbitrarily processed as needed, giving the same effect.

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

第1図は本発明に係るデータ処理装置のハード構成を示
すブロック図、第2図はキーボードの平面図、第3図は
データ処理装置の機能構成図、第4図は制御手段の基本
処理内容を示すフローチャート、第5図は表示画面を示
す図、第6図は項目管理テーブルの説明図、第7図はレ
コードメモリ1の格納状態を示す図、第8図はリピート
テーブルの説明図、第9図はレコード分解条件テーブル
の説明図、第10図はレコード分解処理の内容を示すフ
ローチャート、第11図は組立処理時のリピートテーブ
ルの説明図、第12図はレコード組立条件テーブルの説
明図、第13図は組立処理の内容を示すフローチャート
である。 1・・・CPU  17・・・制御手段 P56・・・
レコード分解/組立手段 特 許 出願人  三洋電機株式会社
Fig. 1 is a block diagram showing the hardware configuration of the data processing device according to the present invention, Fig. 2 is a plan view of the keyboard, Fig. 3 is a functional configuration diagram of the data processing device, and Fig. 4 is the basic processing content of the control means. 5 is a diagram showing the display screen, FIG. 6 is an explanatory diagram of the item management table, FIG. 7 is a diagram showing the storage state of the record memory 1, FIG. 8 is an explanatory diagram of the repeat table, 9 is an explanatory diagram of the record disassembly condition table, FIG. 10 is a flowchart showing the contents of record disassembly processing, FIG. 11 is an explanatory diagram of the repeat table during assembly processing, and FIG. 12 is an explanatory diagram of the record assembly condition table. FIG. 13 is a flowchart showing the contents of the assembly process. 1...CPU 17...Control means P56...
Record disassembly/assembly method patent Applicant: SANYO Electric Co., Ltd.

Claims (1)

【特許請求の範囲】 1、キーとなる第1の項目と、それに関連する第2の項
目複数を1組とする項目群複数組とを含むレコードを有
するデータファイルを処理するデータ処理装置において
、 前記レコードにおける前記項目群を指定する手段と、 前記レコードから第1の項目と、指定された項目群の1
組とを対応させた複数の分解レコードを生成する分解レ
コード生成手段と、生成された複数の分解レコードから
第1の項目ごとに前記項目群複数組を有する組立レコー
ドを生成する組立レコード生成手段と を備えることを特徴とするデータ処理装置。
[Claims] 1. In a data processing device that processes a data file having a record including a plurality of item groups each including a first item serving as a key and a plurality of second items related to the first item, means for specifying the item group in the record; a first item from the record and one of the specified item group;
a disassembly record generation means for generating a plurality of disassembly records in which the sets are made to correspond to each other; and an assembly record generating means for generating an assembly record having a plurality of sets of item groups for each first item from the plurality of generated disassembly records. A data processing device comprising:
JP2021713A 1990-01-30 1990-01-30 Data processor Pending JPH03225449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021713A JPH03225449A (en) 1990-01-30 1990-01-30 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021713A JPH03225449A (en) 1990-01-30 1990-01-30 Data processor

Publications (1)

Publication Number Publication Date
JPH03225449A true JPH03225449A (en) 1991-10-04

Family

ID=12062708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021713A Pending JPH03225449A (en) 1990-01-30 1990-01-30 Data processor

Country Status (1)

Country Link
JP (1) JPH03225449A (en)

Similar Documents

Publication Publication Date Title
JPH03225449A (en) Data processor
JP2760549B2 (en) Information processing device
JP2975624B2 (en) Information processing device
JP2983566B2 (en) Data processing device
JPH03225474A (en) Data processor
JPH03240873A (en) Data processor
JPH0352089B2 (en)
JPH04116759A (en) Data processor
JP3817871B2 (en) Document processing apparatus and program recording medium thereof
JP3480890B2 (en) Document information management system
JPH04124762A (en) Data processor
JPH02232717A (en) Information processor
JPH04665A (en) Document structure input device and method, and input device used for these devices or methods
JPH0424715A (en) Information processor
JPH0786876B2 (en) Information processing equipment
JPH0476670A (en) Information processor
JPH07112732B2 (en) Sheet music composition device
JPH0916696A (en) File organization for auditing
JPH0316661B2 (en)
JPH03240847A (en) Data processor
JPH06325034A (en) Information processor
JPS62119665A (en) Word processor
JPS60181826A (en) Document producer
von Bechtolsheim Processing with TEX
JPH0424714A (en) Information processor