JPH0391025A - Data definition information quoting system for data definition - Google Patents

Data definition information quoting system for data definition

Info

Publication number
JPH0391025A
JPH0391025A JP22861389A JP22861389A JPH0391025A JP H0391025 A JPH0391025 A JP H0391025A JP 22861389 A JP22861389 A JP 22861389A JP 22861389 A JP22861389 A JP 22861389A JP H0391025 A JPH0391025 A JP H0391025A
Authority
JP
Japan
Prior art keywords
data
data definition
information
definition information
data item
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.)
Granted
Application number
JP22861389A
Other languages
Japanese (ja)
Other versions
JP2699572B2 (en
Inventor
Masataka Oshima
正敬 大島
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 JP1228613A priority Critical patent/JP2699572B2/en
Publication of JPH0391025A publication Critical patent/JPH0391025A/en
Application granted granted Critical
Publication of JP2699572B2 publication Critical patent/JP2699572B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To easily execute an object data definition by automatically editing data item information so that the inconsistency is not generated on the information related to the data structure and the data items of a data definition information in the case of quoting the data definition information which is already defined in the new data definition information. CONSTITUTION:A data item information correcting means 1-7 edits the data item information in the data definition information read by a data definition information inputting/outputting means 1-6, to a format which matches the data definition information being defined. A data definition information temporary holding means 1-8 holds temporarily the data definition information which consists of the data item information analyzed by a data definition information analyzing means 1-5 and the data item information edited by the data item information correcting means 1-7. A data definition information display means 1-9 displays the total data definition information which is held by a data definition information temporary holding means 1-8. Thus, the object data definition can be executed easily and with no error without being conscious of the individual data item information and data structure which constitute the data definition information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理システムにおいて事務処理業務のため
に提供されるプログラムの開発方式に関し、特にプログ
ラムで使用するファイルのレコードやデータエリアのデ
ータ定義におけるデータ定義情報引用方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for developing a program provided for office processing work in an information processing system, and particularly relates to a data definition of file records and data areas used in the program. Regarding the data definition information citation method in .

〔従来の技術〕[Conventional technology]

従来から、事務処理分野に提供されるプログラムの開発
の効率化を図るために、複数のプログラムで共通に使用
するファイルのレコードや共通的なデータエリアのデー
タ定義をプログラムとは独立に定義しておき、プログラ
ムの合成時に引用する方法が採られている。
Traditionally, in order to improve the efficiency of the development of programs provided to the office processing field, records of files commonly used by multiple programs and data definitions of common data areas have been defined independently of the programs. A method is adopted in which the information is written and cited when the program is synthesized.

このデータ定義の方法としては、データ設計の段階でフ
ァイルの編成に関する情報、ファイルのレコードや共通
的なデータエリアのデータ構造やその構成要素であるデ
ータ項目に関する情[(データ項目のレベル番号、デー
タ項目名、データ項目の属性1桁数、符号位置、初期値
等に関する情報)等をその定義対象ごとにデータ定義情
報として定義して保存しておき、保存したデータ定義情
報からプログラムに引用できるソーステキストの形式の
データ宣言を自動生成してプログラムのコンパイル時点
でソースプログラムに引用する方式〔発明が解決しよう
とする課題〕 上述した従来のデータ定義方式は、保存したデータ定義
情報からプログラムに引用できるソーステキストの形式
のデータ宣言を自動生成してプログラムのコンパイル時
点でソースプログラムに引用するだけの方式であったの
で、ファイルのレコードや共通的なデータエリア間で共
通に使用するようなデータ項目情報群があった場合でも
、個々のデータ定義情報におけるデータ構造に合わせて
再度使用するデータ項目情報群を定義し直す必要があり
、複数のレコードのデータ定義情報をまとめて1つのレ
コードのデータ定義を行うような場合に全てのデータ項
目情報を再度定義しなくてはならず、定義の際に定義ミ
スや定義モレが発生しやすいという欠点がある。
This data definition method includes information about file organization at the data design stage, information about the data structure of file records and common data areas, and data items that are their constituent elements [(level numbers of data items, data A source that can be used to define and save information such as item name, data item attribute (number of digits, code position, initial value, etc.) as data definition information for each definition target, and to quote the saved data definition information into the program. A method of automatically generating a data declaration in text format and quoting it to a source program at the time of program compilation [Problem to be solved by the invention] The conventional data definition method described above allows quoting from saved data definition information to a program. Previously, data declarations in the form of source text were automatically generated and simply quoted in the source program at the time of program compilation, so data item information that was commonly used between file records and common data areas was used. Even if there is a group, it is necessary to redefine the data item information group to be used again according to the data structure of each individual data definition information. In such cases, all data item information must be defined again, which has the disadvantage that definition errors and omissions are likely to occur during definition.

本発明の目的は、上述の点に鑑み、ファイルのレコード
や共通的なデータエリアのデータ定義の際に他のデータ
定義情報を引用した場合にデータ定義情報におけるデー
タ構造やデータ項目に関する情報に矛盾が生じないよう
にデータ項目情報を自動的に編集するようにして、デー
タ定義情報を構成する個々のデータ項目情報やデータ構
造を意識しなくても目的とするデータ定義が容易に誤り
なく行えるようにしたデータ定義におけるデータ定義情
報引用方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to provide a system that, when quoting other data definition information when defining data in a file record or a common data area, contradicts information regarding the data structure and data items in the data definition information. By automatically editing data item information to avoid errors, the desired data definition can be easily and error-free without being aware of the individual data item information and data structure that make up the data definition information. The purpose of this invention is to provide a method for quoting data definition information in data definitions.

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

本発明のデータ定義におけるデータ定義情報引用方式は
、プログラムで使用するファイルのレコードやデータエ
リアのデータ定義方式において、目的とするデータ定義
の一部を構成する部分あるいは全体をデータ定義情報と
して格納するデータ定義情報格納手段と、目的とするデ
ータ定義を行う際にデータ定義情報の引用が必要になっ
た時点で引用することを指示可能とするデータ定義情報
定義手段と、このデータ定義情報定義手段により定義さ
れたデータ定義情報を解析して他のデータ定義情報の引
用指示情報を識別するデータ定義情報解析手段と、この
データ定義情報解析手段により識別された他のデータ定
義情報の引用指示情報に従って必要とする他のデータ定
義情報を前記データ定義情報格納手段から読み込んだり
定義されたデータ定義情報全体を前記データ定義情報格
納手段に出力したりするデータ定義情報入出力手段と、
このデータ定義情報入出力手段により読み込まれたデー
タ定義情報中のデータ項目情報を定義中のデータ定義情
報に合った形式に編集するデータ項目情報補正手段と、
前記データ定義情報解析手段により解析されたデータ項
目情報および前記データ項百情報補正手段により編集さ
れたデータ項目情報からなるデータ定義情報を一時的に
保持するデータ定義情報一時保持手段と、このデータ定
義情報一時保持手段に保持されたデータ定義情報全体を
表示するデータ定義情報表示手段とを有する。
The data definition information citation method in the data definition of the present invention stores a part or the entirety that constitutes a part of the target data definition as data definition information in the data definition method for file records and data areas used in the program. A data definition information storage means, a data definition information definition means that makes it possible to instruct quoting of the data definition information when it becomes necessary to perform the target data definition, and the data definition information definition means. A data definition information analysis means that analyzes the defined data definition information and identifies citation instruction information of other data definition information, and a data definition information analysis means that identifies citation instruction information of other data definition information that is necessary according to the citation instruction information of other data definition information identified by this data definition information analysis means. data definition information input/output means for reading other data definition information from the data definition information storage means and outputting the entire defined data definition information to the data definition information storage means;
data item information correction means for editing data item information in the data definition information read by the data definition information input/output means into a format suitable for the data definition information being defined;
data definition information temporary holding means for temporarily holding data definition information consisting of data item information analyzed by the data definition information analysis means and data item information edited by the data item hundred information correction means; and data definition information display means for displaying the entire data definition information held in the information temporary holding means.

〔作用〕[Effect]

本発明のデータ定義におけるデータ定義情報引用方式で
は、データ定義情報格納手段が目的とするデータ定義の
一部を構成する部分あるいは全体をデータ定義情報とし
て格納し、データ定義情報定義手段が目的とするデータ
定義を行う際にデータ定義情報の引用が必要になった時
点で引用することを指示可能とし、データ定義情報解析
手段がデータ定義情報定義手段により定義されたデータ
定義情報を解析して他のデータ定義情報の引用指示情報
を識別し、データ項目情報補正手段がデータ定義情報解
析手段により識別された他のデータ定義情報の引用指示
情報に従って必要とする他のデータ定義情報をデータ定
義情報格納手段から読み込んだり定義されたデータ定義
情報全体をデータ定義情報格納手段に出力したりし、デ
ータ項目情報補正手段がデータ定義情報入出力手段によ
り読み込まれたデータ定義情報中のデータ項目情報を定
義中のデータ定義情報に合った形式に編集し、データ定
義情報一時保持手段がデータ定義情報解析手段により解
析されたデータ項目情報およびデータ項目情報補正手段
により編集されたデータ項目情報からなるデータ定義情
報を一時的に保持し、データ定義情報表示手段がデータ
定義情報一時保持手段に保持されたデータ定義情報全体
を表示する。
In the data definition information citation method in the data definition of the present invention, the data definition information storage means stores a part or the whole that constitutes a part of the target data definition as data definition information, and the data definition information definition means When performing data definition, it is possible to instruct quoting of data definition information when it becomes necessary, and the data definition information analysis means analyzes the data definition information defined by the data definition information definition means and The data definition information storage means identifies the citation instruction information of the data definition information, and the data item information correction means stores other necessary data definition information according to the citation instruction information of other data definition information identified by the data definition information analysis means. The entire data definition information read from or defined by the data definition information storage means is output to the data definition information storage means, and the data item information correction means is defining the data item information in the data definition information read by the data definition information input/output means. The data definition information temporary holding means temporarily stores the data definition information consisting of the data item information analyzed by the data definition information analysis means and the data item information edited by the data item information correction means. The data definition information display means displays the entire data definition information held in the data definition information temporary storage means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るデータ定義における
データ定義情報引用方式の構成を示すブロック図である
0本実施例のデータ定義におけるデータ定義情報引用方
式は、制御手段1−1と、機能指示情報1−2と、入力
定義情報1−3と、データ定義情報定義手段1−4と、
データ定義情報解析手段1−5と、データ定義情報入出
力手段L−6と、データ項目情報補正手段1−7と、デ
ータ定義情報一時保持手段1−8と、データ定義情報表
示手段1−9と、データ定義情報格納手段1−10とか
ら構成されている。
FIG. 1 is a block diagram showing the configuration of a data definition information citation method in data definition according to an embodiment of the present invention. , function instruction information 1-2, input definition information 1-3, data definition information definition means 1-4,
Data definition information analysis means 1-5, data definition information input/output means L-6, data item information correction means 1-7, data definition information temporary holding means 1-8, and data definition information display means 1-9. and a data definition information storage means 1-10.

制御手段1−1は、データ定義処理全体の処理の制御を
行う機能を有する。
The control means 1-1 has a function of controlling the entire data definition process.

機能指示情報1−2は、利用者により指示されるデータ
定義の機能選択指示情報である。
Function instruction information 1-2 is data-defined function selection instruction information instructed by the user.

入力定義情報1−3は、利用者により定義されるデータ
定義に関するデータ構造やその構成要素であるデータ項
目に関する情報である。
The input definition information 1-3 is information regarding the data structure related to the data definition defined by the user and the data items that are its constituent elements.

データ定義情報定義手段1−4は、入力定義情報1−3
を定義しながら入力する機能を有する。
The data definition information definition means 1-4 is the input definition information 1-3.
It has a function to input while defining.

データ定義情報解析手段1−5は、入力定義情報1−3
を解析し、デ゛−タ構造に関する情報、データ項目に関
する情報およびデータ定義情報の引用指示に関する情報
(以下、データ定義情報の引用指示情報という)を識別
する機能と、データ定義情報の引用指示情報を含まない
解析済みの情報をデータ定義情報一時保持手段1−8に
出力する機能とを有する。
The data definition information analysis means 1-5 input definition information 1-3
A function to analyze data structure and identify data structure information, data item information, data definition information citation instruction information (hereinafter referred to as data definition information citation instruction information), and data definition information citation instruction information. It has a function of outputting analyzed information that does not include data definition information to the data definition information temporary holding means 1-8.

データ定義情報入出力手段1−6は、データ定義情報の
引用指示情報に従ってデータ定義情報格納手段l−10
より引用するデータ定義情報を入力する機能と、データ
定義情報一時保持手段l−8に保持されている定義済の
データ定義情報をデータ定義情報格納手段1−10に出
力する機能とを有する。
The data definition information input/output means 1-6 outputs data definition information to the data definition information storage means l-10 according to the citation instruction information of the data definition information.
It has a function of inputting data definition information to be quoted from the data definition information, and a function of outputting the defined data definition information held in the data definition information temporary holding means 1-8 to the data definition information storage means 1-10.

データ項目情報補正手段1−7は、これから定義しよう
とするデータ定義情報の一部として他のデータ定義情報
を引用する場合にデータ構造やデータ項目に関する情報
に矛盾が生じないように、データ定義情報入出力手段1
−6により人力されたデータ定義情報中のデータ項目情
報を補正し、データ定義情報一時保持手段1−8に出力
する機能を有する。
The data item information correction means 1-7 corrects the data definition information so that when quoting other data definition information as part of the data definition information to be defined from now on, there will be no contradiction in the information regarding the data structure or data item. Input/output means 1
-6 has a function of correcting the data item information in the data definition information manually entered and outputting it to the data definition information temporary holding means 1-8.

データ定義情報一時保持手段1−8は、定義中のデータ
定義情報を一時的に保持する機能を有する。
The data definition information temporary holding means 1-8 has a function of temporarily holding data definition information that is being defined.

データ定義情報表示手段1−9は、データ定義情報一時
保持手段1−8に保持されているデータ定義情報を表示
する機能を有する。
The data definition information display means 1-9 has a function of displaying the data definition information held in the data definition information temporary holding means 1-8.

データ定義情報格納手段1−10は、定義済のデータ定
義情報をデータ定義情報単位に識別可能な形式で保存し
ておく機能を有する。
The data definition information storage means 1-10 has a function of storing defined data definition information in an identifiable format in units of data definition information.

次に、このように構成された本実施例のデータ定義にお
けるデータ定義情報引用方式の動作について説明する。
Next, the operation of the data definition information citation method in the data definition of this embodiment configured as described above will be explained.

利用者がデータ定義を行う場合には、データ定義の開始
を指示する機能指示情報1−2を制御手段1−1に与え
る。
When the user defines data, the user provides function instruction information 1-2 for instructing the start of data definition to the control means 1-1.

制御手段1−1は、機能指示情報1−2を受は取り、デ
ータ定義情報定義手段1−4に対してデータ定義の開始
を指示する。
The control means 1-1 receives the function instruction information 1-2 and instructs the data definition information definition means 1-4 to start data definition.

データ定義情報定義手段1−4は、利用者によって定義
される入力定義情報1−3を入力し、入力定義情報1−
3をデータ定義情報解析手段1−5に渡す。
The data definition information definition means 1-4 inputs the input definition information 1-3 defined by the user, and inputs the input definition information 1-3.
3 is passed to the data definition information analysis means 1-5.

データ定義情報解析手段1−5は、入力定義情報1−3
中の定義基、データ種別等をデータ定義情報一時保持手
段1−8に出力するとともに、入力定義情報1−3中の
データ項目情報の正当性をチエツクし、データ項目情報
に含まれるデータ構造に関する情報、データ項目に関す
る情報およびデータ定義情報の引用指示情報を解析する
。解析した結果、データ項目情報中に他のデータ定義情
報の引用を指示するデータ定義情報の引用指示情報が含
まれていた場合には、データ定義情報解析手段1−5は
、データ定義情報入出力手段1−6に対して指示された
データ定義情報の入力を指示する。また、データ項目情
報中にデータ定義情報の引用指示情報が含まれていなか
った場合には、データ定義情報解析手段1−5は、解析
済みのデータ項目情報を解析順にデータ定義情報一時保
持手段1−8に出力する。
The data definition information analysis means 1-5 input definition information 1-3
It outputs the definition base, data type, etc. in the data definition information temporary storage means 1-8, checks the validity of the data item information in the input definition information 1-3, and checks the validity of the data item information contained in the data item information. Analyze information, information about data items, and citation instruction information of data definition information. As a result of the analysis, if the data item information includes data definition information citation instruction information that instructs citation of other data definition information, the data definition information analysis means 1-5 performs data definition information input/output. The means 1-6 is instructed to input the specified data definition information. Furthermore, if the data item information does not include data definition information citation instruction information, the data definition information analysis means 1-5 sends the analyzed data item information to the data definition information temporary storage means 1 in the order of analysis. -8 output.

データ定義情報入出力手段1−6は、データ定義情報解
析手段1−5より入力を指示されたデータ定義情報をデ
ータ定義情報格納手段1−10より入力し、データ項目
情報補正手段1−7に渡す。
The data definition information input/output means 1-6 inputs the data definition information instructed to be input by the data definition information analysis means 1-5 from the data definition information storage means 1-10, and inputs the data definition information to the data item information correction means 1-7. hand over.

データ項目情報補正手段1−7は、入力されたデータ定
義情報中のデータ項目情報と定義中のデータ定義情報の
データ項目情報との間に矛盾が生じないように、入力さ
れたデータ定義情報中のデータ項目情報に含まれている
データ構造に関する情報であるレベル番号をデータ定義
情報解析手段l−5で解析されたデータ項目情報のデー
タ構造に関する情報であるレベル番号をもとにデータ項
目情報単位に再設定し、定義中のデータ定義情報のデー
タ種別やデータ属性により初期値設定が許されていない
場合には初期値設定情報の削除等のデータ項目情報の補
正を行う、そして、データ項目情報補正手段1−7は、
補正が完了したデータ項目情報をデータ定義情報一時保
持手段1−8に出力する。
The data item information correction means 1-7 corrects the input data definition information so that there is no contradiction between the data item information in the input data definition information and the data item information of the data definition information being defined. The level number, which is information about the data structure contained in the data item information, is analyzed by the data definition information analysis means l-5. Based on the level number, which is information about the data structure of the data item information, the data item information unit is If the initial value setting is not allowed due to the data type or data attribute of the data definition information being defined, correct the data item information such as deleting the initial value setting information, and then correct the data item information. The correction means 1-7 is
The data item information for which the correction has been completed is output to the data definition information temporary holding means 1-8.

データ定義情報一時保持手段1−8は、データ定義情報
解析手段1−5あるいはデータ項目情報補正手段1−7
によって出力されたデータ項目情報を定義中のデータ定
義情報として順次保持する。
The data definition information temporary holding means 1-8 includes the data definition information analysis means 1-5 or the data item information correction means 1-7.
The data item information output by is sequentially retained as the data definition information being defined.

データ定義情報表示手段1−9は、データ定義情報一時
保持手段1−8に保持されているデータ定義情報を利用
者にわかる形式に編集して表示する。
The data definition information display means 1-9 edits and displays the data definition information held in the data definition information temporary storage means 1-8 in a format understandable to the user.

このようにして定義されデータ定義情報一時保持手段1
−8に保持された定義済のデータ定義情報を1つのデー
タ定義情報としてデータ定義情報格納手段1−10に登
録する場合には、利用者はその旨の機能指示情報1−2
を制御手段1−1に与える。
Defined in this way, data definition information temporary storage means 1
-8, when registering the defined data definition information held in 8 as one data definition information in the data definition information storage means 1-10, the user must register the function instruction information 1-2 to that effect.
is given to the control means 1-1.

制御手段1−1は、機能指示情報1−2を受は取り、デ
ータ定義情報入出力手段1−6に対してデータ定義情報
一時保持手段1−8に保持されている定義済のデータ定
義情報をデータ定義情報格納手段1−IOに出力するよ
うに指示する。
The control means 1-1 receives and receives the function instruction information 1-2, and transmits the defined data definition information held in the data definition information temporary storage means 1-8 to the data definition information input/output means 1-6. is instructed to be output to the data definition information storage means 1-IO.

データ定義情報入出力手段1−6は、その指示に基づき
データ定義情報一時保持手段1−8に保持されている定
義済のデータ定義情報を読み取り、1つのデータ定義情
報としてデータ定義情報格納手段1−10に出力する。
Based on the instruction, the data definition information input/output means 1-6 reads the defined data definition information held in the data definition information temporary storage means 1-8, and stores it as one piece of data definition information in the data definition information storage means 1. -10.

データ定義情報格納手段1−10は、定義済のデータ定
義情報をデータ定義情報単位に識別可能な形式で格納す
る。
The data definition information storage means 1-10 stores defined data definition information in an identifiable format in units of data definition information.

次に、本実施例のデータ定義におけるデータ定義情報引
用方式の動作例を、第2図、第3図および第4図を参照
しながらより具体的に説明する。
Next, an example of the operation of the data definition information citation method in the data definition of this embodiment will be explained in more detail with reference to FIGS. 2, 3, and 4.

第2図は、入力定義情報1−3として定義されるデータ
定義の例を示す図である0図中、2−1は定義しようと
するデータ定義の定義基、2−2は定義しようとするデ
ータ定義のデータ種別、23は定義するデータ構造を示
すデータ項目のレベル番号、2−4は定義しようとする
データ項目名、2−5はデータ項目のデータ属性、2−
6はデータ項目の桁数、2−7はデータ項目に対して設
定される初期値、2−8はデータ項目に対してさらに設
定する情報の定義領域をそれぞれ示す。
Figure 2 is a diagram showing an example of a data definition defined as input definition information 1-3. In Figure 2, 2-1 is the definition base of the data definition to be defined, and 2-2 is the data definition to be defined. The data type of the data definition, 23 is the level number of the data item indicating the data structure to be defined, 2-4 is the name of the data item to be defined, 2-5 is the data attribute of the data item, 2-
6 indicates the number of digits of the data item, 2-7 indicates the initial value set for the data item, and 2-8 indicates the definition area of information further set for the data item.

そして、2−9および2−IOは他のデータ定義情報を
引用しないデータ項目情報、2−11および2−12は
他のデータ定義情報を引用するデータ項目情報をそれぞ
れ示す、ここで、データ種別2−2中に示される“RE
CORD’はデータの初期値を持つことができないデー
タ種別を意味し、データ項目情報2−11および2−1
2中のデータ属性2−5に示されるLIK”はデータ項
目名2−4に示されるデータ定義情報を引用することを
示す属性であることを示す。
2-9 and 2-IO indicate data item information that does not cite other data definition information, and 2-11 and 2-12 indicate data item information that cites other data definition information.Here, data type “RE” shown in 2-2
CORD' means a data type that cannot have an initial data value, and data item information 2-11 and 2-1
LIK" shown in data attribute 2-5 in 2 indicates that it is an attribute indicating that the data definition information shown in data item name 2-4 is cited.

第3図は、データ定義情報格納手段1−10に格納され
、第2図に示すデータ定義の例によって引用される他の
データ定義情報の例を示す図である0図中、3−1およ
び3−2はそれぞれ独立したデータ定義情報を示し、3
−11はデータ定義情報3−1の定義名、3−12はデ
ータ定義情報3−1のデータ種別、3−13はデータ定
義情報3−1のデータ項目情報群をそれぞれ示す、ここ
で、データ種別3−12中に示される“C0MM0N”
はデータの初期値を持つことができるデータ種別を意味
する。
FIG. 3 is a diagram showing examples of other data definition information stored in the data definition information storage means 1-10 and cited by the example of data definition shown in FIG. 3-2 indicates independent data definition information;
-11 indicates the definition name of the data definition information 3-1, 3-12 indicates the data type of the data definition information 3-1, and 3-13 indicates the data item information group of the data definition information 3-1. "C0MM0N" shown in type 3-12
means a data type that can have an initial data value.

本実施例のデータ定義におけるデータ定義情報引用方式
の動作時に、第2図に示す入力定義情報1−3がデータ
定義情報定義手段1−4により入力されると、入力され
た入力定義済@1−3は、データ項目情報2−9.2−
10.2−11および2−12の順でデータ定義情報解
析手段1−5に渡されて解析される。ここで、データ項
目情報2−9および2−1Oは、解析された結果、デー
タ属性2−5が”LIN”でないので、データ定義情報
一時保持手段1−8にそのまま出力される。
When the input definition information 1-3 shown in FIG. 2 is input by the data definition information definition means 1-4 during the operation of the data definition information citation method in the data definition of this embodiment, the input defined @1 -3 is data item information 2-9.2-
10. The data is passed to the data definition information analysis means 1-5 in the order of 2-11 and 2-12 and analyzed. Here, as a result of the analysis, the data item information 2-9 and 2-1O are output as they are to the data definition information temporary holding means 1-8 since the data attribute 2-5 is not "LIN".

また、データ項目情報2−11および2−12は、デー
タ属性2−5が“LIN”であるので、他のデータ定義
情報を引用するデータ項目情報として解析され、データ
項目名2−4が引用するデータ定義情報の定義名’RE
C3PECI″および1REC3PEC2”としてデー
タ定義情報入出力手段1−6に渡される。データ定義情
報入出力手段1−6は、第3図に示されるデータ定義情
報31および3−2をデータ定義情報格納手段1−1O
より入力し、それらの内容であるデータ項目情報をデー
タ項目情報補正手段1−7に渡す。
In addition, data item information 2-11 and 2-12 have data attribute 2-5 as "LIN", so they are analyzed as data item information that quotes other data definition information, and data item name 2-4 is quoted. Definition name of data definition information 'RE
The data definition information is passed to the data definition information input/output means 1-6 as C3PECI'' and 1REC3PEC2''. The data definition information input/output means 1-6 transfers the data definition information 31 and 3-2 shown in FIG. 3 to the data definition information storage means 1-1O.
data item information, which is the content thereof, is passed to the data item information correction means 1-7.

データ項目情報補正手段1−7は、他のデータ定義情報
の引用指示情報があったデータ項目情報2−11および
2−12のレベル番号“02′および“02゛に合わせ
て引用されたデータ定義情報3−1および3−2中のデ
ータ項目情報のレベル番号を補正するとともに、人力定
義情報1−3のデータ種別2−2が” RECORD″
であるので、不要な初期値に関する定義情報を削除する
The data item information correction means 1-7 is a data definition that is cited in accordance with the level numbers "02" and "02" of the data item information 2-11 and 2-12 that have citation instruction information of other data definition information. In addition to correcting the level numbers of data item information in information 3-1 and 3-2, the data type 2-2 of human definition information 1-3 is "RECORD".
Therefore, definition information regarding unnecessary initial values is deleted.

そして、データ項目情報補正手段1−7は、補正が完了
したデータ項目情報をデータ定義情報一時保持手段1−
8に順次出力する。
The data item information correction means 1-7 then stores the data item information for which the correction has been completed into the data definition information temporary holding means 1-7.
8 sequentially.

この結果、データ定義情報一時保持手段1−8には、第
4図に示すような定義済のデータ定義情報が保持される
ことになり、この定義済のデータ定義情報はデータ定義
情報表示手段1−9により表示される。
As a result, the data definition information temporary holding means 1-8 holds defined data definition information as shown in FIG. -9 is displayed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、すでに定義されたデータ
定義情報を新しいデータ定義情報に引用する際にデータ
定義情報におけるデータ構造やデータ項目に関する情報
に矛盾が生じないようにデータ項目情報を自動的に編集
するようにしたことにより、メタデータ項目としである
データ処理の単位あるいはあるまとまったデータ項目の
集合の単位にあらかじめデータ定義情報を定義しておき
、プログラムで処理するファイルのレコードや共通的な
データエリアのデータ定義の際にこれらのデータ定義情
報をデータ定義情報の引用指示情報により指示するだけ
で、データ定義情報を構成する個々のデータ項目情報や
データ構造を意識しなくても目的とするデータ定義を容
易に誤りなく行うことができるという効果がある。
As explained above, the present invention automatically changes data item information so that when quoting already defined data definition information to new data definition information, there is no inconsistency in the data structure or data item information in the data definition information. By editing the data definition information in advance, data definition information can be defined in advance as a metadata item for a unit of data processing or a set of data items, and can be used to edit records of files processed by a program or common items. When defining data in a data area, you can simply specify this data definition information using the citation information of the data definition information, and the purpose can be achieved without having to be aware of the individual data item information or data structure that constitutes the data definition information. This has the effect that data definition can be easily and without error.

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

第1図は本発明の一実施例に係るデータ定義におけるデ
ータ定義情報引用方式の構成を示すブロック図、 第2図は第1図中のデータ定義情報定義手段において入
力定義情報として入力されるデータ定義の例を示す図、 第3図は第1図中のデータ定義情報格納手段に格納され
第2図のデータ定義によって引用される他のデータ定義
情報の例を示す図、 第4図は第2図のデータ定義に第3図のデータ定義情報
を引用して作成された定義済のデータ定義情報の例を示
す図である。 図において、 1−1・・・制御手段、 1−2・・・機能指示情報、 1−3・・・入力定義情報、 1−4・・・データ定義情報定義手段、1−5・・・デ
ータ定義情報解析手段、1−6・・・データ定義情報入
出力手段、1−7・・・データ項目情報補正手段、1−
8・・・データ定義情報一時保持手段、1−9・・・デ
ータ定義情報表示手段、1−10・・データ定義情報格
納手段、2−1・・・定義名、 2−2・・・データ種別、 2−3・・・レベル番号、 2−4・・・データ項目名、 2−5・・・データ属性、 2−6・・・桁数、 2−7・・・初期値、 2−8・・・情報の定義領域、 2−9.2−10・他のデータ定義情報を引用しないデ
ータ項目情報、 2−11.2−12・他のデータ定義情報を引用するデ
ータ項目情報、 3−1.3−2・データ定義情報、 3−11・・定義名、 3−12・・データ種別、 3−13・・データ項目情報群である。 第2図 第3図 第4図
FIG. 1 is a block diagram showing the configuration of a data definition information citation method in data definition according to an embodiment of the present invention, and FIG. 2 is data input as input definition information in the data definition information definition means in FIG. 1. Figure 3 is a diagram showing an example of a definition; Figure 3 is a diagram showing an example of other data definition information stored in the data definition information storage means in Figure 1 and cited by the data definition in Figure 2; 3 is a diagram showing an example of defined data definition information created by quoting the data definition information of FIG. 3 to the data definition of FIG. 2; FIG. In the figure, 1-1... Control means, 1-2... Function instruction information, 1-3... Input definition information, 1-4... Data definition information definition means, 1-5... Data definition information analysis means, 1-6...Data definition information input/output means, 1-7...Data item information correction means, 1-
8...Data definition information temporary holding means, 1-9...Data definition information display means, 1-10...Data definition information storage means, 2-1...Definition name, 2-2...Data Type, 2-3... Level number, 2-4... Data item name, 2-5... Data attribute, 2-6... Number of digits, 2-7... Initial value, 2- 8... Information definition area, 2-9.2-10・Data item information that does not quote other data definition information, 2-11.2-12・Data item information that quotes other data definition information, 3 -1.3-2 Data definition information, 3-11 Definition name, 3-12 Data type, 3-13 Data item information group. Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 プログラムで使用するファイルのレコードやデータエリ
アのデータ定義方式において、 目的とするデータ定義の一部を構成する部分あるいは全
体をデータ定義情報として格納するデータ定義情報格納
手段と、 目的とするデータ定義を行う際にデータ定義情報の引用
が必要になった時点で引用することを指示可能とするデ
ータ定義情報定義手段と、 このデータ定義情報定義手段により定義されたデータ定
義情報を解析して他のデータ定義情報の引用指示情報を
識別するデータ定義情報解析手段と、 このデータ定義情報解析手段により識別された他のデー
タ定義情報の引用指示情報に従って必要とする他のデー
タ定義情報を前記データ定義情報格納手段から読み込ん
だり定義されたデータ定義情報全体を前記データ定義情
報格納手段に出力したりするデータ定義情報入出力手段
と、 このデータ定義情報入出力手段により読み込まれたデー
タ定義情報中のデータ項目情報を定義中のデータ定義情
報に合った形式に編集するデータ項目情報補正手段と、 前記データ定義情報解析手段により解析されたデータ項
目情報および前記データ項目情報補正手段により編集さ
れたデータ項目情報からなるデータ定義情報を一時的に
保持するデータ定義情報一時保持手段と、 このデータ定義情報一時保持手段に保持されたデータ定
義情報全体を表示するデータ定義情報表示手段と を有することを特徴とするデータ定義におけるデータ定
義情報引用方式。
[Claims] In a data definition method for a record or data area of a file used in a program, a data definition information storage means for storing a part or the entirety of a target data definition as data definition information; A data definition information definition means that makes it possible to instruct the citation of data definition information when it becomes necessary to define a target data, and a data definition information definition means defined by this data definition information definition means. A data definition information analysis means for analyzing and identifying citation instruction information of other data definition information, and other data definition information required according to the citation instruction information of other data definition information identified by this data definition information analysis means. data definition information input/output means for reading the defined data definition information from the data definition information storage means and outputting the entire defined data definition information to the data definition information storage means; and a data definition read by the data definition information input/output means. data item information correction means for editing data item information in the information into a format that matches the data definition information being defined; and data item information analyzed by the data definition information analysis means and data item information edited by the data item information correction means. and a data definition information display means for displaying the entire data definition information held in the data definition information temporary storage means. A data definition information citation method in data definition characterized by:
JP1228613A 1989-09-04 1989-09-04 Data definition information quoting method in data definition Expired - Fee Related JP2699572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1228613A JP2699572B2 (en) 1989-09-04 1989-09-04 Data definition information quoting method in data definition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1228613A JP2699572B2 (en) 1989-09-04 1989-09-04 Data definition information quoting method in data definition

Publications (2)

Publication Number Publication Date
JPH0391025A true JPH0391025A (en) 1991-04-16
JP2699572B2 JP2699572B2 (en) 1998-01-19

Family

ID=16879093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1228613A Expired - Fee Related JP2699572B2 (en) 1989-09-04 1989-09-04 Data definition information quoting method in data definition

Country Status (1)

Country Link
JP (1) JP2699572B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61221828A (en) * 1985-03-06 1986-10-02 Fujitsu Ltd Dynamic change designating system for level number of copy phrase

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61221828A (en) * 1985-03-06 1986-10-02 Fujitsu Ltd Dynamic change designating system for level number of copy phrase

Also Published As

Publication number Publication date
JP2699572B2 (en) 1998-01-19

Similar Documents

Publication Publication Date Title
JPH0391025A (en) Data definition information quoting system for data definition
JPH07120285B2 (en) How to use the syntax checker and text editor
JP3016109B2 (en) Program document maintenance device
JPS63288357A (en) Data editing system
JPS60200346A (en) Production of program test data
JPH1185491A (en) Automatic generation system for plural documents
JPH08297569A (en) Source program correction supporting device
JPH0277838A (en) Control system for program selective execution menu
JPH11327887A (en) Compiler system with automatic parts converting function and recording medium
JPH05265721A (en) Differential compiling method and device therefor
JPS63228347A (en) Control system for generation of file consisting of plural members
JPH04178829A (en) File definition information editing system in load module
JPH0581005A (en) Program converter
JP2001175780A (en) Slip output selection system, slip output selection method and recording medium recording slip output selection procedure
JPH0217538A (en) Document preparing device
JPH0713752A (en) Control method/device for program revision
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPS63228348A (en) Filing device
JPH01286053A (en) Data control system over plural types of computers
JPH01316823A (en) Operating system correcting system
JPH09128227A (en) Automatic change history generation means for program
JPH05242080A (en) Character processor
JPH0337758A (en) Memorandum recording processing system
JPH03142628A (en) Preparing device for latest source file
JPS6220040A (en) File updating system

Legal Events

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