JPH0652495B2 - Message text editing control method - Google Patents

Message text editing control method

Info

Publication number
JPH0652495B2
JPH0652495B2 JP63217679A JP21767988A JPH0652495B2 JP H0652495 B2 JPH0652495 B2 JP H0652495B2 JP 63217679 A JP63217679 A JP 63217679A JP 21767988 A JP21767988 A JP 21767988A JP H0652495 B2 JPH0652495 B2 JP H0652495B2
Authority
JP
Japan
Prior art keywords
message
text
variable
original
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63217679A
Other languages
Japanese (ja)
Other versions
JPH0264757A (en
Inventor
収 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63217679A priority Critical patent/JPH0652495B2/en
Publication of JPH0264757A publication Critical patent/JPH0264757A/en
Publication of JPH0652495B2 publication Critical patent/JPH0652495B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、メッセージテキストの組み立て編集の制御方
式に関するものであり、特に、メッセージの言語、使用
目的に応じてメッセージ原文のみならず、プログラムで
用意された可変メッセージデータを選択して組み立てて
編集することができるメッセージテキスト編集制御方式
に関する。
The present invention relates to a control method for assembling and editing a message text, and in particular, not only a message original text but also a program according to a message language and a purpose of use can be used. The present invention relates to a message text editing control method capable of selecting prepared variable message data, assembling, and editing.

〔概要〕〔Overview〕

本発明は、識別コードと対応させて設けたメッセージ原
文と、このメッセージ原文に対応する識別コードを持つ
プログラムから与えられる情報とから、メッセージテキ
ストを組み立て、編集するメッセージテキスト編集制御
手段において、 メッセージ原文中に可変フィールドを設け、この可変フ
ィールド中にメッセージテキストを作成するプログラム
の対応するテーブルにより引き出す可変メッセージデー
タを埋め込んでメッセージテキストを編集することによ
り、 メッセージテキストの言語変更を容易に行なえるように
するものである。
According to the present invention, a message text editing control means for assembling and editing a message text from a message original text provided in association with an identification code and information provided from a program having an identification code corresponding to the message original text is used. A variable field is provided in the variable field. By editing the message text by embedding the variable message data extracted by the corresponding table of the program that creates the message text in this variable field, the language of the message text can be easily changed. To do.

〔従来の技術〕[Conventional technology]

従来、メッセージテキストの編集制御方式では、メッセ
ージ原文に含まれる固定テキストと、メッセージを発行
しようとするプログラムで指定される単一の埋め込み用
テキストを組み合わせて、最終メッセージテキストを作
成していた(例えば特公昭60− 19012公報、特開昭61−
113237号公報)。
Conventionally, in the message text edit control method, the final message text is created by combining the fixed text included in the original message text and the single embedded text specified by the program that issues the message (for example, Japanese Patent Publication No. 60-19012, Japanese Patent Laid-Open No. 61-
No. 113237).

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

この上述した従来のメッセージテキスト編集制御方式
は、メッセージテキストを発行しようとするプログラム
内で、メッセージ原文中に埋め込む埋め込みテキストを
一通りしか用意できない。このため、メッセージ原文を
変えることにより可能となるメッセージテキストの言語
の変更で、固定テキストデータの言語は変更できても、
プログラムから得られる可変テキストデータの言語は変
更できない欠点があった。
The above-described conventional message text editing control method can prepare only one set of embedded text to be embedded in the original message in the program that issues the message text. Therefore, even if the language of the fixed text data can be changed by changing the language of the message text that is possible by changing the message original text,
There is a drawback that the language of variable text data obtained from the program cannot be changed.

本発明の目的は、固定テキストのみならずメッセージ発
行プログラムで用意する可変テキストについても、言語
変更を容易に行なえるメッセージテキスト編集制御方式
を提供することにある。
An object of the present invention is to provide a message text editing control system that can easily change the language not only for fixed text but also for variable text prepared by a message issuing program.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、識別コードと対応させて設けたメッセージ原
文と、このメッセージ原文に対応する識別コードを持つ
プログラムから与えられる情報とからメッセージテキス
トを組み立て編集するメッセージテキスト編集制御手段
において、 上記メッセージ原文中には、あらかじめ固定長のメッセ
ージデータを格納する固定長メッセージフィールドと上
記プログラムから与えられる可変メッセージデータを格
納する可変メッセージフィールドとを設け、上記メッセ
ージ原文に対応する識別コードと編集するメッセージテ
キスト属性に対応する可変メッセージデータのポインタ
とを含むパラメータテーブルを備え、上記メッセージ原
文中のメッセージテキスト属性と一致するテキスト属性
を有する可変メッセージデータを上記パラメータテーブ
ルを介して選択し、上記メッセージ原文中の可変メッセ
ージフィールド中に埋め込んでメッセージテキストを組
み立て編集する編集処理手段を備えたことを特徴とす
る。
According to the present invention, there is provided a message text editing control means for assembling and editing a message text from a message original text provided in correspondence with an identification code and information provided from a program having an identification code corresponding to the message original text. Has a fixed-length message field for storing fixed-length message data and a variable message field for storing variable message data given by the program in advance, and the identification code corresponding to the above-mentioned message original text and the message text attribute to be edited are provided. A parameter table containing pointers to corresponding variable message data is provided, and variable message data having a text attribute that matches the message text attribute in the message text is transmitted via the parameter table. It is characterized in that it further comprises an edit processing means for selecting, selecting, and embedding in a variable message field in the message original text to assemble and edit the message text.

〔作用〕 メッセージ原文中には、固定テキストを格納する固定長
メッセージフィールドとメッセージテキストを作成する
プログラムから与えられる可変メッセージデータを埋め
込む可変メッセージフィールドが設けられている。
[Operation] In the message original text, there are provided a fixed length message field for storing fixed text and a variable message field for embedding variable message data given from a program for creating the message text.

この可変メッセージフィールド中にそのメッセージ原文
の識別コードとテキスト属性とが一致する可変メッセー
ジデータをパラメータテーブルを検索することにより取
り出して可変メッセージフィールド中に埋め込み、作成
すべきメッセージテキストを作成編集する。
Variable message data in which the identification code of the original message and the text attribute match is retrieved in this variable message field by searching the parameter table and embedded in the variable message field to create and edit the message text to be created.

〔実施例〕〔Example〕

以下図面を参照して本発明実施例を説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例を説明するためのシステム
構成を示す図である。
FIG. 1 is a diagram showing a system configuration for explaining an embodiment of the present invention.

メッセージ原文を格納する原文格納領域1は、識別コー
ド4とこれに対応するメッセージ原文5とを格納してお
り、仮想記憶空間2内に設けられている。メッセージテ
キストを編集するためのプログラム3は、メッセージの
出力を指示する指示情報を含んでおり、メッセージの組
み立て編集を行う処理手段6が、このプログラム3を実
行し、メッセージテキスト7を作成する構成である。
An original text storage area 1 for storing a message original text stores an identification code 4 and a message original text 5 corresponding to the identification code 4, and is provided in the virtual storage space 2. The program 3 for editing the message text includes instruction information for instructing the output of the message, and the processing means 6 for assembling and editing the message executes the program 3 to create the message text 7. is there.

すなわち、本実施例は、仮想記憶空間2内に識別コード
4と対応して設けたメッセージ原文5と、プログラム3
から与えられる情報によりメッセージテキストを組み立
て編集する処理手段6とからなっており、メッセージ原
文5中にはあらかじめ固定長メッセージデータを格納す
る固定長メッセージフィールドと、プログラム3から与
えられる可変メッセージデータを格納する可変メッセー
ジフィールドと、そのメッセージ原文5の言語的種別あ
るいは使用目的種別等を表すメッセージテキスト属性と
が設けられている。また、プログラム3には、メッセー
ジ原文5に対応する識別コード4と前記メッセージテキ
スト属性を有する複数の可変メッセージデータのポイン
タを含むパラメータテーブル8とを備えている。そし
て、処理手段6は、メッセージ原文5中の可変メッセー
ジフィールドに、パラメータテーブル8により得られる
複数のメッセージテキスト属性と可変メッセージデータ
の組の中からそのメッセージ原文5中のメッセージテキ
スト属性と一致するメッセージテキスト属性とを有する
可変メッセージデータを選択してその可変メッセージデ
ータを埋め込んでメッセージテキスト7を組み立て編集
する編集手段を含んでいる。
That is, in this embodiment, the message original text 5 provided in the virtual storage space 2 in association with the identification code 4 and the program 3
And a processing means 6 for assembling and editing a message text based on the information given from the message text 5, and a fixed length message field for storing fixed length message data in advance and a variable message data given from the program 3 are stored in the original message text 5. Variable message field and a message text attribute indicating the linguistic type or intended use type of the original message 5 are provided. Further, the program 3 is provided with an identification code 4 corresponding to the original message text 5 and a parameter table 8 including pointers for a plurality of variable message data having the message text attribute. Then, the processing means 6 matches the message text attribute in the message original text 5 in the variable message field in the message original text 5 from the plurality of sets of message text attributes and variable message data obtained by the parameter table 8. Editing means is included for selecting variable message data having a text attribute and embedding the variable message data to assemble and edit the message text 7.

プログラム3には、複数のエントリを有するパラメータ
テーブル8が設けられており、このパラメータテーブル
8は、プログラム3が発行しようとするメッセージの識
別コード4と、複数のエントリの各々に可変メッセージ
データP〜Pを指示するポインタP(P)〜P
(P)とが設定されている。このポインタP(P
〜P(P)は、それぞれ、メッセージテキストの言語
的種別や使用目的種別等を示すメッセージテキスト属性
Tとそれぞれのメッセージテキスト属性Tに対応する可
変メッセージデータP〜Pとを指し示すものであ
る。
The program 3 is provided with a parameter table 8 having a plurality of entries. The parameter table 8 includes the identification code 4 of the message to be issued by the program 3 and the variable message data P 1 for each of the plurality of entries. -Pointer P (P 1 ) to P n
(P n ) are set. This pointer P (P 1 )
Each of P to P (P n ) indicates a message text attribute T indicating a linguistic type of the message text, an intended purpose type, and the like, and variable message data P 1 to P n corresponding to each message text attribute T. is there.

第2図にメッセージ原文5およびメッセージテキスト7
の構成の一例を示し、本実施例の動作を説明する。
The original message 5 and the message text 7 are shown in FIG.
The operation of the present embodiment will be described by showing an example of the configuration of FIG.

テキスト編集を行う処理手段6はプログラム3を実行中
にメッセージの出力を指示する指示情報を検出すると、
メッセージテキスト7の作成処理動作に移り、まず、パ
ラメータCALL命令によりパラメータテーブル8を取
り出す。
When the processing means 6 for performing text editing detects the instruction information for instructing the output of the message during execution of the program 3,
Moving to the process of creating the message text 7, first, the parameter table 8 is fetched by the parameter CALL command.

このプログラム3が指定するパラメータテーブル8の識
別コード4と一致する識別コード4が付与されているメ
ッセージ原文5を仮想記憶空間2内のメッセージ原文格
納領域1にアクセスして選択する。
The message original text 5 to which the identification code 4 that matches the identification code 4 of the parameter table 8 designated by the program 3 is added is selected by accessing the message original text storage area 1 in the virtual storage space 2.

この選択されたメッセージ原文5は、第2図に示すよう
に、メッセージテキスト属性Tと複数のフィールドf
(C)、f(P)、f(P)、f(C)f(P
)で構成されている。このフィールドf(C)およ
びf(C)は固定長メッセージデータを格納した固定
フィールドである。また、フィールドf(P)、f
(P)およびf(P)は可変メッセージデータの埋
め込みを指示する可変メッセージフィールドである。メ
ッセージテキスト7は、選択されたメッセージ原文5内
の複数のフィールドに対応して作成される。
As shown in FIG. 2, the selected message text 5 has a message text attribute T and a plurality of fields f.
(C 1 ), f (P 1 ), f (P 2 ), f (C 2 ) f (P
3 ). The fields f (C 1 ) and f (C 2 ) are fixed fields storing fixed length message data. Also, the fields f (P 1 ), f
(P 2 ) and f (P 3 ) are variable message fields instructing the embedding of variable message data. The message text 7 is created corresponding to the plurality of fields in the selected message original text 5.

すなわち、処理手段6は、選択されたメッセージ原文5
のメッセージテキスト属性Tの次のフィールドから献策
を開始し、第1番目のフィールドf(C)は固定長メ
ッセージデータを格納しているため、このメッセージデ
ータCをメッセージテキスト7の第1番目のフィール
ドに複写する。メッセージ原文5の次のフィールドf
(P)は、可変メッセージデータの埋め込み指示であ
るため、パラメータテーブル8の第1番目の可変メッセ
ージデータへのポインタP(P)を取得し、それを経
由してメッセージテキスト属性T11を有するメッセージ
データP11およびメッセージテキスト属性T12を有する
メッセージデータP12にアクセスする。処理手段6は、
メッセージ原文5に含まれるメッセージテキスト属性T
と可変メッセージデータに付随しているメッセージテキ
スト属性Tとを比較して、同一のメッセージテキスト属
性を有する可変メッセージデータを選択し、メッセージ
テキスト7の第2番目のフィールドにP11を複写する。
That is, the processing means 6 selects the message original text 5 selected.
Contribution is started from the next field of the message text attribute T of, and since the first field f (C 1 ) stores fixed length message data, this message data C 1 is set to the first field of the message text 7. Copy to the field. Next field f of the original message 5
Since (P 1 ) is a variable message data embedding instruction, the pointer P (P 1 ) to the first variable message data in the parameter table 8 is acquired, and the message text attribute T 11 is acquired via the pointer P (P 1 ). Access the message data P 11 having and the message data P 12 having the message text attribute T 12 . The processing means 6 is
Message text attribute T included in original message 5
Is compared with the message text attribute T attached to the variable message data, variable message data having the same message text attribute is selected, and P 11 is copied to the second field of the message text 7.

同様にメッセージ原文5の第3のフィールドf(P
についても可変メッセージデータ指示フィールドなの
で、パラメータテーブル8の第2番目の可変メッセージ
データへのポインタP(P)を取得し、それを経由し
てメッセージ属性T21、T22にアクセスし、メッセージ
原文に含まれるメッセージテキストTと等しいメッセー
ジテキスト属性を有するメッセージデータの選択のう
え、メッセージテキスト7の第3番目のフィールドにP
21を複写する。
Similarly, the third field f (P 2 ) of the message text 5
Is also a variable message data instruction field, a pointer P (P 2 ) to the second variable message data in the parameter table 8 is acquired, and the message attributes T 21 and T 22 are accessed via the pointer P (P 2 ). The message data having the message text attribute equal to the message text T contained in is selected, and P is set in the third field of the message text 7.
Copy 21 .

以下同様にして、メッセージ原文5中の第4番目のフィ
ールドf(C)には固定長メッセージフィールドなの
で、固定メッセージCを、第5番目のフィルードf
(P)には、可変メッセージデータP31を複写にし
て、メッセージテキスト7を組み立て作成する。
Similarly, since the fourth field f (C 2 ) in the original message 5 is a fixed length message field, the fixed message C 1 is sent to the fifth field f (C 2 ).
The variable message data P 31 is copied into (P 3 ), and the message text 7 is assembled and created.

第3図のこの処理手段6でのメッセージテキスト7の作
成動作を示すフローチャートを示す。
FIG. 3 is a flow chart showing the operation of creating the message text 7 in the processing means 6 of FIG.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、メッセージを発行するプ
ログラムが、可変のメッセージデータについて各種言語
別のデータを用意するだけで、メッセージの全テキスト
の言語変更を容易に行うことができる。特に、プログラ
ム側でメッセージテキストの言語変更のためのに特別な
構成を必要としない効果がある。
As described above, according to the present invention, the program for issuing a message can easily change the language of the entire text of a message only by preparing data for various languages for variable message data. In particular, there is an effect that the program does not require any special configuration for changing the language of the message text.

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

第1図は本発明一実施例の構成を示す図。 第2図は実施例のメッセージ編集を説明する図。 第3図は実施例処理手段の動作を示すフローチャート。 1……原文格納領域、2……仮想記憶空間、3……プロ
グラム、4……識別コード、5……メッセージ原文、6
……処理手段、7……メッセージテキスト、8……パラ
メータテーブル。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a diagram for explaining message editing in the embodiment. FIG. 3 is a flow chart showing the operation of the processing means of the embodiment. 1 ... Original text storage area, 2 ... Virtual storage space, 3 ... Program, 4 ... Identification code, 5 ... Message original text, 6
...... Processing means, 7 ... Message text, 8 ... Parameter table.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】識別コードと対応させて設けたメッセージ
原文と、このメッセージ原文に対応する識別コードを持
つプログラムから与えられる情報とからメッセージテキ
ストを組み立て編集するメッセージテキスト編集制御手
段において、 上記メッセージ原文中には、あらかじめ固定長のメッセ
ージデータを格納する固定長メッセージフィールドと上
記プログラムから与えられる可変メッセージデータを格
納する可変メッセージフィールドとを設け、 上記メッセージ原文に対応する識別コードと編集するメ
ッセージデキスト属性に対応する可変メッセージデータ
のポインタとを含むパラメータテーブルを備え、 上記メッセージ原文中のメッセージテキスト属性と一致
するテキスト属性を有する可変メッセージデータを上記
パラメータテーブルを介して選択し、上記メッセージ原
文中の可変メッセージフィールド中に埋め込んでメッセ
ージテキストを組み立て編集する編集処理手段を備えた ことを特徴とするメッセージテキスト編集制御方式。
1. A message text editing control means for assembling and editing a message text from a message original text provided in association with an identification code and information provided from a program having an identification code corresponding to the message original text, A fixed-length message field for storing fixed-length message data and a variable message field for storing variable message data given by the program are provided in advance, and the identification code corresponding to the message original text and the message text attribute to be edited are provided. And a parameter table including a pointer to variable message data corresponding to the variable message data having a text attribute that matches the message text attribute in the message text. Via selected, the message text editing control method characterized by comprising the edit processing means for editing assemble the message text embedded in the variable message field in the message original text.
JP63217679A 1988-08-30 1988-08-30 Message text editing control method Expired - Lifetime JPH0652495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63217679A JPH0652495B2 (en) 1988-08-30 1988-08-30 Message text editing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63217679A JPH0652495B2 (en) 1988-08-30 1988-08-30 Message text editing control method

Publications (2)

Publication Number Publication Date
JPH0264757A JPH0264757A (en) 1990-03-05
JPH0652495B2 true JPH0652495B2 (en) 1994-07-06

Family

ID=16708020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63217679A Expired - Lifetime JPH0652495B2 (en) 1988-08-30 1988-08-30 Message text editing control method

Country Status (1)

Country Link
JP (1) JPH0652495B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04344523A (en) * 1991-05-21 1992-12-01 Nec Corp Message generating system

Also Published As

Publication number Publication date
JPH0264757A (en) 1990-03-05

Similar Documents

Publication Publication Date Title
US4979109A (en) Method of controlling a data dictionary directory system in a data base system
JPH0776958B2 (en) Document shaping device
EP0332557A2 (en) Separation of document layout and data elements
JPH0652495B2 (en) Message text editing control method
JP2007122669A (en) Picture creation device and program
JP3169596B2 (en) Database management device
JPH0715661B2 (en) Message text assembly / edit control method
JPH0844718A (en) Document processor
JP2613881B2 (en) Automatic creation of shipping documents
Benacchio Database applications in Astronet
JPH0719208B2 (en) Message text assembly edit information load method
JPS63288328A (en) Jcl simple generating device
JPH0457153A (en) Structured document processing system
JPH03154959A (en) Control system for screen display data
JPS63280317A (en) Term help system
JPS62113237A (en) Control system for composition and edition of message text
JPH07160558A (en) Data base retrieval sentence preparing device
JPH0687226B2 (en) Database management method
JPH06187372A (en) Data entry system
JPH0628160A (en) Method and device for processing program configuration information
JPS58114231A (en) Assembling and editing system of source image data
JPH036627A (en) Job starting system
JPH0490026A (en) Processing flow chart editing device
JPS58169268A (en) Preservation system for group definition
JPH10269214A (en) Processor and method for document preparation